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

tools/launcher/modules/patch/systemmodules/PatchSystemModules.java failed in upgradeHashedModule() and patchHashedModule() intermittently

XMLWordPrintable

    • b172
    • Verified

        config PatchSystemModules.setup(): success
        Command line: [C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\jdk_test.tier2\\jtreg\\JTwork\\scratch\\0\\image\\bin\\java.exe --patch-module m1=.jar --upgrade-module-path jars\\new_m1.jar -m m1/p1.Main ShouldNeverRun]
        Exception in thread "main" java.lang.NumberFormatException: For input string: "ShouldNeverRun"
        at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.base/java.lang.Integer.parseInt(Integer.java:652)
        at java.base/java.lang.Integer.parseInt(Integer.java:770)
        at m1/p1.Main.main(Main.java:29)


        Exception in thread "main" java.lang.NumberFormatException: For input string: "ShouldNeverRun"
        at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.base/java.lang.Integer.parseInt(Integer.java:652)
        at java.base/java.lang.Integer.parseInt(Integer.java:770)
        at m1/p1.Main.main(Main.java:29)

        test PatchSystemModules.patchHashedModule(): failure
        java.lang.RuntimeException: 'differs to expected hash' missing from stdout/stderr

        at jdk.testlibrary.OutputAnalyzer.shouldContain(OutputAnalyzer.java:106)
        at PatchSystemModules.runTestWithExitCode(PatchSystemModules.java:190)
        at PatchSystemModules.patchHashedModule(PatchSystemModules.java:173)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:563)
        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:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:563)
        at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
        at java.base/java.lang.Thread.run(Thread.java:844)
        Command line: [C:\\jenkins\\workspace\\9-dev\\build\\jdk\\bin\\java.exe --module-path mods -m m1/p1.Main 1]



        Command line: [C:\\jenkins\\workspace\\9-dev\\build\\jdk\\bin\\java.exe --patch-module java.base=patches\\java.base --module-path mods -m m1/p1.Main 1]



        Command line: [C:\\jenkins\\workspace\\9-dev\\build\\jdk\\bin\\java.exe --patch-module m2=patches\\m2 --module-path mods -m m1/p1.Main 2]



        test PatchSystemModules.test(): success
        Command line: [C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\jdk_test.tier2\\jtreg\\JTwork\\scratch\\0\\image\\bin\\java.exe -m m1/p1.Main 1]



        Command line: [C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\jdk_test.tier2\\jtreg\\JTwork\\scratch\\0\\image\\bin\\java.exe --patch-module java.base=patches\\java.base -m m1/p1.Main 1]



        Command line: [C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\jdk_test.tier2\\jtreg\\JTwork\\scratch\\0\\image\\bin\\java.exe --patch-module m2=patches\\m2 -m m1/p1.Main 2]



        test PatchSystemModules.testImage(): success
        Command line: [C:\\jenkins\\workspace\\9-dev\\testresults\\windows-x86\\jdk_test.tier2\\jtreg\\JTwork\\scratch\\0\\image\\bin\\java.exe --upgrade-module-path jars\\new_m1.jar -m m1/p1.Main ShouldNeverRun]
        Exception in thread "main" java.lang.NumberFormatException: For input string: "ShouldNeverRun"
        at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.base/java.lang.Integer.parseInt(Integer.java:652)
        at java.base/java.lang.Integer.parseInt(Integer.java:770)
        at m1/p1.Main.main(Main.java:29)


        Exception in thread "main" java.lang.NumberFormatException: For input string: "ShouldNeverRun"
        at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.base/java.lang.Integer.parseInt(Integer.java:652)
        at java.base/java.lang.Integer.parseInt(Integer.java:770)
        at m1/p1.Main.main(Main.java:29)

        test PatchSystemModules.upgradeHashedModule(): failure
        java.lang.RuntimeException: 'differs to expected hash' missing from stdout/stderr

        at jdk.testlibrary.OutputAnalyzer.shouldContain(OutputAnalyzer.java:106)
        at PatchSystemModules.runTestWithExitCode(PatchSystemModules.java:190)
        at PatchSystemModules.upgradeHashedModule(PatchSystemModules.java:151)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:563)
        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:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:563)
        at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
        at java.base/java.lang.Thread.run(Thread.java:844)

              mchung Mandy Chung (Inactive)
              fyuan Frank Yuan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: