[JIRA] (OVIRT-964) KeyError: 'selinux_enable' while running mock on slaves

[ https://ovirt-jira.atlassian.net/browse/OVIRT-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=24805#comment-24805 ] Barak Korren commented on OVIRT-964: ------------------------------------ Its failing b/c this line gets into the mock config: {code} 10:02:07 config_opts["plugin_conf"]={} {code} This patch fixed that: https://gerrit.ovirt.org/#/c/68503 I can see subsequent job run succeeded, so closing this ticket.
KeyError: 'selinux_enable' while running mock on slaves -------------------------------------------------------
Key: OVIRT-964 URL: https://ovirt-jira.atlassian.net/browse/OVIRT-964 Project: oVirt - virtualization made easy Issue Type: By-EMAIL Reporter: sbonazzo Assignee: infra
*http://jenkins.ovirt.org/view/01%20Unstable%20Jobs%20(ALL)/job/qemu_3.6_crea... <http://jenkins.ovirt.org/view/01%20Unstable%20Jobs%20(ALL)/job/qemu_3.6_create-rpms-el7-x86_64_merged/16/console>* *00:00:07.167* + /usr/bin/mock --configdir=/home/jenkins/workspace/qemu_3.6_create-rpms-el7-x86_64_merged/jenkins/mock_configs --root=epel-7-x86_64-ovirt-snapshot --resultdir=/home/jenkins/workspace/qemu_3.6_create-rpms-el7-x86_64_merged --orphanskill*00:00:07.167* INFO: mock.py version 1.2.21 starting (python version = 2.7.5)...*00:00:07.168* ERROR: 'selinux_enable'*00:00:07.168* Traceback (most recent call last):*00:00:07.168* File "/usr/sbin/mock", line 844, in <module>*00:00:07.168* main()*00:00:07.168* File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace*00:00:07.168* result = func(*args, **kw)*00:00:07.168* File "/usr/sbin/mock", line 634, in main*00:00:07.168* buildroot = Buildroot(config_opts, uidManager, state, plugins)*00:00:07.168* File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace*00:00:07.168* result = func(*args, **kw)*00:00:07.168* File "/usr/lib/python2.7/site-packages/mockbuild/buildroot.py", line 47, in __init__*00:00:07.168* self.selinux = (not self.config['plugin_conf']['selinux_enable']*00:00:07.169* KeyError: 'selinux_enable' -- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com
-- This message was sent by Atlassian JIRA (v1000.621.5#100023)
participants (1)
-
Barak Korren (oVirt JIRA)