summary refs log tree commit diff stats
path: root/scripts/qemugdb/tcg.py
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2025-09-22 10:36:47 +0100
committerAlex Bennée <alex.bennee@linaro.org>2025-09-26 09:55:19 +0100
commit5a449678d6594b70d3ead9ad78b47d76eb95a91e (patch)
treed39c4d769f989650995ffdf1dd4781fbfb1fa6fc /scripts/qemugdb/tcg.py
parent95b9e0d2ade5d633fd13ffba96a54e87c65baf39 (diff)
downloadfocaccia-qemu-5a449678d6594b70d3ead9ad78b47d76eb95a91e.tar.gz
focaccia-qemu-5a449678d6594b70d3ead9ad78b47d76eb95a91e.zip
scripts/ci: add gitlab-failure-analysis script
This is a script designed to collect data from multiple pipelines and
analyse the failure modes they have. By default it will probe the last
3 failed jobs on the staging branch. However this can all be
controlled by the CLI:

  ./scripts/ci/gitlab-failure-analysis --count 2 --branch=testing/next --id 39915562 --status=
  running pipeline 2028486060, total jobs 125, skipped 5, failed 0,  39742 tests, 0 failed tests
  success pipeline 2015018135, total jobs 125, skipped 5, failed 0,  49219 tests, 0 failed tests

You can also skip failing jobs and just dump the tests:

  ./scripts/ci/gitlab-failure-analysis --branch= --id 39915562 --status= --skip-jobs --pipeline 1946202491 1919542960
  failed pipeline 1946202491, total jobs 127, skipped 5, failed 26,  38742 tests, 278 skipped tests, 2 failed tests
    Failed test qemu.qemu:qtest+qtest-s390x / qtest-s390x/boot-serial-test, check-system-opensuse, 1 /s390x/boot-serial/s390-ccw-virtio - FATAL-ERROR: Failed to find expected string. Please check '/tmp/qtest-boot-serial-sW77EA3'
    Failed test qemu.qemu:qtest+qtest-aarch64 / qtest-aarch64/arm-cpu-features, check-system-opensuse, 1 /aarch64/arm/query-cpu-model-expansion - ERROR:../tests/qtest/arm-cpu-features.c:459:test_query_cpu_model_expansion: assertion failed (_error == "The CPU type 'host' requires KVM"): ("The CPU type 'host' requires hardware accelerator" == "The CPU type 'host' requires KVM")
  failed pipeline 1919542960, total jobs 127, skipped 5, failed 2,  48753 tests, 441 skipped tests, 1 failed tests
    Failed test qemu.qemu:unit / test-aio, msys2-64bit, 12 /aio/timer/schedule - ERROR:../tests/unit/test-aio.c:413:test_timer_schedule: assertion failed: (aio_poll(ctx, true))

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-ID: <20250922093711.2768983-3-alex.bennee@linaro.org>
Diffstat (limited to 'scripts/qemugdb/tcg.py')
0 files changed, 0 insertions, 0 deletions