[ https://ovirt-jira.atlassian.net/browse/OVIRT-1651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34941#comment-34941 ]
The job never sees the slave itself. Its running inside mock so it only sees what is in the mock environment.
You're seeing ‘{{/etc/dnf*}}’ because we generate it inside mock for fedora compatibility. This has been like this for years.
This does not mean DNF itsef is installed, not does it mean you're seeing a Fedora userspace. To check if DNF is installed please check for existence of the DNF binary or the DNF rpm package.
was (Author: bkorren@redhat.com): The job never sees the slave itself. Its running inside mock so it only sees what is in the mock environment.
You're seeing ‘{{/etc/dnf*}}’ because we generate it inside mock for fedora compatibility. This does not mean DNF itsef is installed, not does it mean you're seeing a Fedora userspace. To check if DNF is installed please check for existance of the DNF binary or the DNF rpm package.
Jenkins EL7 slaves configured as Fedora slaves
Key: OVIRT-1651 URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1651 Project: oVirt - virtualization made easy Issue Type: Bug Components: oVirt CI Reporter: sbonazzo Assignee: infra Priority: HighestThis morning I'm seeing jobs failing trying to use DNF instead of YUM on EL7 slaves because of the existence of /etc/dnf directory on EL7 slaves: Example job:http://jenkins.ovirt.org/job/ovirt-release_4.1_check-patch-el7-x86_64/100/console Example slave: http://jenkins.ovirt.org/computer/vm0085.workers-phx.ovirt.org println “ls -l /etc/dnf".execute().text println “cat /etc/os-release".execute().text Result total 8 -rw-r--r--. 1 root root 1562 Sep 16 05:43 dnf.conf -rw-r--r--. 1 root root 72 Mar 4 2015 dnf.conf.old drwxr-xr-x. 2 root root 6 Jul 7 2015 plugins drwxr-xr-x. 2 root root 21 Sep 14 21:57 protected.d NAME="CentOS Linux” VERSION="7 (Core)” ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7" Please fix slaves configuration.
— This message was sent by Atlassian {0} (v1001.0.0-SNAPSHOT#100060)