Bug 1283590

Summary: Reduce the memory consumption of the basic test
Product: [Community] ovirt-system-tests Reporter: Anatoly Litovsky <tlitovsk>
Component: RFEsAssignee: David Caro <dcaroest>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 0.4CC: bugs, eedri, fdeutsch
Target Milestone: milestone3Keywords: Improvement
Target Release: 0.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 0.5 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-17 12:40:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1278500    
Attachments:
Description Flags
vdsm log none

Description Anatoly Litovsky 2015-11-19 11:17:56 UTC
Current basic test runs 7 VMs with 16GB RAM each
this is overloading even high end laptops that we use

Lets assign :
4G for engine and hypervisor
2G for the storage controllers
reduce the hypervisors to 2

Comment 1 David Caro 2015-11-24 10:32:16 UTC
The problem seems to still be happening, it seems it tries to spin up a vm with 4G in the host (and of course, failing to)

Comment 2 Yaniv Kaul 2015-11-24 12:10:50 UTC
Created attachment 1098161 [details]
vdsm log

Comment 3 Yaniv Kaul 2015-11-24 12:11:22 UTC
Relevant VDSM log entry:
Thread-112::DEBUG::2015-11-24 03:43:36,194::vm::3313::vm.Vm::(_run) vmId=`8d11c321-4b35-48df-bd5e-751d0182456b`::<?xml version="1.0" encoding="utf-8"?>
<domain type="kvm">
        <name>vm1</name>
        <uuid>8d11c321-4b35-48df-bd5e-751d0182456b</uuid>
        <memory>4194304</memory>
        <currentMemory>4194304</currentMemory>


(and I indeed can see in libvirt log that it failed running it).

Comment 4 David Caro 2015-11-24 12:13:48 UTC
Failed also on jenkins
http://jenkins.ovirt.org/job/ovirt_3.5_system-tests/31/consoleFull

Comment 5 David Caro 2015-11-24 12:22:24 UTC
Sorry, that job fails for different reasons (though the lago log is the same)

Comment 6 Yaniv Kaul 2015-11-24 12:51:57 UTC
I assume the bug is in:
147         memory=4 * GB,
@ ovirt-system-tests/basic_suite_3.5/test-scenarios/004_basic_sanity.py

Comment 7 David Caro 2015-11-24 12:53:09 UTC
that looks like it yes