diff --git a/.github/workflows/pr_push.yml b/.github/workflows/pr_push.yml
index 5d6155a37..ace60caf9 100644
--- a/.github/workflows/pr_push.yml
+++ b/.github/workflows/pr_push.yml
@@ -16,88 +16,7 @@ permissions:
contents: read
jobs:
- CodeChecks:
- uses: ./.github/workflows/reusable_checks.yml
- FastBuild:
- name: Fast builds
- needs: [CodeChecks]
- uses: ./.github/workflows/reusable_fast.yml
- Build:
- name: Basic builds
- needs: [FastBuild]
- uses: ./.github/workflows/reusable_basic.yml
- DevDax:
- needs: [FastBuild]
- uses: ./.github/workflows/reusable_dax.yml
- MultiNuma:
- needs: [FastBuild]
- uses: ./.github/workflows/reusable_multi_numa.yml
- L0:
- needs: [Build]
- uses: ./.github/workflows/reusable_gpu.yml
- with:
- provider: "LEVEL_ZERO"
- runner: "L0"
- shared_lib: "['ON']"
- L0-BMG:
- needs: [Build]
- uses: ./.github/workflows/reusable_gpu.yml
- with:
- provider: "LEVEL_ZERO"
- runner: "L0-BMG"
- shared_lib: "['ON']"
- os: "['Ubuntu']"
- CUDA:
- needs: [Build]
- uses: ./.github/workflows/reusable_gpu.yml
- with:
- provider: "CUDA"
- runner: "CUDA"
- shared_lib: "['ON']"
- Sanitizers:
- needs: [FastBuild]
- uses: ./.github/workflows/reusable_sanitizers.yml
QEMU:
- needs: [FastBuild]
uses: ./.github/workflows/reusable_qemu.yml
with:
short_run: true
- ProxyLib:
- needs: [Build]
- uses: ./.github/workflows/reusable_proxy_lib.yml
- Valgrind:
- needs: [Build]
- uses: ./.github/workflows/reusable_valgrind.yml
- Coverage:
- # total coverage (on upstream only)
- if: github.repository == 'oneapi-src/unified-memory-framework'
- needs: [Build, DevDax, L0, CUDA, MultiNuma, QEMU, ProxyLib]
- uses: ./.github/workflows/reusable_coverage.yml
- secrets: inherit
- with:
- trigger: "${{github.event_name}}"
- Coverage_partial:
- # partial coverage (on forks)
- if: github.repository != 'oneapi-src/unified-memory-framework'
- needs: [Build, QEMU, ProxyLib]
- uses: ./.github/workflows/reusable_coverage.yml
- CodeQL:
- needs: [Build]
- permissions:
- contents: read
- security-events: write
- uses: ./.github/workflows/reusable_codeql.yml
- Trivy:
- needs: [Build]
- permissions:
- contents: read
- security-events: write
- uses: ./.github/workflows/reusable_trivy.yml
- Compatibility:
- needs: [Build]
- uses: ./.github/workflows/reusable_compatibility.yml
- strategy:
- matrix:
- tag: ["v0.11.0-rc1"]
- with:
- tag: ${{matrix.tag}}
diff --git a/.github/workflows/reusable_qemu.yml b/.github/workflows/reusable_qemu.yml
index df4125d1a..f2e79f30c 100644
--- a/.github/workflows/reusable_qemu.yml
+++ b/.github/workflows/reusable_qemu.yml
@@ -98,7 +98,7 @@ jobs:
if: ${{ inputs.short_run == true }}
run: |
echo "SHORT_RUN=true" >> $GITHUB_ENV
- declare -a short_configs=("default.xml" "sock_2_var3.xml" "sock_8_var1_hmat.xml")
+ declare -a short_configs=("sock_4_var2_hmat.xml")
echo "CONFIG_OPTIONS=${short_configs[@]}" >> $GITHUB_ENV
- name: Set vars if long run
@@ -142,7 +142,12 @@ jobs:
echo "### Testing ${config_name} ###"
umf/scripts/qemu/start_qemu.sh ${config_name}
- ssh testuser@127.0.0.1 -p 2222 -t "export SHORT_RUN=${SHORT_RUN} OS_FULL_NAME=${{matrix.os}} && /home/testuser/scripts/qemu/run-tests.sh COVERAGE ${config_name}"
+ # run 10 times
+ for i in {1..100}; do
+ echo "Running test iteration $i"
+ ssh testuser@127.0.0.1 -p 2222 -t "export SHORT_RUN=${SHORT_RUN} OS_FULL_NAME=${{matrix.os}} && /home/testuser/scripts/qemu/run-tests.sh COVERAGE ${config_name}"
+ done
+
scp -r -P 2222 testuser@127.0.0.1:/home/testuser/coverage ./
# ssh may return non-zero error code on closing the connection in Ubuntu 22.04
ssh testuser@127.0.0.1 -p 2222 -t "sudo shutdown -h now" || true
diff --git a/FlameGraph b/FlameGraph
new file mode 160000
index 000000000..41fee1f99
--- /dev/null
+++ b/FlameGraph
@@ -0,0 +1 @@
+Subproject commit 41fee1f99f9276008b7cd112fca19dc3ea84ac32
diff --git a/scripts/qemu/configs/sock_2_var1.xml b/scripts/qemu/configs/sock_2_var1.xml
deleted file mode 100644
index 9ed7cbb8f..000000000
--- a/scripts/qemu/configs/sock_2_var1.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
-
-
- Sockets2Var1
-
- hvm
-
- 4
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
- |
-
-
-
-
-
-
- |
-
-
-
diff --git a/scripts/qemu/configs/sock_2_var1_hmat.xml b/scripts/qemu/configs/sock_2_var1_hmat.xml
deleted file mode 100644
index 31a208ba6..000000000
--- a/scripts/qemu/configs/sock_2_var1_hmat.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
-
- Sockets2Var1HMAT
-
- hvm
-
- 4
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
- |
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/scripts/qemu/configs/sock_2_var2.xml b/scripts/qemu/configs/sock_2_var2.xml
deleted file mode 100644
index 9b16c14f4..000000000
--- a/scripts/qemu/configs/sock_2_var2.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
-
-
- Sockets2Var2
-
- hvm
-
- 4
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
- |
-
-
-
-
-
-
- |
-
-
-
diff --git a/scripts/qemu/configs/sock_2_var2_hmat.xml b/scripts/qemu/configs/sock_2_var2_hmat.xml
deleted file mode 100644
index ee1b5e2a7..000000000
--- a/scripts/qemu/configs/sock_2_var2_hmat.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
-
- Sockets2Var2HMAT
-
- hvm
-
- 4
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
- |
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/scripts/qemu/configs/sock_2_var3.xml b/scripts/qemu/configs/sock_2_var3.xml
deleted file mode 100644
index 57dee69d2..000000000
--- a/scripts/qemu/configs/sock_2_var3.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
-
- Sockets2Var3
-
- hvm
-
- 4
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
- |
-
-
-
diff --git a/scripts/qemu/configs/sock_2_var3_hmat.xml b/scripts/qemu/configs/sock_2_var3_hmat.xml
deleted file mode 100644
index 50642345e..000000000
--- a/scripts/qemu/configs/sock_2_var3_hmat.xml
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
-
-
-
- Sockets2Var3HMAT
-
- hvm
-
- 4
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/scripts/qemu/configs/sock_4_var1.xml b/scripts/qemu/configs/sock_4_var1.xml
deleted file mode 100644
index dc69598c9..000000000
--- a/scripts/qemu/configs/sock_4_var1.xml
+++ /dev/null
@@ -1,132 +0,0 @@
-
-
-
-
-
- Sockets4Var1
-
- hvm
-
- 4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
diff --git a/scripts/qemu/configs/sock_4_var1_hmat.xml b/scripts/qemu/configs/sock_4_var1_hmat.xml
deleted file mode 100644
index c3e39fa73..000000000
--- a/scripts/qemu/configs/sock_4_var1_hmat.xml
+++ /dev/null
@@ -1,186 +0,0 @@
-
-
-
-
-
- Sockets4Var1HMAT
-
- hvm
-
- 4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/scripts/qemu/configs/sock_4_var2.xml b/scripts/qemu/configs/sock_4_var2.xml
deleted file mode 100644
index d5c1072d7..000000000
--- a/scripts/qemu/configs/sock_4_var2.xml
+++ /dev/null
@@ -1,78 +0,0 @@
-
-
-
-
-
- Sockets4Var2
-
- hvm
-
- 4
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
diff --git a/scripts/qemu/configs/sock_8_var1_hmat.xml b/scripts/qemu/configs/sock_8_var1_hmat.xml
deleted file mode 100644
index 1deb417bd..000000000
--- a/scripts/qemu/configs/sock_8_var1_hmat.xml
+++ /dev/null
@@ -1,393 +0,0 @@
-
-
-
-
-
-
-
- Sockets8_16N_500MB_HMAT
-
- hvm
-
-
- 8
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/scripts/qemu/run-tests.sh b/scripts/qemu/run-tests.sh
index 341e2f9ab..ff88a226c 100755
--- a/scripts/qemu/run-tests.sh
+++ b/scripts/qemu/run-tests.sh
@@ -28,7 +28,7 @@ numactl -H
cd build
echo "## Running all tests ..."
-ctest --verbose
+UMF_LOG="level:debug;flush:debug;output:stderr;pid:no" ctest --verbose --output-on-failure -R "memoryPool"
echo "## Running tests bound to a numa node 0 and node 1 ..."
numactl -N 0 ctest --output-on-failure