From: Tom Hromatka Date: Wed, 15 Dec 2021 21:03:28 +0000 (+0000) Subject: github: Skip test 38 (cpuset) on VMs hosted by Github Actions X-Git-Tag: v3.0~218 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa663209ef5cd4519bc91245c32dbad3b09fd13c;p=thirdparty%2Flibcgroup.git github: Skip test 38 (cpuset) on VMs hosted by Github Actions Skip test #38 - 038-cgxget-cpuset_settings.py - on servers hosted by Github Actions. Test #38 sets/clears the cpuset exclusive bit and this is not allowed on Github's servers. Signed-off-by: Tom Hromatka Reviewed-by: Kamalesh Babulal --- diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 22b8ddd1..0235aed7 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -123,14 +123,12 @@ jobs: uses: ./.github/actions/setup-libcgroup - name: Run functional tests run: | + # The cgroup v1 runner hosted by Github Actions doesn't allow + # for exclusive cpusets. Thus, skip the cpuset automated test pushd tests/ftests - make check + ./ftests.py -l 10 -L ftests.log + ./ftests.py -l 10 -L ftests-nocontainer.log --skip 38 --no-container popd - - name: Display test logs - if: ${{ always() }} - run: | - cat tests/ftests/ftests.sh.log - cat tests/ftests/ftests-nocontainer.sh.log - name: Archive test logs if: ${{ always() }} uses: actions/upload-artifact@v2