|
21 | 21 | strategy: |
22 | 22 | matrix: |
23 | 23 | os: [ubuntu-22.04, rhel-9.1, sles-15] |
24 | | - build_type: [Debug, Release] |
25 | | - shared_library: ['ON', 'OFF'] |
| 24 | + build_type: [Debug] |
| 25 | + shared_library: ['ON'] |
26 | 26 | runs-on: ["DSS-MULTI-NUMA", "DSS-${{matrix.os}}"] |
27 | 27 |
|
28 | 28 | steps: |
@@ -52,42 +52,23 @@ jobs: |
52 | 52 | - name: Run tests |
53 | 53 | if: (matrix.os != 'rhel-9.1') && (matrix.os != 'sles-15') |
54 | 54 | working-directory: ${{github.workspace}}/build |
55 | | - run: ctest --output-on-failure --test-dir test |
| 55 | + run: | |
| 56 | + ctest --output-on-failure --test-dir test |
| 57 | + UMF_LOG="level:debug;flush:debug;output:stderr;pid:no" ./test/test_init_teardown > log.txt 2>&1 |
| 58 | + cat log.txt |
56 | 59 |
|
57 | 60 | # On RHEL/SLES, hwloc version is just a little too low. |
58 | 61 | # Skip some tests until we upgrade hwloc and update CMake to properly handle local hwloc installation. |
59 | 62 | # TODO: fix issue #560 |
60 | | - # TODO: add issue for -E test_init_teardown - it is not clear why it fails |
61 | 63 | - name: Run tests (on RHEL/SLES) |
62 | 64 | if: (matrix.os == 'rhel-9.1') || (matrix.os == 'sles-15') |
63 | 65 | working-directory: ${{github.workspace}}/build |
64 | 66 | run: | |
65 | | - ctest --output-on-failure --test-dir test -E "test_provider_os_memory_multiple_numa_nodes|test_init_teardown" |
| 67 | + UMF_LOG="level:debug;flush:debug;output:stderr;pid:no" ctest --output-on-failure --test-dir test -E "test_provider_os_memory_multiple_numa_nodes" |
66 | 68 | ./test/test_provider_os_memory_multiple_numa_nodes \ |
67 | | - --gtest_filter="-*checkModeLocal/*:*checkModePreferredEmptyNodeset/*:testNuma.checkModeInterleave" |
68 | | -
|
69 | | - - name: Run NUMA tests under valgrind |
70 | | - if: (matrix.os != 'rhel-9.1') && (matrix.os != 'sles-15') |
71 | | - run: | |
72 | | - ${{github.workspace}}/test/test_valgrind.sh ${{github.workspace}} ${{env.BUILD_DIR}} memcheck "${{env.NUMA_TESTS}}" |
73 | | - ${{github.workspace}}/test/test_valgrind.sh ${{github.workspace}} ${{env.BUILD_DIR}} drd "${{env.NUMA_TESTS}}" |
74 | | - ${{github.workspace}}/test/test_valgrind.sh ${{github.workspace}} ${{env.BUILD_DIR}} helgrind "${{env.NUMA_TESTS}}" |
75 | | -
|
76 | | - - name: Check coverage |
77 | | - if: ${{ matrix.build_type == 'Debug' && matrix.os == 'ubuntu-22.04' }} |
78 | | - working-directory: ${{env.BUILD_DIR}} |
79 | | - run: | |
80 | | - export COVERAGE_FILE_NAME=${{env.COVERAGE_NAME}}-${{matrix.os}}-shared-${{matrix.shared_library}} |
81 | | - echo "COVERAGE_FILE_NAME: $COVERAGE_FILE_NAME" |
82 | | - ../scripts/coverage/coverage_capture.sh $COVERAGE_FILE_NAME |
83 | | - mkdir -p ${{env.COVERAGE_DIR}} |
84 | | - mv ./$COVERAGE_FILE_NAME ${{env.COVERAGE_DIR}} |
85 | | -
|
86 | | - - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 |
87 | | - if: ${{ matrix.build_type == 'Debug' && matrix.os == 'ubuntu-22.04' }} |
88 | | - with: |
89 | | - name: ${{env.COVERAGE_NAME}}-${{matrix.os}}-shared-${{matrix.shared_library}} |
90 | | - path: ${{env.COVERAGE_DIR}} |
| 69 | + --gtest_filter="-*checkModeLocal/*:*checkModePreferredEmptyNodeset/*:testNuma.checkModeInterleave" --verbose |
| 70 | + UMF_LOG="level:debug;flush:debug;output:stderr;pid:no" ./test/test_init_teardown > log.txt 2>&1 |
| 71 | + cat log.txt |
91 | 72 |
|
92 | 73 | - name: Get information about platform |
93 | 74 | if: always() |
|
0 commit comments