View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000416 | file | General | public | 2023-01-11 21:47 | 2023-01-24 20:37 |
Reporter | thesamesam | Assigned To | christos | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Fixed in Version | 5.45 | ||||
Summary | 0000416: Test failure on sparc | ||||
Description | Running the test suite on Linux + sparc results in a test suite failure. Noticed with 5.44 but reproduced from git: ``` Running test: ../tests/fit-map-data TZ=UTC MAGIC=../magic/magic ./test -e ../tests/fit-map-data.testfile ../tests/fit-map-data.result ../tests/fit-map-data.testfile: FIT Map data, unit id 65536, serial 3879446968, Sat May 31 03:00:34 2014, manufacturer 1 (garmin), product 1632, type 4 (Activity) test: ERROR: result was (len 130) FIT Map data, unit id 65536, serial 3879446968, Sat May 31 03:00:34 2014, manufacturer 1 (garmin), product 1632, type 4 (Activity) expected (len 131) FIT Map data, unit id 65536, serial 3879446968, Sat May 31 10:00:34 2014, manufacturer 1 (garmin), product 1632, type 4 (Activity) make[2]: *** [Makefile:761: check-local] Error 1 make[2]: Leaving directory '/root/file/tests' make[1]: *** [Makefile:637: check-am] Error 2 make[1]: Leaving directory '/root/file/tests' make: *** [Makefile:465: check-recursive] Error 1 ``` I've attached the full log from `make check`. Let me know if I can give more information. Access to the environment is available if needed. | ||||
Additional Information | # emerge --info Portage 3.0.42 (python 3.10.9-final-0, default/linux/sparc/17.0/64ul/desktop, gcc-12, glibc-2.36-r6, 5.15.69-gentoo sparc64) ================================================================= System uname: Linux-5.15.69-gentoo-sparc64-sun4v-with-glibc2.36 KiB Mem: 531346544 total, 402137592 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Wed, 11 Jan 2023 21:02:13 +0000 sh dash 0.5.12 ld GNU ld (Gentoo 2.39 p5) 2.39.0 ccache version 4.7.4 [disabled] app-misc/pax-utils: 1.3.5::gentoo app-shells/bash: 5.2_p15::gentoo dev-lang/perl: 5.36.0-r1::gentoo dev-lang/python: 3.8.16::gentoo, 3.9.16::gentoo, 3.10.9::gentoo, 3.11.1::gentoo dev-lang/rust-bin: 1.65.0::gentoo dev-util/ccache: 4.7.4::gentoo dev-util/cmake: 3.25.1::gentoo dev-util/meson: 1.0.0::gentoo sys-apps/baselayout: 2.9::gentoo sys-apps/openrc: 0.45.2-r2::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.71-r5::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.39-r4::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/gcc: 10.4.1_p20221222::gentoo, 11.3.1_p20221223::gentoo, 12.2.1_p20221224::gentoo sys-devel/gcc-config: 2.8::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/make: 4.4::gentoo sys-kernel/linux-headers: 6.1::gentoo (virtual/os-headers) sys-libs/glibc: 2.36-r6::gentoo Repositories: gentoo location: /bound/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: True sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes ACCEPT_KEYWORDS="sparc ~sparc" ACCEPT_LICENSE="@FREE" CBUILD="sparc64-unknown-linux-gnu" CFLAGS="-O2 -pipe -mcpu=ultrasparc" CHOST="sparc64-unknown-linux-gnu" CONFIG_PROTECT="/etc /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 -mcpu=ultrasparc" DISTDIR="/bound/distfiles" EMERGE_DEFAULT_OPTS="--complete-graph --with-bdeps=y --keep-going --deep --jobs=4" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME" FCFLAGS="-O2 -pipe -mcpu=ultrasparc" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -mcpu=ultrasparc" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu" LEX="flex" 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" SHELL="/bin/bash" USE="X a52 aac acl alsa big-endian branding bzip2 cairo caps cdda cdr cli crypt cups dbus dri dts dvd dvdr encode exif filecaps flac fortran gdbm gif gmp gpm gtk gui iconv icu introspection ipv6 jit jpeg lcms libglvnd libnotify libtirpc llvm-libunwind mad mng mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds readline sdl sound sparc spell split-usr ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xft xml xv xvid zlib" ADA_TARGET="gnat_2021" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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" INPUT_DEVICES="libinput" KERNEL="linux" 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_10" PYTHON_TARGETS="python3_10 python3_8 python3_9" RUBY_TARGETS="ruby27 ruby26" USERLAND="GNU" VIDEO_CARDS="dummy fbdev" 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, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS | ||||
Tags | No tags attached. | ||||
|
file-test-suite.log (5,612 bytes)
Making check in src make[1]: Entering directory '/root/file/src' make check-am make[2]: Entering directory '/root/file/src' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/root/file/src' make[1]: Leaving directory '/root/file/src' Making check in magic make[1]: Entering directory '/root/file/magic' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/root/file/magic' Making check in tests make[1]: Entering directory '/root/file/tests' make test make[2]: Entering directory '/root/file/tests' CC test-test.o CCLD test make[2]: Leaving directory '/root/file/tests' make check-local make[2]: Entering directory '/root/file/tests' set -e; \ for i in ../tests/*.testfile; do \ t=${i%%.testfile}; \ echo Running test: $t; \ m=; \ for j in $(eval echo ${t}\*.magic); do \ if [ -f "$j" ]; then \ if [ -z "$m" ]; then \ m=$j; \ else \ m=$m:$j; \ fi \ fi \ done; \ if [ -z "$m" ]; then \ m=../magic/magic; \ fi; \ f=-e; \ if [ -f ${t}.flags ]; then \ f=$f$(cat ${t}.flags); \ fi; \ echo TZ=UTC MAGIC=$m ./test $f $i ${t}.result; \ TZ=UTC MAGIC=$m ./test $f $i ${t}.result; \ done Running test: ../tests/CVE-2014-1943 TZ=UTC MAGIC=../magic/magic ./test -e ../tests/CVE-2014-1943.testfile ../tests/CVE-2014-1943.result ../tests/CVE-2014-1943.testfile: Apple Driver Map, blocksize 0 Running test: ../tests/JW07022A.mp3 TZ=UTC MAGIC=../magic/magic ./test -e ../tests/JW07022A.mp3.testfile ../tests/JW07022A.mp3.result ../tests/JW07022A.mp3.testfile: Audio file with ID3 version 2.2.0, contains: MPEG ADTS, layer III, v1, 96 kbps, 44.1 kHz, Monaural Running test: ../tests/android-vdex-1 TZ=UTC MAGIC=../magic/magic ./test -e ../tests/android-vdex-1.testfile ../tests/android-vdex-1.result ../tests/android-vdex-1.testfile: Android vdex file, verifier deps version: 021, dex section version: 002, number of dex files: 4, verifier deps size: 106328 Running test: ../tests/android-vdex-2 TZ=UTC MAGIC=../magic/magic ./test -e ../tests/android-vdex-2.testfile ../tests/android-vdex-2.result ../tests/android-vdex-2.testfile: Android vdex file, being processed by dex2oat, verifier deps version: 019, dex section version: 002, number of dex files: 1, verifier deps size: 1016 Running test: ../tests/arj TZ=UTC MAGIC=../magic/magic ./test -e ../tests/arj.testfile ../tests/arj.result ../tests/arj.testfile: ARJ archive data, v11, slash-switched, created 5 1980+48, original name: example_m0.arj, os: Unix Running test: ../tests/bcachefs TZ=UTC MAGIC=../magic/magic ./test -e ../tests/bcachefs.testfile ../tests/bcachefs.result ../tests/bcachefs.testfile: bcachefs, UUID=46bd306f-80ad-4cd0-af4f-147e7d85f393, label "Label", version 13, min version 13, device 0/UUID=72a60ede-4cb6-4374-aa70-cb38a50af5ef, 1 devices Running test: ../tests/cl8m8ocofedso TZ=UTC MAGIC=../magic/magic ./test -e ../tests/cl8m8ocofedso.testfile ../tests/cl8m8ocofedso.result ../tests/cl8m8ocofedso.testfile: Audio file with ID3 version 2.4.0, contains: MPEG ADTS, layer III, v1, 192 kbps, 44.1 kHz, JntStereo Running test: ../tests/cmd1 TZ=UTC MAGIC=../magic/magic ./test -e ../tests/cmd1.testfile ../tests/cmd1.result ../tests/cmd1.testfile: a /usr/bin/cmd1 script, ASCII text executable Running test: ../tests/cmd2 TZ=UTC MAGIC=../magic/magic ./test -e ../tests/cmd2.testfile ../tests/cmd2.result ../tests/cmd2.testfile: a /usr/bin/cmd2 script, ASCII text executable Running test: ../tests/cmd3 TZ=UTC MAGIC=../magic/magic ./test -e ../tests/cmd3.testfile ../tests/cmd3.result ../tests/cmd3.testfile: a /usr/bin/cmd3 script executable (binary data) Running test: ../tests/cmd4 TZ=UTC MAGIC=../magic/magic ./test -e ../tests/cmd4.testfile ../tests/cmd4.result ../tests/cmd4.testfile: a /usr/bin/cmd4 script executable (binary data) Running test: ../tests/dsd64-dff TZ=UTC MAGIC=../magic/magic ./test -e ../tests/dsd64-dff.testfile ../tests/dsd64-dff.result ../tests/dsd64-dff.testfile: DSDIFF audio bitstream data, 1 bit, mono, "DSD 64" 2822400 Hz, no compression, ID3 version 2.0.0 Running test: ../tests/dsd64-dsf TZ=UTC MAGIC=../magic/magic ./test -e ../tests/dsd64-dsf.testfile ../tests/dsd64-dsf.result ../tests/dsd64-dsf.testfile: DSF audio bitstream data, 1 bit, mono, "DSD 64" 2822400 Hz, no compression, ID3 version 2.3.0 Running test: ../tests/escapevel TZ=UTC MAGIC=../magic/magic ./test -e ../tests/escapevel.testfile ../tests/escapevel.result ../tests/escapevel.testfile: Zip data (MIME type "application/vnd.nz.gen.geek_central.ti5x"?) Running test: ../tests/ext4 TZ=UTC MAGIC=../magic/magic ./test -e ../tests/ext4.testfile ../tests/ext4.result ../tests/ext4.testfile: Linux rev 1.0 ext4 filesystem data, UUID=d32bbb08-3a76-4510-a064-3045f887dbdf (extents) (64bit) (large files) (huge files) Running test: ../tests/fit-map-data TZ=UTC MAGIC=../magic/magic ./test -e ../tests/fit-map-data.testfile ../tests/fit-map-data.result test: ERROR: result was (len 130) FIT Map data, unit id 65536, serial 3879446968, Sat May 31 03:00:34 2014, manufacturer 1 (garmin), product 1632, type 4 (Activity) expected (len 131) FIT Map data, unit id 65536, serial 3879446968, Sat May 31 10:00:34 2014, manufacturer 1 (garmin), product 1632, type 4 (Activity) ../tests/fit-map-data.testfile: FIT Map data, unit id 65536, serial 3879446968, Sat May 31 03:00:34 2014, manufacturer 1 (garmin), product 1632, type 4 (Activity) make[2]: *** [Makefile:761: check-local] Error 1 make[2]: Leaving directory '/root/file/tests' make[1]: *** [Makefile:637: check-am] Error 2 make[1]: Leaving directory '/root/file/tests' make: *** [Makefile:465: check-recursive] Error 1 |
|
I've gone back to 5.39 and the same test fails consistently, which is weird because I feel like I would've noticed if it failed previously, as we have 5.43 marked stable on sparc in Gentoo. |
|
I can't reproduce this in another container, I think something was wrong with the environment, as 'date' wouldn't respect TZ either. Apologies! Please close as invalid. |
|
The problem was that the test is printing localtime and your timezone is not what the tests expects (UTC). Forced in the test program now. |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-01-11 21:47 | thesamesam | New Issue | |
2023-01-11 21:47 | thesamesam | File Added: file-test-suite.log | |
2023-01-11 21:59 | thesamesam | Note Added: 0003888 | |
2023-01-12 07:19 | thesamesam | Note Added: 0003889 | |
2023-01-24 20:37 | christos | Assigned To | => christos |
2023-01-24 20:37 | christos | Status | new => assigned |
2023-01-24 20:37 | christos | Status | assigned => resolved |
2023-01-24 20:37 | christos | Resolution | open => fixed |
2023-01-24 20:37 | christos | Fixed in Version | => 5.45 |
2023-01-24 20:37 | christos | Note Added: 0003892 |