Skip to content

Commit 9a3934c

Browse files
committed
Fixing buildkite failure
Buildkite is running into permission issue while trying to override the firecracker and jailer binaries in the testdata folder. Also creates the testdata/bin folder which was failing due to not existing. Signed-off-by: xibz <[email protected]>
1 parent 96aa98c commit 9a3934c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.buildkite/pipeline.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@ steps:
8080
commands:
8181
- 'ln -s /var/lib/fc-ci/vmlinux.bin testdata/vmlinux'
8282
- 'ln -s /var/lib/fc-ci/rootfs.ext4 testdata/root-drive.img'
83-
- 'ln -s /usr/local/bin/firecracker-v0.21.0 testdata/firecracker'
84-
- 'ln -s /usr/local/bin/jailer-v0.21.0 testdata/jailer'
8583
- "FC_TEST_TAP=fc-test-tap${BUILDKITE_BUILD_NUMBER} make test EXTRAGOARGS='-v -count=1 -race' DISABLE_ROOT_TESTS=true"
8684
agents:
8785
queue: "${BUILDKITE_AGENT_META_DATA_QUEUE:-default}"
@@ -93,8 +91,7 @@ steps:
9391
commands:
9492
- 'ln -s /var/lib/fc-ci/vmlinux.bin testdata/vmlinux'
9593
- 'ln -s /var/lib/fc-ci/rootfs.ext4 testdata/root-drive.img'
96-
- 'cp /usr/local/bin/firecracker-v0.21.0 testdata/firecracker'
97-
- 'cp /usr/local/bin/jailer-v0.21.0 testdata/jailer'
94+
- 'mkdir -p $(pwd)/testdata/bin'
9895
- 'make -C cni install CNI_BIN_ROOT=$(pwd)/testdata/bin'
9996
- "sudo FC_TEST_TAP=fc-root-tap${BUILDKITE_BUILD_NUMBER} make test EXTRAGOARGS='-v -count=1 -race' DISABLE_ROOT_TESTS="
10097
agents:
@@ -110,6 +107,7 @@ steps:
110107
commands:
111108
- 'ln -s /var/lib/fc-ci/vmlinux.bin testdata/vmlinux'
112109
- 'ln -s /var/lib/fc-ci/rootfs.ext4 testdata/root-drive.img'
110+
- 'mkdir -p $(pwd)/testdata/bin'
113111
- 'make -C cni install CNI_BIN_ROOT=$(pwd)/testdata/bin'
114112
- 'buildkite-agent artifact download testdata/firecracker-master .'
115113
- 'chmod +x testdata/firecracker-master'

0 commit comments

Comments
 (0)