Closed Bug 887716 Opened 12 years ago Closed 12 years ago

xpcshell Linux boxes for Thunderbird need an upgrade for Gecko 24 (aka Permanent orange: ImportError: No module named simplejson)

Categories

(Infrastructure & Operations Graveyard :: CIDuty, task, P2)

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: standard8, Assigned: coop)

Details

(Keywords: intermittent-failure)

On the Thunderbird Linux builders we are currently getting: ImportError: No module named simplejson when trying to run Thunderbird xpcshell-tests. From looking at bug 837983, we either need to upgrade the Fedora boxes to python2.7, or follow Firefox's switch to running the tests on Ubuntu machines. I'm happy for either, but we need this in time for Gecko 24 which is currently on aurora (preferably before we hit the beta cycle).
We may just need to add a condition to use json if simplejson is not available.
Assignee: nobody → jhopkins
That condition is already present: http://hg.mozilla.org/mozilla-central/annotate/c0830a5933e8/testing/mozbase/mozinfo/mozinfo/mozinfo.py#l16 Its the Fedora builders that don't have the necessary support (and unless releng is thinking different, I think we should end up with the same machines as FF, for less diversity).
Depends on: 892032
We don't need to rely directly on the Fedora->Ubuntu upgrade (892032) to fix this issue and can upgrade Python (or whatever is simplest) for now. As standard8 mentioned, it may be easier to wait for Firefox to complete its migration to Ubuntu before Thunderbird makes the switch. I'm not actively working on this bug so I will unassign myself for now in case someone else wants to pick it up.
Assignee: jhopkins → nobody
No longer depends on: 892032
catlee pointed out that the step that runs the xpcshell tests (Started 'bash -c ...') includes /home/cltbld/bin first in its PATH and that there's a python 2.5 install at that location. If we put /usr/bin first in the PATH, we'll use the python 2.6 install which already includes json and simplejson. Sounds like this will be the simplest way forward.
Component: Release Engineering: Machine Management → Release Engineering: Platform Support
QA Contact: armenzg → coop
Assignee: nobody → coop
Status: NEW → ASSIGNED
Priority: -- → P2
I've deployed simplejson to all fed and fed64 machines using the following script: scp dev-stage01.build.mozilla.org:/pub/mozilla.org/mozilla/libraries/linux/simplejson-3.3.0.tar.gz . tar zxf simplejson-3.3.0.tar.gz cd simplejson-3.3.0 python setup.py install python -c "import simplejson" I'll get these added to the post-imaging steps.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Verified working, thanks!
Status: RESOLVED → VERIFIED
Product: mozilla.org → Release Engineering
Component: Platform Support → Buildduty
Product: Release Engineering → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.