Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-9564

GitHub Automated Build Failures on Ubuntu JDK 11

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.16.0
    • 1.16.0, 1.15.3
    • Tools and Build
    • None

    Description

      Recent automated GitHub builds on Ubuntu JDK 11 have failed with the following error:

      Error:  Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test) on project nifi-bootstrap-utils: There are test failures.
      Error:  
      Error:  Please refer to /home/runner/work/nifi/nifi/nifi-commons/nifi-bootstrap-utils/target/surefire-reports for the individual test results.
      Error:  Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
      Error:  Error creating properties files for forking
      Error:  org.apache.maven.surefire.booter.SurefireBooterForkException: Error creating properties files for forking
      Error:  	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:604)
      Error:  	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:305)
      Error:  	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:265)
      Error:  	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1314)
      Error:  	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1159)
      Error:  	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:932)
      Error:  	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
      Error:  	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
      Error:  	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
      Error:  	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
      Error:  	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
      Error:  	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
      Error:  	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
      Error:  	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      Error:  	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
      Error:  	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
      Error:  	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
      Error:  	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:972)
      Error:  	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:293)
      Error:  	at org.apache.maven.cli.MavenCli.main(MavenCli.java:196)
      Error:  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      Error:  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      Error:  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      Error:  	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      Error:  	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
      Error:  	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
      Error:  	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
      Error:  	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
      Error:  Caused by: java.net.BindException: Cannot assign requested address
      Error:  	at java.base/sun.nio.ch.Net.bind0(Native Method)
      Error:  	at java.base/sun.nio.ch.Net.bind(Net.java:455)
      Error:  	at java.base/sun.nio.ch.Net.bind(Net.java:447)
      Error:  	at java.base/sun.nio.ch.AsynchronousServerSocketChannelImpl.bind(AsynchronousServerSocketChannelImpl.java:164)
      Error:  	at org.apache.maven.plugin.surefire.extensions.SurefireForkChannel.<init>(SurefireForkChannel.java:88)
      Error:  	at org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory.createForkChannel(SurefireForkNodeFactory.java:39)
      Error:  	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:576)
      Error:  	... 27 more
      

      Attachments

        Issue Links

          Activity

            People

              exceptionfactory David Handermann
              exceptionfactory David Handermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m