You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2019/06/16 05:04:17 UTC

Build failed in Jenkins: Log4j 2 3.x #415

See <https://builds.apache.org/job/Log4j%202%203.x/415/display/redirect?page=changes>

Changes:

[rgoers] Add article link

------------------------------------------
[...truncated 17.51 MB...]
[INFO] Compiling 7 source files to <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-layout-jackson-yaml/target/classes>
[INFO] Processing Log4j annotations
[INFO] Annotations processed
[WARNING] No processor claimed any of these annotations: com.fasterxml.jackson.annotation.JsonUnwrapped,com.fasterxml.jackson.annotation.JsonAnyGetter,com.fasterxml.jackson.annotation.JsonRootName
[INFO] Processing Log4j annotations
[INFO] No elements to process
[INFO] Processing Log4j annotations
[INFO] No elements to process
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 33 iota=63
[INFO] 
[INFO] --- maven-bundle-plugin:3.5.0:manifest (default) @ log4j-layout-jackson-yaml ---
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 33 iota=63
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ log4j-layout-jackson-yaml ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 33 iota=63
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ log4j-layout-jackson-yaml ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 6 source files to <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-layout-jackson-yaml/target/test-classes>
[WARNING] No processor claimed any of these annotations: org.junit.AfterClass,org.junit.BeforeClass,org.junit.Test,org.junit.experimental.categories.Category,org.junit.ClassRule,org.junit.Before
[WARNING] <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-layout-jackson-yaml/src/test/java/org/apache/logging/log4j/jackson/yaml/layout/ConcurrentLoggingWithYamlLayoutTest.java>:[42,13] [ClassCanBeStatic] Inner class is non-static but does not reference enclosing class
    (see https://errorprone.info/bugpattern/ClassCanBeStatic)
  Did you mean 'private static class LoggingThread extends Thread {'?
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 33 iota=63
[INFO] 
[INFO] --- maven-surefire-plugin:2.21.0:test (default-test) @ log4j-layout-jackson-yaml ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.logging.log4j.jackson.yaml.layout.ConcurrentLoggingWithYamlLayoutTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.161 s - in org.apache.logging.log4j.jackson.yaml.layout.ConcurrentLoggingWithYamlLayoutTest
[INFO] Running org.apache.logging.log4j.jackson.yaml.layout.YamlLayoutTest
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.087 s - in org.apache.logging.log4j.jackson.yaml.layout.YamlLayoutTest
[INFO] Running org.apache.logging.log4j.jackson.yaml.MarkerMixInYamlTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.684 s - in org.apache.logging.log4j.jackson.yaml.MarkerMixInYamlTest
[INFO] Running org.apache.logging.log4j.jackson.yaml.LevelMixInYamlTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.8 s - in org.apache.logging.log4j.jackson.yaml.LevelMixInYamlTest
[INFO] Running org.apache.logging.log4j.jackson.yaml.StackTraceElementYamlMixInTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.684 s - in org.apache.logging.log4j.jackson.yaml.StackTraceElementYamlMixInTest
[INFO] Running org.apache.logging.log4j.jackson.yaml.parser.YamlLogEventParserTest
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.112 s - in org.apache.logging.log4j.jackson.yaml.parser.YamlLogEventParserTest
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 31, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 33 iota=63
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: Invalid object ID 33 iota=63
[INFO] 
[INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ log4j-layout-jackson-yaml ---
[INFO] Building jar: <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-layout-jackson-yaml/target/log4j-layout-jackson-yaml-3.0.0-SNAPSHOT.jar>
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 33 iota=63
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ log4j-layout-jackson-yaml ---
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 33 iota=63
[INFO] 
[INFO] --- maven-failsafe-plugin:2.21.0:integration-test (default) @ log4j-layout-jackson-yaml ---
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 33 iota=63
[INFO] 
[INFO] --- maven-failsafe-plugin:2.21.0:verify (default) @ log4j-layout-jackson-yaml ---
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 33 iota=63
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ log4j-layout-jackson-yaml ---
[INFO] Building jar: <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-layout-jackson-yaml/target/log4j-layout-jackson-yaml-3.0.0-SNAPSHOT-sources.jar>
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 33 iota=63
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:test-jar-no-fork (attach-sources) @ log4j-layout-jackson-yaml ---
[INFO] Building jar: <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-layout-jackson-yaml/target/log4j-layout-jackson-yaml-3.0.0-SNAPSHOT-test-sources.jar>
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 33 iota=63
[INFO] 
[INFO] --- revapi-maven-plugin:0.10.5:check (default) @ log4j-layout-jackson-yaml ---
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 33 iota=63
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ log4j-layout-jackson-yaml ---
[INFO] Installing <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-layout-jackson-yaml/target/log4j-layout-jackson-yaml-3.0.0-SNAPSHOT.jar> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/logging/log4j/log4j-layout-jackson-yaml/3.0.0-SNAPSHOT/log4j-layout-jackson-yaml-3.0.0-SNAPSHOT.jar
[INFO] Installing <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-layout-jackson-yaml/pom.xml> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/logging/log4j/log4j-layout-jackson-yaml/3.0.0-SNAPSHOT/log4j-layout-jackson-yaml-3.0.0-SNAPSHOT.pom
[INFO] Installing <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-layout-jackson-yaml/target/log4j-layout-jackson-yaml-3.0.0-SNAPSHOT-sources.jar> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/logging/log4j/log4j-layout-jackson-yaml/3.0.0-SNAPSHOT/log4j-layout-jackson-yaml-3.0.0-SNAPSHOT-sources.jar
[INFO] Installing <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-layout-jackson-yaml/target/log4j-layout-jackson-yaml-3.0.0-SNAPSHOT-test-sources.jar> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/logging/log4j/log4j-layout-jackson-yaml/3.0.0-SNAPSHOT/log4j-layout-jackson-yaml-3.0.0-SNAPSHOT-test-sources.jar
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 33 iota=63
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 33 iota=63
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 16 iota=63
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Log4j Core Integration Tests 3.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/jboss/spec/javax/jms/jboss-jms-api_1.1_spec/1.0.1.Final/jboss-jms-api_1.1_spec-1.0.1.Final.pom
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/jboss/spec/javax/jms/jboss-jms-api_1.1_spec/1.0.1.Final/jboss-jms-api_1.1_spec-1.0.1.Final.pom (5 KB at 478.3 KB/sec)
[INFO] Downloading: https://repo.maven.apache.org/maven2/com/google/guava/guava/20.0/guava-20.0.jar
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/ow2/asm/asm/5.0.4/asm-5.0.4.jar
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/jboss/spec/javax/jms/jboss-jms-api_1.1_spec/1.0.1.Final/jboss-jms-api_1.1_spec-1.0.1.Final.jar
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/ow2/asm/asm/5.0.4/asm-5.0.4.jar (0 B at 0.0 KB/sec)
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/jboss/spec/javax/jms/jboss-jms-api_1.1_spec/1.0.1.Final/jboss-jms-api_1.1_spec-1.0.1.Final.jar (37 KB at 497.4 KB/sec)
[INFO] Downloaded: https://repo.maven.apache.org/maven2/com/google/guava/guava/20.0/guava-20.0.jar (2386 KB at 12295.8 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ log4j-core-its ---
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 16 iota=63
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ log4j-core-its ---
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 16 iota=63
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ log4j-core-its ---
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 16 iota=63
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ log4j-core-its ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 16 iota=63
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ log4j-core-its ---
[INFO] No sources to compile
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 16 iota=63
[INFO] 
[INFO] --- maven-bundle-plugin:3.5.0:manifest (default) @ log4j-core-its ---
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 16 iota=63
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ log4j-core-its ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 16 iota=63
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ log4j-core-its ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 18 source files to <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/target/test-classes>
[WARNING] No processor claimed any of these annotations: org.junit.AfterClass,org.junit.BeforeClass,org.junit.runner.RunWith,org.junit.runners.Parameterized.Parameters,org.junit.Test,org.junit.experimental.categories.Category,org.junit.Rule,org.junit.Ignore,org.junit.After,org.junit.ClassRule,org.junit.Before
[WARNING] <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/src/test/java/org/apache/logging/log4j/core/ThreadedTest.java>:[96,12] [ClassCanBeStatic] Inner class is non-static but does not reference enclosing class
    (see https://errorprone.info/bugpattern/ClassCanBeStatic)
  Did you mean 'public static class StateSettingRunnable implements Runnable {'?
[WARNING] <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/src/test/java/org/apache/logging/log4j/core/ThreadedTest.java>:[105,29] [ThreadPriorityCheck] Relying on the thread scheduler is discouraged; see Effective Java Item 72 (2nd edition) / 84 (3rd edition).
    (see https://errorprone.info/bugpattern/ThreadPriorityCheck)
[WARNING] <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/src/test/java/org/apache/logging/log4j/core/appender/XmlCompactFileAppenderTest.java>:[57,63] [DefaultCharset] Implicit use of the platform default charset, which can result in differing behaviour between JVM executions or incorrect behavior if the encoding of the data source doesn't match expectations.
    (see https://errorprone.info/bugpattern/DefaultCharset)
  Did you mean 'try (final BufferedReader reader = Files.newBufferedReader(file.toPath(), UTF_8)) {' or 'try (final BufferedReader reader = Files.newBufferedReader(file.toPath(), Charset.defaultCharset())) {'?
[WARNING] <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/src/test/java/org/apache/logging/log4j/core/appender/XmlCompleteFileAppenderTest.java>:[82,63] [DefaultCharset] Implicit use of the platform default charset, which can result in differing behaviour between JVM executions or incorrect behavior if the encoding of the data source doesn't match expectations.
    (see https://errorprone.info/bugpattern/DefaultCharset)
  Did you mean 'try (final BufferedReader reader = Files.newBufferedReader(logFile.toPath(), UTF_8)) {' or 'try (final BufferedReader reader = Files.newBufferedReader(logFile.toPath(), Charset.defaultCharset())) {'?
[WARNING] <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/src/test/java/org/apache/logging/log4j/core/appender/SocketAppenderTest.java>:[195,13] [CatchAndPrintStackTrace] Logging or rethrowing exceptions should usually be preferred to catching and calling printStackTrace
    (see https://errorprone.info/bugpattern/CatchAndPrintStackTrace)
[WARNING] <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/src/test/java/org/apache/logging/log4j/core/appender/SocketAppenderTest.java>:[321,21] [NonAtomicVolatileUpdate] This update of a volatile variable is non-atomic
    (see https://errorprone.info/bugpattern/NonAtomicVolatileUpdate)
[WARNING] <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/src/test/java/org/apache/logging/log4j/core/appender/SocketAppenderTest.java>:[389,33] [NonAtomicVolatileUpdate] This update of a volatile variable is non-atomic
    (see https://errorprone.info/bugpattern/NonAtomicVolatileUpdate)
[WARNING] <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/src/test/java/org/apache/logging/log4j/PerformanceRun.java>:[72,26] [DefaultCharset] Implicit use of the platform default charset, which can result in differing behaviour between JVM executions or incorrect behavior if the encoding of the data source doesn't match expectations.
    (see https://errorprone.info/bugpattern/DefaultCharset)
  Did you mean 'final Writer w = Files.newBufferedWriter(Paths.get("target/testwriter.log"), UTF_8, CREATE, APPEND);' or 'final Writer w = Files.newBufferedWriter(Paths.get("target/testwriter.log"), Charset.defaultCharset(), CREATE, APPEND);'?
[WARNING] <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/src/test/java/org/apache/logging/log4j/PerformanceRun.java>:[127,27] [DefaultCharset] Implicit use of the platform default charset, which can result in differing behaviour between JVM executions or incorrect behavior if the encoding of the data source doesn't match expectations.
    (see https://errorprone.info/bugpattern/DefaultCharset)
  Did you mean 'buf.put(s.getBytes(UTF_8));' or 'buf.put(s.getBytes(Charset.defaultCharset()));'?
[WARNING] <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/src/test/java/org/apache/logging/log4j/PerformanceRun.java>:[133,26] [DefaultCharset] Implicit use of the platform default charset, which can result in differing behaviour between JVM executions or incorrect behavior if the encoding of the data source doesn't match expectations.
    (see https://errorprone.info/bugpattern/DefaultCharset)
  Did you mean 'return s.getBytes(UTF_8);' or 'return s.getBytes(Charset.defaultCharset());'?
[WARNING] <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/src/test/java/org/apache/logging/log4j/PerformanceComparison.java>:[122,26] [DefaultCharset] Implicit use of the platform default charset, which can result in differing behaviour between JVM executions or incorrect behavior if the encoding of the data source doesn't match expectations.
    (see https://errorprone.info/bugpattern/DefaultCharset)
  Did you mean 'final Writer w = Files.newBufferedWriter(Paths.get("target/testwriter.log"), UTF_8, CREATE, APPEND);' or 'final Writer w = Files.newBufferedWriter(Paths.get("target/testwriter.log"), Charset.defaultCharset(), CREATE, APPEND);'?
[WARNING] <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/src/test/java/org/apache/logging/log4j/PerformanceComparison.java>:[196,27] [DefaultCharset] Implicit use of the platform default charset, which can result in differing behaviour between JVM executions or incorrect behavior if the encoding of the data source doesn't match expectations.
    (see https://errorprone.info/bugpattern/DefaultCharset)
  Did you mean 'buf.put(s.getBytes(UTF_8));' or 'buf.put(s.getBytes(Charset.defaultCharset()));'?
[WARNING] <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/src/test/java/org/apache/logging/log4j/PerformanceComparison.java>:[202,26] [DefaultCharset] Implicit use of the platform default charset, which can result in differing behaviour between JVM executions or incorrect behavior if the encoding of the data source doesn't match expectations.
    (see https://errorprone.info/bugpattern/DefaultCharset)
  Did you mean 'return s.getBytes(UTF_8);' or 'return s.getBytes(Charset.defaultCharset());'?
[WARNING] <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/src/test/java/org/apache/logging/log4j/core/appender/XmlRandomAccessFileAppenderTest.java>:[63,63] [DefaultCharset] Implicit use of the platform default charset, which can result in differing behaviour between JVM executions or incorrect behavior if the encoding of the data source doesn't match expectations.
    (see https://errorprone.info/bugpattern/DefaultCharset)
  Did you mean 'try (final BufferedReader reader = Files.newBufferedReader(file.toPath(), UTF_8)) {' or 'try (final BufferedReader reader = Files.newBufferedReader(file.toPath(), Charset.defaultCharset())) {'?
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 16 iota=63
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (test-compile) @ log4j-core-its ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 18 source files to <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/target/test-classes>
[WARNING] No processor claimed any of these annotations: org.junit.AfterClass,org.junit.BeforeClass,org.junit.runner.RunWith,org.junit.runners.Parameterized.Parameters,org.junit.Test,org.junit.experimental.categories.Category,org.junit.Rule,org.junit.Ignore,org.junit.After,org.junit.ClassRule,org.junit.Before
[WARNING] <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/src/test/java/org/apache/logging/log4j/core/ThreadedTest.java>:[96,12] [ClassCanBeStatic] Inner class is non-static but does not reference enclosing class
    (see https://errorprone.info/bugpattern/ClassCanBeStatic)
  Did you mean 'public static class StateSettingRunnable implements Runnable {'?
[WARNING] <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/src/test/java/org/apache/logging/log4j/core/ThreadedTest.java>:[105,29] [ThreadPriorityCheck] Relying on the thread scheduler is discouraged; see Effective Java Item 72 (2nd edition) / 84 (3rd edition).
    (see https://errorprone.info/bugpattern/ThreadPriorityCheck)
[WARNING] <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/src/test/java/org/apache/logging/log4j/core/appender/XmlCompactFileAppenderTest.java>:[57,63] [DefaultCharset] Implicit use of the platform default charset, which can result in differing behaviour between JVM executions or incorrect behavior if the encoding of the data source doesn't match expectations.
    (see https://errorprone.info/bugpattern/DefaultCharset)
  Did you mean 'try (final BufferedReader reader = Files.newBufferedReader(file.toPath(), UTF_8)) {' or 'try (final BufferedReader reader = Files.newBufferedReader(file.toPath(), Charset.defaultCharset())) {'?
[WARNING] <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/src/test/java/org/apache/logging/log4j/core/appender/XmlCompleteFileAppenderTest.java>:[82,63] [DefaultCharset] Implicit use of the platform default charset, which can result in differing behaviour between JVM executions or incorrect behavior if the encoding of the data source doesn't match expectations.
    (see https://errorprone.info/bugpattern/DefaultCharset)
  Did you mean 'try (final BufferedReader reader = Files.newBufferedReader(logFile.toPath(), UTF_8)) {' or 'try (final BufferedReader reader = Files.newBufferedReader(logFile.toPath(), Charset.defaultCharset())) {'?
[WARNING] <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/src/test/java/org/apache/logging/log4j/core/appender/SocketAppenderTest.java>:[195,13] [CatchAndPrintStackTrace] Logging or rethrowing exceptions should usually be preferred to catching and calling printStackTrace
    (see https://errorprone.info/bugpattern/CatchAndPrintStackTrace)
[WARNING] <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/src/test/java/org/apache/logging/log4j/core/appender/SocketAppenderTest.java>:[321,21] [NonAtomicVolatileUpdate] This update of a volatile variable is non-atomic
    (see https://errorprone.info/bugpattern/NonAtomicVolatileUpdate)
[WARNING] <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/src/test/java/org/apache/logging/log4j/core/appender/SocketAppenderTest.java>:[389,33] [NonAtomicVolatileUpdate] This update of a volatile variable is non-atomic
    (see https://errorprone.info/bugpattern/NonAtomicVolatileUpdate)
[WARNING] <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/src/test/java/org/apache/logging/log4j/PerformanceRun.java>:[72,26] [DefaultCharset] Implicit use of the platform default charset, which can result in differing behaviour between JVM executions or incorrect behavior if the encoding of the data source doesn't match expectations.
    (see https://errorprone.info/bugpattern/DefaultCharset)
  Did you mean 'final Writer w = Files.newBufferedWriter(Paths.get("target/testwriter.log"), UTF_8, CREATE, APPEND);' or 'final Writer w = Files.newBufferedWriter(Paths.get("target/testwriter.log"), Charset.defaultCharset(), CREATE, APPEND);'?
[WARNING] <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/src/test/java/org/apache/logging/log4j/PerformanceRun.java>:[127,27] [DefaultCharset] Implicit use of the platform default charset, which can result in differing behaviour between JVM executions or incorrect behavior if the encoding of the data source doesn't match expectations.
    (see https://errorprone.info/bugpattern/DefaultCharset)
  Did you mean 'buf.put(s.getBytes(UTF_8));' or 'buf.put(s.getBytes(Charset.defaultCharset()));'?
[WARNING] <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/src/test/java/org/apache/logging/log4j/PerformanceRun.java>:[133,26] [DefaultCharset] Implicit use of the platform default charset, which can result in differing behaviour between JVM executions or incorrect behavior if the encoding of the data source doesn't match expectations.
    (see https://errorprone.info/bugpattern/DefaultCharset)
  Did you mean 'return s.getBytes(UTF_8);' or 'return s.getBytes(Charset.defaultCharset());'?
[WARNING] <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/src/test/java/org/apache/logging/log4j/PerformanceComparison.java>:[122,26] [DefaultCharset] Implicit use of the platform default charset, which can result in differing behaviour between JVM executions or incorrect behavior if the encoding of the data source doesn't match expectations.
    (see https://errorprone.info/bugpattern/DefaultCharset)
  Did you mean 'final Writer w = Files.newBufferedWriter(Paths.get("target/testwriter.log"), UTF_8, CREATE, APPEND);' or 'final Writer w = Files.newBufferedWriter(Paths.get("target/testwriter.log"), Charset.defaultCharset(), CREATE, APPEND);'?
[WARNING] <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/src/test/java/org/apache/logging/log4j/PerformanceComparison.java>:[196,27] [DefaultCharset] Implicit use of the platform default charset, which can result in differing behaviour between JVM executions or incorrect behavior if the encoding of the data source doesn't match expectations.
    (see https://errorprone.info/bugpattern/DefaultCharset)
  Did you mean 'buf.put(s.getBytes(UTF_8));' or 'buf.put(s.getBytes(Charset.defaultCharset()));'?
[WARNING] <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/src/test/java/org/apache/logging/log4j/PerformanceComparison.java>:[202,26] [DefaultCharset] Implicit use of the platform default charset, which can result in differing behaviour between JVM executions or incorrect behavior if the encoding of the data source doesn't match expectations.
    (see https://errorprone.info/bugpattern/DefaultCharset)
  Did you mean 'return s.getBytes(UTF_8);' or 'return s.getBytes(Charset.defaultCharset());'?
[WARNING] <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/src/test/java/org/apache/logging/log4j/core/appender/XmlRandomAccessFileAppenderTest.java>:[63,63] [DefaultCharset] Implicit use of the platform default charset, which can result in differing behaviour between JVM executions or incorrect behavior if the encoding of the data source doesn't match expectations.
    (see https://errorprone.info/bugpattern/DefaultCharset)
  Did you mean 'try (final BufferedReader reader = Files.newBufferedReader(file.toPath(), UTF_8)) {' or 'try (final BufferedReader reader = Files.newBufferedReader(file.toPath(), Charset.defaultCharset())) {'?
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 16 iota=63
[INFO] 
[INFO] --- maven-surefire-plugin:2.21.0:test (default-test) @ log4j-core-its ---
[INFO] Tests are skipped.
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 16 iota=63
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ log4j-core-its ---
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 16 iota=63
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: Invalid object ID 16 iota=63
[INFO] 
[INFO] --- maven-jar-plugin:3.1.0:test-jar (test-jar) @ log4j-core-its ---
[INFO] Building jar: <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/target/log4j-core-its-3.0.0-SNAPSHOT-tests.jar>
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 16 iota=63
[INFO] 
[INFO] >>> maven-source-plugin:3.0.1:test-jar (test-jar) > generate-sources @ log4j-core-its >>>
[WARNING] Failed to getClass for org.apache.maven.plugins.source.TestSourceJarMojo
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 16 iota=63
[INFO] 
[INFO] <<< maven-source-plugin:3.0.1:test-jar (test-jar) < generate-sources @ log4j-core-its <<<
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:test-jar (test-jar) @ log4j-core-its ---
[INFO] Building jar: <https://builds.apache.org/job/Log4j%202%203.x/ws/log4j-core-its/target/log4j-core-its-3.0.0-SNAPSHOT-test-sources.jar>
[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 16 iota=63
[INFO] 
[INFO] --- maven-failsafe-plugin:2.21.0:integration-test (default) @ log4j-core-its ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.logging.log4j.PerformanceRun
Starting Log4j 2.0
###############################################
Log4j 2.0: 1489
###############################################
[WARNING] Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 1.496 s - in org.apache.logging.log4j.PerformanceRun
Build was aborted
channel stopped

Jenkins build is back to normal : Log4j 2 3.x #416

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Log4j%202%203.x/416/display/redirect?page=changes>