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

sun/security/* fail with jtreg timeout due to artifactory download issue

XMLWordPrintable

      SBR JDK22 b27 Zgc enabled test runs

      a number of test failed with jtreg timeout . Tests appear to be stuck in a jib download interacting with artifactory

      sample log extracts

      ----------messages:(8/281)----------
      command: main PBAMac
      reason: User specified action: run main/othervm/timeout=30 PBAMac
      started: Sun Dec 24 00:44:02 UTC 2023
      Mode: othervm [/othervm specified]
      Timeout information:
      --- Timeout information end.
      finished: Sun Dec 24 00:46:44 UTC 2023
      elapsed time (seconds): 162.17
      ----------configuration:(0/0)----------
      ----------System.out:(3/97)----------
      Beginning test run PBAMac...
      ===> testNSS: Starting test run
      Timeout signalled after 120 seconds
      ----------System.err:(0/0)----------

      jstack reveals the following

      "main" #1 [2898627] prio=5 os_prio=0 cpu=112.00ms elapsed=129.58s allocated=1086K defined_classes=22 tid=0x00007f85780213c0 nid=2898627 in Object.wait() [0x00007f857c6d6000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait0(java.base@22-ea/Native Method)
      - waiting on <0x0000040004600090> (a java.lang.Thread)
      at java.lang.Object.wait(java.base@22-ea/Object.java:375)
      at java.lang.Thread.join(java.base@22-ea/Thread.java:2045)
      - locked <0x0000040004600090> (a java.lang.Thread)
      at java.lang.Thread.join(java.base@22-ea/Thread.java:2121)
      at com.sun.javatest.regtest.agent.MainWrapper.main(MainWrapper.java:85)

         Locked ownable synchronizers:
      - None

      ...

      "MainThread" #56 [2898672] prio=5 os_prio=0 cpu=663.40ms elapsed=129.47s allocated=45456K defined_classes=2279 tid=0x00007f85781e16d0 nid=2898672 runnable [0x00007f80ef320000]
         java.lang.Thread.State: RUNNABLE
      at sun.nio.ch.UnixFileDispatcherImpl.lock0(java.base@22-ea/Native Method)
      at sun.nio.ch.UnixFileDispatcherImpl.lock(java.base@22-ea/UnixFileDispatcherImpl.java:99)
      at sun.nio.ch.FileChannelImpl.lock(java.base@22-ea/FileChannelImpl.java:1582)
      at com.oracle.jib.util.FileLocker.lock(FileLocker.java:38)
      - locked <0x000004000042f218> (a com.oracle.jib.util.FileLocker)
      at com.oracle.jib.util.FileLocker.lockExclusive(FileLocker.java:30)
      at com.oracle.jib.JibReceiptService.lock(JibReceiptService.java:333)
      - locked <0x0000040000416690> (a com.oracle.jib.JibReceiptService)
      at com.oracle.jib.JibReceiptService.getJibReceipt(JibReceiptService.java:112)
      at com.oracle.jib.JibService.downloadArtifact(JibService.java:636)
      at com.oracle.jib.api.JibServiceFactory$JibArtifactInstallerImpl.download(JibServiceFactory.java:111)
      at java.lang.invoke.LambdaForm$DMH/0x00007f80af1ac400.invokeInterface(java.base@22-ea/LambdaForm$DMH)
      at java.lang.invoke.LambdaForm$MH/0x00007f80af1ad000.invoke(java.base@22-ea/LambdaForm$MH)
      at java.lang.invoke.LambdaForm$MH/0x00007f80af109c00.invokeExact_MT(java.base@22-ea/LambdaForm$MH)
      at jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(java.base@22-ea/DirectMethodHandleAccessor.java:155)
      at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(java.base@22-ea/DirectMethodHandleAccessor.java:103)
      at java.lang.reflect.Method.invoke(java.base@22-ea/Method.java:580)
      at jdk.test.lib.artifacts.JibArtifactManager.invokeInstallerMethod(JibArtifactManager.java:108)
      at jdk.test.lib.artifacts.JibArtifactManager.download(JibArtifactManager.java:92)
      at jdk.test.lib.artifacts.JibArtifactManager.resolve(JibArtifactManager.java:137)
      at jdk.test.lib.artifacts.JibArtifactManager.resolve(JibArtifactManager.java:124)
      at jdk.test.lib.artifacts.ArtifactResolver.resolve(ArtifactResolver.java:60)
      at PKCS11Test.fetchNssLib(PKCS11Test.java:758)
      at PKCS11Test.fetchNssLib(PKCS11Test.java:746)
      at PKCS11Test.getNSSLibPath(PKCS11Test.java:260)
      at PKCS11Test.getNSSLibDir(PKCS11Test.java:243)
      at PKCS11Test.getNSSLibDir(PKCS11Test.java:239)
      at PKCS11Test.getNssConfig(PKCS11Test.java:484)
      at PKCS11Test.testNSS(PKCS11Test.java:473)
      at PKCS11Test.main(PKCS11Test.java:190)
      at PKCS11Test.main(PKCS11Test.java:167)
      at PBAMac.main(PBAMac.java:202)
      at java.lang.invoke.LambdaForm$DMH/0x00007f80af018000.invokeStatic(java.base@22-ea/LambdaForm$DMH)
      at java.lang.invoke.LambdaForm$MH/0x00007f80af019800.invoke(java.base@22-ea/LambdaForm$MH)
      at java.lang.invoke.Invokers$Holder.invokeExact_MT(java.base@22-ea/Invokers$Holder)
      at jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(java.base@22-ea/DirectMethodHandleAccessor.java:154)
      at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(java.base@22-ea/DirectMethodHandleAccessor.java:103)
      at java.lang.reflect.Method.invoke(java.base@22-ea/Method.java:580)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.lang.Thread.runWith(java.base@22-ea/Thread.java:1583)
      at java.lang.Thread.run(java.base@22-ea/Thread.java:1570)





            rhalade Rajan Halade
            msheppar Mark Sheppard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: