Uploaded image for project: 'SLF4J'
  1. SLF4J
  2. SLF4J-517

mvn test of slf4j@1.7.31 on centos8\openEuler\debian10\suse15 aarch64

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 2.0.14
    • 1.7.31
    • None
    • None
    • localhost:~ # spack debug report

      • *Spack:* 0.16.1
      • *Python:* 3.6.5
      • *Platform:* linux-sles15-aarch64
      • *Concretizer:* original

    Description

      [root@localhost spack-src]# ls
      LICENSE.txt codeStyle.xml jcl-over-slf4j log4j-over-slf4j pom.xml slf4j-android slf4j-ext slf4j-jdk14 slf4j-migrator slf4j-simple src test
      README.md integration jul-to-slf4j osgi-over-slf4j release.sh slf4j-api slf4j-jcl slf4j-log4j12 slf4j-nop slf4j-site target

      [root@localhost spack-src]# mvn test

      ……

      INFO: You must see this message as a log message
      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.137 sec - in org.slf4j.issue.LoggerSerializationTest
      testCanLoggerBeSerialized(org.slf4j.issue.LoggerSerializationTest) Time elapsed: 0.091 sec
      SLF4J: A number (224) of logging calls during the initialization phase have been intercepted and are
      SLF4J: now being replayed. These are subject to the filtering rules of the underlying logging system.
      SLF4J: See also http://www.slf4j.org/codes.html#replay
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.507 sec <<< FAILURE! - in org.slf4j.helpers.JDK14MultithreadedInitializationTest
      multiThreadedInitialization(org.slf4j.helpers.JDK14MultithreadedInitializationTest) Time elapsed: 0.458 sec <<< FAILURE!
      java.lang.AssertionError: 16641 < 16515+16
      at org.junit.Assert.fail(Assert.java:89)
      at org.junit.Assert.assertTrue(Assert.java:42)
      at org.slf4j.helpers.MultithreadedInitializationTest.multiThreadedInitialization(MultithreadedInitializationTest.java:46)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
      at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
      at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
      at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
      at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
      at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
      at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
      at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
      at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
      at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
      at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
      at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
      at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
      at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
      at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
      at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
      at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
      at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)

      Results :

      Failed tests:
      JDK14MultithreadedInitializationTest>MultithreadedInitializationTest.multiThreadedInitialization:46 16641 < 16515+16

      Tests run: 10, Failures: 1, Errors: 0, Skipped: 1

      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary for SLF4J 1.7.30:
      [INFO]
      [INFO] SLF4J .............................................. SUCCESS [ 0.134 s]
      [INFO] SLF4J API Module ................................... SUCCESS [ 1.813 s]
      [INFO] SLF4J Simple Binding ............................... SUCCESS [ 4.357 s]
      [INFO] SLF4J NOP Binding .................................. SUCCESS [ 0.453 s]
      [INFO] SLF4J JDK14 Binding ................................ FAILURE [ 0.817 s]
      [INFO] SLF4J LOG4J-12 Binding ............................. SKIPPED
      [INFO] SLF4J JCL Binding .................................. SKIPPED
      [INFO] SLF4J Android Binding .............................. SKIPPED
      [INFO] SLF4J Extensions Module ............................ SKIPPED
      [INFO] JCL 1.2 implemented over SLF4J ..................... SKIPPED
      [INFO] Log4j Implemented Over SLF4J ....................... SKIPPED
      [INFO] JUL to SLF4J bridge ................................ SKIPPED
      [INFO] OSGi LogService implemented over SLF4J ............. SKIPPED
      [INFO] SLF4J Integration tests ............................ SKIPPED
      [INFO] SLF4J Site ......................................... SKIPPED
      [INFO] SLF4J Migrator ..................................... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 7.875 s
      [INFO] Finished at: 2021-07-19T20:07:25+08:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project slf4j-jdk14: There are test failures.
      [ERROR]
      [ERROR] Please refer to /home/stage/root/spack-stage-slf4j-1.7.30-bwaju3tc7otg4eer7ybw5qjadtuezg3n/spack-src/slf4j-jdk14/target/surefire-reports for the individual test results.
      [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
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR] mvn <args> -rf :slf4j-jdk14
      [root@localhost spack-src]# pwd
      /home/stage/root/spack-stage-slf4j-1.7.30-bwaju3tc7otg4eer7ybw5qjadtuezg3n/spack-src


       Can you help me with this problem?

      Attachments

        Activity

          People

            slf4j-dev SLF4J developers list
            Tom_2021 weipan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: