• Bug#1108806: commons-exec: FTBFS randomly: autobuilder hangs (2/3)

    From Santiago Vila@1:229/2 to All on Sat Jul 5 13:10:02 2025
    [continued from previous message]

    [INFO] Nothing to compile - all classes are up to date.
    [INFO]
    [INFO] --- surefire:2.22.3:test (default-test) @ commons-exec ---
    [INFO]
    [INFO] -------------------------------------------------------
    [INFO] T E S T S
    [INFO] -------------------------------------------------------
    [INFO] Running org.apache.commons.exec.DefaultExecutorTest
    gdal_translate HDF5:"/home/kk/grass/data/4404.he5"://HDFEOS/GRIDS/OMI_Column_Amount_O3/Data_Fields/ColumnAmountO3/home/kk/4.tif
    FOO..
    FOO..
    [WARNING] Tests run: 30, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 42.391 s - in org.apache.commons.exec.DefaultExecutorTest
    [INFO] Running org.apache.commons.exec.environment.EnvironmentUtilsTest
    [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.commons.exec.environment.EnvironmentUtilsTest
    [INFO] Running org.apache.commons.exec.StandAloneTest
    mkdir: cannot create directory ‘target/’: File exists
    [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.apache.commons.exec.StandAloneTest
    [INFO] Running org.apache.commons.exec.LogOutputStreamTest
    DFLAGS=-frelease
    DEB_HOST_GNU_SYSTEM=linux-gnu
    DEB_TARGET_GNU_CPU=x86_64
    DEB_BUILD_ARCH_BITS=64
    ASFLAGS_FOR_BUILD=
    DEB_HOST_ARCH_OS=linux
    USER=buildd
    CXXFLAGS=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
    DEB_TARGET_MULTIARCH=x86_64-linux-gnu
    DEB_BUILD_GNU_TYPE=x86_64-linux-gnu
    OBJCFLAGS=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
    FFLAGS_FOR_BUILD=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -fcf-protection
    DEB_BUILD_ARCH_CPU=amd64
    DEB_HOST_ARCH_LIBC=gnu
    DEB_HOST_ARCH_ABI=base HOME=/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home OLDPWD=/<<PKGBUILDDIR>>
    SCHROOT_CHROOT_NAME=trixie-file
    APT_CONFIG=/var/lib/sbuild/apt.conf
    LDFLAGS=-Wl,-z,relro
    DFLAGS_FOR_BUILD=-frelease
    DEB_BUILD_ARCH_ENDIAN=little
    DEB_TARGET_ARCH_BITS=64
    LC_CTYPE=C.UTF-8
    DEB_BUILD_GNU_SYSTEM=linux-gnu
    SCHROOT_UID=924
    MAKEFLAGS=
    CXXFLAGS_FOR_BUILD=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
    DEB_TARGET_GNU_TYPE=x86_64-linux-gnu
    DEB_BUILD_ARCH_OS=linux
    OBJCFLAGS_FOR_BUILD=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
    DEB_TARGET_ARCH_CPU=amd64
    LOGNAME=buildd
    DEB_BUILD_ARCH_ABI=base
    DEB_BUILD_ARCH_LIBC=gnu
    DEB_HOST_ARCH=amd64
    DEB_TARGET_ARCH_ENDIAN=little
    LDFLAGS_FOR_BUILD=-Wl,-z,relro
    DEB_TARGET_GNU_SYSTEM=linux-gnu
    DEB_HOST_GNU_CPU=x86_64
    LC_COLLATE=C.UTF-8 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games DEB_TARGET_ARCH_OS=linux
    MAKELEVEL=1
    XDG_RUNTIME_DIR=/tmp/dh-xdg-rundir-tlelLf9k
    CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
    FCFLAGS=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -fcf-protection
    SCHROOT_COMMAND=dpkg-buildpackage --sanitize-env -us -uc -b SOURCE_DATE_EPOCH=1746383582
    DEB_HOST_MULTIARCH=x86_64-linux-gnu SCHROOT_SESSION_ID=trixie-file-ca864ddd-251d-4061-9b18-801952c722cd OBJCXXFLAGS=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
    LANG=C.UTF-8
    SCHROOT_ALIAS_NAME=trixie-file
    DEB_TARGET_ARCH_ABI=base
    DEB_TARGET_ARCH_LIBC=gnu
    SCHROOT_GROUP=buildd
    SCHROOT_USER=buildd
    CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2
    DEB_BUILD_OPTIONS=parallel=2
    DH_INTERNAL_BUILDFLAGS=1
    SHELL=/bin/sh
    DEB_HOST_ARCH_BITS=64
    DEB_BUILD_ARCH=amd64
    CFLAGS_FOR_BUILD=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
    DEB_BUILD_GNU_CPU=x86_64
    ASFLAGS=
    DEB_HOST_GNU_TYPE=x86_64-linux-gnu
    FCFLAGS_FOR_BUILD=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -fcf-protection
    DEB_HOST_ARCH_CPU=amd64
    OBJCXXFLAGS_FOR_BUILD=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
    DEB_RULES_REQUIRES_ROOT=no
    PWD=/<<PKGBUILDDIR>>
    DEB_BUILD_MULTIARCH=x86_64-linux-gnu
    FFLAGS=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -fcf-protection
    CPPFLAGS_FOR_BUILD=-Wdate-time -D_FORTIFY_SOURCE=2
    SCHROOT_GID=924
    MFLAGS=
    DEB_HOST_ARCH_ENDIAN=little
    DEB_TARGET_ARCH=amd64
    [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 s - in org.apache.commons.exec.LogOutputStreamTest
    [INFO] Running org.apache.commons.exec.util.StringUtilTest
    [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.apache.commons.exec.util.StringUtilTest
    [INFO] Running org.apache.commons.exec.util.MapUtilTest
    [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.commons.exec.util.MapUtilTest
    [INFO] Running org.apache.commons.exec.CommandLineTest testToStringTroubleshooting
    cmd1: [sh, -c, echo 1]
    cmd2: [sh, -c, echo, 1]
    [INFO] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s - in org.apache.commons.exec.CommandLineTest
    [INFO] Running org.apache.commons.exec.issues.Exec44Test
    [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5 s - in org.apache.commons.exec.issues.Exec44Test
    [INFO] Running org.apache.commons.exec.issues.Exec49Test
    Preparing to execute process - commandLine=[/bin/ls, /opt]
    Process spun off successfully - process=/bin/ls
    Preparing to execute process - commandLine=[/bin/ls, /opt]
    Process spun off successfully - process=/bin/ls
    [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.108 s - in org.apache.commons.exec.issues.Exec49Test
    [INFO] Running org.apache.commons.exec.issues.Exec36Test
    [WARNING] Tests run: 5, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 0.001 s - in org.apache.commons.exec.issues.Exec36Test
    [INFO] Running org.apache.commons.exec.issues.Exec41Test
    ping: socktype: SOCK_RAW
    ping: socket: Operation not permitted
    ping: => missing cap_net_raw+p capability or setuid?
    Process completed in 3 millis; below is its output org.apache.commons.exec.ExecuteException: Process exited with an error: 2 (Exit value: 2)
    Process completed in 4 millis; below is its output
    [ERROR] Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.002 s <<< FAILURE! - in org.apache.commons.exec.issues.Exec41Test
    [ERROR] testExec41WithStreams(org.apache.commons.exec.issues.Exec41Test) Time elapsed: 0.001 s <<< FAILURE!
    java.lang.AssertionError: The process was killed by the watchdog
    at org.apache.commons.exec.issues.Exec41Test.testExec41WithStreams(Exec41Test.java:96)

    [ERROR] testExec41WithoutStreams(org.apache.commons.exec.issues.Exec41Test) Time elapsed: 0.001 s <<< FAILURE!
    java.lang.AssertionError: The process was killed by the watchdog
    at org.apache.commons.exec.issues.Exec41Test.testExec41WithoutStreams(Exec41Test.java:143)

    [INFO] Running org.apache.commons.exec.issues.Exec33Test

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)