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

32 jshell tests failed on Windows 32 bit

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: infrastructure
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b108
    • CPU:
      x86
    • OS:
      windows
    • Verification:
      Verified

      Description

      All failures look with similar symptom. A couple other tests also fail. All are listed below in comment.

      This is a sample for jdk/jshell/ClassesTest.java

      The root cause may be "
      Caused by: com.sun.jdi.connect.VMStartException: VM initialization failed for: D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\build\\jdk\\bin\\java -classpath D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\JTwork\\langtools_test\\classes\\11\\jdk\\jshell;D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\langtools\\test\\jdk\\jshell;D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\mach5\\jdkbuildwrapper\\.data\\unpacked\\jpg\\infra\\builddeps\\jtreg-4.1\\1.3\\jtreg\\lib\\javatest.jar;D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\mach5\\jdkbuildwrapper\\.data\\unpacked\\jpg\\infra\\builddeps\\jtreg-4.1\\1.3\\jtreg\\lib\\jtreg.jar;D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\mach5\\jdkbuildwrapper\\.data\\unpacked\\jpg\\infra\\builddeps\\jtreg-4.1\\1.3\\jtreg\\lib\\testng.jar -Xbootclasspath:D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\build\\jdk\\lib\\modules\\bootmodules.jimage -Xdebug -Xrunjdwp:transport=dt_shmem,address=javadebug50200,suspend=y jdk.internal.jshell.remote.RemoteAgent 24503
      at com.sun.tools.jdi.AbstractLauncher$Helper.launchAndAccept(AbstractLauncher.java:193)
      at com.sun.tools.jdi.AbstractLauncher.launch(AbstractLauncher.java:132)
      at com.sun.tools.jdi.SunCommandLineLauncher.launch(SunCommandLineLauncher.java:223)
      at jdk.jshell.JDIConnection.launchTarget(JDIConnection.java:303)"


      All system err:

      ----------System.err:(52/6474)*----------
      org.testng.TestNGException:
      An error occurred while instantiating class ClassesTest: Failed remote launch: com.sun.jdi.CommandLineLaunch (defaults: home=D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\build\\jdk, options=, main=, suspend=true, quote=", vmexec=java) -- {home=home=D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\build\\jdk, options=options=-classpath "D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\JTwork\\langtools_test\\classes\\11\\jdk\\jshell;D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\langtools\\test\\jdk\\jshell;D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\mach5\\jdkbuildwrapper\\.data\\unpacked\\jpg\\infra\\builddeps\\jtreg-4.1\\1.3\\jtreg\\lib\\javatest.jar;D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\mach5\\jdkbuildwrapper\\.data\\unpacked\\jpg\\infra\\builddeps\\jtreg-4.1\\1.3\\jtreg\\lib\\jtreg.jar;D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\mach5\\jdkbuildwrapper\\.data\\unpacked\\jpg\\infra\\builddeps\\jtreg-4.1\\1.3\\jtreg\\lib\\testng.jar" -Xbootclasspath:"D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\build\\jdk\\lib\\modules\\bootmodules.jimage", main=main=jdk.internal.jshell.remote.RemoteAgent 24503, suspend=suspend=true, quote=quote=", vmexec=vmexec=java}
      at org.testng.internal.ClassHelper.createInstance1(ClassHelper.java:398)
      at org.testng.internal.ClassHelper.createInstance(ClassHelper.java:299)
      at org.testng.internal.ClassImpl.getDefaultInstance(ClassImpl.java:110)
      at org.testng.internal.ClassImpl.getInstances(ClassImpl.java:186)
      at org.testng.internal.TestNGClassFinder.<init>(TestNGClassFinder.java:120)
      at org.testng.TestRunner.initMethods(TestRunner.java:409)
      at org.testng.TestRunner.init(TestRunner.java:235)
      at org.testng.TestRunner.init(TestRunner.java:205)
      at org.testng.TestRunner.<init>(TestRunner.java:153)
      at org.testng.SuiteRunner$DefaultTestRunnerFactory.newTestRunner(SuiteRunner.java:522)
      at org.testng.SuiteRunner.init(SuiteRunner.java:157)
      at org.testng.SuiteRunner.<init>(SuiteRunner.java:111)
      at org.testng.TestNG.createSuiteRunner(TestNG.java:1299)
      at org.testng.TestNG.createSuiteRunners(TestNG.java:1286)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
      at org.testng.TestNG.run(TestNG.java:1057)
      at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:163)
      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:520)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
      at java.lang.Thread.run(Thread.java:804)
      Caused by: java.lang.InternalError: Failed remote launch: com.sun.jdi.CommandLineLaunch (defaults: home=D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\build\\jdk, options=, main=, suspend=true, quote=", vmexec=java) -- {home=home=D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\build\\jdk, options=options=-classpath "D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\JTwork\\langtools_test\\classes\\11\\jdk\\jshell;D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\langtools\\test\\jdk\\jshell;D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\mach5\\jdkbuildwrapper\\.data\\unpacked\\jpg\\infra\\builddeps\\jtreg-4.1\\1.3\\jtreg\\lib\\javatest.jar;D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\mach5\\jdkbuildwrapper\\.data\\unpacked\\jpg\\infra\\builddeps\\jtreg-4.1\\1.3\\jtreg\\lib\\jtreg.jar;D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\mach5\\jdkbuildwrapper\\.data\\unpacked\\jpg\\infra\\builddeps\\jtreg-4.1\\1.3\\jtreg\\lib\\testng.jar" -Xbootclasspath:"D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\build\\jdk\\lib\\modules\\bootmodules.jimage", main=main=jdk.internal.jshell.remote.RemoteAgent 24503, suspend=suspend=true, quote=quote=", vmexec=vmexec=java}
      at jdk.jshell.JDIConnection.reportLaunchFail(JDIConnection.java:344)
      at jdk.jshell.JDIConnection.launchTarget(JDIConnection.java:310)
      at jdk.jshell.JDIConnection.open(JDIConnection.java:121)
      at jdk.jshell.JDIEnv.init(JDIEnv.java:49)
      at jdk.jshell.ExecutionControl.jdiGo(ExecutionControl.java:269)
      at jdk.jshell.ExecutionControl.launch(ExecutionControl.java:71)
      at jdk.jshell.JShell.executionControl(JShell.java:613)
      at jdk.jshell.JShell.close(JShell.java:412)
      at KullaTesting.<clinit>(KullaTesting.java:93)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:426)
      at org.testng.internal.ObjectFactoryImpl.newInstance(ObjectFactoryImpl.java:29)
      at org.testng.internal.ClassHelper.createInstance1(ClassHelper.java:387)
      ... 22 more
      Caused by: com.sun.jdi.connect.VMStartException: VM initialization failed for: D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\build\\jdk\\bin\\java -classpath D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\JTwork\\langtools_test\\classes\\11\\jdk\\jshell;D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\langtools\\test\\jdk\\jshell;D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\mach5\\jdkbuildwrapper\\.data\\unpacked\\jpg\\infra\\builddeps\\jtreg-4.1\\1.3\\jtreg\\lib\\javatest.jar;D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\mach5\\jdkbuildwrapper\\.data\\unpacked\\jpg\\infra\\builddeps\\jtreg-4.1\\1.3\\jtreg\\lib\\jtreg.jar;D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\mach5\\jdkbuildwrapper\\.data\\unpacked\\jpg\\infra\\builddeps\\jtreg-4.1\\1.3\\jtreg\\lib\\testng.jar -Xbootclasspath:D:\\jenkins\\workspace\\9-dev-tier1-windows-i586\\build\\jdk\\lib\\modules\\bootmodules.jimage -Xdebug -Xrunjdwp:transport=dt_shmem,address=javadebug50200,suspend=y jdk.internal.jshell.remote.RemoteAgent 24503
      at com.sun.tools.jdi.AbstractLauncher$Helper.launchAndAccept(AbstractLauncher.java:193)
      at com.sun.tools.jdi.AbstractLauncher.launch(AbstractLauncher.java:132)
      at com.sun.tools.jdi.SunCommandLineLauncher.launch(SunCommandLineLauncher.java:223)
      at jdk.jshell.JDIConnection.launchTarget(JDIConnection.java:303)
      ... 35 more

      JavaTest Message: Test threw exception: org.testng.TestNGException
      JavaTest Message: shutting down test


      Listed all failed tests below:
          jdk/jshell/AnalysisTest.java.AnalysisTest
          jdk/jshell/ClassMembersTest.java.ClassMembersTest
          jdk/jshell/ClassPathTest.java.ClassPathTest
          jdk/jshell/ClassesTest.java.ClassesTest
          jdk/jshell/CommandCompletionTest.java.CommandCompletionTest
          jdk/jshell/CompletenessTest.java.CompletenessTest
          jdk/jshell/CompletionSuggestionTest.java.CompletionSuggestionTest
          jdk/jshell/DropTest.java.DropTest
          jdk/jshell/EmptyTest.java.EmptyTest
          jdk/jshell/ErrorTranslationTest.java.ErrorTranslationTest
          jdk/jshell/ExceptionsTest.java.ExceptionsTest
          jdk/jshell/IOTest.java.IOTest
          jdk/jshell/IdGeneratorTest.java.IdGeneratorTest
          jdk/jshell/IgnoreTest.java.IgnoreTest
          jdk/jshell/IllegalArgumentExceptionTest.java.IllegalArgumentExceptionTest
          jdk/jshell/ImportTest.java.ImportTest
          jdk/jshell/JShellStateClosedTest.java.JShellStateClosedTest
          jdk/jshell/KullaCompletenessStressTest.java.KullaCompletenessStressTest
          jdk/jshell/MethodsTest.java.MethodsTest
          jdk/jshell/ModifiersTest.java.ModifiersTest
          jdk/jshell/NullTest.java.NullTest
          jdk/jshell/RejectedFailedTest.java.RejectedFailedTest
          jdk/jshell/ReplaceTest.java.ReplaceTest
          jdk/jshell/ShutdownTest.java.ShutdownTest
          jdk/jshell/SimpleRegressionTest.java.SimpleRegressionTest
          jdk/jshell/SnippetStatusListenerTest.java.SnippetStatusListenerTest
          jdk/jshell/SnippetTest.java.SnippetTest
          jdk/jshell/StopExecutionTest.java.StopExecutionTest
          jdk/jshell/T8146368/JShellTest8146368.java.JShellTest8146368
          jdk/jshell/T8146368/JShellToolTest8146368.java.JShellToolTest8146368
          jdk/jshell/TypeNameTest.java.TypeNameTest
          jdk/jshell/VariablesTest.java.VariablesTest

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                erikj Erik Joelsson
                Reporter:
                xiaofeya Xiaofeng Yang
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: