Skip to content

Commit 12be6f8

Browse files
committed
debug
Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent e94edf1 commit 12be6f8

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ jobs:
2828
race: ["-race", ""]
2929
criu: ["", "criu-dev"]
3030
exclude:
31-
- criu: "criu-dev"
32-
rootless: "rootless"
33-
os: "ubuntu-22.04"
34-
go-version: "1.20.x"
31+
- criu: criu-dev
32+
rootless: rootless
33+
- criu: criu-dev
34+
go-version: 1.19.x
3535
runs-on: ${{ matrix.os }}
3636

3737
steps:
@@ -84,12 +84,15 @@ jobs:
8484
run: |
8585
sudo useradd -u2000 -m -d/home/rootless -s/bin/bash rootless
8686
# Allow root and rootless itself to execute `ssh rootless@localhost` in tests/rootless.sh
87-
ls -l $GITHUB_WORKSPACE/tests
87+
x="$GITHUB_WORKSPACE/tests/integration"; while [ "$x" != "/" ]; do ls -ld $x; x=`dirname $x`; done
8888
ssh-keygen -t ecdsa -N "" -f $HOME/rootless.key
8989
sudo mkdir -m 0700 -p /home/rootless/.ssh
9090
sudo cp $HOME/rootless.key /home/rootless/.ssh/id_ecdsa
9191
sudo cp $HOME/rootless.key.pub /home/rootless/.ssh/authorized_keys
9292
sudo chown -R rootless.rootless /home/rootless
93+
set -x
94+
sudo -HE -u rootless PATH="$PATH" -s "cd $GITHUB_WORKSPACE" || true
95+
sudo -HE -u rootless PATH="$PATH" -s "cd $GITHUB_WORKSPACE/tests" || true
9396
9497
- name: integration test (fs driver)
9598
run: sudo -E PATH="$PATH" script -e -c 'make local${{ matrix.rootless }}integration'

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,16 @@ endif
5858
.DEFAULT: runc
5959

6060
runc:
61+
@$(GO) env
6162
$(GO_BUILD) -o runc .
6263

6364
all: runc recvtty sd-helper seccompagent
6465

6566
recvtty sd-helper seccompagent:
67+
@$(GO) version
6668
$(GO_BUILD) -o contrib/cmd/$@/$@ ./contrib/cmd/$@
69+
ldd ./contrib/cmd/$@/$@
70+
./contrib/cmd/$@/$@ || true
6771

6872
static:
6973
$(GO_BUILD_STATIC) -o runc .

0 commit comments

Comments
 (0)