<br><tt><font size=2>Joe Todaro/Poughkeepsie/IBM wrote on 11/01/2006 01:33:47
PM:<br>
<br>
> Dan Williams wrote on 10/31/2006 01:00:45 PM:<br>
> <br>
> > On Fri, 2006-10-27 at 02:01 -0400, Joe Todaro wrote:<br>
> > > <br>
> > > Hi, <br>
> > > <br>
> > > Has anyone ever seen a yum/depsolve-related error like this
before in<br>
> > > their *plague-0.5.0* build environment, and then tried *killing*
the<br>
> > > job that had caused it?   This was problem three of
three which I had<br>
> > > mentioned in my previous posts.   And it too had surfaced
last week<br>
> > > while we started stress-testing our buildsystem.  
Actually, the error<br>
> > > you see below in itself was *not* the problem (we knew how
to fix<br>
> > > that) -- rather, it was the fact that we were *unable* to
kill the job<br>
> > > (plague-client kill 204) that was responsible for causing
the error.  <br>
> > <br>
> > Fix has been committed to HEAD, attaching the patch for your<br>
> > convenience.</font></tt>
<br><tt><font size=2>> <br>
> OK, I've installed the patch, restarted the server, and submitted
the </font></tt>
<br><tt><font size=2>> build request.  </font></tt>
<br><tt><font size=2>> <br>
> Here's the error that occurred this time:</font></tt>
<br><tt><font size=2>> <br>
> 364 (fuse-sshfs): Starting tag 'fuse-sshfs-1_6-4_ocrhel4' on target
<br>
> 'oc-rhel4-pre'</font></tt>
<br><tt><font size=2>> 364 (fuse-sshfs): Requesting depsolve...</font></tt>
<br><tt><font size=2>> 364 (fuse-sshfs): Starting depsolve for arches:
['x86_64', 'i386'].</font></tt>
<br><tt><font size=2>> Exception in thread PackageJob: 364/fuse-sshfs:</font></tt>
<br><tt><font size=2>> Traceback (most recent call last):</font></tt>
<br><tt><font size=2>>   File "/usr/lib64/python2.3/threading.py",
line 436, in __bootstrap</font></tt>
<br><tt><font size=2>>     self.run()</font></tt>
<br><tt><font size=2>>   File "/usr/share/plague/server/PackageJob.py",
line 93, in run</font></tt>
<br><tt><font size=2>>     self._pkg_job.process()</font></tt>
<br><tt><font size=2>>   File "/usr/share/plague/server/PackageJob.py",
line 741, in process</font></tt>
<br><tt><font size=2>>     if func():</font></tt>
<br><tt><font size=2>>   File "/usr/share/plague/server/PackageJob.py",
line 609, in _stage_depsolve</font></tt>
<br><tt><font size=2>>     if self._arch_deps_solved(arch)
== False:</font></tt>
<br><tt><font size=2>>   File "/usr/share/plague/server/PackageJob.py",
line 513, in <br>
> _arch_deps_solved</font></tt>
<br><tt><font size=2>>     base.log = logger.Logger(threshold=threshold,
file_object=sys.stdout)</font></tt>
<br><tt><font size=2>> NameError: global name 'logger' is not defined</font></tt>
<br>
<br><tt><font size=2>I got it working tho in the meantime by removing the
code 'logger.' from </font></tt>
<br><tt><font size=2>the beginning of the command on the next line:</font></tt>
<br>
<br><tt><font size=2>  base.log = logger.Logger(threshold=threshold,
file_object=sys.stdout)</font></tt>
<br>
<br><tt><font size=2>Here's the new error message, by the way, successfully
reporting a </font></tt>
<br><tt><font size=2>package dependency we need t fix: </font></tt>
<br>
<br><tt><font size=2>366 (fuse-sshfs): Requesting depsolve...</font></tt>
<br><tt><font size=2>366 (fuse-sshfs): Starting depsolve for arches: ['x86_64',
'i386'].</font></tt>
<br><tt><font size=2>Exception in thread PackageJob: 366/fuse-sshfs:</font></tt>
<br><tt><font size=2>Traceback (most recent call last):</font></tt>
<br><tt><font size=2>  File "/usr/lib64/python2.3/threading.py",
line 436, in __bootstrap</font></tt>
<br><tt><font size=2>    self.run()</font></tt>
<br><tt><font size=2>  File "/usr/share/plague/server/PackageJob.py",
line 93, in run</font></tt>
<br><tt><font size=2>    self._pkg_job.process()</font></tt>
<br><tt><font size=2>  File "/usr/share/plague/server/PackageJob.py",
line 743, in process</font></tt>
<br><tt><font size=2>    if func():</font></tt>
<br><tt><font size=2>  File "/usr/share/plague/server/PackageJob.py",
line 610, in _stage_depsolve</font></tt>
<br><tt><font size=2>    if self._arch_deps_solved(arch) == False:</font></tt>
<br><tt><font size=2>  File "/usr/share/plague/server/PackageJob.py",
line 548, in _arch_deps_solved</font></tt>
<br><tt><font size=2>    pkg = base.returnPackageByDep(dep)</font></tt>
<br><tt><font size=2>  File "__init__.py", line 1342, in
returnPackageByDep</font></tt>
<br><tt><font size=2>YumBaseError: No Package found for fuse-devel</font></tt>
<br>
<br>
<br><tt><font size=2>Thanks so much!!</font></tt>
<br><tt><font size=2>  Joe</font></tt>
<br>
<br><tt><font size=2>>   </font></tt>
<br><tt><font size=2>> Thanks again!</font></tt>
<br><tt><font size=2>> Joe</font></tt>
<br><tt><font size=2>> <br>
> > <br>
> > Thanks!<br>
> > Dan<br>
> > <br>
> > > ====== THE ERROR ====== <br>
> > > 204 (fuse-sshfs): Starting tag 'fuse-sshfs-1_6-4_ocrhel4'
on target<br>
> > > 'oc-rhel4-pre' <br>
> > > 204 (fuse-sshfs): Requesting depsolve... <br>
> > > 204 (fuse-sshfs): Starting depsolve for arches: ['x86_64',
'i386',<br>
> > > 'i686']. <br>
> > > Exception in thread PackageJob: 204/fuse-sshfs: <br>
> > > Traceback (most recent call last): <br>
> > >   File "/usr/lib64/python2.3/threading.py",
line 436, in __bootstrap <br>
> > >     self.run() <br>
> > >   File "/usr/share/plague/server/PackageJob.py",
line 86, in run <br>
> > >     self._pkg_job.process() <br>
> > >   File "/usr/share/plague/server/PackageJob.py",
line 753, in process <br>
> > >     if func(): <br>
> > >   File "/usr/share/plague/server/PackageJob.py",
line 618, in<br>
> > > _stage_depsolve <br>
> > >     if self._arch_deps_solved(arch) == False:
<br>
> > >   File "/usr/share/plague/server/PackageJob.py",
line 562, in<br>
> > > _arch_deps_solved <br>
> > >     except yum.Errors.PackageSackError, exc: <br>
> > > AttributeError: 'module' object has no attribute 'PackageSackError'
<br>
> > > <br>
> > > ====== OUR FIX ======  <br>
> > > We updated line 680 in the *die* method of the<br>
> > > */usr/share/plague/server/PackageJob.py * module.  
Here's the patch: <br>
> > > <br>
> > > <br>
> > > Again, can someone please review the fix..  We just
want to make sure<br>
> > > that it won't come back to *haunt* us later on / or possibly
even be<br>
> > > *masking* another problem.   Thank you. <br>
> > > <br>
> > > -Joe <br>
> > > --<br>
> > > Fedora-buildsys-list mailing list<br>
> > > Fedora-buildsys-list@redhat.com<br>
> > > https://www.redhat.com/mailman/listinfo/fedora-buildsys-list<br>
> > [attachment "old-yum-fixes.patch" deleted by Joe Todaro/Poughkeepsie/IBM]
--<br>
> > Fedora-buildsys-list mailing list<br>
> > Fedora-buildsys-list@redhat.com<br>
> > https://www.redhat.com/mailman/listinfo/fedora-buildsys-list</font></tt>