Age | Commit message (Collapse) | Author | Files |
|
based on a patch by RP
|
|
|
|
discussed on the ml)
|
|
instead of PN-PV-PR-task
* mentions failed task now in bug comment
|
|
function
|
|
|
|
Logged into the box
Adding log file /data/build/koen/OE/build/tmp/angstrom/work/arm-oabi-angstrom-linux/failme-1.0-r0/temp/log.do_configure.23635
Trying http://bugs.openembedded.org/buglist.cgi?product=Openembedded&component=build&short_desc_type=substring&short_desc=failme-1.0-r0-do_configure
Result of bug search is
Bug is open: False and bug number: 2747
Reopened the bug #2747
Got exception in poster.open( attach_query, param )
Failed to attach the build log for bug #2747
|
|
|
|
properly, more debugging added
BitBake 1.8 is firing NoProvider in non fatal cases. We have to honor
that for now.
|
|
|
|
* better error messages
* fixed bug creation and attachment handling
* now reports machine in bug content (till we have a machine section in bugzilla)
|
|
Norprovider for that)
|
|
|
|
* grrrrr, stupid python
|
|
-Properly quote the PR, PV and such.
-Log communication with the bugzilla to a log file for inspection.
|
|
|
|
|
|
Do not error out on python2.5 when splitting the url. We had
an empty key and a none value.
If there was no output file, do not error. This check is the same
as in tinderclient.bbclass
|
|
OE's bugtracker has different classes for the buglist. I try hard
to parse them all. All severities should be handled.
|
|
of using comments
The limit of comments is too low. Use attachments to work around this
issue. Also start using HTTP post to avoid really long URLs. They lead
to a pipe error.
To post we use a MultiPartPoster which is licensed LGPL and can be freely
downloaded. You need to put it into the PYTHONPATH
Add a new variable for creating attachments and document it.
|
|
This class can find the broken bug, reopen it, or leave it open.
There is some issue with sending the logfile to the server, the
url itself is correct, when opened in a browser the right thing
happens but not from within python *sigh* need a working tcpdump
to look into this (which means I will continue tomorrow)
|
|
|
|
It is time to try it
|
|
Posting bugs should work (besides typos), now only reopening bugs
is missing.
|
|
bugzilla directly
Start adding seppuku. It listens to TaskFailed and NoProvider failures
logs into a bugzilla and calls empty stubs to find a bug report.
We use the urllib2 and cookielib from python2.4 to handle the session
cookie for us automatically. This library is sadly not present in python2.3
but it eases my life.
The old BugZilla installed at OpenMoko has no support for listing the
bug report as csv or xml file, this will force me to parse the HTML which
I will do for now. This assumes that only one bug report with the exact
name can exist.
|