Skip to content

Commit 42cab09

Browse files
committed
DEBUG CI
Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
1 parent d2f2c80 commit 42cab09

File tree

3 files changed

+9
-104
lines changed

3 files changed

+9
-104
lines changed

.github/workflows/pr_push.yml

Lines changed: 0 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -16,75 +16,7 @@ permissions:
1616
contents: read
1717

1818
jobs:
19-
CodeChecks:
20-
uses: ./.github/workflows/reusable_checks.yml
21-
DocsBuild:
22-
uses: ./.github/workflows/reusable_docs_build.yml
2319
FastBuild:
24-
name: Fast builds
25-
needs: [CodeChecks, DocsBuild]
2620
uses: ./.github/workflows/reusable_fast.yml
27-
Build:
28-
name: Basic builds
29-
needs: [FastBuild]
30-
uses: ./.github/workflows/reusable_basic.yml
31-
DevDax:
32-
needs: [FastBuild]
33-
uses: ./.github/workflows/reusable_dax.yml
34-
MultiNuma:
35-
needs: [FastBuild]
36-
uses: ./.github/workflows/reusable_multi_numa.yml
37-
L0:
38-
needs: [Build]
39-
uses: ./.github/workflows/reusable_gpu.yml
40-
with:
41-
name: "LEVEL_ZERO"
42-
shared_lib: "['ON']"
43-
CUDA:
44-
needs: [Build]
45-
uses: ./.github/workflows/reusable_gpu.yml
46-
with:
47-
name: "CUDA"
48-
shared_lib: "['ON']"
49-
Sanitizers:
50-
needs: [FastBuild]
51-
uses: ./.github/workflows/reusable_sanitizers.yml
52-
QEMU:
53-
needs: [FastBuild]
54-
uses: ./.github/workflows/reusable_qemu.yml
55-
with:
56-
short_run: true
57-
Benchmarks:
58-
needs: [Build]
59-
uses: ./.github/workflows/reusable_benchmarks.yml
6021
ProxyLib:
61-
needs: [Build]
6222
uses: ./.github/workflows/reusable_proxy_lib.yml
63-
Valgrind:
64-
needs: [Build]
65-
uses: ./.github/workflows/reusable_valgrind.yml
66-
Coverage:
67-
# total coverage (on upstream only)
68-
if: github.repository == 'oneapi-src/unified-memory-framework'
69-
needs: [Build, DevDax, L0, CUDA, MultiNuma, QEMU, ProxyLib]
70-
uses: ./.github/workflows/reusable_coverage.yml
71-
secrets: inherit
72-
with:
73-
trigger: "${{github.event_name}}"
74-
Coverage_partial:
75-
# partial coverage (on forks)
76-
if: github.repository != 'oneapi-src/unified-memory-framework'
77-
needs: [Build, QEMU, ProxyLib]
78-
uses: ./.github/workflows/reusable_coverage.yml
79-
CodeQL:
80-
needs: [Build]
81-
permissions:
82-
contents: read
83-
security-events: write
84-
uses: ./.github/workflows/reusable_codeql.yml
85-
Trivy:
86-
needs: [Build]
87-
permissions:
88-
contents: read
89-
security-events: write
90-
uses: ./.github/workflows/reusable_trivy.yml

.github/workflows/reusable_fast.yml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -22,38 +22,6 @@ jobs:
2222
disjoint: 'OFF'
2323
build_tests: 'ON'
2424
simple_cmake: 'OFF'
25-
# pure C build (Windows)
26-
- os: windows-latest
27-
disjoint: 'OFF'
28-
# Tests' building is off for a pure C build
29-
build_tests: 'OFF'
30-
simple_cmake: 'OFF'
31-
- os: ubuntu-latest
32-
disjoint: 'ON'
33-
build_tests: 'ON'
34-
# Windows doesn't recognize 'CMAKE_BUILD_TYPE', it uses '--config' param in build command
35-
extra_build_options: '-DCMAKE_BUILD_TYPE=Release -DUMF_BUILD_BENCHMARKS=ON -DUMF_BUILD_BENCHMARKS_MT=ON'
36-
simple_cmake: 'OFF'
37-
# pure C build (Linux)
38-
- os: ubuntu-latest
39-
disjoint: 'OFF'
40-
# Windows doesn't recognize 'CMAKE_BUILD_TYPE', it uses '--config' param in build command
41-
# Tests' building is off for a pure C build
42-
build_tests: 'OFF'
43-
extra_build_options: '-DCMAKE_BUILD_TYPE=Release -DUMF_BUILD_BENCHMARKS=ON'
44-
simple_cmake: 'OFF'
45-
# simplest CMake on ubuntu-latest
46-
- os: ubuntu-latest
47-
disjoint: 'OFF'
48-
build_tests: 'ON'
49-
extra_build_options: '-DCMAKE_BUILD_TYPE=Release'
50-
simple_cmake: 'ON'
51-
# simplest CMake ubuntu-20.04
52-
- os: ubuntu-20.04
53-
disjoint: 'OFF'
54-
build_tests: 'ON'
55-
extra_build_options: '-DCMAKE_BUILD_TYPE=Release'
56-
simple_cmake: 'ON'
5725
runs-on: ${{ (matrix.os == 'ubuntu-latest' && github.repository_owner == 'oneapi-src') && 'intel-ubuntu-22.04' || matrix.os }}
5826

5927
steps:

.github/workflows/reusable_proxy_lib.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
name: Ubuntu
1818

1919
strategy:
20+
fail-fast: false
2021
matrix:
2122
build_type: [Release, Debug]
2223
compiler: [{c: gcc, cxx: g++}]
@@ -63,19 +64,23 @@ jobs:
6364
# see the issue: https://github.com/oneapi-src/unified-memory-framework/issues/864
6465
- name: Run "ctest --output-on-failure" with proxy library
6566
working-directory: ${{env.BUILD_DIR}}
66-
run: LD_PRELOAD=./lib/libumf_proxy.so ctest --output-on-failure -E provider_file_memory_ipc
67+
run: >
68+
UMF_LOG="level:debug;flush:debug;output:stderr;pid:yes"
69+
LD_PRELOAD=./lib/libumf_proxy.so
70+
ctest --output-on-failure
71+
${{ matrix.proxy_lib_pool == 'JEMALLOC' && '-E "provider_file_memory_ipc|proxy_lib_basic"' || '-E provider_file_memory_ipc' }}
6772
6873
- name: Run "./test/umf_test-memoryPool" with proxy library
6974
working-directory: ${{env.BUILD_DIR}}
70-
run: LD_PRELOAD=./lib/libumf_proxy.so ./test/umf_test-memoryPool
75+
run: UMF_LOG="level:debug;flush:debug;output:stderr;pid:yes" LD_PRELOAD=./lib/libumf_proxy.so ./test/umf_test-memoryPool
7176

7277
- name: Run "/usr/bin/ls" with proxy library
7378
working-directory: ${{env.BUILD_DIR}}
74-
run: UMF_PROXY="page.disposition=shared-fd" LD_PRELOAD=./lib/libumf_proxy.so /usr/bin/ls
79+
run: UMF_LOG="level:debug;flush:debug;output:stderr;pid:yes" UMF_PROXY="page.disposition=shared-fd" LD_PRELOAD=./lib/libumf_proxy.so /usr/bin/ls
7580

7681
- name: Run "/usr/bin/date" with proxy library
7782
working-directory: ${{env.BUILD_DIR}}
78-
run: UMF_PROXY="page.disposition=shared-shm" LD_PRELOAD=./lib/libumf_proxy.so /usr/bin/date
83+
run: UMF_LOG="level:debug;flush:debug;output:stderr;pid:yes" UMF_PROXY="page.disposition=shared-shm" LD_PRELOAD=./lib/libumf_proxy.so /usr/bin/date
7984

8085
# TODO enable the provider_file_memory_ipc test when the IPC tests with the proxy library are fixed
8186
# see the issue: https://github.com/oneapi-src/unified-memory-framework/issues/864

0 commit comments

Comments
 (0)