Public bug reported: scapy 2.8.0+dfsg-1 is blocked in proposed-migration (triggered here by an unrelated samba update): the 'run-upstream-tests' autopkgtest fails with:
autopkgtest [13:10:43]: test environment configured for cross building autopkgtest [13:10:43]: test run-upstream-tests: [----------------------- cp: cannot stat '../src': No such file or directory autopkgtest [13:10:45]: test run-upstream-tests: -----------------------] run-upstream-tests FAIL non-zero exit status 1 Test log: https://autopkgtest.ubuntu.com/results/autopkgtest- tenacious/tenacious/i386/s/scapy/20261128_131146_a80fb@/log.gz Root cause: debian/tests/run-upstream-tests does: cp -a -r ../src $AUTOPKGTEST_TMP cd $AUTOPKGTEST_TMP/src ./test/run_tests ... This assumes a sibling '../src' directory (the unpacked upstream source tree) exists relative to the test script's working directory. That assumption doesn't hold when autopkgtest runs in 'cross building' test mode (as logged above), where this directory layout isn't present, so the cp fails immediately and no actual scapy tests ever run. This is entirely unrelated to samba (the trigger package for this particular excuse) - it's a pre-existing gap in scapy's own packaging. Debian status: this is NOT Ubuntu-specific. Debian's own package tracker/debci shows the identical scapy 2.8.0+dfsg-1 currently FAILING on both unstable and testing (https://tracker.debian.org/pkg/scapy), with only the older stable 2.6.1+dfsg-1 passing. No existing Debian bug covers this (0 open bugs for src:scapy in the BTS at time of writing), and nothing matching this in scapy's upstream GitHub issues either. Suggested fix: make debian/tests/run-upstream-tests robust to the test running without a '../src' sibling directory (e.g. skip/adapt gracefully, or ensure the needed source tree is provided via Test-Command/debian/tests/control Depends regardless of cross-building mode), and report this upstream to Debian (src:scapy) since it affects them identically. ** Affects: scapy (Ubuntu) Importance: Undecided Status: New ** Tags: update-excuses ** Tags added: update-excuses -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2178490 Title: scapy: debian/tests/run-upstream-tests fails with 'cp: cannot stat ../src' under cross-building test mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/scapy/+bug/2178490/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
