Skip to content
Success

Changes

Summary

  1. testenv: add run --until-nok (details)
  2. mgw: fix RTP packets received while RX disabled (details)
  3. testenv: make it pass 'ruff check' linter (details)
  4. testenv: install dbg pkgs with --binary-repo too (details)
Commit e6eff004ca511f7103a2ffadb206f0faa2828236 by Oliver Smith
testenv: add run --until-nok

Add an argument to run a specific test (if using --test) or a whole
testsuite until it fails with "failure" or "error". This helped me in
reproducing a race condition in the mgw testsuite (related issue).

Related: OS#3849
Change-Id: I17e1ebcc5d6ff1b6a087c4d4c9405a02798212f1
The file was modified_testenv/testenv.py
The file was modified_testenv/testenv/__init__.py
The file was modified_testenv/testenv/testdir.py
The file was modified_testenv/testenv/testenv_cfg.py
The file was modified_testenv/testenv/testsuite.py
Commit 0adc6808745e0acf14770d3f205bf959e0ef2de9 by Oliver Smith
mgw: fix RTP packets received while RX disabled

Fix the race condition causing tests to abort with:
  1 RTP packets received while RX was disabled

Fixes: OS#3849
Change-Id: Ieaf5440a693448cdeeaac7f47e6110cb480bff5f
The file was modifiedmgw/MGCP_Test.ttcn
Commit 31eaa919ffa6d5604e63c0576ab75cd04efb95ca by Oliver Smith
testenv: make it pass 'ruff check' linter

I've added 'ruff check' to my pre-commit script. Make it pass initially,
so it can detect future bugs. The missing f-string is a bug that causes
ggsn testsuites with a custom kernel path to not work.

Change-Id: I3e5cd05ce0aa241509d77391c5ed64e618f385ba
The file was modified_testenv/testenv/podman.py
The file was modified_testenv/testenv/testsuite.py
Commit d8865c4f6c0cf3ff237546fd74ad75ed565de1f7 by Oliver Smith
testenv: install dbg pkgs with --binary-repo too

When using --binary-repo, figure out the -dbg and -dbgsym packages for
all dependencies of packages to be installed, and install them as well.

This will make debug symbols available in jenkins, useful for the
related issue. Before this patch debug symbols were only available when
building locally without --binary-repo.

Related: OS#6630
Change-Id: I4dc57257b944126fed2c7b031c92c77a3d4286e0
The file was modified_testenv/data/podman/Dockerfile
The file was modified_testenv/testenv/podman_install.py