Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Build System (http://www.linux-archive.org/fedora-build-system/)
-   -   Kojid unable to regen-repo in Fedora 15 (http://www.linux-archive.org/fedora-build-system/530774-kojid-unable-regen-repo-fedora-15-a.html)

Anthony Messina 05-26-2011 01:51 AM

Kojid unable to regen-repo in Fedora 15
 
I'm running a Kojid instance, freshly upgraded from Fedora 14 -> 15. My
koji hub is still running Fedora 14.

When running a regen-repo, I now get this error:

2011-05-25 20:20:41,405 [WARNING] koji.TaskManager: TRACEBACK: Traceback
(most recent call last):
File "/usr/lib/python2.7/site-packages/koji/daemon.py", line 1114, in
runTask
response = (handler.run(),)
File "/usr/lib/python2.7/site-packages/koji/tasks.py", line 146, in run
return self.handler(*self.params,**self.opts)
File "/usr/sbin/kojid", line 2552, in handler
self.create_local_repo(rinfo, arch, pkglist, groupdata, oldrepo)
File "/usr/sbin/kojid", line 2606, in create_local_repo
% parseStatus(status, ' '.join(cmd))
GenericError: failed to create repo: /usr/bin/createrepo -vd -o
/tmp/koji/tasks/1796/1796/repo -u http://messinet.com/koji-mnt/packages
-i /mnt/koji/repos/dist-f14-build/221/x86_64/pkglist -g
/mnt/koji/repos/dist-f14-build/221/groups/comps.xml --update --skip-stat
/mnt/koji/packages/ exited with status 1

Any ideas on where I should go? Thanks in advance. -A

--
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E

--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys

Mike McLean 05-26-2011 03:24 AM

Kojid unable to regen-repo in Fedora 15
 
On 05/25/2011 09:51 PM, Anthony Messina wrote:
> I'm running a Kojid instance, freshly upgraded from Fedora 14 -> 15. My
> koji hub is still running Fedora 14.
>
> When running a regen-repo, I now get this error:
>
> 2011-05-25 20:20:41,405 [WARNING] koji.TaskManager: TRACEBACK: Traceback
...
> /mnt/koji/repos/dist-f14-build/221/groups/comps.xml --update --skip-stat
> /mnt/koji/packages/ exited with status 1
>
> Any ideas on where I should go? Thanks in advance. -A

Is there a createrepo.log for that task?
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys

Dennis Gilmore 05-26-2011 08:55 PM

Kojid unable to regen-repo in Fedora 15
 
On Wednesday, May 25, 2011 08:51:18 PM Anthony Messina wrote:
> I'm running a Kojid instance, freshly upgraded from Fedora 14 -> 15. My
> koji hub is still running Fedora 14.
>
> When running a regen-repo, I now get this error:
>
> 2011-05-25 20:20:41,405 [WARNING] koji.TaskManager: TRACEBACK: Traceback
> (most recent call last):
> File "/usr/lib/python2.7/site-packages/koji/daemon.py", line 1114, in
> runTask
> response = (handler.run(),)
> File "/usr/lib/python2.7/site-packages/koji/tasks.py", line 146, in run
> return self.handler(*self.params,**self.opts)
> File "/usr/sbin/kojid", line 2552, in handler
> self.create_local_repo(rinfo, arch, pkglist, groupdata, oldrepo)
> File "/usr/sbin/kojid", line 2606, in create_local_repo
> % parseStatus(status, ' '.join(cmd))
> GenericError: failed to create repo: /usr/bin/createrepo -vd -o
> /tmp/koji/tasks/1796/1796/repo -u http://messinet.com/koji-mnt/packages
> -i /mnt/koji/repos/dist-f14-build/221/x86_64/pkglist -g
> /mnt/koji/repos/dist-f14-build/221/groups/comps.xml --update --skip-stat
> /mnt/koji/packages/ exited with status 1
>
> Any ideas on where I should go? Thanks in advance. -A
I need to look into this, Its due to changes in createrepo, if you grab the
f14 createrepo it will work as a workaround

Dennis
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys

Anthony Messina 05-27-2011 02:36 AM

Kojid unable to regen-repo in Fedora 15
 
On 05/25/2011 10:24 PM, Mike McLean wrote:
> On 05/25/2011 09:51 PM, Anthony Messina wrote:
>> I'm running a Kojid instance, freshly upgraded from Fedora 14 -> 15. My
>> koji hub is still running Fedora 14.
>>
>> When running a regen-repo, I now get this error:
>>
>> 2011-05-25 20:20:41,405 [WARNING] koji.TaskManager: TRACEBACK: Traceback
> ...
>> /mnt/koji/repos/dist-f14-build/221/groups/comps.xml --update --skip-stat
>> /mnt/koji/packages/ exited with status 1
>>
>> Any ideas on where I should go? Thanks in advance. -A
>
> Is there a createrepo.log for that task?
> --
> buildsys mailing list
> buildsys@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/buildsys

Well the errors I get now are a little different, but I cannot regen a
repo just the same on an F15 kojid (F14 koji-hub).

Logs attached...

--
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E
#
# Results for 'koji regen-repo dist-f14-build'
#
~]$ koji watch-logs 1799
Watching logs (this may be safely interrupted)...
==> 1799:createrepo.log: <==
$ /usr/bin/createrepo -vd -o /tmp/koji/tasks/1799/1799/repo -u http://messinet.com/koji-mnt/packages -i /mnt/koji/repos/dist-f14-build/222/x86_64/pkglist -g /mnt/koji/repos/dist-f14-build/222/groups/comps.xml --update --skip-stat /mnt/koji/packages/
Scanning old repo data
Indexed 19731 base nodes
Indexed 19731 filelist nodes
Indexed 19731 other nodes
Spawning worker 0 with 72 pkgs
Worker 0: reading sflphone/0.9.10/0.1.20101106git63256bf.fc14/x86_64/sflphone-gnome-0.9.10-0.1.20101106git63256bf.fc14.x86_64.rpm
Worker 0: reading sflphone/0.9.10/0.1.20101106git63256bf.fc14/x86_64/sflphone-0.9.10-0.1.20101106git63256bf.fc14.x86_64.rpm
Worker 0: reading pgsql-temporal/0.1/0.1.20100801.fc14/x86_64/pgsql-temporal-0.1-0.1.20100801.fc14.x86_64.rpm
Worker 0: reading dahdi-linux-kmod/2.4.1.2/3.fc14/x86_64/kmod-dahdi-linux-2.6.35.13-91.fc14.x86_64-2.4.1.2-3.fc14.x86_64.rpm
Worker 0: reading dahdi-linux-kmod/2.4.1.2/3.fc14/x86_64/kmod-dahdi-linux-2.4.1.2-3.fc14.x86_64.rpm
Worker 0: reading asterisk/1.8.4.1/1.fc14/x86_64/asterisk-ldap-fds-1.8.4.1-1.fc14.x86_64.rpm
Worker 0: reading asterisk/1.8.4.1/1.fc14/x86_64/asterisk-radius-1.8.4.1-1.fc14.x86_64.rpm
Worker 0: reading asterisk/1.8.4.1/1.fc14/x86_64/asterisk-snmp-1.8.4.1-1.fc14.x86_64.rpm
Worker 0: reading asterisk/1.8.4.1/1.fc14/x86_64/asterisk-alsa-1.8.4.1-1.fc14.x86_64.rpm
Workers Finished
Gathering worker results

Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Starting other db creation: Thu May 26 21:30:21 2011
Ending other db creation: Thu May 26 21:30:22 2011
Starting filelists db creation: Thu May 26 21:30:22 2011
Ending filelists db creation: Thu May 26 21:30:22 2011
Starting primary db creation: Thu May 26 21:30:22 2011
Ending primary db creation: Thu May 26 21:30:23 2011
Sqlite DBs complete

==> 1799:mergerepos.log: <==
$ /usr/libexec/kojid/mergerepos -a x86_64 -b /mnt/koji/repos/dist-f14-build/222/x86_64/blocklist -o /tmp/koji/tasks/1799/1799/repo -g /mnt/koji/repos/dist-f14-build/222/groups/comps.xml -r file:///tmp/koji/tasks/1799/1799/repo_222_premerge/ -r file:///mnt/koji/mirrors/rpmfusion/nonfree/fedora/updates/14/x86_64/ -r file:///mnt/koji/mirrors/rpmfusion/free/fedora/updates/14/x86_64/ -r file:///mnt/koji/mirrors/fedora/linux/updates/14/x86_64/ -r file:///mnt/koji/mirrors/rpmfusion/nonfree/fedora/releases/14/Everything/x86_64/os/ -r file:///mnt/koji/mirrors/rpmfusion/free/fedora/releases/14/Everything/x86_64/os/ -r file:///mnt/koji/mirrors/fedora/linux/releases/14/Everything/x86_64/os/
Adding repo: file:///tmp/koji/tasks/1799/1799/repo_222_premerge/
Adding repo: file:///mnt/koji/mirrors/rpmfusion/nonfree/fedora/updates/14/x86_64/
Adding repo: file:///mnt/koji/mirrors/rpmfusion/free/fedora/updates/14/x86_64/
Adding repo: file:///mnt/koji/mirrors/fedora/linux/updates/14/x86_64/
Adding repo: file:///mnt/koji/mirrors/rpmfusion/nonfree/fedora/releases/14/Everything/x86_64/os/
Adding repo: file:///mnt/koji/mirrors/rpmfusion/free/fedora/releases/14/Everything/x86_64/os/
Adding repo: file:///mnt/koji/mirrors/fedora/linux/releases/14/Everything/x86_64/os/
Traceback (most recent call last):
File "/usr/libexec/kojid/mergerepos", line 247, in <module>
main(sys.argv[1:])
File "/usr/libexec/kojid/mergerepos", line 242, in main
merge.write_metadata()
File "/usr/libexec/kojid/mergerepos", line 222, in write_metadata
mdgen.doPkgMetadata()
File "/usr/lib/python2.7/site-packages/createrepo/__init__.py", line 395, in doPkgMetadata
self.writeMetadataDocs(packages)
File "/usr/lib/python2.7/site-packages/createrepo/__init__.py", line 587, in writeMetadataDocs
self.read_pkgs.append(po.localpath)
File "/usr/lib/python2.7/site-packages/yum/sqlitesack.py", line 270, in __getattr__
raise KeyError, str(e)
KeyError: 'no such column: localpath'


#
# Results for 'koji regen-repo dist-f15-build'
#
~]$ koji watch-logs 1803
Watching logs (this may be safely interrupted)...
^C[amessina@mws1 ~]$ koji watch-logs 1802
Watching logs (this may be safely interrupted)...
==> 1802:createrepo.log: <==
$ /usr/bin/createrepo -vd -o /tmp/koji/tasks/1802/1802/repo -u http://messinet.com/koji-mnt/packages -i /mnt/koji/repos/dist-f15-build/223/x86_64/pkglist -g /mnt/koji/repos/dist-f15-build/223/groups/comps.xml --update --skip-stat /mnt/koji/packages/
Scanning old repo data
Indexed 19950 base nodes
Indexed 19950 filelist nodes
Indexed 19950 other nodes
Spawning worker 0 with 29 pkgs
Worker 0: reading dahdi-linux-kmod/2.4.1.2/3.fc15/x86_64/kmod-dahdi-linux-2.4.1.2-3.fc15.x86_64.rpm
Worker 0: reading dahdi-linux-kmod/2.4.1.2/3.fc15/x86_64/kmod-dahdi-linux-2.6.38.6-27.fc15.x86_64-2.4.1.2-3.fc15.x86_64.rpm
Workers Finished
Gathering worker results

Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Starting other db creation: Thu May 26 21:35:04 2011
Ending other db creation: Thu May 26 21:35:05 2011
Starting filelists db creation: Thu May 26 21:35:05 2011
Ending filelists db creation: Thu May 26 21:35:06 2011
Starting primary db creation: Thu May 26 21:35:06 2011
Ending primary db creation: Thu May 26 21:35:06 2011
Sqlite DBs complete

==> 1802:mergerepos.log: <==
$ /usr/libexec/kojid/mergerepos -a x86_64 -b /mnt/koji/repos/dist-f15-build/223/x86_64/blocklist -o /tmp/koji/tasks/1802/1802/repo -g /mnt/koji/repos/dist-f15-build/223/groups/comps.xml -r file:///tmp/koji/tasks/1802/1802/repo_223_premerge/ -r file:///mnt/koji/mirrors/fedora/linux/updates/15/x86_64/ -r http://download1.rpmfusion.org/nonfree/fedora/development/x86_64/os/ -r http://download1.rpmfusion.org/free/fedora/development/x86_64/os/ -r file:///mnt/koji/mirrors/fedora/linux/releases/15/Everything/x86_64/os/
Adding repo: file:///tmp/koji/tasks/1802/1802/repo_223_premerge/
Adding repo: file:///mnt/koji/mirrors/fedora/linux/updates/15/x86_64/
Adding repo: http://download1.rpmfusion.org/nonfree/fedora/development/x86_64/os/
Adding repo: http://download1.rpmfusion.org/free/fedora/development/x86_64/os/
Adding repo: file:///mnt/koji/mirrors/fedora/linux/releases/15/Everything/x86_64/os/
Traceback (most recent call last):
File "/usr/libexec/kojid/mergerepos", line 247, in <module>
main(sys.argv[1:])
File "/usr/libexec/kojid/mergerepos", line 242, in main
merge.write_metadata()
File "/usr/libexec/kojid/mergerepos", line 222, in write_metadata
mdgen.doPkgMetadata()
File "/usr/lib/python2.7/site-packages/createrepo/__init__.py", line 395, in doPkgMetadata
self.writeMetadataDocs(packages)
File "/usr/lib/python2.7/site-packages/createrepo/__init__.py", line 587, in writeMetadataDocs
self.read_pkgs.append(po.localpath)
File "/usr/lib/python2.7/site-packages/yum/sqlitesack.py", line 270, in __getattr__
raise KeyError, str(e)
KeyError: 'no such column: localpath'--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys

Anthony Messina 05-28-2011 12:52 AM

Kojid unable to regen-repo in Fedora 15
 
On 05/26/2011 03:55 PM, Dennis Gilmore wrote:
> I need to look into this, Its due to changes in createrepo, if you grab the
> f14 createrepo it will work as a workaround
>
> Dennis

Thanks, I can confirm that createrepo-0.9.8-5.fc14.noarch works without
issue. -A

--
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E

--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys

Anthony Messina 06-22-2011 04:15 PM

Kojid unable to regen-repo in Fedora 15
 
On 05/26/2011 03:55 PM, Dennis Gilmore wrote:
> On Wednesday, May 25, 2011 08:51:18 PM Anthony Messina wrote:
>> > I'm running a Kojid instance, freshly upgraded from Fedora 14 -> 15. My
>> > koji hub is still running Fedora 14.
>> >
>> > When running a regen-repo, I now get this error:
>> >
>> > 2011-05-25 20:20:41,405 [WARNING] koji.TaskManager: TRACEBACK: Traceback
>> > (most recent call last):
>> > File "/usr/lib/python2.7/site-packages/koji/daemon.py", line 1114, in
>> > runTask
>> > response = (handler.run(),)
>> > File "/usr/lib/python2.7/site-packages/koji/tasks.py", line 146, in run
>> > return self.handler(*self.params,**self.opts)
>> > File "/usr/sbin/kojid", line 2552, in handler
>> > self.create_local_repo(rinfo, arch, pkglist, groupdata, oldrepo)
>> > File "/usr/sbin/kojid", line 2606, in create_local_repo
>> > % parseStatus(status, ' '.join(cmd))
>> > GenericError: failed to create repo: /usr/bin/createrepo -vd -o
>> > /tmp/koji/tasks/1796/1796/repo -u http://messinet.com/koji-mnt/packages
>> > -i /mnt/koji/repos/dist-f14-build/221/x86_64/pkglist -g
>> > /mnt/koji/repos/dist-f14-build/221/groups/comps.xml --update --skip-stat
>> > /mnt/koji/packages/ exited with status 1
>> >
>> > Any ideas on where I should go? Thanks in advance. -A
> I need to look into this, Its due to changes in createrepo, if you grab the
> f14 createrepo it will work as a workaround
>
> Dennis

Dennis, were you able to find a resolution in createrepo for this issue
on F15? Just checking. Thanks. -A

--
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E

--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys

Anthony Messina 07-29-2011 09:41 PM

Kojid unable to regen-repo in Fedora 15
 
On 05/26/2011 03:55 PM, Dennis Gilmore wrote:
> On Wednesday, May 25, 2011 08:51:18 PM Anthony Messina wrote:
>> > I'm running a Kojid instance, freshly upgraded from Fedora 14 -> 15. My
>> > koji hub is still running Fedora 14.
>> >
>> > When running a regen-repo, I now get this error:
>> >
>> > 2011-05-25 20:20:41,405 [WARNING] koji.TaskManager: TRACEBACK: Traceback
>> > (most recent call last):
>> > File "/usr/lib/python2.7/site-packages/koji/daemon.py", line 1114, in
>> > runTask
>> > response = (handler.run(),)
>> > File "/usr/lib/python2.7/site-packages/koji/tasks.py", line 146, in run
>> > return self.handler(*self.params,**self.opts)
>> > File "/usr/sbin/kojid", line 2552, in handler
>> > self.create_local_repo(rinfo, arch, pkglist, groupdata, oldrepo)
>> > File "/usr/sbin/kojid", line 2606, in create_local_repo
>> > % parseStatus(status, ' '.join(cmd))
>> > GenericError: failed to create repo: /usr/bin/createrepo -vd -o
>> > /tmp/koji/tasks/1796/1796/repo -u http://messinet.com/koji-mnt/packages
>> > -i /mnt/koji/repos/dist-f14-build/221/x86_64/pkglist -g
>> > /mnt/koji/repos/dist-f14-build/221/groups/comps.xml --update --skip-stat
>> > /mnt/koji/packages/ exited with status 1
>> >
>> > Any ideas on where I should go? Thanks in advance. -A
> I need to look into this, Its due to changes in createrepo, if you grab the
> f14 createrepo it will work as a workaround
>
> Dennis

Based on Seth's recommendation in
https://bugzilla.redhat.com/show_bug.cgi?id=718635

upgrading to createrepo-0.9.9-5.fc16.noarch from rawhide seems to
resolve this issue.

--
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E

--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys

Anthony Messina 08-04-2011 01:54 AM

Kojid unable to regen-repo in Fedora 15
 
On 07/29/2011 04:41 PM, Anthony Messina wrote:
> Based on Seth's recommendation in
> https://bugzilla.redhat.com/show_bug.cgi?id=718635
>
> upgrading to createrepo-0.9.9-5.fc16.noarch from rawhide seems to
> resolve this issue.

Well, while using either createrepo-0.9.9-4.fc15.noarch or
createrepo-0.9.9-5.fc16.noarch, I am able to successfully regenerate a
repo in Koji, but building a package in the resulting repo fails.

With the new createrepo versions, the repodata files contain sums:
tasks/2898/2898,
['9b19d6d5388866de3256ccf433020b2675678c74-filelists.xml.gz',
'da149cf3eedf43067a2409be98f09f6ac59b1d80-primary.xml.gz',
'14f7b241420a4283ebb06d9b5ded53789a52a716-comps.xml',
'cb4259761f5364bf6203071af4166b237fcdb54b-comps.xml.gz',
'5ddafbf985de1e52f3a4d86d210788dcdf9d12c9-other.sqlite.bz2',
'repomd.xml', '0c3c735cacccc61ee33be459ebb534c22428df38-pkgorigins.gz',
'42e1da88ccdfbdf44350fcc0fcdc554495f3f5c8-filelists.sqlite.bz2',
'a1c6e2a342d4b6d809a50ea2837f6ff8ae2b2c06-primary.sqlite.bz2',
'701919d49a2a98ff685164900e49a1989dfeff1a-other.xml.gz']

With the older stable f14 version, the repodata files don't:
tasks/2878/2878, ['primary.xml.gz', 'comps.xml', 'other.sqlite.bz2',
'filelists.sqlite.bz2', 'filelists.xml.gz', 'repomd.xml',
'primary.sqlite.bz2', 'pkgorigins.gz', 'other.xml.gz', 'comps.xml.gz']

The builds fail with:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/koji/daemon.py", line 1114, in
runTask
response = (handler.run(),)
File "/usr/lib/python2.7/site-packages/koji/tasks.py", line 146, in run
return self.handler(*self.params,**self.opts)
File "/usr/sbin/kojid", line 2129, in handler
broot.init()
File "/usr/sbin/kojid", line 373, in init
self.session.host.setBuildRootList(self.id,self.ge tPackageList())
File "/usr/sbin/kojid", line 456, in getPackageList
self.markExternalRPMs(ret)
File "/usr/sbin/kojid", line 559, in markExternalRPMs
fo = koji.openRemoteFile(relpath, **opts)
File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1376,
in openRemoteFile
fo = open(fn)
IOError: [Errno 2] No such file or directory:
'/mnt/koji//repos/dist-f15-build/386/x86_64/repodata/pkgorigins.gz'

Referring to https://bugzilla.redhat.com/show_bug.cgi?id=718635 (a
createrepo ticket), is this now a Koji issue?

--
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E

--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys

Paul Howarth 08-04-2011 06:35 AM

Kojid unable to regen-repo in Fedora 15
 
On Wed, 03 Aug 2011 20:54:34 -0500
Anthony Messina <amessina@messinet.com> wrote:

> On 07/29/2011 04:41 PM, Anthony Messina wrote:
> > Based on Seth's recommendation in
> > https://bugzilla.redhat.com/show_bug.cgi?id=718635
> >
> > upgrading to createrepo-0.9.9-5.fc16.noarch from rawhide seems to
> > resolve this issue.
>
> Well, while using either createrepo-0.9.9-4.fc15.noarch or
> createrepo-0.9.9-5.fc16.noarch, I am able to successfully regenerate a
> repo in Koji, but building a package in the resulting repo fails.
>
> With the new createrepo versions, the repodata files contain sums:
> tasks/2898/2898,
> ['9b19d6d5388866de3256ccf433020b2675678c74-filelists.xml.gz',
> 'da149cf3eedf43067a2409be98f09f6ac59b1d80-primary.xml.gz',
> '14f7b241420a4283ebb06d9b5ded53789a52a716-comps.xml',
> 'cb4259761f5364bf6203071af4166b237fcdb54b-comps.xml.gz',
> '5ddafbf985de1e52f3a4d86d210788dcdf9d12c9-other.sqlite.bz2',
> 'repomd.xml',
> '0c3c735cacccc61ee33be459ebb534c22428df38-pkgorigins.gz',
> '42e1da88ccdfbdf44350fcc0fcdc554495f3f5c8-filelists.sqlite.bz2',
> 'a1c6e2a342d4b6d809a50ea2837f6ff8ae2b2c06-primary.sqlite.bz2',
> '701919d49a2a98ff685164900e49a1989dfeff1a-other.xml.gz']
>
> With the older stable f14 version, the repodata files don't:
> tasks/2878/2878, ['primary.xml.gz', 'comps.xml', 'other.sqlite.bz2',
> 'filelists.sqlite.bz2', 'filelists.xml.gz', 'repomd.xml',
> 'primary.sqlite.bz2', 'pkgorigins.gz', 'other.xml.gz', 'comps.xml.gz']
>
> The builds fail with:
> Traceback (most recent call last):
> File "/usr/lib/python2.7/site-packages/koji/daemon.py", line 1114,
> in runTask
> response = (handler.run(),)
> File "/usr/lib/python2.7/site-packages/koji/tasks.py", line 146, in
> run return self.handler(*self.params,**self.opts)
> File "/usr/sbin/kojid", line 2129, in handler
> broot.init()
> File "/usr/sbin/kojid", line 373, in init
> self.session.host.setBuildRootList(self.id,self.ge tPackageList())
> File "/usr/sbin/kojid", line 456, in getPackageList
> self.markExternalRPMs(ret)
> File "/usr/sbin/kojid", line 559, in markExternalRPMs
> fo = koji.openRemoteFile(relpath, **opts)
> File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1376,
> in openRemoteFile
> fo = open(fn)
> IOError: [Errno 2] No such file or directory:
> '/mnt/koji//repos/dist-f15-build/386/x86_64/repodata/pkgorigins.gz'
>
> Referring to https://bugzilla.redhat.com/show_bug.cgi?id=718635 (a
> createrepo ticket), is this now a Koji issue?

Can koji be persuaded to use "createrepo --simple-md-filenames"?

Paul.
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys

Anthony Messina 08-04-2011 10:52 PM

Kojid unable to regen-repo in Fedora 15
 
On 08/04/2011 01:35 AM, Paul Howarth wrote:
> On Wed, 03 Aug 2011 20:54:34 -0500
> Anthony Messina <amessina@messinet.com> wrote:
>
>> > On 07/29/2011 04:41 PM, Anthony Messina wrote:
>>> > > Based on Seth's recommendation in
>>> > > https://bugzilla.redhat.com/show_bug.cgi?id=718635
>>> > >
>>> > > upgrading to createrepo-0.9.9-5.fc16.noarch from rawhide seems to
>>> > > resolve this issue.
>> >
>> > Well, while using either createrepo-0.9.9-4.fc15.noarch or
>> > createrepo-0.9.9-5.fc16.noarch, I am able to successfully regenerate a
>> > repo in Koji, but building a package in the resulting repo fails.
>> >
>> > With the new createrepo versions, the repodata files contain sums:
>> > tasks/2898/2898,
>> > ['9b19d6d5388866de3256ccf433020b2675678c74-filelists.xml.gz',
>> > 'da149cf3eedf43067a2409be98f09f6ac59b1d80-primary.xml.gz',
>> > '14f7b241420a4283ebb06d9b5ded53789a52a716-comps.xml',
>> > 'cb4259761f5364bf6203071af4166b237fcdb54b-comps.xml.gz',
>> > '5ddafbf985de1e52f3a4d86d210788dcdf9d12c9-other.sqlite.bz2',
>> > 'repomd.xml',
>> > '0c3c735cacccc61ee33be459ebb534c22428df38-pkgorigins.gz',
>> > '42e1da88ccdfbdf44350fcc0fcdc554495f3f5c8-filelists.sqlite.bz2',
>> > 'a1c6e2a342d4b6d809a50ea2837f6ff8ae2b2c06-primary.sqlite.bz2',
>> > '701919d49a2a98ff685164900e49a1989dfeff1a-other.xml.gz']
>> >
>> > With the older stable f14 version, the repodata files don't:
>> > tasks/2878/2878, ['primary.xml.gz', 'comps.xml', 'other.sqlite.bz2',
>> > 'filelists.sqlite.bz2', 'filelists.xml.gz', 'repomd.xml',
>> > 'primary.sqlite.bz2', 'pkgorigins.gz', 'other.xml.gz', 'comps.xml.gz']
>> >
>> > The builds fail with:
>> > Traceback (most recent call last):
>> > File "/usr/lib/python2.7/site-packages/koji/daemon.py", line 1114,
>> > in runTask
>> > response = (handler.run(),)
>> > File "/usr/lib/python2.7/site-packages/koji/tasks.py", line 146, in
>> > run return self.handler(*self.params,**self.opts)
>> > File "/usr/sbin/kojid", line 2129, in handler
>> > broot.init()
>> > File "/usr/sbin/kojid", line 373, in init
>> > self.session.host.setBuildRootList(self.id,self.ge tPackageList())
>> > File "/usr/sbin/kojid", line 456, in getPackageList
>> > self.markExternalRPMs(ret)
>> > File "/usr/sbin/kojid", line 559, in markExternalRPMs
>> > fo = koji.openRemoteFile(relpath, **opts)
>> > File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1376,
>> > in openRemoteFile
>> > fo = open(fn)
>> > IOError: [Errno 2] No such file or directory:
>> > '/mnt/koji//repos/dist-f15-build/386/x86_64/repodata/pkgorigins.gz'
>> >
>> > Referring to https://bugzilla.redhat.com/show_bug.cgi?id=718635 (a
>> > createrepo ticket), is this now a Koji issue?
> Can koji be persuaded to use "createrepo --simple-md-filenames"?
>
> Paul.

If there exists such a way, I am not sure how to go about invoking it. -A

--
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E

--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys


All times are GMT. The time now is 06:54 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.