[JIRA] (OVIRT-735) cleanup workspaces task fails on RAM disk slaves

Evgheni Dereveanchin (oVirt JIRA) jira at ovirt-jira.atlassian.net
Tue Sep 20 09:11:00 UTC 2016


     [ https://ovirt-jira.atlassian.net/browse/OVIRT-735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Evgheni Dereveanchin updated OVIRT-735:
---------------------------------------
    Description: 
Working on testing RAM disks as part of OVIRT-636 I see the slave being put offline by the cleanup job.

It's failing with the following error:
{{21:30:08 ======
21:30:08 INFO::node: ovirt-srv08.phx.ovirt.org, free space: 2GB
21:30:08 getting executors
21:30:08 got executors
21:30:08 getting build
21:30:08 Thread[Executor #0 for ovirt-srv08.phx.ovirt.org : executing PlaceholderExecutable:job/test-repo_ovirt_experimental_3.6/1758/:null,5,]
21:30:08 Executor #0
21:30:08 got build
21:30:08 got parent
21:30:08 got task
21:30:08 got name
21:30:08 ERROR: Build step failed with exception
21:30:08 java.lang.NullPointerException
21:30:08 	at java.util.Hashtable.put(Hashtable.java:514)
21:30:08 	at groovy.lang.Binding.setVariable(Binding.java:77)
21:30:08 	at groovy.lang.Script.setProperty(Script.java:66)
21:30:08 	at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.setGroovyObjectProperty(ScriptBytecodeAdapter.java:528)
21:30:08 	at Script1.run(Script1.groovy:140)
21:30:08 	at groovy.lang.GroovyShell.evaluate(GroovyShell.java:650)
21:30:08 	at groovy.lang.GroovyShell.evaluate(GroovyShell.java:636)
21:30:08 	at hudson.plugins.groovy.SystemGroovy.perform(SystemGroovy.java:93)
21:30:08 	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
21:30:08 	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
21:30:08 	at hudson.model.Build$BuildExecution.build(Build.java:205)
21:30:08 	at hudson.model.Build$BuildExecution.doRun(Build.java:162)
21:30:08 	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
21:30:08 	at hudson.model.Run.execute(Run.java:1738)
21:30:08 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
21:30:08 	at hudson.model.ResourceController.execute(ResourceController.java:98)
21:30:08 	at hudson.model.Executor.run(Executor.java:410)
21:30:08 Build step 'Execute system Groovy script' marked build as failure
21:30:09 Build step 'Groovy Postbuild' marked build as failure}}

As this is a NullPointerException - it's probably a bug in the cleanup job.

  was:
Working on testing RAM disks as part of OVIRT-636 I see the slave being put offline by the cleanup job.

It's failing with the following error:
{{
21:30:08 ======
21:30:08 INFO::node: ovirt-srv08.phx.ovirt.org, free space: 2GB
21:30:08 getting executors
21:30:08 got executors
21:30:08 getting build
21:30:08 Thread[Executor #0 for ovirt-srv08.phx.ovirt.org : executing PlaceholderExecutable:job/test-repo_ovirt_experimental_3.6/1758/:null,5,]
21:30:08 Executor #0
21:30:08 got build
21:30:08 got parent
21:30:08 got task
21:30:08 got name
21:30:08 ERROR: Build step failed with exception
21:30:08 java.lang.NullPointerException
21:30:08 	at java.util.Hashtable.put(Hashtable.java:514)
21:30:08 	at groovy.lang.Binding.setVariable(Binding.java:77)
21:30:08 	at groovy.lang.Script.setProperty(Script.java:66)
21:30:08 	at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.setGroovyObjectProperty(ScriptBytecodeAdapter.java:528)
21:30:08 	at Script1.run(Script1.groovy:140)
21:30:08 	at groovy.lang.GroovyShell.evaluate(GroovyShell.java:650)
21:30:08 	at groovy.lang.GroovyShell.evaluate(GroovyShell.java:636)
21:30:08 	at hudson.plugins.groovy.SystemGroovy.perform(SystemGroovy.java:93)
21:30:08 	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
21:30:08 	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
21:30:08 	at hudson.model.Build$BuildExecution.build(Build.java:205)
21:30:08 	at hudson.model.Build$BuildExecution.doRun(Build.java:162)
21:30:08 	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
21:30:08 	at hudson.model.Run.execute(Run.java:1738)
21:30:08 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
21:30:08 	at hudson.model.ResourceController.execute(ResourceController.java:98)
21:30:08 	at hudson.model.Executor.run(Executor.java:410)
21:30:08 Build step 'Execute system Groovy script' marked build as failure
21:30:09 Build step 'Groovy Postbuild' marked build as failure
}}

As this is a NullPointerException - it's probably a bug in the cleanup job.


> cleanup workspaces task fails on RAM disk slaves
> ------------------------------------------------
>
>                 Key: OVIRT-735
>                 URL: https://ovirt-jira.atlassian.net/browse/OVIRT-735
>             Project: oVirt - virtualization made easy
>          Issue Type: Bug
>          Components: Jenkins
>            Reporter: Evgheni Dereveanchin
>            Assignee: infra
>
> Working on testing RAM disks as part of OVIRT-636 I see the slave being put offline by the cleanup job.
> It's failing with the following error:
> {{21:30:08 ======
> 21:30:08 INFO::node: ovirt-srv08.phx.ovirt.org, free space: 2GB
> 21:30:08 getting executors
> 21:30:08 got executors
> 21:30:08 getting build
> 21:30:08 Thread[Executor #0 for ovirt-srv08.phx.ovirt.org : executing PlaceholderExecutable:job/test-repo_ovirt_experimental_3.6/1758/:null,5,]
> 21:30:08 Executor #0
> 21:30:08 got build
> 21:30:08 got parent
> 21:30:08 got task
> 21:30:08 got name
> 21:30:08 ERROR: Build step failed with exception
> 21:30:08 java.lang.NullPointerException
> 21:30:08 	at java.util.Hashtable.put(Hashtable.java:514)
> 21:30:08 	at groovy.lang.Binding.setVariable(Binding.java:77)
> 21:30:08 	at groovy.lang.Script.setProperty(Script.java:66)
> 21:30:08 	at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.setGroovyObjectProperty(ScriptBytecodeAdapter.java:528)
> 21:30:08 	at Script1.run(Script1.groovy:140)
> 21:30:08 	at groovy.lang.GroovyShell.evaluate(GroovyShell.java:650)
> 21:30:08 	at groovy.lang.GroovyShell.evaluate(GroovyShell.java:636)
> 21:30:08 	at hudson.plugins.groovy.SystemGroovy.perform(SystemGroovy.java:93)
> 21:30:08 	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
> 21:30:08 	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
> 21:30:08 	at hudson.model.Build$BuildExecution.build(Build.java:205)
> 21:30:08 	at hudson.model.Build$BuildExecution.doRun(Build.java:162)
> 21:30:08 	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
> 21:30:08 	at hudson.model.Run.execute(Run.java:1738)
> 21:30:08 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
> 21:30:08 	at hudson.model.ResourceController.execute(ResourceController.java:98)
> 21:30:08 	at hudson.model.Executor.run(Executor.java:410)
> 21:30:08 Build step 'Execute system Groovy script' marked build as failure
> 21:30:09 Build step 'Groovy Postbuild' marked build as failure}}
> As this is a NullPointerException - it's probably a bug in the cleanup job.



--
This message was sent by Atlassian JIRA
(v1000.319.1#100012)



More information about the Infra mailing list