Skip to content

[TEST] QEMU sporadic repro #1355

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 0 additions & 81 deletions .github/workflows/pr_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
9 changes: 7 additions & 2 deletions .github/workflows/reusable_qemu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -142,7 +142,12 @@ jobs:
echo "### Testing ${config_name} ###"
umf/scripts/qemu/start_qemu.sh ${config_name}

ssh [email protected] -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 [email protected] -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 [email protected]:/home/testuser/coverage ./
# ssh may return non-zero error code on closing the connection in Ubuntu 22.04
ssh [email protected] -p 2222 -t "sudo shutdown -h now" || true
Expand Down
1 change: 1 addition & 0 deletions FlameGraph
Submodule FlameGraph added at 41fee1
52 changes: 0 additions & 52 deletions scripts/qemu/configs/sock_2_var1.xml

This file was deleted.

64 changes: 0 additions & 64 deletions scripts/qemu/configs/sock_2_var1_hmat.xml

This file was deleted.

52 changes: 0 additions & 52 deletions scripts/qemu/configs/sock_2_var2.xml

This file was deleted.

64 changes: 0 additions & 64 deletions scripts/qemu/configs/sock_2_var2_hmat.xml

This file was deleted.

Loading
Loading