Skip to content

Commit 9221324

Browse files
committed
enable test_init_teardown in CI
1 parent c27abca commit 9221324

File tree

5 files changed

+9
-114
lines changed

5 files changed

+9
-114
lines changed

.github/workflows/nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ jobs:
5959

6060
- name: Run regular tests
6161
working-directory: ${{github.workspace}}/build
62-
run: ctest -C ${{matrix.build_type}} --output-on-failure -E "fuzz|test_init_teardown"
62+
run: ctest -C ${{matrix.build_type}} --output-on-failure -E "fuzz"
6363

6464
- name: Run regular tests with proxy library
6565
working-directory: ${{env.BUILD_DIR}}
66-
run: LD_PRELOAD=./lib/libumf_proxy.so ctest -C ${{matrix.build_type}} --output-on-failure -E "fuzz|test_init_teardown"
66+
run: LD_PRELOAD=./lib/libumf_proxy.so ctest -C ${{matrix.build_type}} --output-on-failure -E "fuzz"
6767

6868
- name: Fuzz long test
6969
working-directory: ${{github.workspace}}/build

.github/workflows/pr_push.yml

Lines changed: 0 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -16,88 +16,5 @@ permissions:
1616
contents: read
1717

1818
jobs:
19-
CodeChecks:
20-
uses: ./.github/workflows/reusable_checks.yml
21-
FastBuild:
22-
name: Fast builds
23-
needs: [CodeChecks]
24-
uses: ./.github/workflows/reusable_fast.yml
25-
Build:
26-
name: Basic builds
27-
needs: [FastBuild]
28-
uses: ./.github/workflows/reusable_basic.yml
29-
DevDax:
30-
needs: [FastBuild]
31-
uses: ./.github/workflows/reusable_dax.yml
3219
MultiNuma:
33-
needs: [FastBuild]
3420
uses: ./.github/workflows/reusable_multi_numa.yml
35-
L0:
36-
needs: [Build]
37-
uses: ./.github/workflows/reusable_gpu.yml
38-
with:
39-
provider: "LEVEL_ZERO"
40-
runner: "L0"
41-
shared_lib: "['ON']"
42-
L0-BMG:
43-
needs: [Build]
44-
uses: ./.github/workflows/reusable_gpu.yml
45-
with:
46-
provider: "LEVEL_ZERO"
47-
runner: "L0-BMG"
48-
shared_lib: "['ON']"
49-
os: "['Ubuntu']"
50-
CUDA:
51-
needs: [Build]
52-
uses: ./.github/workflows/reusable_gpu.yml
53-
with:
54-
provider: "CUDA"
55-
runner: "CUDA"
56-
shared_lib: "['ON']"
57-
Sanitizers:
58-
needs: [FastBuild]
59-
uses: ./.github/workflows/reusable_sanitizers.yml
60-
QEMU:
61-
needs: [FastBuild]
62-
uses: ./.github/workflows/reusable_qemu.yml
63-
with:
64-
short_run: true
65-
ProxyLib:
66-
needs: [Build]
67-
uses: ./.github/workflows/reusable_proxy_lib.yml
68-
Valgrind:
69-
needs: [Build]
70-
uses: ./.github/workflows/reusable_valgrind.yml
71-
Coverage:
72-
# total coverage (on upstream only)
73-
if: github.repository == 'oneapi-src/unified-memory-framework'
74-
needs: [Build, DevDax, L0, CUDA, MultiNuma, QEMU, ProxyLib]
75-
uses: ./.github/workflows/reusable_coverage.yml
76-
secrets: inherit
77-
with:
78-
trigger: "${{github.event_name}}"
79-
Coverage_partial:
80-
# partial coverage (on forks)
81-
if: github.repository != 'oneapi-src/unified-memory-framework'
82-
needs: [Build, QEMU, ProxyLib]
83-
uses: ./.github/workflows/reusable_coverage.yml
84-
CodeQL:
85-
needs: [Build]
86-
permissions:
87-
contents: read
88-
security-events: write
89-
uses: ./.github/workflows/reusable_codeql.yml
90-
Trivy:
91-
needs: [Build]
92-
permissions:
93-
contents: read
94-
security-events: write
95-
uses: ./.github/workflows/reusable_trivy.yml
96-
Compatibility:
97-
needs: [Build]
98-
uses: ./.github/workflows/reusable_compatibility.yml
99-
strategy:
100-
matrix:
101-
tag: ["v0.11.0-rc1"]
102-
with:
103-
tag: ${{matrix.tag}}

.github/workflows/reusable_multi_numa.yml

Lines changed: 5 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
strategy:
2222
matrix:
2323
os: [ubuntu-22.04, rhel-9.1, sles-15]
24-
build_type: [Debug, Release]
25-
shared_library: ['ON', 'OFF']
26-
runs-on: ["DSS-MULTI-NUMA", "DSS-${{matrix.os}}"]
24+
build_type: [Debug]
25+
shared_library: ['ON']
26+
runs-on: ["DSS-MULTI-NUMA"]
2727

2828
steps:
2929
- name: Checkout
@@ -57,37 +57,13 @@ jobs:
5757
# On RHEL/SLES, hwloc version is just a little too low.
5858
# Skip some tests until we upgrade hwloc and update CMake to properly handle local hwloc installation.
5959
# TODO: fix issue #560
60-
# TODO: add issue for -E test_init_teardown - it is not clear why it fails
6160
- name: Run tests (on RHEL/SLES)
6261
if: (matrix.os == 'rhel-9.1') || (matrix.os == 'sles-15')
6362
working-directory: ${{github.workspace}}/build
6463
run: |
65-
ctest --output-on-failure --test-dir test -E "test_provider_os_memory_multiple_numa_nodes|test_init_teardown"
64+
UMF_LOG="level:warning;flush:debug;output:stderr;pid:no" ctest --output-on-failure --test-dir test -E "test_provider_os_memory_multiple_numa_nodes"
6665
./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}}
66+
--gtest_filter="-*checkModeLocal/*:*checkModePreferredEmptyNodeset/*:testNuma.checkModeInterleave" --verbose
9167
9268
- name: Get information about platform
9369
if: always()

_deps/cuda-headers-src

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit a63ea57e87ec813c7f77c2b298a9df23a1af152a

_deps/googletest-src

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit b514bdc898e2951020cbdca1304b75f5950d1f59

0 commit comments

Comments
 (0)