[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#983239: libbio-db-ncbihelper-perl: (autopkg)test failures when network is available



Source: libbio-db-ncbihelper-perl
Version: 1.7.6-2
Severity: serious
Justification: autopkgtest is relevant, network access is a policy violation

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

As seen on ci.d.n:
https://ci.debian.net/data/autopkgtest/testing/amd64/libb/libbio-db-ncbihelper-perl/10589853/log.gz

we have a test failure:

not ok 44

#   Failed test at t/Taxonomy.t line 102.
#          got: 'Actinomycetia'
#     expected: 'Actinobacteria'


This happens because internet access is available, and internet using
tests are disabled during not disabeld.

I think they are supposed to be disabled during build, but this
doesn't seem to work either:

t/EntrezGene.t ......... skipped: no host: www.google.com
t/GenBank.t ............ skipped: no host: www.google.com
t/GenPept.t ............ skipped: no host: www.google.com
t/Query-Genbank.t ...... skipped: no host: www.google.com
t/RefSeq.t ............. skipped: no host: www.google.com
t/Taxonomy.t ........... skipped: no host: www.google.com

means that libtest-requiresinternet-perl doesn't find internet access
(expected in my chroot), whereas it would output something different
if NO_NETWORK_TESTING was respected. (Also: what is --network
supposed to do?)

With

override_dh_auto_test:
	NO_NETWORK_TESTING=1 dh_auto_test

we get:

t/EntrezGene.t ......... skipped: NO_NETWORK_TESTING
t/GenBank.t ............ skipped: NO_NETWORK_TESTING
t/GenPept.t ............ skipped: NO_NETWORK_TESTING
t/Query-Genbank.t ...... skipped: NO_NETWORK_TESTING
t/RefSeq.t ............. skipped: NO_NETWORK_TESTING
t/Taxonomy.t ........... skipped: NO_NETWORK_TESTING


Summary:
- - the tests try to go out to the internet (policy violation during
  build)
- - if this succeeds the build fails (which doesn't happen in
  restricted chroots)
- - autopkgtests fail
- - setting NO_NETWORK_TESTING=1 in d/rules help
- - doing the same in debian/tests/pkg-perl/smoke-env fixes the
  autopkgtest failure


Cheers,
gregor
  

- -- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'unstable-debug'), (500, 'oldoldstable'), (500, 'experimental'), (500, 'testing'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-3-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=de_AT.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmAyWqJfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgZpqg//QFq38bzNVQzMtyxMbWHQ7rHWERS2IcdGdsu0PIkluPTX86dn/XOvGZgG
XlTSJVlhoaZLU9/+O6D+IGUTMGrMCMskNW7sDfB3Q5eTISCCf25ua93iXQaD8iz9
HFScCQx/oc9lAhXyxZwa9qvgMOjNkyFGvz0chjJhqhwsBp9o7mnFFwMd9a675xgv
CgXSecGvbkO2ri951Qj42rHblEC1GI1dh12aDZKPuopFkmF43TT5Encem5Ekbw5N
ShP2LJsw9+kJ0MEnzClHSYZSetrkqDise/bgkC0icxARzFz7FZVsskwJQq/fx4jm
JUjTtiZTDPZlFym3bw2eN2x46187UpdEYF7x1Ez6RxxwUMYOxdZTWf+EzGkXgnQA
5Nd8PC907tzHYsz3U17ABIRZn1pploxwn4S0Rt58m/Z1d4UIhywpdJPw8Ioq3o+6
KvWqdO2mWQxOX0UucvURSNjlMqyX3qifqPvj8yCQRBuPEu2oL3ai3vlN6rzuYVq4
qgWoWofLe+l6OUFt95ZSzRfUw7E9n+XJGjrfcL5hkvdmRa73LAWDkLcgyyqcB7th
nwshKOA7h1/IvRSdQJbBenddEL6UtsE6auhkw0300ifF3PHhVxwz1H7zDTKF1JLx
z9Bmlqh9cjNx+G4wyXK5LZA83NCgsF9vSzOBwb1KLtc/lx9OgUI=
=abvI
-----END PGP SIGNATURE-----


Reply to: