From fa663209ef5cd4519bc91245c32dbad3b09fd13c Mon Sep 17 00:00:00 2001 From: Tom Hromatka Date: Wed, 15 Dec 2021 21:03:28 +0000 Subject: [PATCH] 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 --- .github/workflows/continuous-integration.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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 -- 2.47.2