cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chiradeep Vittal <Chiradeep.Vit...@citrix.com>
Subject build failures on master (jenkins.cloudstack.org)
Date Fri, 24 May 2013 18:26:52 GMT
According to this: 
http://jenkins.cloudstack.org/job/cloudstack-master/401/consoleFull,

WARN   execute, Exception: /bin/bash -c /sbin/route | grep default
java.io.IOException: Cannot run program "/bin/bash": java.io.IOException:
error=12, Cannot allocate memory
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
	at com.cloud.utils.script.Script.execute(Script.java:183)
	at com.cloud.utils.script.Script.runSimpleBashScript(Script.java:473)
	at com.cloud.utils.script.Script.runSimpleBashScript(Script.java:463)
	at com.cloud.utils.net.NetUtils.getDefaultEthDevice(NetUtils.java:200)
	at com.cloud.utils.net.NetUtils.getDefaultHostIp(NetUtils.java:182)
	at com.cloud.utils.net.NetUtils.getLocalCidrs(NetUtils.java:129)
	at 
com.cloud.configuration.ConfigurationManagerImpl.start(ConfigurationManager
Impl.java:417)
	at 
com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(Componen
tContext.java:135)
	at 
org.apache.cloudstack.networkoffering.CreateNetworkOfferingTest.setUp(Creat
eNetworkOfferingTest.java:78)

The issue is likely related to running out memory (each Script.execute is
going to 'fork' and try and allocate the original process RAM). The
solution might involve

echo 0 > /proc/sys/vm/overcommit_memory

But that might lead to OOM killers on jenkins



Mime
View raw message