Actions
action #42569
closedUnexpected error when setting QEMURAM is specified twice on workers.ini
Description
Observation¶
Extracted from autoinst-log.txt¶
[2018-10-16T14:07:57.0185 CEST] [debug] QEMU: qemu-system-x86_64: -m '2048
[2018-10-16T14:07:57.0185 CEST] [debug] QEMU: 2048': Parameter 'size' expects a non-negative number below 2^64
[2018-10-16T14:07:57.0185 CEST] [debug] QEMU: Optional suffix k, M, G, T, P or E means kilo-, mega-, giga-, tera-, peta-
[2018-10-16T14:07:57.0185 CEST] [debug] QEMU: and exabytes, respectively.
Extracted from vars.json¶
QEMURAM: "2048 2048",
Content of /etc/openqa/workers.ini¶
[global]
HOST = http://slindomansilla-vm.qa.suse.de
WORKER_HOSTNAME=slindomansilla-vm.qa.suse.de
WORKER_CLASS = qemu_x86_64
QEMURAM = 2048
CACHEDIRECTORY = /var/lib/openqa/cache
QEMURAM = 2048
#[1]
#WORKER_CLASS = 64bit-ipmi
[http://slindomansilla-vm.qa.suse.de]
TESTPOOLSERVER = rsync://10.160.66.74/openqa-tests
Acceptance criteria¶
- AC1: The INI parser detects the duplicate setting and explicitly complaints about it or, The last setting in global section overrides the value.
Suggestions¶
- Check if duplicate settings can be prevented with a simple hash in openQA
Actions