Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 831969

Summary: net-analyzer/wireshark-3.6.1 fails "suite_unittests" tests
Product: Gentoo Linux Reporter: Paolo Pedroni <paolo.pedroni>
Component: Current packagesAssignee: Sam James <sam>
Status: UNCONFIRMED ---    
Severity: normal CC: bman, jstein, sam
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: wireshark-3.6.1:20220124-102552.log.gz
LastTest.log

Description Paolo Pedroni 2022-01-24 11:48:25 UTC
Created attachment 763489 [details]
wireshark-3.6.1:20220124-102552.log.gz

The following tests passed:
        suite_capture
        suite_clopts
        suite_decryption
        suite_dfilter.group_bytes_ether
        suite_dfilter.group_bytes_ipv6
        suite_dfilter.group_bytes_type
        suite_dfilter.group_integer_1byte
        suite_dfilter.group_dfunction_string
        suite_dfilter.group_double
        suite_dfilter.group_scanner
        suite_dfilter.group_range_method
        suite_dfilter.group_stringz
        suite_dfilter.group_time_relative
        suite_dfilter.group_membership
        suite_dfilter.group_uint64
        suite_dfilter.group_tvb
        suite_dfilter.group_syntax
        suite_dfilter.group_ipv4
        suite_dfilter.group_integer
        suite_dfilter.group_time_type
        suite_dissectors.group_asterix
        suite_fileformats
        suite_dfilter.group_string_type
        suite_follow
        suite_dissection
        suite_follow_dccp
        suite_follow_multistream
        suite_mergecap
        suite_io
        suite_netperfmeter
        suite_nameres
        suite_release
        suite_outputformats
        suite_sharkd
        suite_text2pcap
        suite_wslua

97% tests passed, 1 tests failed out of 37

Total Test time (real) = 230.41 sec

The following tests FAILED:
         36 - suite_unittests (Failed)
Errors while running CTest
Output from these tests are in: /var/tmp/portage/net-analyzer/wireshark-3.6.1/work/wireshark-3.6.1_build/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
 * ERROR: net-analyzer/wireshark-3.6.1::gentoo failed (test phase)

Relevant part of LastTest.log says:
36/37 Testing: suite_unittests
36/37 Test: suite_unittests
Command: "/usr/bin/cmake" "-E" "env" "PYTHONIOENCODING=UTF-8" "/usr/bin/python3.10" "/var/tmp/portage/net-analyzer/wireshark-3.6.1/w
ork/wireshark-3.6.1/test/test.py" "--verbose" "--program-path" "/var/tmp/portage/net-analyzer/wireshark-3.6.1/work/wireshark-3.6.1_b
uild/run" "suite_unittests"
Directory: /var/tmp/portage/net-analyzer/wireshark-3.6.1/work/wireshark-3.6.1_build
"suite_unittests" start time: Jan 24 11:39 CET
Output:
----------------------------------------------------------
test_unit_ftsanity (suite_unittests.case_unit_ftsanity)
Looks for problems in field type definitions. ... ok
test_unit_ctest_coverage (suite_unittests.case_unittests)
Make sure CTest runs all of our tests. ... ok
test_unit_exntest (suite_unittests.case_unittests)
exntest ... ok
test_unit_fieldcount (suite_unittests.case_unittests)
fieldcount ... ok
test_unit_oids_test (suite_unittests.case_unittests)
oids_test ... ok
test_unit_reassemble_test (suite_unittests.case_unittests)
reassemble_test ... ok
test_unit_tvbtest (suite_unittests.case_unittests)
tvbtest ... ok
test_unit_wmem_test (suite_unittests.case_unittests)
wmem_test ... FAIL
test_unit_wscbor_test (suite_unittests.case_unittests)
wscbor_test ... ok
test_unit_wsutil (suite_unittests.case_unittests)
wsutil unit tests ... ok

======================================================================
FAIL: test_unit_wmem_test (suite_unittests.case_unittests)
wmem_test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/net-analyzer/wireshark-3.6.1/work/wireshark-3.6.1/test/fixtures.py", line 54, in wrapped
    test_fn(self, *fixtures)
  File "/var/tmp/portage/net-analyzer/wireshark-3.6.1/work/wireshark-3.6.1/test/suite_unittests.py", line 40, in test_unit_wmem_test
    self.assertRun((program('wmem_test'),
  File "/var/tmp/portage/net-analyzer/wireshark-3.6.1/work/wireshark-3.6.1/test/subprocesstest.py", line 304, in assertRun
    self.assertEqual(process.returncode, expected_return)
AssertionError: -11 != 0

----------------------------------------------------------------------
Ran 10 tests in 13.358s

FAILED (failures=1)

Process output for suite_unittests.case_unittests.test_unit_wmem_test:
-- Begin stdout for command ('/var/tmp/portage/net-analyzer/wireshark-3.6.1/work/wireshark-3.6.1_build/run/wmem_test', '--verbose') 
--
# random seed: R02S77d89ccc465104717e063732fca78ccb
1..16
# Start of wmem tests
# Start of allocator tests
ok 1 /wmem/allocator/block
ok 2 /wmem/allocator/blk_fast
ok 3 /wmem/allocator/simple
ok 4 /wmem/allocator/strict
ok 5 /wmem/allocator/callbacks
# End of allocator tests
# Start of utils tests
ok 6 /wmem/utils/misc
ok 7 /wmem/utils/strings
# min perf: g_printf_string_upper_bound (via g_snprintf) 1 string: u 87.545 ms s 0.000 ms
# min perf: g_printf_string_upper_bound (via g_snprintf) 5 strings: u 268.031 ms s 0.000 ms
# min perf: g_printf_string_upper_bound (via g_snprintf) mixed args: u 665.559 ms s 0.000 ms
# min perf: g_strdup_printf 2 strings: u 189.727 ms s 3.291 ms
# min perf: g_strconcat 2 strings: u 45.386 ms s 0.000 ms
# min perf: g_strdup_printf 5 strings: u 411.957 ms s 13.246 ms
# min perf: g_strconcat 5 strings: u 133.514 ms s 0.016 ms
# min perf: wmem_strdup_printf 2 strings: u 255.253 ms s 6.621 ms
# min perf: wmem_strconcat 2 strings: u 79.184 ms s 19.899 ms
# min perf: wmem_strdup_printf 5 strings: u 351.194 ms s 29.989 ms
# min perf: wmem_strconcat 5 strings: u 130.163 ms s 23.143 ms
ok 8 /wmem/utils/stringperf
# End of utils tests
# Start of datastruct tests
ok 9 /wmem/datastruct/array
ok 10 /wmem/datastruct/list
ok 11 /wmem/datastruct/map
ok 12 /wmem/datastruct/queue
ok 13 /wmem/datastruct/stack
ok 14 /wmem/datastruct/strbuf
-- End stdout for command ('/var/tmp/portage/net-analyzer/wireshark-3.6.1/work/wireshark-3.6.1_build/run/wmem_test', '--verbose') --
-- Begin stderr for command ('/var/tmp/portage/net-analyzer/wireshark-3.6.1/work/wireshark-3.6.1_build/run/wmem_test', '--verbose') --
-- End stderr for command ('/var/tmp/portage/net-analyzer/wireshark-3.6.1/work/wireshark-3.6.1_build/run/wmem_test', '--verbose') --
<end of output>
Test time =  13.75 sec
----------------------------------------------------------
Test Failed.
"suite_unittests" end time: Jan 24 11:39 CET
"suite_unittests" time elapsed: 00:00:13
----------------------------------------------------------

# emerge --info =net-analyzer/wireshark-3.6.1
Portage 3.0.30 (python 3.9.9-final-0, default/linux/amd64/17.1/desktop/systemd, gcc-11.2.1, glibc-2.33-r7, 5.15.16-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.15.16-gentoo-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-glibc2.33
KiB Mem:     7819448 total,   3043540 free
KiB Swap:    8388604 total,   8382460 free
Timestamp of repository gentoo: Mon, 24 Jan 2022 07:45:01 +0000
Head commit of repository gentoo: d2a7fb76d7086c3accc2cd3e09194a189bb15e7c
sh dash 0.5.11.5
ld GNU gold (Gentoo 2.37_p1 p0 2.37) 1.16
distcc 3.4 x86_64-pc-linux-gnu [enabled]
ccache version 4.5.1 [disabled]
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p8::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.0-r6::gentoo
dev-lang/python:           3.9.9-r1::gentoo, 3.10.2::gentoo
dev-lang/rust:             1.58.1::gentoo
dev-util/ccache:           4.5.1::gentoo
dev-util/cmake:            3.21.4::gentoo
dev-util/meson:            0.60.3::gentoo
sys-apps/baselayout:       2.7-r3::gentoo
sys-apps/sandbox:          2.25::gentoo
sys-apps/systemd:          249.9::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.4::gentoo
sys-devel/binutils:        2.37_p1::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/clang:           13.0.0::gentoo
sys-devel/gcc:             11.2.1_p20220115::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/lld:             13.0.0::gentoo
sys-devel/llvm:            13.0.0::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.33-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
AR="/usr/bin/gcc-ar"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -frecord-gcc-switches -march=amdfam10 -flto=4"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -frecord-gcc-switches -march=amdfam10 -flto=4"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going y --with-bdeps y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe -frecord-gcc-switches -march=amdfam10 -flto=4"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live cgroup compress-build-logs config-protect-if-modified distcc distlocks ebuild-locks ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -frecord-gcc-switches -march=amdfam10 -flto=4"
GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://mirror.init7.net/gentoo/ https://mirror.init7.net/gentoo/ http://ftp.uni-hannover.de/gentoo/"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common -flto=4"
LINGUAS="it it_IT"
MAKEOPTS="-j21 -l4"
NM="/usr/bin/gcc-nm"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
RANLIB="/usr/bin/gcc-ranlib"
SHELL="/bin/bash"
USE="X a52 aac aalib acl acpi alsa amd64 ao audiofile bash-completion bluetooth branding brotli bzip2 cairo caps cdda cddb cdparanoia cdr cli crypt css cups curl dbus dga djvu dri dts dvd dvdr encode exif expat fbcon ffmpeg fftw flac fontconfig fortran ftp gd gdbm gif gmp gnutls gpm graphviz gtk gui guile iconv icu idn imagemagick imlib inotify introspection ipv6 jbig jemalloc jpeg jpeg2k kde lame lcms libass libglvnd libnotify libsamplerate libtirpc lm-sensors lua lzma lzo mad magic mmap mng mp3 mp4 mpeg mplayer multilib musicbrainz ncurses nls nptl offensive ogg openal opengl openmp pam pango pcre pdf png policykit postscript ppds pulseaudio qt5 rdesktop readline samba sctp sdl seccomp sndfile speex spell split-usr sqlite ssl startup-notification svg symlink syslog systemd taglib test theora threads tiff truetype udev udisks unicode upower usb vaapi vala vdpau verify-sig vim-syntax vorbis wavpack wayland webp win32codecs wmf wxwidgets x264 xattr xcb xcomposite xine xinerama xml xpm xscreensaver xv xvid zip zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2020" ALSA_CARDS="hda-intel virmidi" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" CURL_SSL="gnutls" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="it en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

# emerge -1pqv =net-analyzer/wireshark-3.6.1
[ebuild     U ] net-analyzer/wireshark-3.6.1 [3.4.11] USE="brotli capinfos captype dftest dumpcap editcap filecaps http2 ilbc libxml2 lua lz4 mergecap minizip netlink opus pcap plugins qt5 randpkt randpktdump reordercap sdjournal sharkd smi snappy sshdump ssl test text2pcap tshark udpdump zlib zstd -androiddump -bcg729 -ciscodump -doc -dpauxmon -kerberos (-lto) -maxminddb -plugin-ifdemo -sbc (-selinux) -spandsp -tfshark" LUA_SINGLE_TARGET="lua5-1"
Comment 1 Paolo Pedroni 2022-01-24 11:48:48 UTC
Created attachment 763490 [details]
LastTest.log