See <https://ci-builds.apache.org/job/PDFBox/job/PDFBox%20JBig2%20ImageIO%20Plugin%20sonar/3/display/redirect>
Changes: ------------------------------------------ Started by user Andreas Lehmkühler Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on builds40 (ubuntu) in workspace <https://ci-builds.apache.org/job/PDFBox/job/PDFBox%20JBig2%20ImageIO%20Plugin%20sonar/ws/> The recommended git tool is: NONE No credentials specified Cloning the remote Git repository Cloning repository https://gitbox.apache.org/repos/asf/pdfbox-jbig2.git > git init > <https://ci-builds.apache.org/job/PDFBox/job/PDFBox%20JBig2%20ImageIO%20Plugin%20sonar/ws/> > # timeout=10 Fetching upstream changes from https://gitbox.apache.org/repos/asf/pdfbox-jbig2.git > git --version # timeout=10 > git --version # 'git version 2.34.1' > git fetch --tags --force --progress -- > https://gitbox.apache.org/repos/asf/pdfbox-jbig2.git > +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url > https://gitbox.apache.org/repos/asf/pdfbox-jbig2.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # > timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision fed4a68a5b70730bcbe0b7b994ab994bb64a0dbf (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f fed4a68a5b70730bcbe0b7b994ab994bb64a0dbf # timeout=10 Commit message: "PDFBOX-6162: add javadoc; add unit tests" > git rev-list --no-walk fed4a68a5b70730bcbe0b7b994ab994bb64a0dbf # timeout=10 Parsing POMs Established TCP socket on 41235 maven35-agent.jar already up to date maven35-interceptor.jar already up to date maven3-interceptor-commons.jar already up to date [PDFBox JBig2 ImageIO Plugin sonar] $ /home/jenkins/tools/java/latest17/bin/java -cp /home/jenkins/jenkins-agent/maven35-agent.jar:/home/jenkins/tools/maven/latest/boot/plexus-classworlds-2.9.0.jar:/home/jenkins/tools/maven/latest/conf/logging jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/latest /home/jenkins/jenkins-agent/agent.jar /home/jenkins/jenkins-agent/maven35-interceptor.jar /home/jenkins/jenkins-agent/maven3-interceptor-commons.jar 41235 <===[JENKINS REMOTING CAPACITY]===> channel started Executing Maven: -B -f <https://ci-builds.apache.org/job/PDFBox/job/PDFBox%20JBig2%20ImageIO%20Plugin%20sonar/ws/pom.xml> verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=apache_pdfbox-jbig2 -Dsonar.organization=apache -Dsonar.host.url=https://sonarcloud.io -Dskip-external-testfiles=false -Dmaven.source.skip=true [INFO] Scanning for projects... [HUDSON] Collecting dependencies info [INFO] [INFO] ------------------< org.apache.pdfbox:jbig2-imageio >------------------- [INFO] Building PDFBox JBIG2 ImageIO plugin 3.0.5-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- enforcer:3.6.2:enforce (enforce-maven-version) @ jbig2-imageio --- [INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed [INFO] [INFO] --- enforcer:3.6.2:enforce (enforce-java-version) @ jbig2-imageio --- [INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed [INFO] [INFO] --- enforcer:3.6.2:enforce (default) @ jbig2-imageio --- [INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed [INFO] [INFO] --- remote-resources:3.3.0:process (process-resource-bundles) @ jbig2-imageio --- [INFO] Preparing remote bundle org.apache.apache.resources:apache-jar-resource-bundle:1.7 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- resources:3.4.0:resources (default-resources) @ jbig2-imageio --- [INFO] Copying 1 resource from src/main/resources to target/classes [INFO] Copying 3 resources from target/maven-shared-archive-resources to target/classes [INFO] [INFO] --- compiler:3.14.1:compile (default-compile) @ jbig2-imageio --- [WARNING] Parameter 'optimize' (user property 'maven.compiler.optimize') is deprecated: This property is a no-op in javac. [INFO] Recompiling the module because of changed source code. [INFO] Compiling 62 source files with javac [release 8] to target/classes [INFO] [INFO] --- download:1.13.0:wget (Testfiles) @ jbig2-imageio --- [INFO] [INFO] --- download:1.13.0:wget (Testfiles2) @ jbig2-imageio --- [WARNING] Invalid cookie header: "Set-Cookie: _octo=GH1.1.1579910588.1777320149; expires=Tue, 27 Apr 2027 20:02:29 GMT; domain=.github.com; path=/; secure; SameSite=Lax". Invalid 'expires' attribute: Tue, 27 Apr 2027 20:02:29 GMT [WARNING] Invalid cookie header: "Set-Cookie: logged_in=no; expires=Tue, 27 Apr 2027 20:02:29 GMT; domain=.github.com; path=/; HttpOnly; secure; SameSite=Lax". Invalid 'expires' attribute: Tue, 27 Apr 2027 20:02:29 GMT [INFO] [INFO] --- resources:3.4.0:testResources (default-testResources) @ jbig2-imageio --- [INFO] Copying 20 resources from src/test/resources to target/test-classes [INFO] Copying 3 resources from target/maven-shared-archive-resources to target/test-classes [INFO] [INFO] --- compiler:3.14.1:testCompile (default-testCompile) @ jbig2-imageio --- [WARNING] Parameter 'optimize' (user property 'maven.compiler.optimize') is deprecated: This property is a no-op in javac. [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 28 source files with javac [release 8] to target/test-classes [INFO] <https://ci-builds.apache.org/job/PDFBox/job/PDFBox%20JBig2%20ImageIO%20Plugin%20sonar/ws/src/test/java/org/apache/pdfbox/jbig2/ChecksumTest.java>: Some input files use or override a deprecated API. [INFO] <https://ci-builds.apache.org/job/PDFBox/job/PDFBox%20JBig2%20ImageIO%20Plugin%20sonar/ws/src/test/java/org/apache/pdfbox/jbig2/ChecksumTest.java>: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- surefire:3.5.4:test (default-test) @ jbig2-imageio --- [INFO] Using auto detected provider org.apache.maven.surefire.junit4.JUnit4Provider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.pdfbox.jbig2.SerenityTests [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.970 s -- in org.apache.pdfbox.jbig2.SerenityTests [INFO] Running org.apache.pdfbox.jbig2.segments.TextRegionTest [WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 s -- in org.apache.pdfbox.jbig2.segments.TextRegionTest [INFO] Running org.apache.pdfbox.jbig2.segments.GenericRegionTest [WARNING] Tests run: 4, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 0.002 s -- in org.apache.pdfbox.jbig2.segments.GenericRegionTest [INFO] Running org.apache.pdfbox.jbig2.segments.PatternDictionaryTest [WARNING] Tests run: 3, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.001 s -- in org.apache.pdfbox.jbig2.segments.PatternDictionaryTest [INFO] Running org.apache.pdfbox.jbig2.segments.PageInformationTest [WARNING] Tests run: 3, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.001 s -- in org.apache.pdfbox.jbig2.segments.PageInformationTest [INFO] Running org.apache.pdfbox.jbig2.segments.RegionSegmentInformationTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s -- in org.apache.pdfbox.jbig2.segments.RegionSegmentInformationTest [INFO] Running org.apache.pdfbox.jbig2.segments.HalftoneRegionTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s -- in org.apache.pdfbox.jbig2.segments.HalftoneRegionTest [INFO] Running org.apache.pdfbox.jbig2.image.BitmapsChecksumTest [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.728 s -- in org.apache.pdfbox.jbig2.image.BitmapsChecksumTest [INFO] Running org.apache.pdfbox.jbig2.image.BitmapsByteCombinationTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s -- in org.apache.pdfbox.jbig2.image.BitmapsByteCombinationTest [INFO] Running org.apache.pdfbox.jbig2.image.BitmapsBlitTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.162 s -- in org.apache.pdfbox.jbig2.image.BitmapsBlitTest [INFO] Running org.apache.pdfbox.jbig2.JBIG2ImageReaderTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.351 s -- in org.apache.pdfbox.jbig2.JBIG2ImageReaderTest [INFO] Running org.apache.pdfbox.jbig2.GithubIssuesTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.037 s -- in org.apache.pdfbox.jbig2.GithubIssuesTest [INFO] Running org.apache.pdfbox.jbig2.ChecksumTest [INFO] Tests run: 44, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.082 s -- in org.apache.pdfbox.jbig2.ChecksumTest [INFO] Running org.apache.pdfbox.jbig2.decoder.mmr.MMRDecompressorTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s -- in org.apache.pdfbox.jbig2.decoder.mmr.MMRDecompressorTest [INFO] Running org.apache.pdfbox.jbig2.decoder.arithmetic.ArithmeticIntegerDecoderTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s -- in org.apache.pdfbox.jbig2.decoder.arithmetic.ArithmeticIntegerDecoderTest [INFO] Running org.apache.pdfbox.jbig2.decoder.arithmetic.ArithmeticDecoderTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s -- in org.apache.pdfbox.jbig2.decoder.arithmetic.ArithmeticDecoderTest [INFO] Running org.apache.pdfbox.jbig2.decoder.arithmetic.CXTest [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s -- in org.apache.pdfbox.jbig2.decoder.arithmetic.CXTest [INFO] Running org.apache.pdfbox.jbig2.JBIG2PageTest [WARNING] Tests run: 3, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 0.001 s -- in org.apache.pdfbox.jbig2.JBIG2PageTest [INFO] Running org.apache.pdfbox.jbig2.util.CacheFactoryTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s -- in org.apache.pdfbox.jbig2.util.CacheFactoryTest [INFO] Running org.apache.pdfbox.jbig2.util.cache.SoftReferenceCacheTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.87 s -- in org.apache.pdfbox.jbig2.util.cache.SoftReferenceCacheTest [INFO] Running org.apache.pdfbox.jbig2.util.ServiceLookupTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s -- in org.apache.pdfbox.jbig2.util.ServiceLookupTest [INFO] Running org.apache.pdfbox.jbig2.BitmapTest [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s -- in org.apache.pdfbox.jbig2.BitmapTest [INFO] [INFO] Results: [INFO] [WARNING] Tests run: 115, Failures: 0, Errors: 0, Skipped: 11 [INFO] [JENKINS] Recording test results [INFO] [INFO] --- jar:3.5.0:jar (default-jar) @ jbig2-imageio --- [INFO] Building jar: <https://ci-builds.apache.org/job/PDFBox/job/PDFBox%20JBig2%20ImageIO%20Plugin%20sonar/ws/target/jbig2-imageio-3.0.5-SNAPSHOT.jar> [INFO] [INFO] >>> source:3.4.0:jar (attach-sources) > generate-sources @ jbig2-imageio >>> [INFO] [INFO] --- enforcer:3.6.2:enforce (enforce-maven-version) @ jbig2-imageio --- [INFO] [INFO] --- enforcer:3.6.2:enforce (enforce-java-version) @ jbig2-imageio --- [INFO] [INFO] --- enforcer:3.6.2:enforce (default) @ jbig2-imageio --- [WARNING] Failed to getClass for org.apache.maven.plugins.source.SourceJarMojo [INFO] [INFO] <<< source:3.4.0:jar (attach-sources) < generate-sources @ jbig2-imageio <<< [INFO] [INFO] [INFO] --- source:3.4.0:jar (attach-sources) @ jbig2-imageio --- [INFO] Skipping source per configuration. [INFO] [INFO] --- assembly:2.6:single (default) @ jbig2-imageio --- [INFO] Reading assembly descriptor: assembly.xml [INFO] Building zip: <https://ci-builds.apache.org/job/PDFBox/job/PDFBox%20JBig2%20ImageIO%20Plugin%20sonar/ws/target/jbig2-imageio-3.0.5-SNAPSHOT-src.zip> [WARNING] Attempt to (de-)serialize anonymous class org.jfrog.hudson.maven2.MavenDependenciesRecorder$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ [INFO] [INFO] ------------------< org.apache.pdfbox:jbig2-imageio >------------------- [INFO] Building PDFBox JBIG2 ImageIO plugin 3.0.5-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- sonar:5.6.0.6792:sonar (default-cli) @ jbig2-imageio --- [WARNING] Using an unspecified version instead of an explicit plugin version may introduce breaking analysis changes at an unwanted time. It is highly recommended to use an explicit version, e.g. 'org.sonarsource.scanner.maven:sonar-maven-plugin:5.6.0.6792'. [INFO] Java 17.0.12 Eclipse Adoptium (64-bit) [INFO] Linux 5.15.0-164-generic (amd64) [INFO] Communicating with SonarQube Cloud [INFO] JRE provisioning: os[linux], arch[x86_64] [INFO] Starting SonarScanner Engine... [INFO] Java 21.0.9 Eclipse Adoptium (64-bit) [INFO] Load global settings [INFO] Load global settings (done) | time=755ms [INFO] Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu [INFO] Loading required plugins [INFO] Load plugins index [INFO] Load plugins index (done) | time=328ms [INFO] Load/download plugins [INFO] Load/download plugins (done) | time=162ms [INFO] Loaded core extensions: sca, architecture, a3s [INFO] Process project properties [INFO] Project key: apache_pdfbox-jbig2 [INFO] Base dir: <https://ci-builds.apache.org/job/PDFBox/job/PDFBox%20JBig2%20ImageIO%20Plugin%20sonar/ws/> [INFO] Working dir: <https://ci-builds.apache.org/job/PDFBox/job/PDFBox%20JBig2%20ImageIO%20Plugin%20sonar/ws/target/sonar> [INFO] Found an active CI vendor: 'Jenkins' [INFO] Check ALM binding of project 'apache_pdfbox-jbig2' [INFO] Detected project binding: BOUND [INFO] Check ALM binding of project 'apache_pdfbox-jbig2' (done) | time=298ms [INFO] Load branch configuration [INFO] Load branch configuration (done) | time=3ms [INFO] Create analysis [INFO] Create analysis (done) | time=434ms [INFO] Load project settings for component key: 'apache_pdfbox-jbig2' [INFO] Load project settings for component key: 'apache_pdfbox-jbig2' (done) | time=344ms [INFO] Load quality profiles [INFO] Load quality profiles (done) | time=447ms [INFO] Load active rules [INFO] Load active rules (done) | time=1673ms [ERROR] You are running CI analysis while Automatic Analysis is enabled. Please consider disabling one or the other. [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:00 min [INFO] Finished at: 2026-04-27T20:04:10Z [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:5.6.0.6792:sonar (default-cli) on project jbig2-imageio: The scanner analysis has failed! See the logs for more details. -> [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/MojoExecutionException [JENKINS] Archiving <https://ci-builds.apache.org/job/PDFBox/job/PDFBox%20JBig2%20ImageIO%20Plugin%20sonar/ws/pom.xml> to org.apache.pdfbox/jbig2-imageio/3.0.5-SNAPSHOT/jbig2-imageio-3.0.5-SNAPSHOT.pom [JENKINS] Archiving <https://ci-builds.apache.org/job/PDFBox/job/PDFBox%20JBig2%20ImageIO%20Plugin%20sonar/ws/target/jbig2-imageio-3.0.5-SNAPSHOT.jar> to org.apache.pdfbox/jbig2-imageio/3.0.5-SNAPSHOT/jbig2-imageio-3.0.5-SNAPSHOT.jar [JENKINS] Archiving <https://ci-builds.apache.org/job/PDFBox/job/PDFBox%20JBig2%20ImageIO%20Plugin%20sonar/ws/target/jbig2-imageio-3.0.5-SNAPSHOT-src.zip> to org.apache.pdfbox/jbig2-imageio/3.0.5-SNAPSHOT/jbig2-imageio-3.0.5-SNAPSHOT-src.zip Sending e-mails to: [email protected] channel stopped --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
