File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,8 @@ jobs:
124
124
ssh testuser@127.0.0.1 -p 2222 -t "sudo chown -R testuser:users /home/testuser"
125
125
126
126
ssh testuser@127.0.0.1 -p 2222 -t "bash /home/testuser/scripts/qemu/run-build.sh COVERAGE"
127
- ssh testuser@127.0.0.1 -p 2222 -t "sudo shutdown -h now"
127
+ # ssh may return non-zero error code on closing the connection in Ubuntu 22.04
128
+ ssh testuser@127.0.0.1 -p 2222 -t "sudo shutdown -h now" || true
128
129
129
130
- name : Run tests in QEMU
130
131
run : |
@@ -143,7 +144,8 @@ jobs:
143
144
144
145
ssh testuser@127.0.0.1 -p 2222 -t "export SHORT_RUN=${SHORT_RUN} OS_FULL_NAME=${{matrix.os}} && /home/testuser/scripts/qemu/run-tests.sh COVERAGE ${config_name}"
145
146
scp -r -P 2222 testuser@127.0.0.1:/home/testuser/coverage ./
146
- ssh testuser@127.0.0.1 -p 2222 -t "sudo shutdown -h now"
147
+ # ssh may return non-zero error code on closing the connection in Ubuntu 22.04
148
+ ssh testuser@127.0.0.1 -p 2222 -t "sudo shutdown -h now" || true
147
149
done
148
150
ls -al ./coverage
149
151
You can’t perform that action at this time.
0 commit comments