[openstack-dev] [Infra][magnum] Jenkins failed quite often for "Cannot set up guest memory 'pc.ram': Cannot allocate memory"

Hongbin Lu hongbin.lu at huawei.com
Mon Dec 21 16:28:46 UTC 2015


Hi Jeremy,

If you can make the swap size consistent, that would be terrific. Consistent settings across test nodes can improve the predictability of the test results. Thanks for the assistant from infra team to locate the cause of this error. We greatly appreciate it.

Best regards,
Hongbin

-----Original Message-----
From: Jeremy Stanley [mailto:fungi at yuggoth.org] 
Sent: December-21-15 9:49 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [Infra][nova][magnum] Jenkins failed quite often for "Cannot set up guest memory 'pc.ram': Cannot allocate memory"

On 2015-12-20 12:35:34 -0800 (-0800), Clark Boylan wrote:
> Looking at the dstat logs for a recent fail [0], it did help in that 
> more memory is available. You now have over 1GB available but still 
> less than 2GB.
[...]

As Clark also pointed out in IRC, the workers where this is failing lack a swap memory device. I have a feeling if you swapoff before this point in the job you'll see it fail everywhere.

For consistency, we probably should make sure that our workers have similarly sized swap devices (using a swapfile on the rootfs if necessary).
--
Jeremy Stanley

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



More information about the OpenStack-dev mailing list