Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8249079

LambdaFileEncodingSerialization.java failed "exitCode = 1 expected [true] but found [false]"

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      linux

      Description

      The following test failed in the JDK16 CI:

      java/lang/invoke/lambda/LambdaFileEncodingSerialization.java

      Here's a snippet from the log file:

      ----------System.out:(58/4382)----------
      [TestNG] Running:
        java/lang/invoke/lambda/LambdaFileEncodingSerialization.java

      Command line: [/opt/mach5/mesos/work_dir/jib-master/install/jdk-16+5-159/linux-x64-open.jdk/jdk-16/bin/javac -J-Dfile.encoding=ISO-8859-1 -cp . -d . /opt/mach5/mesos/work_dir/jib-master/install/jdk-16+5-159/src.full/open/test/jdk/java/lang/invoke/lambda/TestLambdaFileEncodingSerialization.java]
      [2020-07-08T13:51:48.641659167Z] Gathering output for process 3965121
      [2020-07-08T13:51:50.212157144Z] Waiting for completion for process 3965121
      [2020-07-08T13:51:50.212651065Z] Waiting for completion finished for process 3965121
      Output and diagnostic info for process 3965121 was saved into 'pid-3965121-output.log'
      /opt/mach5/mesos/work_dir/jib-master/install/jdk-16+5-159/src.full/open/test/jdk/java/lang/invoke/lambda/TestLambdaFileEncodingSerialization.java:38: error: error while writing ABC???: bad filename RelativeFile[TestLambdaFileEncodingSerialization$ABC???.class]
              public static class ABC???? implements Serializable {
                            ^
      Note: /opt/mach5/mesos/work_dir/jib-master/install/jdk-16+5-159/src.full/open/test/jdk/java/lang/invoke/lambda/TestLambdaFileEncodingSerialization.java uses unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      1 error


      [2020-07-08T13:51:50.215963602Z] Waiting for completion for process 3965121
      [2020-07-08T13:51:50.216451642Z] Waiting for completion finished for process 3965121
      test LambdaFileEncodingSerialization.testDeserializeLambdaEncoding(): failure
      java.lang.AssertionError: Command /opt/mach5/mesos/work_dir/jib-master/install/jdk-16+5-159/linux-x64-open.jdk/jdk-16/bin/javac -J-Dfile.encoding=ISO-8859-1 -cp . -d . /opt/mach5/mesos/work_dir/jib-master/install/jdk-16+5-159/src.full/open/test/jdk/java/lang/invoke/lambda/TestLambdaFileEncodingSerialization.java , failed exitCode = 1 expected [true] but found [false]
      at org.testng.Assert.fail(Assert.java:94)
      at org.testng.Assert.failNotEquals(Assert.java:496)
      at org.testng.Assert.assertTrue(Assert.java:42)
      at LambdaFileEncodingSerialization.testDeserializeLambdaEncoding(LambdaFileEncodingSerialization.java:64)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
      at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
      at org.testng.TestRunner.privateRun(TestRunner.java:773)
      at org.testng.TestRunner.run(TestRunner.java:623)
      at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
      at org.testng.SuiteRunner.run(SuiteRunner.java:259)
      at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
      at org.testng.TestNG.run(TestNG.java:1018)
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:832)

      ===============================================
      java/lang/invoke/lambda/LambdaFileEncodingSerialization.java
      Total tests run: 1, Failures: 1, Skips: 0
      ===============================================

      ----------System.err:(19/1310)----------


      Since this is a Tier1 failure, I'm starting this bug at P2.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aleonard Andrew Leonard
                Reporter:
                dcubed Daniel Daugherty
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: