]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
github: Skip test 38 (cpuset) on VMs hosted by Github Actions
authorTom Hromatka <tom.hromatka@oracle.com>
Wed, 15 Dec 2021 21:03:28 +0000 (21:03 +0000)
committerTom Hromatka <tom.hromatka@oracle.com>
Thu, 3 Feb 2022 21:42:41 +0000 (14:42 -0700)
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 <tom.hromatka@oracle.com>
Reviewed-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
.github/workflows/continuous-integration.yml

index 22b8ddd1b21be1207088ccd8f5e5e7dd2d8b0f4e..0235aed785f8ddc9d5d2048d87a1d745f1abc7e6 100644 (file)
@@ -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