Closed
Bug 1195463
Opened 10 years ago
Closed 10 years ago
Windows sendchange failure: exceptions.KeyError: partialMarUrl/packageUrl
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: aleth, Assigned: mshal)
Details
Attachments
(1 file)
1.03 KB,
patch
|
nthomas
:
review+
mshal
:
checked-in+
|
Details | Diff | Splinter Review |
Busts comm-central Linux and Windows builds, e.g.
https://treeherder.mozilla.org/logviewer.html#?job_id=22748&repo=comm-central
https://treeherder.mozilla.org/logviewer.html#?job_id=22751&repo=comm-central
========= Started sendchange (results: 2, elapsed: 0 secs) (at 2015-08-15 15:48:31.016943) =========
[Failure instance: Traceback: <type 'exceptions.KeyError'>: 'packageUrl'
/builds/buildbot/build1/lib/python2.7/site-packages/twisted/internet/defer.py:260:addCallback
/builds/buildbot/build1/lib/python2.7/site-packages/twisted/internet/defer.py:249:addCallbacks
/builds/buildbot/build1/lib/python2.7/site-packages/twisted/internet/defer.py:441:_runCallbacks
/builds/buildbot/build1/lib/python2.7/site-packages/buildbot-0.8.2_hg_808f68cc2960_production_0.8-py2.7.egg/buildbot/process/buildstep.py:769:_startStep_2
--- <exception caught here> ---
/builds/buildbot/build1/lib/python2.7/site-packages/buildbotcustom/steps/misc.py:109:start
/builds/buildbot/build1/lib/python2.7/site-packages/buildbot-0.8.2_hg_808f68cc2960_production_0.8-py2.7.egg/buildbot/process/properties.py:108:render
/builds/buildbot/build1/lib/python2.7/site-packages/buildbot-0.8.2_hg_808f68cc2960_production_0.8-py2.7.egg/buildbot/process/properties.py:106:render
/builds/buildbot/build1/lib/python2.7/site-packages/buildbot-0.8.2_hg_808f68cc2960_production_0.8-py2.7.egg/buildbot/process/properties.py:194:render
/builds/buildbot/build1/lib/python2.7/site-packages/buildbot-0.8.2_hg_808f68cc2960_production_0.8-py2.7.egg/buildbot/process/properties.py:169:__getitem__
/builds/buildbot/build1/lib/python2.7/site-packages/buildbot-0.8.2_hg_808f68cc2960_production_0.8-py2.7.egg/buildbot/process/properties.py:50:__getitem__
]
========= Finished sendchange (results: 2, elapsed: 0 secs) (at 2015-08-15 15:48:31.017954) =========
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Reporter | ||
Comment 13•10 years ago
|
||
Appears to have resolved itself on Linux for some reason.
Windows still fails with exceptions.KeyError: 'partialMarUrl'
Summary: Linux/Windows sendchange failure: 'exceptions.KeyError': 'packageUrl' in buildstep.py:769:_startStep_2 → Windows sendchange failure: 'exceptions.KeyError': 'partialMarUrl' in buildstep.py:769:_startStep_2
Comment hidden (Legacy TBPL/Treeherder Robot) |
Reporter | ||
Comment 15•10 years ago
|
||
Windows now fails with [Failure instance: Traceback: <type 'exceptions.KeyError'>: 'packageUrl']
No obvious reason for the change.
Reporter | ||
Updated•10 years ago
|
Summary: Windows sendchange failure: 'exceptions.KeyError': 'partialMarUrl' in buildstep.py:769:_startStep_2 → Windows sendchange failure: exceptions.KeyError: partialMarUrl/packageUrl
Comment 16•10 years ago
|
||
Nick, please can you say what could be wrong here? The mar files and also the binaries are on the ftp server.
Flags: needinfo?(nthomas)
Comment 17•10 years ago
|
||
mshal, you might know more here. It appears that packageUrl is not being parsed out of make upload output, eg at http://buildbot-master85.bb.releng.scl3.mozilla.com:8001/builders/TB%20WINNT%205.2%20comm-central%20build/builds/32. This is using the old-school method, no mach automation or TC here.
aleth, Paenglab - it would be super helpful to know when this first started.
Flags: needinfo?(nthomas) → needinfo?(mshal)
Reporter | ||
Comment 18•10 years ago
|
||
(In reply to Nick Thomas [:nthomas] from comment #17)
> aleth, Paenglab - it would be super helpful to know when this first started.
August 15 - which means the earliest possible time for when it actually broke would be sometime August 14.
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Assignee | ||
Comment 23•10 years ago
|
||
I think the problem is that previously, the output from post_upload.py passed straight through to the terminal, whereas now it is captured using check_output(). Somewhere along the way, the line endings are becoming '\r\n' instead of '\n', which the regex doesn't recognize. Eg: stdout in parse_make_upload() looks like:
'mozmake.exe[1]: Entering directory \'c:/builds/moz2_slave/tb-c-cen-w32-00000000000000000/build/objdir-tb/mail/installer\'\r\nmkdir -p `dirname \'../../dist//thunderbird-43.0a1.en-US.win32.checksums\'`\r\n...
Just replacing \r\n with \n makes the regex work again.
Flags: needinfo?(mshal)
Assignee | ||
Comment 24•10 years ago
|
||
Assignee: nobody → mshal
Attachment #8653633 -
Flags: review?(nthomas)
Comment 25•10 years ago
|
||
Comment on attachment 8653633 [details] [diff] [review]
make-upload-newlines
Could also use
"\n".join([stdout, stderr]).strip()
by the looks, but I know you checked the windows case already and swapping would require more verification.
Attachment #8653633 -
Flags: review?(nthomas) → review+
Comment 26•10 years ago
|
||
I take it back about strip(), that's not gonna work. Full steam ahead with the patch you have.
Assignee | ||
Comment 27•10 years ago
|
||
Comment on attachment 8653633 [details] [diff] [review]
make-upload-newlines
https://hg.mozilla.org/build/buildbotcustom/rev/f4df0521313a
Attachment #8653633 -
Flags: checked-in+
Comment 28•10 years ago
|
||
Hmm. now we get: exceptions.KeyError: 'partialMarUrl'. See: http://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/2015/08/2015-08-30-03-04-40-comm-central/comm-central-win32-nightly-bm86-build1-build15.txt.gz
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 37•10 years ago
|
||
Looks like the fix wasn't merged to production, fixed with https://hg.mozilla.org/build/buildbotcustom/rev/d4e96f6e1349, it'll deploy in 40 minutes. Rerunning the windows builds on c-c 35d8f81ac152 to test.
Comment 38•10 years ago
|
||
Oops, should have waited for the actual deployment before rebuilding. There third pair of windows builds on 35d8f81ac152 will have it.
Comment 39•10 years ago
|
||
And they were green.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(mshal)
Resolution: --- → FIXED
Updated•7 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•