[koji PATCH] allow setting build priority
by Dan Horák
When building for multiple tags it could be useful to set different priorities
for the tasks, eg. rawhide builds will be lower prio than branched builds.
---
util/koji-shadow | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/util/koji-shadow b/util/koji-shadow
index 25492d5..8790cf8 100755
--- a/util/koji-shadow
+++ b/util/koji-shadow
@@ -140,6 +140,8 @@ def get_options():
help=_("tag sucessful builds into the tag we are building, default is to not tag"))
parser.add_option("--arches",
help=_("arches to use when creating tags"))
+ parser.add_option("--priority", type="int", default=5,
+ help=_("priority to set for submitted builds"))
#parse once to get the config file
(options, args) = parser.parse_args()
@@ -1080,7 +1082,7 @@ class BuildTracker(object):
#TODO ...and verify repo
repo_id, event_id = session.getTaskResult(task_id)
#kick off build
- task_id = session.build(src, None, opts={'repo_id': repo_id}, priority=5 )
+ task_id = session.build(src, None, opts={'repo_id': repo_id}, priority=options.priority )
return task_id
def report(self):
--
1.8.1.4
9 years, 9 months
[koji PATCH] fix format when printing rpms without buildroot
by Dan Horák
---
util/koji-shadow | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/koji-shadow b/util/koji-shadow
index 25492d5..da7b247 100755
--- a/util/koji-shadow
+++ b/util/koji-shadow
@@ -473,7 +473,7 @@ class TrackedBuild(object):
if brs and bad:
print "Warning: some rpms for %s lacked buildroots:" % self.nvr
for rinfo in bad:
- print " %(name)-%(version)-%(release).%(arch)" % rinfo
+ print " %(name)s-%(version)s-%(release)s.%(arch)s" % rinfo
return brs.keys()
def getDeps(self):
--
1.8.1.4
9 years, 9 months
[koji PATCH] allow setting the timeout for builds from config file
by Dan Horák
---
builder/kojid | 5 +++--
builder/kojid.conf | 3 +++
koji/__init__.py | 2 +-
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/builder/kojid b/builder/kojid
index f906d0b..18c1fa4 100755
--- a/builder/kojid
+++ b/builder/kojid
@@ -204,7 +204,7 @@ class BuildRoot(object):
for k in ('repoid', 'tag_name'):
if hasattr(self, k):
opts[k] = getattr(self, k)
- for k in ('mockdir', 'topdir', 'topurl', 'topurls', 'packager', 'vendor', 'distribution', 'mockhost', 'yum_proxy'):
+ for k in ('mockdir', 'topdir', 'topurl', 'topurls', 'packager', 'vendor', 'distribution', 'mockhost', 'yum_proxy', 'rpmbuild_timeout'):
if hasattr(self.options, k):
opts[k] = getattr(self.options, k)
opts['buildroot_id'] = self.id
@@ -3060,6 +3060,7 @@ def get_options():
'maven_repo_ignore': '*.md5 *.sha1 maven-metadata*.xml _maven.repositories '
'resolver-status.properties *.lastUpdated',
'failed_buildroot_lifetime' : 3600 * 4,
+ 'rpmbuild_timeout' : 3600 * 24,
'cert': '/etc/kojid/client.crt',
'ca': '/etc/kojid/clientca.crt',
'serverca': '/etc/kojid/serverca.crt'}
@@ -3067,7 +3068,7 @@ def get_options():
for name, value in config.items('kojid'):
if name in ['sleeptime', 'maxjobs', 'minspace', 'retry_interval',
'max_retries', 'offline_retry_interval', 'failed_buildroot_lifetime',
- 'timeout',]:
+ 'timeout', 'rpmbuild_timeout',]:
try:
defaults[name] = int(value)
except ValueError:
diff --git a/builder/kojid.conf b/builder/kojid.conf
index 1fa9ad4..05fe3b0 100644
--- a/builder/kojid.conf
+++ b/builder/kojid.conf
@@ -32,6 +32,9 @@
; The _host string to use in mock
; mockhost=koji-linux-gnu
+; Timeout for build duration (24 hours)
+; rpmbuild_timeout=86400
+
; The URL for the xmlrpc server
server=http://hub.example.com/kojihub
diff --git a/koji/__init__.py b/koji/__init__.py
index f42226b..8ab81a8 100644
--- a/koji/__init__.py
+++ b/koji/__init__.py
@@ -1266,7 +1266,7 @@ def genMockConfig(name, arch, managed=False, repoid=None, tag_name=None, **opts)
# don't encourage network access from the chroot
'use_host_resolv': opts.get('use_host_resolv', False),
# Don't let a build last more than 24 hours
- 'rpmbuild_timeout': 86400
+ 'rpmbuild_timeout': opts.get('rpmbuild_timeout', 86400)
}
# bind_opts are used to mount parts (or all of) /dev if needed.
--
1.7.7.6
9 years, 9 months
Koji regen-repo error
by Didier FABERT
Hi all,
I have strange error since last week on my koji. All regen-repo tasks are
failed with error LockError: [Errno 37] No locks available
Koji works perfectly since January month. Directory /mnt/koji is a nfs mount
but i can touch a new file on it. Database is ok too.
I have two builders, and error appear on both.
Any idea ?
== Client log ==
koji regen-repo centos-6-build
Regenerating repo for tag centos-6-build
Watching tasks (this may be safely interrupted)...
4888 newRepo (centos-6-build): free
4888 newRepo (centos-6-build): free -> open (builder-vbox2.b2pweb.com)
4889 createrepo (x86_64): free
4890 createrepo (i386): free
4889 createrepo (x86_64): free -> open (builder-vbox2.b2pweb.com)
4890 createrepo (i386): free -> open (builder-vbox2.b2pweb.com)
4889 createrepo (x86_64): open (builder-vbox2.b2pweb.com) -> FAILED:
LockError: [Errno 37] No locks available
0 free 2 open 0 done 1 failed
4888 newRepo (centos-6-build): open (builder-vbox2.b2pweb.com) -> FAILED:
LockError: [Errno 37] No locks available
0 free 1 open 0 done 2 failed
4890 createrepo (i386): open (builder-vbox2.b2pweb.com) -> FAILED:
LockError: [Errno 37] No locks available
0 free 0 open 0 done 3 failed
4888 newRepo (centos-6-build) failed
== Builder log ==
/usr/sbin/kojid --verbose --fg
2013-11-15 14:46:47,576 [INFO] {12485} koji.build:73 Starting up
2013-11-15 14:47:03,363 [INFO] {12485} koji.TaskManager:1078 Attempting to
take task 4891
2013-11-15 14:47:03,711 [INFO] {12485} koji.TaskManager:679 pids: {4891:
12568}
2013-11-15 14:47:03,775 [INFO] {12485} koji.TaskManager:681 open task:
{'waiting': None, 'id': 4891, 'weight': 0.10000000000000001}
2013-11-15 14:47:19,053 [INFO] {12485} koji.TaskManager:679 pids: {4891:
12568}
2013-11-15 14:47:19,117 [INFO] {12485} koji.TaskManager:681 open task:
{'waiting': True, 'id': 4891, 'weight': 0.10000000000000001}
2013-11-15 14:47:19,312 [INFO] {12485} koji.TaskManager:1078 Attempting to
take task 4892
2013-11-15 14:47:19,662 [INFO] {12485} koji.TaskManager:679 pids: {4891:
12568, 4892: 12636}
2013-11-15 14:47:19,727 [INFO] {12485} koji.TaskManager:681 open task:
{'waiting': None, 'id': 4892, 'weight': 1.5}
2013-11-15 14:47:19,728 [INFO] {12485} koji.TaskManager:681 open task:
{'waiting': True, 'id': 4891, 'weight': 0.10000000000000001}
2013-11-15 14:47:19,925 [INFO] {12485} koji.TaskManager:1078 Attempting to
take task 4893
2013-11-15 14:47:20,277 [INFO] {12485} koji.TaskManager:679 pids: {4891:
12568, 4892: 12636, 4893: 12638}
2013-11-15 14:47:20,342 [INFO] {12485} koji.TaskManager:681 open task:
{'waiting': None, 'id': 4893, 'weight': 1.5}
2013-11-15 14:47:20,343 [INFO] {12485} koji.TaskManager:681 open task:
{'waiting': None, 'id': 4892, 'weight': 1.5}
2013-11-15 14:47:20,343 [INFO] {12485} koji.TaskManager:681 open task:
{'waiting': True, 'id': 4891, 'weight': 0.10000000000000001}
2013-11-15 14:47:27,662 [WARNING] {12636} koji.TaskManager:1181 TRACEBACK:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/koji/daemon.py", line 1162, in
runTask
response = (handler.run(),)
File "/usr/lib/python2.6/site-packages/koji/tasks.py", line 147, in run
return koji.util.call_with_argcheck(self.handler, self.params, self.opts)
File "/usr/lib/python2.6/site-packages/koji/util.py", line 139, in
call_with_argcheck
return func(*args, **kwargs)
File "/usr/sbin/kojid", line 2845, in handler
self.create_local_repo(rinfo, arch, pkglist, groupdata, oldrepo)
File "/usr/sbin/kojid", line 2895, in create_local_repo
status = log_output(self.session, cmd[0], cmd, logfile,
self.getUploadDir(), logerror=True)
File "/usr/lib/python2.6/site-packages/koji/daemon.py", line 153, in
log_output
incremental_upload(session, remotename, outfd, uploadpath)
File "/usr/lib/python2.6/site-packages/koji/daemon.py", line 48, in
incremental_upload
fast_incremental_upload(session, fname, fd, path, retries, logger)
File "/usr/lib/python2.6/site-packages/koji/daemon.py", line 87, in
fast_incremental_upload
result = session.rawUpload(contents, offset, path, fname, overwrite=True)
File "/usr/lib/python2.6/site-packages/koji/__init__.py", line 1552, in
__call__
return self.__func(self.__name,args,opts)
File "/usr/lib/python2.6/site-packages/koji/__init__.py", line 1914, in
_callMethod
raise err
LockError: [Errno 37] No locks available
2013-11-15 14:47:33,658 [WARNING] {12638} koji.TaskManager:1181 TRACEBACK:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/koji/daemon.py", line 1162, in
runTask
response = (handler.run(),)
File "/usr/lib/python2.6/site-packages/koji/tasks.py", line 147, in run
return koji.util.call_with_argcheck(self.handler, self.params, self.opts)
File "/usr/lib/python2.6/site-packages/koji/util.py", line 139, in
call_with_argcheck
return func(*args, **kwargs)
File "/usr/sbin/kojid", line 2845, in handler
self.create_local_repo(rinfo, arch, pkglist, groupdata, oldrepo)
File "/usr/sbin/kojid", line 2895, in create_local_repo
status = log_output(self.session, cmd[0], cmd, logfile,
self.getUploadDir(), logerror=True)
File "/usr/lib/python2.6/site-packages/koji/daemon.py", line 153, in
log_output
incremental_upload(session, remotename, outfd, uploadpath)
File "/usr/lib/python2.6/site-packages/koji/daemon.py", line 48, in
incremental_upload
fast_incremental_upload(session, fname, fd, path, retries, logger)
File "/usr/lib/python2.6/site-packages/koji/daemon.py", line 87, in
fast_incremental_upload
result = session.rawUpload(contents, offset, path, fname, overwrite=True)
File "/usr/lib/python2.6/site-packages/koji/__init__.py", line 1552, in
__call__
return self.__func(self.__name,args,opts)
File "/usr/lib/python2.6/site-packages/koji/__init__.py", line 1914, in
_callMethod
raise err
LockError: [Errno 37] No locks available
2013-11-15 14:47:35,625 [INFO] {12485} koji.TaskManager:679 pids: {4891:
12568, 4892: 12636, 4893: 12638}
2013-11-15 14:47:35,690 [INFO] {12485} koji.TaskManager:681 open task:
{'waiting': True, 'id': 4891, 'weight': 0.10000000000000001, 'alert': True}
2013-11-15 14:47:35,690 [INFO] {12485} koji.TaskManager:693 Waking up task:
{'waiting': True, 'id': 4891, 'weight': 0.10000000000000001, 'alert': True}
2013-11-15 14:47:35,691 [INFO] {12485} koji.TaskManager:846 Task 4892 (pid
12636) exited with status 0
2013-11-15 14:47:35,715 [INFO] {12485} koji.TaskManager:991 Expiring
subsession 7036 (task 4892)
2013-11-15 14:47:35,780 [INFO] {12485} koji.TaskManager:846 Task 4893 (pid
12638) exited with status 0
2013-11-15 14:47:35,803 [INFO] {12485} koji.TaskManager:991 Expiring
subsession 7037 (task 4893)
2013-11-15 14:47:36,640 [WARNING] {12568} koji.TaskManager:1181 TRACEBACK:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/koji/daemon.py", line 1162, in
runTask
response = (handler.run(),)
File "/usr/lib/python2.6/site-packages/koji/tasks.py", line 147, in run
return koji.util.call_with_argcheck(self.handler, self.params, self.opts)
File "/usr/lib/python2.6/site-packages/koji/util.py", line 139, in
call_with_argcheck
return func(*args, **kwargs)
File "/usr/sbin/kojid", line 2811, in handler
results = self.wait(subtasks.values(), all=True, failany=True)
File "/usr/lib/python2.6/site-packages/koji/tasks.py", line 234, in wait
return dict(self.session.host.taskWaitResults(self.id,subtasks))
File "/usr/lib/python2.6/site-packages/koji/__init__.py", line 1552, in
__call__
return self.__func(self.__name,args,opts)
File "/usr/lib/python2.6/site-packages/koji/__init__.py", line 1914, in
_callMethod
raise err
LockError: [Errno 37] No locks available
2013-11-15 14:47:51,152 [INFO] {12485} koji.TaskManager:679 pids: {4891:
12568}
2013-11-15 14:47:51,215 [INFO] {12485} koji.TaskManager:846 Task 4891 (pid
12568) exited with status 0
2013-11-15 14:47:51,239 [INFO] {12485} koji.TaskManager:991 Expiring
subsession 7035 (task 4891)
--
Didier
9 years, 10 months
[PATCH] builder: Upload recursively all files in all subdirs
by Mathieu Bridon
---
This will become necessary if we want to upload the results of a mash
task, as I am currently working on.
Should I have created a new uploadDirRecursively() method, instead of
changing uploadDir()?
builder/kojid | 33 ++++++++++++++++++++++++++-------
1 file changed, 26 insertions(+), 7 deletions(-)
diff --git a/builder/kojid b/builder/kojid
index ca73cad..fbd4e73 100755
--- a/builder/kojid
+++ b/builder/kojid
@@ -371,15 +371,34 @@ class BuildRoot(object):
append '.' + suffix to the filenames, so that successive uploads
of the same directory won't overwrite each other, if the files have
the same name but different contents."""
+ def walker(arg, dirname, filenames):
+ # `arg` is completely ignored here
+ if dirname == dirpath:
+ uploadpath = rootuploadpath
+
+ else:
+ dirrelpath = os.path.relpath(dirname, start=dirpath)
+ uploadpath = os.path.join(rootuploadpath, dirrelpath)
+
+ for filename in filenames:
+ filepath = os.path.join(dirname, filename)
+
+ if os.path.isdir(filepath):
+ # TODO: Should we do something about this?
+ continue
+
+ if os.stat(filepath).st_size > 0:
+ if suffix:
+ filename = '%s.%s' % (filename, suffix)
+
+ self.session.uploadWrapper(filepath, uploadpath, filename)
+
if not os.path.isdir(dirpath):
return
- uploadpath = self.getUploadPath()
- for filename in os.listdir(dirpath):
- filepath = os.path.join(dirpath, filename)
- if os.stat(filepath).st_size > 0:
- if suffix:
- filename = '%s.%s' % (filename, suffix)
- self.session.uploadWrapper(filepath, uploadpath, filename)
+
+ rootuploadpath = self.getUploadPath()
+
+ os.path.walk(dirpath, walker, None)
def init(self):
rv = self.mock(['--init'])
--
1.8.1.4
9 years, 10 months
Koji + Mash -- Recommendations Please
by John.Florian@dart.biz
>From what I gather, mash is the tool of choice for composing usable
repositories out of koji's build efforts. What advice do y'all have for
integrating the two? Presently, I've got mash running via cron every 15m
but that hardly seems optimal as it's a lot of busy work if I'm not
building packages for several days and conversely adds more latency into
my build + deploy + test timeline if a build finishes right after mash
does. Seems like a hook or callback is in order, but I've not seen any
write ups on this subject. Also, I had a rpm built by koji which then
made it over to my repo via mash, but then I got busy for a few days on
other tasks. When I came back it appears that my rpm has disappeared from
the repo. I'm guessing kojira cleaned it up, but I was under the
impression that such cleanup wouldn't propagate to the repo.
--
John Florian
9 years, 10 months
[PATCH] Added missing koji tags to email from koji-gc
by Pat Riehecky
From b2052bbc77d18773573766c2e09d7ccd1602783d Mon Sep 17 00:00:00 2001
From: Pat Riehecky <riehecky(a)fnal.gov>
Date: Tue, 12 Nov 2013 10:18:53 -0600
Subject: [PATCH] Added missing koji tags to email from koji-gc
---
util/koji-gc | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/util/koji-gc b/util/koji-gc
index 424b0fb..33f2da3 100755
--- a/util/koji-gc
+++ b/util/koji-gc
@@ -423,6 +423,10 @@ refer to the document linked above for instructions."""
msg['From'] = options.from_addr
msg['To'] = "%s@%s" % owner_name, options.email_domain #XXX!
msg['X-Koji-Builder'] = owner_name
+ msg['X-Koji-Tag'] = options.trashcan_tag
+ msg['X-Koji-Status'] = 'trashing'
+ msg['X-Koji-Package'] = []
+ msg['X-Koji-Package'].extend([b['name'] for b in builds])
if options.test:
if options.debug:
print str(msg)
--
1.7.1
--
Pat Riehecky
Scientific Linux developer
http://www.scientificlinux.org/
9 years, 10 months
[PATCH] cli: Set the mtime from urlgrabber/pycurl, make users happy. BZ 872631.
by James Antill
---
cli/koji | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/cli/koji b/cli/koji
index a870342..04d00bc 100755
--- a/cli/koji
+++ b/cli/koji
@@ -5726,6 +5726,15 @@ def anon_handle_download_build(options, session, args):
os.write(out, buf)
finally:
os.close(out)
+
+ # Set the mtime to the remote mtime, people like this. BZ 87263.
+ try:
+ import pycurl
+ mod_time = file.curl_obj.getinfo(pycurl.INFO_FILETIME)
+ os.utime(relpath, (mod_time, mod_time))
+ except:
+ pass # Ignore errors here.
+
file.close()
def anon_handle_wait_repo(options, session, args):
--
1.7.7.6
9 years, 11 months
Locale for logs
by Viacheslav Dubrovskyi
Hi.
Help me with simple question please.
How to change the locale for the output log?
I need C or English, but it show in russian with 'LANG': 'ru_RU.UTF-8'
For example:
kojifiles/packages/boost1.51.0/1.51.0/3.el6/data/logs/x86_64/build.log
Mock Version: 1.1.32
Mock Version: 1.1.32
ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64
--nodeps builddir/build/SPECS/boost.spec'], False,
'/var/lib/mock/opensource-rhel63-build-173-332/root/', None, 86400,
True, False, 498, 499, None, False, {'LANG': 'ru_RU.UTF-8', 'TERM':
'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND':
'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH':
'/usr/bin:/bin:/usr/sbin:/sbin'},
logger=<mockbuild.trace_decorator.getLog object at 0x245b310>)
Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target
x86_64 --nodeps builddir/build/SPECS/boost.spec'] with env {'LANG':
'ru_RU.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME':
'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME':
'/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}
Платформы для сборки: x86_64
Сборка для платформы x86_64
Записан: /builddir/build/SRPMS/boost1.51.0-1.51.0-3.el6.src.rpm
Child return code was: 0
LEAVE do -->
ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64
--nodeps builddir/build/SPECS/boost.spec'], False,
'/var/lib/mock/opensource-rhel63-build-173-332/root/', None, 86400,
True, False, 498, 499, None, False, {'LANG': 'ru_RU.UTF-8', 'TERM':
'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND':
'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH':
'/usr/bin:/bin:/usr/sbin:/sbin'},
logger=<mockbuild.trace_decorator.getLog object at 0x245b310>)
Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target
x86_64 --nodeps builddir/build/SPECS/boost.spec'] with env {'LANG':
'ru_RU.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME':
'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME':
'/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}
Платформы для сборки: x86_64
Сборка для платформы x86_64
Выполняется(%prep): /bin/sh -e /var/tmp/rpm-tmp.FgxPc4
+ umask 022
+ cd /builddir/build/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /builddir/build/BUILD
Thank you.
--
WBR,
Viacheslav Dubrovskyi
9 years, 11 months
strange build errors
by Peter Bojtos
Dear List,
I have a working koji setup with several clients. When I submit a few jobs, it works great. However when I submit lots of package (>100), some of the builds fail with the following error when mock is populating the buildroot (in root.log):
DEBUG util.py:264: Installed:
DEBUG util.py:264: bash.x86_64 0:4.1.2-15.el6_4
DEBUG util.py:264: bzip2.x86_64 0:1.0.5-7.el6_0
DEBUG util.py:264: coreutils.x86_64 0:8.4-19.el6_4.2
....
DEBUG util.py:264: xz.x86_64 0:4.999.9-0.5.beta.20091007git.slxrv3
DEBUG util.py:264: Dependency Installed:
DEBUG util.py:264: audit-libs.x86_64 0:2.2-2.el6
DEBUG util.py:264: basesystem.noarch 0:10.0-4.el6
....
DEBUG util.py:264: xz-lzma-compat.x86_64 0:4.999.9-0.5.beta.20091007git.slxrv3
DEBUG util.py:264: zlib.x86_64 0:1.2.3-29.el6
DEBUG util.py:354: Child return code was: 0
DEBUG util.py:314: Executing command: /usr/bin/repoquery -c /var/lib/mock/dist-slxrv3-build-5544-1386/root//etc/yum.conf -a --qf '%{nevra} %{buildtime} %{size} %{pkgid} %{repoid}' > /var/lib/mock/dist-slxrv3-build-5544-1386/result/available_pkgs with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}
DEBUG util.py:264: Traceback (most recent call last):
DEBUG util.py:264: File "/usr/bin/repoquery", line 1510, in <module>
DEBUG util.py:264: main(sys.argv)
DEBUG util.py:264: File "/usr/bin/repoquery", line 1504, in main
DEBUG util.py:264: repoq.runQuery(regexs)
DEBUG util.py:264: File "/usr/bin/repoquery", line 982, in runQuery
DEBUG util.py:264: pkgs = self.matchPkgs(items, plain_pkgs=plain_pkgs)
DEBUG util.py:264: File "/usr/bin/repoquery", line 903, in matchPkgs
DEBUG util.py:264: pkgs = self.returnPkgList(patterns=items)
DEBUG util.py:264: File "/usr/bin/repoquery", line 856, in returnPkgList
DEBUG util.py:264: pkgs = self.pkgSack.returnNewestByNameArch(**kwargs)
DEBUG util.py:264: File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1013, in <lambda>
DEBUG util.py:264: pkgSack = property(fget=lambda self: self._getSacks(),
DEBUG util.py:264: File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 779, in _getSacks
DEBUG util.py:264: self.repos.populateSack(which=repos)
DEBUG util.py:264: File "/usr/lib/python2.7/site-packages/yum/repos.py", line 309, in populateSack
DEBUG util.py:264: self.doSetup()
DEBUG util.py:264: File "/usr/lib/python2.7/site-packages/yum/repos.py", line 134, in doSetup
DEBUG util.py:264: self.retrieveAllMD()
DEBUG util.py:264: File "/usr/lib/python2.7/site-packages/yum/repos.py", line 92, in retrieveAllMD
DEBUG util.py:264: downloading = repo._commonRetrieveDataMD_list(mdtypes)
DEBUG util.py:264: File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1540, in _commonRetrieveDataMD_list
DEBUG util.py:264: os.rename(local, local + '.old.tmp')
DEBUG util.py:264: OSError: [Errno 2] No such file or directory
DEBUG util.py:354: Child return code was: 1
DEBUG util.py:314: Executing command: ['/bin/umount', '-n', '-l', '/var/lib/mock/dist-slxrv3-build-5544-1386/root/dev/pts'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}
Is it because newRepo task is not finished but somehow creates the softlink to latest (and unfinished) koji repo? Have anyone seen the same error before?
Thanks for your reply,
Peter Bojtos
9 years, 11 months