Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-10363

NPE building wildfly-camel in PNC

    XMLWordPrintable

Details

    • % %

    Description

      Getting a NPE building wildfly-camel in PNC - I am not sure what is going on here. If I ssh onto the pod and try to run the mvn build it succeeds, and this also succeeds in the dev build. However, during PNC build, we get a failure :

      http://orch.psi.redhat.com/pnc-web/#/projects/60/build-configs/1050/build-records/17142/result

      [INFO] --- exec-maven-plugin:1.4.0:exec (run-fuseconfig) @ wildfly-camel-itests-standalone-smoke ---
      Picked up JAVA_TOOL_OPTIONS: -Xmx3g
      modules TRACE: Locally loading module org.wildfly.extras.config from local module loader @22d8cfe0 (finder: local module finder @579bb367 (roots: /tmp/wildfly-camel-5.3.0-7.3.0/itests/standalone/smoke/target/jboss-eap-7.2.0.GA-redhat-00005/modules,/tmp/wildfly-camel-5.3.0-7.3.0/itests/standalone/smoke/target/jboss-eap-7.2.0.GA-redhat-00005/modules/system/layers/fuse,/tmp/wildfly-camel-5.3.0-7.3.0/itests/standalone/smoke/target/jboss-eap-7.2.0.GA-redhat-00005/modules/system/layers/base))
      modules TRACE: Could not download 'org/wildfly/camel/wildfly-camel-config/5.3.0.fuse-730028-redhat-00001/wildfly-camel-config-5.3.0.fuse-730028-redhat-00001' from 'https://repo1.maven.org/maven2/' repository: java.net.ConnectException: Connection refused (Connection refused)
      	at java.net.PlainSocketImpl.socketConnect(Native Method)
      	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
      	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
      	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
      	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
      	at java.net.Socket.connect(Socket.java:589)
      	at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
      	at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
      	at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
      	at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
      	at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
      	at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
      	at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
      	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
      	at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
      	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
      	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
      	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1546)
      	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
      	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
      	at org.jboss.modules.maven.MavenArtifactUtil.downloadFile(MavenArtifactUtil.java:164)
      	at org.jboss.modules.maven.MavenArtifactUtil.resolveArtifact(MavenArtifactUtil.java:Exception in thread "main" java.lang.NullPointerException
      	at org.jboss.modules.xml.ModuleXmlParser.parseArtifact(ModuleXmlParser.java:1022)
      	at org.jboss.modules.xml.ModuleXmlParser.parseResources(ModuleXmlParser.java:910)
      	at org.jboss.modules.xml.ModuleXmlParser.parseModuleContents(ModuleXmlParser.java:679)
      	at org.jboss.modules.xml.ModuleXmlParser.parseDocument(ModuleXmlParser.java:440)
      	at org.jboss.modules.xml.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:311)
      	at org.jboss.modules.xml.ModuleXml135)
      	at org.jboss.modules.maven.DefaultMavenResolver.lambda$resolveArtifact$0(DefaultMavenResolver.java:36)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at org.jboss.modules.maven.MavenArtifactUtil.doIo(MavenArtifactUtil.java:226)
      	at org.jboss.modules.maven.DefaultMavenResolver.resolveArtifact(DefaultMavenResolver.java:36)
      	at org.jboss.modules.maven.MavenResolver.resolveJarArtifact(MavenResolver.java:40)
      	at org.jboss.modules.xml.ModuleXmlParser.parseArtifact(ModuleXmlParser.java:1021)Parser.parseModuleXml(ModuleXmlParser.java:269)
      	at org.jboss.modules.xml.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:230)
      	at org.jboss.modules.LocalModuleFinder.parseModuleXmlFile(LocalModuleFinder.java:250)
      	at org.jboss.modules.LocalModuleFinder.lambda$findModule$1(LocalModuleFinder.java:195)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at org.jboss.modules.LocalModuleFinder.findModule(LocalModuleFinder.java:195)
      	at org.jboss.modules.ModuleLoader.findModule0(ModuleLoader.java
      	at org.jboss.modules.xml.ModuleXmlParser.parseResources(ModuleXmlParser.java:910)
      	at org.jboss.modules.xml.ModuleXmlParser.parseModuleContents(ModuleXmlParser.java:679)
      	at org.jboss.modules.xml.ModuleXmlParser.parseDocument(ModuleXmlParser.java:440)
      	at org.jboss.modules.xml.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:311)
      	at org.jboss.modules.xml.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:269)
      	at org.jboss.modules.xml.ModuleXmlParser.parseModuleXml(ModuleXmlParser.java:230)
      	at org.j:693)
      	at org.jboss.modules.ModuleLoader.findModule(ModuleLoader.java:686)
      	at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:496)
      	at org.jboss.modules.DelegatingModuleLoader.preloadModule(DelegatingModuleLoader.java:57)
      	at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:292)
      	at __redirected.__RedirectedUtils.loadProvider(__RedirectedUtils.java:92)
      	at __redirected.__RedirectedUtils.loadProvider(__RedirectedUtils.java:86)
      	at __redirected.__DocumentBuilderFactory.changeDefauboss.modules.LocalModuleFinder.parseModuleXmlFile(LocalModuleFinder.java:250)
      	at org.jboss.modules.LocalModuleFinder.lambda$findModule$1(LocalModuleFinder.java:195)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at org.jboss.modules.LocalModuleFinder.findModule(LocalModuleFinder.java:195)
      	at org.jboss.modules.ModuleLoader.findModule0(ModuleLoader.java:693)
      	at org.jboss.modules.ModuleLoader.findModule(ModuleLoader.java:686)
      	at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:496)
      	at org.jboss.modules.DelegatingModuleLoader.preloadModule(DelegatingModuleLoader.java:57)
      	at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:292)
      	at __redirected.__RedirectedUtils.loadProvider(__RedirectedUtils.java:92)
      	at __redirected.__RedirectedUtils.loadProvider(__RedirectedUtils.java:86)
      	at __redirected.__DocumentBuilderFactory.changeDefaultFactory(__DocumentBuilderFactory.java:53)
      	at __redirected.__JAXPRedirected.changeAll(__JAXPRedirected.java:53)
      	at org.jboss.modules.MainltFactory(__DocumentBuilderFactory.java:53)
      	at __redirected.__JAXPRedirected.changeAll(__JAXPRedirected.java:53)
      	at org.jboss.modules.Main.main(Main.java:428)
      .main(Main.java:428)
      modules TRACE: Could not find in any remote repository
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO] 
      [INFO] Wildfly Camel ...................................... SUCCESS [ 23.967 s]
      [INFO] Wildfly Camel :: BOM ............................... SUCCESS [  0.874 s]
      [INFO] Wildfly Camel :: Common ............................ SUCCESS [  9.844 s]
      [INFO] Wildfly Camel :: Config ............................ SUCCESS [01:16 min]
      [INFO] Wildfly Camel :: Subsystem ......................... SUCCESS [  0.814 s]
      [INFO] Wildfly Camel :: Subsystem :: Core ................. SUCCESS [ 16.919 s]
      [INFO] WildFly Camel :: CXF Undertow ...................... SUCCESS [  4.091 s]
      [INFO] Wildfly Camel :: Subsystem :: CDI .................. SUCCESS [  3.050 s]
      [INFO] Wildfly Camel :: Subsystem :: Security ............. SUCCESS [  2.316 s]
      [INFO] Wildfly Camel :: Subsystem :: Undertow ............. SUCCESS [  1.964 s]
      [INFO] Wildfly Camel :: Feature ........................... SUCCESS [  1.258 s]
      [INFO] Wildfly Camel :: Feature :: Common ................. SUCCESS [  0.713 s]
      [INFO] Wildfly Camel :: Feature :: Modules ................ SUCCESS [03:25 min]
      [INFO] Wildfly Camel :: Feature :: ExtrasA ................ SUCCESS [  8.850 s]
      [INFO] Wildfly Camel :: Feature :: ExtrasB ................ SUCCESS [  5.780 s]
      [INFO] Wildfly Camel :: Feature :: ExtrasC ................ SUCCESS [  2.639 s]
      [INFO] Wildfly Camel :: Feature :: Pack ................... SUCCESS [ 46.012 s]
      [INFO] Wildfly Camel :: Catalog ........................... SUCCESS [  8.533 s]
      [INFO] Wildfly Camel :: Enricher .......................... SUCCESS [  4.544 s]
      [INFO] Wildfly Camel :: Testsuite ......................... SUCCESS [  0.857 s]
      [INFO] Wildfly Camel :: Testsuite :: Common ............... SUCCESS [  6.999 s]
      [INFO] Wildfly Camel :: Testsuite :: Camel ................ SUCCESS [  3.917 s]
      [INFO] Wildfly Camel :: Testsuite :: Standalone ........... SUCCESS [  0.875 s]
      [INFO] Wildfly Camel :: Testsuite :: Standalone :: Smoke .. FAILURE [ 10.289 s]
      [INFO] Wildfly Camel :: Testsuite :: Standalone :: Basic .. SKIPPED
      [INFO] Wildfly Camel :: Testsuite :: Standalone :: Extra .. SKIPPED
      [INFO] Wildfly Camel :: Testsuite :: Standalone :: Docker . SKIPPED
      [INFO] Wildfly Camel :: Archetypes ........................ SKIPPED
      [INFO] Wildfly Camel :: Archetypes :: CDI ................. SKIPPED
      [INFO] Wildfly Camel :: Archetypes :: Spring .............. SKIPPED
      [INFO] Wildfly Camel :: Patch ............................. SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 07:33 min
      [INFO] Finished at: 2019-03-15T18:40:44+00:00
      [INFO] Final Memory: 440M/1849M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:exec (run-fuseconfig) on project wildfly-camel-itests-standalone-smoke: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:exec (run-fuseconfig) on project wildfly-camel-itests-standalone-smoke: Command execution failed.
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
      	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
      	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
      	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
      	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
      	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
      	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
      	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
      	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
      	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:498)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution failed.
      	at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:276)
      	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
      	... 20 more
      Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
      	at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
      	at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
      	at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:660)
      	at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:265)
      	... 22 more
      [ERROR] 
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      [ERROR] 
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <goals> -rf :wildfly-camel-itests-standalone-smoke
      % # Command finished with status: FAILED
      /usr/local/bin/startSshd.sh
      

      Attachments

        Activity

          People

            tcunning@redhat.com Thomas Cunningham
            tcunning@redhat.com Thomas Cunningham
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: