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

javax/management/security/HashedPasswordFileTest.java - testReadOnlyPasswordFile assertion failure

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 11.0.1
    • Fix Version/s: 13
    • Component/s: core-svc
    • Labels:
      None

      Description

      During st_035 we are seeing javax/management/security/HashedPasswordFileTest.java fail due to testReadOnlyPasswordFile assertion failure

      #-----testdescription-----
      $file=/opt/jdk/jdk11local/test/jdk/javax/management/security/HashedPasswordFileTest.java
      $root=/opt/jdk/jdk11local/test/jdk
      keywords=bug5016517 bug8204661 othervm testng
      library=/test/lib
      modules=java.management jdk.management.agent/jdk.internal.agent
      run=USER_SPECIFIED build HashedPasswordFileTest\nUSER_SPECIFIED testng/othervm HashedPasswordFileTest\n
      source=HashedPasswordFileTest.java
      title=Test Hashed passwords

      #-----environment-----

      #-----testresult-----
      description=file\:/opt/jdk/jdk11local/test/jdk/javax/management/security/HashedPasswordFileTest.java
      elapsed=14512 0\:00\:14.512
      end=Wed Nov 28 18\:43\:54 UTC 2018
      environment=regtest
      execStatus=Failed. Execution failed\: `main' threw exception\: java.lang.Exception\: failures\: 1
      harnessLoaderMode=Classpath Loader
      harnessVariety=Full Bundle
      hostname=spv-t5-2-01-ld8
      javatestOS=SunOS 5.11 (sparcv9)
      javatestVersion=5.0
      jtregVersion=jtreg 4.2 fcs b12
      modules=java.management jdk.management.agent/jdk.internal.agent
      script=com.sun.javatest.regtest.exec.RegressionScript
      sections=script_messages build compile build testng
      start=Wed Nov 28 18\:43\:39 UTC 2018
      test=javax/management/security/HashedPasswordFileTest.java
      testJDK=/usr/jdk/jdk-11.0.1
      totalTime=14513
      user.name=root


      test HashedPasswordFileTest.testReadOnlyPasswordFile(): failure
      java.lang.AssertionError: expected [false] but found [true]
              at org.testng.Assert.fail(Assert.java:94)
              at org.testng.Assert.failNotEquals(Assert.java:496)
              at org.testng.Assert.assertEquals(Assert.java:125)
              at org.testng.Assert.assertEquals(Assert.java:288)
              at org.testng.Assert.assertEquals(Assert.java:298)
              at HashedPasswordFileTest.testReadOnlyPasswordFile(HashedPasswordFileTest.java:242)
              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:566)
              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 com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
              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:566)
              at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
              at java.base/java.lang.Thread.run(Thread.java:834)
      config HashedPasswordFileTest.cleanUp(): success

        Attachments

          Activity

            People

            • Assignee:
              asapre Amit Sapre
              Reporter:
              ckavanagh Colin Kavanagh
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: