Bug#976948: jnr-unixsocket: FTBFS on ppc64el (arch:all-only src pkg): dh_auto_test: error: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode test returned exit code 1

Lucas Nussbaum lucas at debian.org
Wed Dec 9 09:06:21 GMT 2020


Source: jnr-unixsocket
Version: 0.18-3
Severity: serious
Justification: FTBFS on ppc64el
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201209 ftbfs-bullseye ftbfs-ppc64el

Hi,

During a rebuild of all packages in sid, your package failed to build
on ppc64el. At the same time, it did not fail on amd64.

I'm marking this bug as severity:serious since your package has only
Architecture:all binary packages, and should thus, in theory, build
everywhere. Failure to build on ppc64el might indicate a serious issue
in this package or in another package.

But feel free to downgrade or close if you believe that this is only a
build-time issue. (I would personnally prefer a severity:minor bug just to
track that the package can only be built on specific architectures.)

Relevant part (hopefully):
>  debian/rules build
> dh build --buildsystem=maven --with javahelper
>    dh_update_autotools_config -O--buildsystem=maven
>    dh_autoreconf -O--buildsystem=maven
>    dh_auto_configure -O--buildsystem=maven
> 	mh_patchpoms -plibjnr-unixsocket-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
>    jh_linkjars -O--buildsystem=maven
>    dh_auto_build -O--buildsystem=maven
> 	/usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode package javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
> WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
> WARNING: All illegal access operations will be denied in a future release
> [INFO] Scanning for projects...
> [INFO] 
> [INFO] -------------------< com.github.jnr:jnr-unixsocket >--------------------
> [INFO] Building jnr-unixsocket 0.18
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ jnr-unixsocket ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ jnr-unixsocket ---
> [INFO] Changes detected - recompiling the module!
> [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [INFO] Compiling 17 source files to /<<PKGBUILDDIR>>/target/classes
> [INFO] /<<PKGBUILDDIR>>/src/main/java/jnr/unixsocket/Common.java: /<<PKGBUILDDIR>>/src/main/java/jnr/unixsocket/Common.java uses unchecked or unsafe operations.
> [INFO] /<<PKGBUILDDIR>>/src/main/java/jnr/unixsocket/Common.java: Recompile with -Xlint:unchecked for details.
> [INFO] 
> [INFO] --- maven-bundle-plugin:3.5.1:manifest (bundle-manifest) @ jnr-unixsocket ---
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ jnr-unixsocket ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ jnr-unixsocket ---
> [INFO] Changes detected - recompiling the module!
> [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [INFO] Compiling 10 source files to /<<PKGBUILDDIR>>/target/test-classes
> [INFO] /<<PKGBUILDDIR>>/src/test/java/jnr/unixsocket/UnixSocketChannelTest.java: Some input files use or override a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/src/test/java/jnr/unixsocket/UnixSocketChannelTest.java: Recompile with -Xlint:deprecation for details.
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ jnr-unixsocket ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ jnr-unixsocket ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/jnr-unixsocket-0.18.jar
> [INFO] 
> [INFO] --- maven-jar-plugin:3.1.2:jar (default) @ jnr-unixsocket ---
> [WARNING] You have to use a classifier to attach supplemental artifacts to the project instead of replacing them.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.1.2:test-jar (default) @ jnr-unixsocket ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/jnr-unixsocket-0.18-tests.jar
> [INFO] 
> [INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ jnr-unixsocket ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/jnr-unixsocket-0.18-sources.jar
> [INFO] 
> [INFO] --- maven-javadoc-plugin:3.0.1:jar (attach-javadocs) @ jnr-unixsocket ---
> [WARNING] Source files encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [INFO] Adding the --ignore-source-errors option
> [INFO] 
> Loading source files for package jnr.unixsocket...
> Loading source files for package jnr.enxio.channels...
> Constructing Javadoc information...
> Standard Doclet version 11.0.9.1
> Building tree for all the packages and classes...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/enxio/channels/AbstractNativeDatagramChannel.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/enxio/channels/AbstractNativeSocketChannel.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/Credentials.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/UnixDatagramChannel.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/UnixDatagramSocket.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/UnixServerSocket.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/UnixServerSocketChannel.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/UnixSocket.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/UnixSocketAddress.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/UnixSocketChannel.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/UnixSocketOptions.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/enxio/channels/package-summary.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/enxio/channels/package-tree.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/package-summary.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/package-tree.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/constant-values.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/serialized-form.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/class-use/UnixSocketOptions.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/class-use/UnixSocketChannel.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/class-use/UnixSocketAddress.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/class-use/UnixSocket.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/class-use/UnixServerSocketChannel.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/class-use/UnixServerSocket.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/class-use/UnixDatagramSocket.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/class-use/UnixDatagramChannel.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/class-use/Credentials.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/enxio/channels/class-use/AbstractNativeSocketChannel.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/enxio/channels/class-use/AbstractNativeDatagramChannel.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/enxio/channels/package-use.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/package-use.html...
> Building index for all the packages and classes...
> Generating /<<PKGBUILDDIR>>/target/apidocs/overview-tree.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/index-all.html...
> Building index for all classes...
> Generating /<<PKGBUILDDIR>>/target/apidocs/allclasses-index.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/allpackages-index.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/deprecated-list.html...
> Building index for all classes...
> Generating /<<PKGBUILDDIR>>/target/apidocs/allclasses.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/allclasses.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/index.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/overview-summary.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/help-doc.html...
> [WARNING] Javadoc Warnings
> [WARNING] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/jnr-unixsocket-0.18-javadoc.jar
> [INFO] 
> [INFO] --- maven-javadoc-plugin:3.0.1:jar (default-cli) @ jnr-unixsocket ---
> [WARNING] Source files encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [INFO] Adding the --ignore-source-errors option
> [INFO] 
> Loading source files for package jnr.unixsocket...
> Loading source files for package jnr.enxio.channels...
> Constructing Javadoc information...
> Standard Doclet version 11.0.9.1
> Building tree for all the packages and classes...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/enxio/channels/AbstractNativeDatagramChannel.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/enxio/channels/AbstractNativeSocketChannel.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/Credentials.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/UnixDatagramChannel.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/UnixDatagramSocket.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/UnixServerSocket.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/UnixServerSocketChannel.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/UnixSocket.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/UnixSocketAddress.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/UnixSocketChannel.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/UnixSocketOptions.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/enxio/channels/package-summary.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/enxio/channels/package-tree.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/package-summary.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/package-tree.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/constant-values.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/serialized-form.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/class-use/UnixSocketOptions.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/class-use/UnixSocketChannel.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/class-use/UnixSocketAddress.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/class-use/UnixSocket.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/class-use/UnixServerSocketChannel.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/class-use/UnixServerSocket.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/class-use/UnixDatagramSocket.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/class-use/UnixDatagramChannel.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/class-use/Credentials.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/enxio/channels/class-use/AbstractNativeSocketChannel.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/enxio/channels/class-use/AbstractNativeDatagramChannel.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/enxio/channels/package-use.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/jnr/unixsocket/package-use.html...
> Building index for all the packages and classes...
> Generating /<<PKGBUILDDIR>>/target/apidocs/overview-tree.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/index-all.html...
> Building index for all classes...
> Generating /<<PKGBUILDDIR>>/target/apidocs/allclasses-index.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/allpackages-index.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/deprecated-list.html...
> Building index for all classes...
> Generating /<<PKGBUILDDIR>>/target/apidocs/allclasses.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/allclasses.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/index.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/overview-summary.html...
> Generating /<<PKGBUILDDIR>>/target/apidocs/help-doc.html...
> [WARNING] Javadoc Warnings
> [WARNING] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/jnr-unixsocket-0.18-javadoc.jar
> [INFO] 
> [INFO] -------------------< com.github.jnr:jnr-unixsocket >--------------------
> [INFO] Building jnr-unixsocket 0.18
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] >>> maven-javadoc-plugin:3.0.1:aggregate (default-cli) > compile @ jnr-unixsocket >>>
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ jnr-unixsocket ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ jnr-unixsocket ---
> [INFO] Changes detected - recompiling the module!
> [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [INFO] Compiling 17 source files to /<<PKGBUILDDIR>>/target/classes
> [INFO] /<<PKGBUILDDIR>>/src/main/java/jnr/unixsocket/Common.java: /<<PKGBUILDDIR>>/src/main/java/jnr/unixsocket/Common.java uses unchecked or unsafe operations.
> [INFO] /<<PKGBUILDDIR>>/src/main/java/jnr/unixsocket/Common.java: Recompile with -Xlint:unchecked for details.
> [INFO] 
> [INFO] <<< maven-javadoc-plugin:3.0.1:aggregate (default-cli) < compile @ jnr-unixsocket <<<
> [INFO] 
> [INFO] 
> [INFO] --- maven-javadoc-plugin:3.0.1:aggregate (default-cli) @ jnr-unixsocket ---
> [WARNING] Source files encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [INFO] Adding the --ignore-source-errors option
> [INFO] 
> Loading source files for package jnr.unixsocket...
> Loading source files for package jnr.enxio.channels...
> Constructing Javadoc information...
> Standard Doclet version 11.0.9.1
> Building tree for all the packages and classes...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/jnr/enxio/channels/AbstractNativeDatagramChannel.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/jnr/enxio/channels/AbstractNativeSocketChannel.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/jnr/unixsocket/Credentials.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/jnr/unixsocket/UnixDatagramChannel.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/jnr/unixsocket/UnixDatagramSocket.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/jnr/unixsocket/UnixServerSocket.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/jnr/unixsocket/UnixServerSocketChannel.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/jnr/unixsocket/UnixSocket.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/jnr/unixsocket/UnixSocketAddress.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/jnr/unixsocket/UnixSocketChannel.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/jnr/unixsocket/UnixSocketOptions.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/jnr/enxio/channels/package-summary.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/jnr/enxio/channels/package-tree.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/jnr/unixsocket/package-summary.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/jnr/unixsocket/package-tree.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/constant-values.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/serialized-form.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/jnr/unixsocket/class-use/UnixSocketOptions.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/jnr/unixsocket/class-use/UnixSocketChannel.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/jnr/unixsocket/class-use/UnixSocketAddress.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/jnr/unixsocket/class-use/UnixSocket.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/jnr/unixsocket/class-use/UnixServerSocketChannel.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/jnr/unixsocket/class-use/UnixServerSocket.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/jnr/unixsocket/class-use/UnixDatagramSocket.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/jnr/unixsocket/class-use/UnixDatagramChannel.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/jnr/unixsocket/class-use/Credentials.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/jnr/enxio/channels/class-use/AbstractNativeSocketChannel.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/jnr/enxio/channels/class-use/AbstractNativeDatagramChannel.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/jnr/enxio/channels/package-use.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/jnr/unixsocket/package-use.html...
> Building index for all the packages and classes...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/overview-tree.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/index-all.html...
> Building index for all classes...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/allclasses-index.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/allpackages-index.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/deprecated-list.html...
> Building index for all classes...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/allclasses.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/allclasses.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/index.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/overview-summary.html...
> Generating /<<PKGBUILDDIR>>/target/site/apidocs/help-doc.html...
> [WARNING] Javadoc Warnings
> [WARNING] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  9.018 s
> [INFO] Finished at: 2020-12-08T21:40:17Z
> [INFO] ------------------------------------------------------------------------
>    jh_build -O--buildsystem=maven
>    dh_auto_test -O--buildsystem=maven
> 	/usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode test
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
> WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
> WARNING: All illegal access operations will be denied in a future release
> [INFO] Scanning for projects...
> [INFO] 
> [INFO] -------------------< com.github.jnr:jnr-unixsocket >--------------------
> [INFO] Building jnr-unixsocket 0.18
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ jnr-unixsocket ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ jnr-unixsocket ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] --- maven-bundle-plugin:3.5.1:manifest (bundle-manifest) @ jnr-unixsocket ---
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ jnr-unixsocket ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ jnr-unixsocket ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ jnr-unixsocket ---
> [INFO] 
> [INFO] -------------------------------------------------------
> [INFO]  T E S T S
> [INFO] -------------------------------------------------------
> [INFO] Running jnr.unixsocket.ForFDTest
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.198 s - in jnr.unixsocket.ForFDTest
> [INFO] Running jnr.unixsocket.ChannelOptionsTest
> [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in jnr.unixsocket.ChannelOptionsTest
> [INFO] Running jnr.unixsocket.UnixDatagramChannelTest
> [WARNING] Tests run: 4, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 s - in jnr.unixsocket.UnixDatagramChannelTest
> [INFO] Running jnr.unixsocket.BasicFunctionalityTest
> [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in jnr.unixsocket.BasicFunctionalityTest
> [INFO] Running jnr.unixsocket.BasicDatagramFunctionalityTest
> [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.241 s - in jnr.unixsocket.BasicDatagramFunctionalityTest
> [INFO] Running jnr.unixsocket.CredentialsFunctionalTest
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.065 s <<< FAILURE! - in jnr.unixsocket.CredentialsFunctionalTest
> [ERROR] credentials(jnr.unixsocket.CredentialsFunctionalTest)  Time elapsed: 0.064 s  <<< FAILURE!
> java.lang.AssertionError: Current PID should match client credentials expected:<115022> but was:<1>
> 	at jnr.unixsocket.CredentialsFunctionalTest.credentials(CredentialsFunctionalTest.java:79)
> 
> [INFO] Running jnr.unixsocket.UnixSocketChannelTest
> [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in jnr.unixsocket.UnixSocketChannelTest
> [INFO] 
> [INFO] Results:
> [INFO] 
> [ERROR] Failures: 
> [ERROR]   CredentialsFunctionalTest.credentials:79 Current PID should match client credentials expected:<115022> but was:<1>
> [INFO] 
> [ERROR] Tests run: 22, Failures: 1, Errors: 0, Skipped: 1
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  11.389 s
> [INFO] Finished at: 2020-12-08T21:40:29Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project jnr-unixsocket: There are test failures.
> [ERROR] 
> [ERROR] Please refer to /<<PKGBUILDDIR>>/target/surefire-reports for the individual test results.
> [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> dh_auto_test: error: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode test returned exit code 1

The full build log is available from:
   http://qa-logs.debian.net/2020/12/09/jnr-unixsocket_0.18-3_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.

About the archive rebuild: The rebuild was done on a Power8 cluster part of the
Grid'5000 testbed. Hardware specs: https://www.grid5000.fr/w/Grenoble:Hardware#drac



More information about the pkg-java-maintainers mailing list