diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-09-29 17:37:21 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-09-29 20:50:37 +0900 |
commit | 6d350f7d82cf9dd69250e449b6c3c743217fe7d9 (patch) | |
tree | 732909574a3edfb536b8a3150c0ae7445052919e /.github | |
parent | faa2e64f9b37374a1b145eb5297a87ad66389548 (diff) | |
download | systemd-6d350f7d82cf9dd69250e449b6c3c743217fe7d9.tar.gz |
Revert "CI: run unit tests in a network namespace"
This reverts commit 8b036b223a40fac9e53189db05d3798ec11eb475.
Diffstat (limited to '.github')
-rwxr-xr-x | .github/workflows/unit_tests.sh | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/.github/workflows/unit_tests.sh b/.github/workflows/unit_tests.sh index 4188047cf0..17e73f1856 100755 --- a/.github/workflows/unit_tests.sh +++ b/.github/workflows/unit_tests.sh @@ -6,7 +6,6 @@ ADDITIONAL_DEPS=( clang expect fdisk - iproute2 jekyll lcov libfdisk-dev @@ -20,7 +19,6 @@ ADDITIONAL_DEPS=( perl python3-libevdev python3-pyparsing - util-linux zstd ) @@ -55,8 +53,7 @@ for phase in "${PHASES[@]}"; do fi meson --werror -Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true "${MESON_ARGS[@]}" build ninja -C build -v - # Some of the unsafe tests irreparably break the host's network connectivity, so run them in a namespace - unshare -n bash -c 'ip link set dev lo up; meson test -C build --print-errorlogs' + meson test -C build --print-errorlogs if [[ "$phase" = "RUN_GCC" ]]; then ninja -C build coverage fi @@ -88,7 +85,7 @@ for phase in "${PHASES[@]}"; do # during debugging, wonderful), so let's at least keep a workaround # here to make the builds stable for the time being. (set +x; while :; do echo -ne "\n[WATCHDOG] $(date)\n"; sleep 30; done) & - unshare -n bash -c 'ip link set dev lo up; meson test --timeout-multiplier=3 -C build --print-errorlogs' + meson test --timeout-multiplier=3 -C build --print-errorlogs ;; CLEANUP) info "Cleanup phase" |