Delete a build from a tag, How to do ?
by Jian Lee
Hello, everyone
I want to delete a build from a tag, How should I do ?
example, the tag tms2.0 have following build:
-------------------------------------------------
b43-fwcutter-011-5.tms2 michaelw 2009-06-19 09:52:18 complete
=================================================================
I first try to delete the build from tms2.0 tag by following cmd:
----------------
# koji call deleteBuild b43-fwcutter-011-5.tms2 tms2.0
GenericError: Cannot delete build, tagged: [{'id': 10, 'name': 'tms2.0'}]
==================================================
Did a use a wrong api ? or did I can delete a build from a tag use
kojihub api ? Must to direct do on postgresql ?
Any help i'll appreciate !
Thanks,
14 years, 9 months
How the koji test kojibuilder* is alive ?
by Jian Lee
I've found that if a kojibuilder* is dead, The kojihub can't found that.
--------------------------------
root@jianlee:~/work/koji# koji list-hosts
Hostname Enb Rdy Load/Cap Arches Last Update
kojibuilder1 N N 0.0/2.0 i386,x86_64 2009-06-19 10:39:12
kojibuilder2 Y Y 0.0/2.0 ia64 2009-06-17 10:41:20
kojibuilder3 Y Y 0.0/2.0 x86_64,i386 2009-06-23 10:30:32
==================================================================================
the kojibuilder2 is ia64 machine, it's last updata time is "2009-06-17
10:41:20". It's must dead now. but why the Rdy is "Y" yet ?
Thanks,
--
Jian Lee
MSN : lijian.gnu(a)gmail.com
14 years, 9 months
How to remove the large directory after build ?
by Jian Lee
Hello,everybody!
My koji server has setup ok. but the mock dir is more and more large. How to
remove it ?
I mean if koji has this feature,I doesn't to do it myself. Is anyone can
help me ?
my mock directory info :
------------------------------------
651M gtes11.2-build-10-9
18M gtes11.2-build-13-10
5.6M gtes11.2-build-15-15
549M gtes11.2-build-1-6
5.5M gtes11.2-build-16-15
18M gtes11.2-build-18-18
18M gtes11.2-build-19-18
579M gtes11.2-build-21-20
560M gtes11.2-build-22-20
3.5G gtes11.2-build-23-26
548M gtes11.2-build-2-6
567M gtes11.2-build-3-6
583M gtes11.2-build-5-9
562M gtes11.2-build-6-9
670M gtes11.2-build-9-9
6.2M gtes11.3-build-24-28
6.1M gtes11.3-build-25-28
637M gtes11.3-build-26-30
609M gtes11.3-build-28-30
3.5G gtes11.3-build-30-30
3.0G gtes11.3-build-31-30
1.8G gtes11.3-build-32-32
1.8G gtes11.3-build-34-32
583M gtes11.3-build-35-33
562M gtes11.3-build-37-33
888M gtes11.3-build-39-34
852M gtes11.3-build-40-34
408M moblin2-build-41-38
417M moblin2-build-42-39
==================================
Thanks!
--
李建
msn lijian.gnu(a)gmail.com
14 years, 9 months
How is average calculated?
by Jitesh Shah
Hi,
I was wondering how the average load on a builder is calculated?
I have a builder which is simply refuses to take tasks (not even one)
[jitesh@fedora-arm ~]$ koji list-tasks | grep armbuilder39
<NIL OUTPUT>
(and there are about 9 tasks still queued. The other builders are busy,
so they are in the FREE state)
which means the builder isn't processing any task, right?
now, here is kojid tail of that builder..
2009-06-17 08:54:07,628 [INFO] koji.build.TaskManager: Not ready for task
2009-06-17 08:54:28,466 [INFO] koji.build.TaskManager: Load average 6.09 > 4.00
2009-06-17 08:54:30,365 [INFO] koji.build.TaskManager: Not ready for task
2009-06-17 08:54:50,136 [INFO] koji.build.TaskManager: Load average 6.00 > 4.00
2009-06-17 08:54:51,268 [INFO] koji.build.TaskManager: Not ready for task
2009-06-17 08:55:11,708 [INFO] koji.build.TaskManager: Load average 5.75 > 4.00
2009-06-17 08:55:13,622 [INFO] koji.build.TaskManager: Not ready for task
2009-06-17 08:55:34,318 [INFO] koji.build.TaskManager: Load average 5.85 > 4.00
2009-06-17 08:55:36,339 [INFO] koji.build.TaskManager: Not ready for task
2009-06-17 08:55:56,769 [INFO] koji.build.TaskManager: Load average 5.68 > 4.00
2009-06-17 08:55:58,507 [INFO] koji.build.TaskManager: Not ready for task
How does it end up calculating 5.5+ load average when it is not even
executing a single task?
Regards,
Jitesh
14 years, 9 months
mergerepos issue
by Jitesh Shah
Hi all,
I have attached an external repo to one of my build tags. After
attaching the repo, I issued a "koji regen-repo <tag>". This is what I
get:
1348/2199 - kde-l10n-Walloon-4.2.2-1.fc11.noarch
1349/2199 - kde-l10n-Lithuanian-4.2.2-1.fc11.noarch
1350/2199 - 1:perl-Error-0.17015-2.fc11.noarch
Traceback (most recent call last):
File "/usr/libexec/kojid/mergerepos", line 241, in <module>
main(sys.argv[1:])
File "/usr/libexec/kojid/mergerepos", line 236, in main
merge.write_metadata()
File "/usr/libexec/kojid/mergerepos", line 216, in write_metadata
mdgen.doPkgMetadata()
File "/usr/lib/python2.5/site-packages/createrepo/__init__.py", line 364, in doPkgMetadata
self.writeMetadataDocs(packages)
File "/usr/lib/python2.5/site-packages/createrepo/__init__.py", line 527, in writeMetadataDocs
self.primaryfile.write(po.xml_dump_primary_metadata())
File "/usr/lib/python2.5/site-packages/yum/packages.py", line 1015, in xml_dump_primary_metadata
msg += misc.to_unicode(self._dump_format_items())
File "/usr/lib/python2.5/site-packages/yum/packages.py", line 894, in _dump_format_items
msg += self._dump_pco('provides')
File "/usr/lib/python2.5/site-packages/yum/packages.py", line 919, in _dump_pco
msg += pcostring
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 28: ordinal not in range(128)
Unicode error?
I don't get it!
Any pointers?
Regards,
Jitesh
14 years, 9 months
NewRepo headache
by Michael Schwendt
$ koji latest-pkg dist-f12 mcs
Build Tag Built by
---------------------------------------- -------------------- ----------------
mcs-0.7.1-4.fc12 dist-f12 mschwendt
$ koji latest-pkg dist-f12-build mcs
Build Tag Built by
---------------------------------------- -------------------- ----------------
mcs-0.7.1-4.fc12 dist-f12 mschwendt
Additionally, I've waited for the NewRepo task to complete.
And still the next build fails due to an unresolvable dep as it only
is seeing the previous mcs package release. Is that due to mock related
caches or what?
How to _reliably_ wait for a new package to become available in
the buildroot?
14 years, 9 months
When I modified the koji server'ip from one to another, the yum use the old ip already!
by Jian Lee
My koji server have kojihub,kojiweb,kojira,kojid, When I modified the server
ip from 172.16.70.249 to 172.16.70.33 . I modified the
kojira,kojid,kojihub,kojiweb's ip info . But the yum also use 172.16.70.249
. I already "koji regen-repo" also.
---------------------------
/usr/bin/yum --installroot /dist/mock/moblin2-build-55-45/root/
groupinstall build
...
udev i586 136-22.1.moblin2 build 337
k
unzip i586 5.52-12.119.moblin2 build
138 k
usleep i586 1-1.43.moblin2 build 5.7 k
util-linux-ng i586 2.14.1-11.26.moblin2 build
2.0 M
zlib i586 1.2.3-29.4.moblin2 build
48 k
Transaction Summary
=============================================================================
Install 105 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 84 M
http://172.16.70.249/packages/bash/3.2/29.3.moblin2/i586/bash-3.2-29.3.mo...:
[Errno 4] IOError: <urlopen error (113,
'\xe6\xb2\xa1\xe6\x9c\x89\xe5\x88\xb0\xe4\xb8\xbb\xe6\x9c\xba\xe7\x9a\x84\xe8\xb7\xaf\xe7\x94\xb1')>
Trying other mirror.
http://172.16.70.249/packages/less/418/9.14.moblin2/i586/less-418-9.14.mo...:
[Errno 4] IOError: <urlopen error (114,
'\xe6\x93\x8d\xe4\xbd\x9c\xe5\xb7\xb2\xe7\xbb\x8f\xe5\x9c\xa8\xe8\xbf\x9b\xe8\xa1\x8c')>
Trying other mirror.
==========================
Did anyone can help me ? Thanks for you help!
--
李建
msn lijian.gnu(a)gmail.com
14 years, 9 months
Re:Fedora-buildsys-list Digest, Vol 52, Issue 2
by lixiao-a
Thanks for your help ,but I still have the problem.I copied the virtual machines to a new PC.so the yum depository still visit the old IP.So the mock buildroot init has error.How to make it visit the new IP?Could you help me?
14 years, 9 months
No child processes
by lixiao-a
I have copied four virtual machines to the server from my PC,but it shows this error.425 build (dist-kylin, system-config-network-1.3.99-TJ.src.rpm): open (kojid) -> FAILED: Fault: <Fault 1: 'Traceback (most recent call last):\n File "/usr/sbin/kojid", line 1275, in runTask\n response = (handler.run(),)\n File "/usr/sbin/kojid", line 1351, in run\n return self.handler(*self.params,**self.opts)\n File "/usr/sbin/kojid", line 2009, in handler\n broot.init()\n File "/usr/sbin/kojid", line 467, in init\n rv = self.mock([\'--init\'])\n File "/usr/sbin/kojid", line 389, in mock\n status = os.waitpid(pid, os.WNOHANG)\nOSError: [Errno 10] No child processes\n'> Please help me.
14 years, 9 months