Bug 1216164

Summary: unable to initialize EPEL mock profiles
Product: [Fedora] Fedora Reporter: Kamil Dudka <kdudka>
Component: mockAssignee: Clark Williams <williams>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 22CC: jdisnard, mebrown, msimacek, msuchy, praiskup, williams
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-28 17:51:49 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:

Description Kamil Dudka 2015-04-28 16:25:48 UTC
Description of problem:
I am not able to initialize epel-{6,7}-x86_64 mock profiles installed by mock on a fresh installation of Fedora 22 Beta.


Version-Release number of selected component (if applicable):
mock-1.2.7-1.fc22.noarch


How reproducible:
easily


Steps to Reproduce:
1. mock --init --root epel-6-x86_64
2. mock --init --root epel-7-x86_64


Actual results:
[kdudka@f22 ~]$ mock --init --root epel-6-x86_64
INFO: mock.py version 1.2.7 starting (python version = 3.4.2)...
Start: init plugins
INFO: selinux enabled
Finish: init plugins
Start: run
Start: clean chroot
Finish: clean chroot
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled yum cache
Start: cleaning yum metadata
Finish: cleaning yum metadata
INFO: enabled ccache
Mock Version: 1.2.7
INFO: Mock Version: 1.2.7
Start: yum install
ERROR: Command failed. See logs for output.
 # /usr/bin/yum --installroot /var/lib/mock/epel-6-x86_64/root/ --releasever 6 install @buildsys-build --setopt=tsflags=nocontexts
Yum command has been deprecated, use dnf instead.
See 'man dnf' and 'man yum2dnf' for more information.
To transfer transaction metadata from yum to DNF, run 'dnf migrate'Redirecting to '/usr/bin/dnf --installroot /var/lib/mock/epel-6-x86_64/root/ --releasever 6 install @buildsys-build --setopt=tsflags=nocontexts'

Error: Failed to synchronize cache for repo 'fedora' from 'https://mirrors.fedoraproject.org/metalink?repo=fedora-6&arch=x86_64': Cannot prepare internal mirrorlist: file "repomd.xml" was not found in metalink


[kdudka@f22 ~]$ mock --init --root epel-7-x86_64
INFO: mock.py version 1.2.7 starting (python version = 3.4.2)...
Start: init plugins
INFO: selinux enabled
Finish: init plugins
Start: run
Start: clean chroot
Finish: clean chroot
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled yum cache
Start: cleaning yum metadata
Finish: cleaning yum metadata
INFO: enabled ccache
Mock Version: 1.2.7
INFO: Mock Version: 1.2.7
Start: yum install
Yum command has been deprecated, use dnf instead.
See 'man dnf' and 'man yum2dnf' for more information.
To transfer transaction metadata from yum to DNF, run 'dnf migrate'Redirecting to '/usr/bin/dnf --installroot /var/lib/mock/epel-7-x86_64/root/ --releasever 7 install @buildsys-build --setopt=tsflags=nocontexts'

Fedora 7 - x86_64                                17 MB/s |  11 MB     00:00    
Fedora 7 - x86_64 - Test Updates                6.9 MB/s | 375 kB     00:00    
Fedora 7 - x86_64 - Updates                      17 MB/s | 9.3 MB     00:00    
Using metadata from Tue Apr 28 18:23:04 2015 (0:00:08 hours old)ERROR: Command failed. See logs for output.
 # /usr/bin/yum --installroot /var/lib/mock/epel-7-x86_64/root/ --releasever 7 install @buildsys-build --setopt=tsflags=nocontexts

Warning: Group 'buildsys-build' does not exist.
Error: Nothing to do.

Comment 1 Miroslav Suchý 2015-04-28 17:51:49 UTC
I believe this is duplicate of bug 1211978

*** This bug has been marked as a duplicate of bug 1211978 ***