[JIRA] (OVIRT-1655) Groovy script failed

Barak Korren (oVirt JIRA) jira at ovirt-jira.atlassian.net
Tue Sep 19 12:51:44 UTC 2017


    [ https://ovirt-jira.atlassian.net/browse/OVIRT-1655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34965#comment-34965 ] 

Barak Korren commented on OVIRT-1655:
-------------------------------------

That failure is just a post-build Groovy script that expects some files to be accessible in the job workspace. The real issues seems to be a few lines before:
{code}
12:02:09 mount: /dev/loop2 is write-protected, mounting read-only
12:02:10 WARNING  No operating system detected, VM performance may suffer. Specify an OS with --os-variant for optimal results.
12:02:10 
12:02:10 Starting install...
12:02:10 
Retrieving file vmlinuz...                                  | 5.6 MB  00:00     
12:02:11 
Retrieving file initrd.img...                               |  46 MB  00:00     
12:02:11 
Allocating 'diskGJ7pWv.img'                                 | 5.0 GB  00:00     
12:02:12 Domain installation still in progress. You can reconnect to 
12:02:12 the console to complete the installation process.
12:35:12 ......................................................................................................................................................................................................FATAL: command execution failed
12:35:12 hudson.remoting.ProxyException: java.util.concurrent.TimeoutException: Ping started at 1505824272773 hasn't completed by 1505824512775
12:35:12 Caused: Command close created at
12:35:12 	at hudson.remoting.Command.<init>(Command.java:60)
12:35:12 	at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:1123)
12:35:12 	at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:1121)
12:35:12 	at hudson.remoting.Channel.close(Channel.java:1281)
12:35:12 	at hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:180)
12:35:12 	at hudson.remoting.PingThread.ping(PingThread.java:130)
12:35:12 	at hudson.remoting.PingThread.run(PingThread.java:86)
12:35:12 Caused: hudson.remoting.Channel$OrderlyShutdown: hudson.remoting.ProxyException: java.util.concurrent.TimeoutException: Ping started at 1505824272773 hasn't completed by 1505824512775
12:35:12 	at hudson.remoting.Channel$CloseCommand.execute(Channel.java:1129)
12:35:12 	at hudson.remoting.Channel$1.handle(Channel.java:527)
12:35:12 	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:83)
12:35:12 Caused: java.io.IOException: Backing channel 'vm0090.workers-phx.ovirt.org' is disconnected.
12:35:12 	at hudson.remoting.RemoteInvocationHandler.channelOrFail(RemoteInvocationHandler.java:192)
12:35:12 	at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:257)
12:35:12 	at com.sun.proxy.$Proxy89.isAlive(Unknown Source)
12:35:12 	at hudson.Launcher$RemoteLauncher$ProcImpl.isAlive(Launcher.java:1043)
12:35:12 	at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:1035)
12:35:12 	at hudson.tasks.CommandInterpreter.join(CommandInterpreter.java:155)
12:35:12 	at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:109)
12:35:12 	at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66)
12:35:12 	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
12:35:12 	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:735)
12:35:12 	at hudson.model.Build$BuildExecution.build(Build.java:206)
12:35:12 	at hudson.model.Build$BuildExecution.doRun(Build.java:163)
12:35:12 	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:490)
12:35:12 	at hudson.model.Run.execute(Run.java:1735)
12:35:12 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
12:35:12 	at hudson.model.ResourceController.execute(ResourceController.java:97)
12:35:12 	at hudson.model.Executor.run(Executor.java:405)
12:35:12 Build step 'Execute shell' marked build as failure
12:35:12 FATAL: channel is already closed
12:35:12 hudson.remoting.ProxyException: java.util.concurrent.TimeoutException: Ping started at 1505824272773 hasn't completed by 1505824512775
12:35:13 Caused: Command close created at
12:35:13 	at hudson.remoting.Command.<init>(Command.java:60)
12:35:13 	at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:1123)
12:35:13 	at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:1121)
12:35:13 	at hudson.remoting.Channel.close(Channel.java:1281)
12:35:13 	at hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:180)
12:35:13 	at hudson.remoting.PingThread.ping(PingThread.java:130)
12:35:13 	at hudson.remoting.PingThread.run(PingThread.java:86)
12:35:13 Caused: hudson.remoting.Channel$OrderlyShutdown: hudson.remoting.ProxyException: java.util.concurrent.TimeoutException: Ping started at 1505824272773 hasn't completed by 1505824512775
12:35:13 	at hudson.remoting.Channel$CloseCommand.execute(Channel.java:1129)
12:35:13 	at hudson.remoting.Channel$1.handle(Channel.java:527)
12:35:13 	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:83)
12:35:13 Caused: hudson.remoting.ChannelClosedException: channel is already closed
12:35:13 	at hudson.remoting.Channel.send(Channel.java:605)
12:35:13 	at hudson.remoting.Request.call(Request.java:130)
12:35:13 	at hudson.remoting.Channel.call(Channel.java:829)
12:35:13 	at hudson.Launcher$RemoteLauncher.launch(Launcher.java:959)
12:35:13 	at hudson.Launcher$ProcStarter.start(Launcher.java:384)
12:35:13 	at com.cloudbees.jenkins.plugins.sshagent.exec.ExecRemoteAgent.stop(ExecRemoteAgent.java:126)
12:35:13 	at com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper$SSHAgentEnvironment.tearDown(SSHAgentBuildWrapper.java:417)
12:35:13 	at hudson.model.Build$BuildExecution.doRun(Build.java:174)
12:35:13 	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:490)
12:35:13 	at hudson.model.Run.execute(Run.java:1735)
12:35:13 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
12:35:13 	at hudson.model.ResourceController.execute(ResourceController.java:97)
12:35:13 	at hudson.model.Executor.run(Executor.java:405)
{code}

Looks like Jenkins is timing out while trying to talk to the slave. But this may be caused by the error seen in the actual VM build process.

> Groovy script failed
> --------------------
>
>                 Key: OVIRT-1655
>                 URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1655
>             Project: oVirt - virtualization made easy
>          Issue Type: By-EMAIL
>            Reporter: sbonazzo
>            Assignee: infra
>
> Hi, I had an ovirt-node-ng build failure and didn't get logs about what
> happened due to:
> *Groovy script failed:*
> java.lang.NullPointerException: Cannot invoke method child() on null object
> Failed  job is
> http://jenkins.ovirt.org/job/ovirt-node-ng_ovirt-4.1_build-artifacts-el7-x86_64/279/
> CAn you please check what happened?
> -- 
> SANDRO BONAZZOLA
> ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D
> Red Hat EMEA <https://www.redhat.com/>
> <https://red.ht/sig>
> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>



--
This message was sent by Atlassian {0}
(v1001.0.0-SNAPSHOT#100060)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/infra/attachments/20170919/a7964d39/attachment-0001.html>


More information about the Infra mailing list