Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-22997

Windows node jenkins-win-azr-4: Unexpected CryptoAPI failure generating seed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Jenkins
    • None
    • Jackrabbit

    Description

      I often run into the following exception while executing integration tests on Windows:

      {code}
      "Exception in thread "main" java.lang.InternalError: Unexpected CryptoAPI failure generating seed
      at java.base/sun.security.provider.NativeSeedGenerator.getSeedBytes(NativeSeedGenerator.java:62)
      at java.base/sun.security.provider.SeedGenerator.generateSeed(SeedGenerator.java:144)
      at java.base/sun.security.provider.AbstractDrbg.lambda$static$0(AbstractDrbg.java:524)
      at java.base/sun.security.provider.AbstractDrbg.getEntropyInput(AbstractDrbg.java:507)
      at java.base/sun.security.provider.AbstractDrbg.getEntropyInput(AbstractDrbg.java:494)
      at java.base/sun.security.provider.AbstractDrbg.instantiateIfNecessary(AbstractDrbg.java:696)
      at java.base/sun.security.provider.AbstractDrbg.engineNextBytes(AbstractDrbg.java:378)
      at java.base/sun.security.provider.AbstractDrbg.engineNextBytes(AbstractDrbg.java:334)
      at java.base/sun.security.provider.AbstractDrbg$SeederHolder.lambda$static$0(AbstractDrbg.java:558)
      at java.base/sun.security.provider.AbstractDrbg.getEntropyInput(AbstractDrbg.java:507)
      at java.base/sun.security.provider.AbstractDrbg.getEntropyInput(AbstractDrbg.java:494)
      at java.base/sun.security.provider.AbstractDrbg.instantiateIfNecessary(AbstractDrbg.java:696)
      at java.base/sun.security.provider.AbstractDrbg.engineNextBytes(AbstractDrbg.java:378)
      at java.base/sun.security.provider.AbstractDrbg.engineNextBytes(AbstractDrbg.java:334)
      at java.base/sun.security.provider.DRBG.engineNextBytes(DRBG.java:233)
      at java.base/java.security.SecureRandom.nextBytes(SecureRandom.java:751)
      at java.base/java.security.SecureRandom.next(SecureRandom.java:808)
      at java.base/java.util.Random.nextLong(Random.java:424)
      at java.base/java.io.File$TempDirectory.generateFile(File.java:1967)
      at java.base/java.io.File.createTempFile(File.java:2115)
      at org.jenkinsci.plugins.pipeline.maven.eventspy.reporter.FileMavenEventReporter.<init>(FileMavenEventReporter.java:90)
      at org.jenkinsci.plugins.pipeline.maven.eventspy.JenkinsMavenEventSpy.init(JenkinsMavenEventSpy.java:116)
      at org.apache.maven.eventspy.internal.EventSpyDispatcher.init(EventSpyDispatcher.java:85)
      at org.apache.maven.cli.MavenCli.container(MavenCli.java:671)
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:282)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
      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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
      {code}

      This only happens on the Windows node jenkins-win-azr-4 with Java 11 so I assume some configuration is responsible for that failure.

      A failing job can be seen in https://ci-builds.apache.org/blue/organizations/jenkins/Jackrabbit%2Ffilevault-package-maven-plugin/detail/PR-73/3/pipeline

      Attachments

        Activity

          People

            christ Chris Thistlethwaite
            kwin Konrad Windszus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: