Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 952126 - dev-java/velocity-2.4.1: fails tests on arm64
Summary: dev-java/velocity-2.4.1: fails tests on arm64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 945856
  Show dependency tree
 
Reported: 2025-03-27 08:48 UTC by Viorel Munteanu
Modified: 2025-03-31 10:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (dev-java_velocity-2.4.1_use_cC9gd.log,227.72 KB, text/plain)
2025-03-27 08:48 UTC, Viorel Munteanu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Viorel Munteanu gentoo-dev 2025-03-27 08:48:48 UTC
Created attachment 922987 [details]
build.log

Time: 8.244
There was 1 failure:
1) testEnd2End(org.apache.velocity.test.issues.Velocity952TestCase)
junit.framework.ComparisonFailure: expected:<[36]00000> but was:<[72]00000>
        at junit.framework.Assert.assertEquals(Assert.java:100)
        at junit.framework.Assert.assertEquals(Assert.java:107)
        at junit.framework.TestCase.assertEquals(TestCase.java:260)
        at org.apache.velocity.test.BaseTestCase.assertEvalEquals(BaseTestCase.java:216)
        at org.apache.velocity.test.BaseTestCase.assertEvalEquals(BaseTestCase.java:207)
        at org.apache.velocity.test.issues.Velocity952TestCase.testEnd2End(Velocity952TestCase.java:93)

FAILURES!!!
Tests run: 494,  Failures: 1



Portage 3.0.67 (python 3.12.9-final-0, default/linux/arm64/23.0/desktop/gnome/systemd, gcc-14, glibc-2.40-r8, 6.6.47-v8+ aarch64)
=================================================================
System uname: Linux-6.6.47-v8+-aarch64-with-glibc2.40
KiB Mem:     8131768 total,   3299640 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Wed, 26 Mar 2025 06:35:14 +0000
Timestamp of repository guru: Tue, 25 Mar 2025 15:05:18 +0000
Head commit of repository guru: 124588afce4c1fc9bf53accdc0b43035a67cb188

sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
distcc 3.4 aarch64-unknown-linux-gnu [disabled]
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.17-r1::gentoo
dev-build/cmake:           3.31.5::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.7.0::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0-r1::gentoo
dev-lang/python:           3.10.16_p2::gentoo, 3.11.11_p2::gentoo, 3.12.9::gentoo, 3.13.2::gentoo
dev-lang/rust-bin:         1.81.0-r103::gentoo, 1.84.1-r2::gentoo
llvm-core/clang:           19.1.7::gentoo
llvm-core/lld:             19.1.7::gentoo
llvm-core/llvm:            18.1.8-r6::gentoo, 19.1.7::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-apps/systemd:          256.10::gentoo
sys-devel/binutils:        2.43-r2::gentoo, 2.44::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.2.1_p20241221::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.12::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r8::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://legolas.intranet.ceamac.com/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 3

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

local
    location: /var/db/repos/local
    masters: gentoo
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://distfiles.gentoo.org/releases/arm64/binpackages/23.0/arm64

ACCEPT_KEYWORDS="arm64"
ACCEPT_LICENSE="@FREE"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mtune=cortex-a76 -mcpu=cortex-a76+crc+crypto  -frecord-gcc-switches"
CHOST="aarch64-unknown-linux-gnu"
CONFIG_PROTECT="/boot/cmdline.txt /boot/config.txt /etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
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"
CXXFLAGS="-O2 -pipe -mtune=cortex-a76 -mcpu=cortex-a76+crc+crypto  -frecord-gcc-switches"
DISTDIR="/var/cache/distfiles"
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 -mtune=cortex-a76 -mcpu=cortex-a76+crc+crypto  -frecord-gcc-switches"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -mtune=cortex-a76 -mcpu=cortex-a76+crc+crypto  -frecord-gcc-switches"
GENTOO_MIRRORS="ftp://legolas.intranet.ceamac.com/gentoo/ http://tux.rainside.sk/gentoo/ http://mirror.dkm.cz/gentoo/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0"
LEX="flex"
MAKEOPTS="-j5 -l4"
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 acpi alsa appindicator arm64 bluetooth branding bzip2 cairo cdda cdr colord crypt cups dbus dri dts dvdr eds encode evo exif flac gdbm gdk-pixbuf gif gles1 gles2 gnome gnome-keyring gnome-online-accounts gnome-shell gpm gstreamer gtk gui iconv icu introspection ipv6 jpeg kerberos keyring kf6compat lcms libnotify libtirpc mad matroska mng modplug mp3 mp4 mpeg nautilus ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qml qt5 qt6 raspberry-pi readline sdl seccomp sound spell ssl startup-notification svg sysprof systemd test-rust theora tiff tracker truetype udev udisks unicode upower usb v4l vorbis vulkan wayland wxwidgets x264 xattr xcb xft xml xvid zlib" ADA_TARGET="gcc_14" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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" CPU_FLAGS_ARM="aes asimddp crc32 edsp sha1 sha2 v8 vfp vfp-d32 vfpv3 vfpv4" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US ro-RO" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12 python3_10 python3_11" RUBY_TARGETS="ruby32 ruby31" VIDEO_CARDS="fbdev dummy v3d vc4" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Volkmar W. Pogatzki 2025-03-28 11:12:01 UTC
(In reply to Viorel Munteanu from comment #0)
> Created attachment 922987 [details]
> [...]
Could you please check if this would work?

TZ="Europe/Berlin" ebuild velocity-2.4.1 clean test
Comment 2 Viorel Munteanu gentoo-dev 2025-03-28 12:24:25 UTC
Yes, it passes.
Comment 3 Larry the Git Cow gentoo-dev 2025-03-31 10:40:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef7dfee17a73611e907d61efb8a6da48ff971516

commit ef7dfee17a73611e907d61efb8a6da48ff971516
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2025-03-28 12:38:31 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2025-03-31 10:40:33 +0000

    dev-java/velocity: set TimeZone for tests #952126
    
    One of four tests in Velocity952TestCase fails when using a different
    timezone. we export TZ="Europe/Berlin" in test() phase.
    
    Co-authored-by: Viorel <ceamac.paragon@gmail.com>
    Closes: https://bugs.gentoo.org/952126
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/41344
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 dev-java/velocity/velocity-2.4.1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)