[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: koji server installation



On Thu, 2007-10-18 at 10:07 -0400, Bernardo Innocenti wrote:
> Bernardo Innocenti wrote:
> 
> > Is koji 1.2.2 the version you're really
> > running on koji.fedoraproject.org?  After some
> 
> [oops, it seems I've hit Send too quickly]
> 
> ...After some attempts with the old RPMs from F7, I cloned
> the git repository and rebuilt RPMs off the master branch.
> No better luck.
> 
> With both the stable version and the snapshot, when the server
> gets "stuck" building a package, it permanently stores broken
> records in the database, and the main page of the web interface
> barfs a big stack trace ending up with:
> 
>   File "/usr/lib/python2.5/site-packages/koji/__init__.py", line 1304, in _callMethod
>     raise convertFault(fault)
> 
>   Fault: <Fault 1: "<type 'exceptions.TypeError'>: cannot marshal <class 'xmlrpclib.Fault'> objects">
> 
> 
> The records I need to delete are:
> 
> COPY task (id, state, create_time, completion_time, channel_id, host_id, parent, label, waiting, awaited, "owner", method, request, result, eta, arch, priority, weight) FROM stdin;
> 3748    5       2007-10-18 09:47:47.978694      2007-10-18 09:47:54.569714      1       1       \N      \N      \N      \N      1       build   <?xml version='1.0'?>\n<methodCall>\n<methodName>build</methodName>\n<params>\n<param>\n<value><string>cli-build/1192715259.2614679.APWGZpwg/xorg-x11-proto-devel-7.2-13.olpc2.src.rpm</string></value>\n</param>\n<param>\n<value><string>dist-olpc2</string></value>\n</param>\n<param>\n<value><struct>\n<member>\n<name>skip_tag</name>\n<value><nil/></value></member>\n<member>\n<name>scratch</name>\n<value><nil/></value></member>\n</struct></value>\n</param>\n</params>\n</methodCall>\n    <?xml version='1.0'?>\n<methodResponse>\n<fault>\n<value><struct>\n<member>\n<name>faultCode</name>\n<value><int>1005</int></value>\n</member>\n<member>\n<name>faultString</name>\n<value><string>package xorg-x11-proto-devel not in list for tag dist-olpc2</string></value>\n</member>\n</struct></value>\n</fault>\n</methodResponse>\n    \N      noarch  20 !
    
>   0.20000000000000001
> 3749    1       2007-10-18 09:50:05.047597      \N      1       1       \N      \N      t       \N      1       build   <?xml version='1.0'?>\n<methodCall>\n<methodName>build</methodName>\n<params>\n<param>\n<value><string>cli-build/1192715395.710408.UfURJSZh/xorg-x11-proto-devel-7.2-13.olpc2.src.rpm</string></value>\n</param>\n<param>\n<value><string>dist-olpc2</string></value>\n</param>\n<param>\n<value><struct>\n<member>\n<name>skip_tag</name>\n<value><nil/></value></member>\n<member>\n<name>scratch</name>\n<value><boolean>1</boolean></value>\n</member>\n</struct></value>\n</param>\n</params>\n</methodCall>\n     \N      \N      noarch  20      0.20000000000000001
> 3750    1       2007-10-18 09:50:17.777683      \N      1       1       3749    i386    \N      t       1       buildArch       <?xml version='1.0'?>\n<methodCall>\n<methodName>buildArch</methodName>\n<params>\n<param>\n<value><string>cli-build/1192715395.710408.UfURJSZh/xorg-x11-proto-devel-7.2-13.olpc2.src.rpm</string></value>\n</param>\n<param>\n<value><int>2</int></value>\n</param>\n<param>\n<value><string>i386</string></value>\n</param>\n<param>\n<value><boolean>1</boolean></value>\n</param>\n</params>\n</methodCall>\n       \N      \N      i386    19      1.5
> \.

This is caused by a regression in python xmlrpclib in 2.5.  A patched
python package is available here:

http://koji.fedoraproject.org/koji/buildinfo?buildID=21576

Take a look at http://bugs.python.org/issue1739842 for the gory details.

In terms of your other problems, you need to to bootstrap Koji by
importing a bunch of pre-built packages so Koji is able to populate a
buildroot and satisfy BuildRequires.  I'm writing up a bootstrapping
guide, I'll point you at it when it's posted.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]