Closed Bug 1166873 Opened 9 years ago Closed 9 years ago

Pin treeherder-client to 1.0 in requirements.txt

Categories

(Firefox OS Graveyard :: Gaia::UI Tests, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.1 affected, b2g-v2.1S affected, b2g-v2.2 affected, b2g-master affected)

RESOLVED FIXED
Tracking Status
b2g-v2.1 --- affected
b2g-v2.1S --- affected
b2g-v2.2 --- affected
b2g-master --- affected

People

(Reporter: martijn.martijn, Assigned: martijn.martijn)

References

()

Details

Attachments

(1 file, 2 obsolete files)

From the irc log:
20:08 davehunt: mwargers: that treeherder failure has been happening for almost three weeks!
20:09 davehunt: looks like it lines up with a change to the treeherder client, 1.2 was released at that time: https://pypi.python.org/pypi/treeherder-client/1.2
20:10 davehunt: wlach: looks like a treeherder client release broke gaiatest
20:10 wlach: davehunt: hmm
20:10 davehunt: something not backwards compatible?
20:11 wlach: davehunt: possibly... I think camd modified it recently to return request objects. we also have some other breaking changes in the pipeline
20:11 wlach: davehunt: are you not pinning?
20:11 davehunt: mwargers: we should probably pin to 1.1 in here: https://github.com/mozilla-b2g/gaia/blob/master/tests/python/gaia-ui-tests/requirements.txt#L7
20:11 davehunt: wlach: no, but we should :)
20:11 wlach: davehunt: yeah, just do that for now
20:11 davehunt: especially as it's become active again :)
20:11 wlach: davehunt: then you can update for the changes we're making at your leisure
20:12 davehunt: mwargers: would you mind taking that?

https://github.com/mozilla-b2g/gaia/blob/master/tests/python/gaia-ui-tests/requirements.txt#L7
Comment on attachment 8608287 [details] [review]
[gaia] mwargers:1166873 > mozilla-b2g:master

Like this, I assume?
Attachment #8608287 - Flags: review?(dave.hunt)
Attachment #8608287 - Flags: review?(dave.hunt) → review+
https://github.com/mozilla-b2g/gaia/commit/af37121a6f7d1b7b1e91288658da53e97b7dc3ac
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
had to revert this for breaking tests like https://treeherder.mozilla.org/logviewer.html#?job_id=1984495&repo=b2g-inbound
Status: RESOLVED → REOPENED
Flags: needinfo?(martijn.martijn)
Resolution: FIXED → ---
Sorry about that!
Treeherder try didn't show any errors in the Gaia UI tests or MarionetteJS tests.
I would have thought this only influenced the Gaia UI tests, but apparently not.

Dave Hunt, what needs to be done here to get this working without breaking b2g-inbound?
Flags: needinfo?(martijn.martijn) → needinfo?(dave.hunt)
I don't see how changing the treeherder-client (a python package) could influence Gij. The Gip issues are because treeherder-client 1.1 is not available at http://pypi.pub.build.mozilla.org/pub/. We could either get 1.1 pushed there, or pin to 1.0, which must be what we were using until very recently.
Flags: needinfo?(dave.hunt)
Hmm, seems things are still failing after the backout, we're seeing errors like this: 

14:02:14     INFO -    Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name or service not known'))': /pub

Is something wrong with the pypi.pub.build.mozilla.org service?
Summary: Pin treeherder-client to 1.1 in requirements.txt → Pin treeherder-client to 1.0 in requirements.txt
Attachment #8608287 - Attachment is obsolete: true
Comment on attachment 8609498 [details] [review]
[gaia] mwargers:1166873 > mozilla-b2g:master

According to Dave Hunt, treeherder-client==1.0 should work.
Attachment #8609498 - Flags: review?(dave.hunt)
Attachment #8609504 - Attachment is obsolete: true
Comment on attachment 8609498 [details] [review]
[gaia] mwargers:1166873 > mozilla-b2g:master

Please watch the build results after merging.
Attachment #8609498 - Flags: review?(dave.hunt) → review+
(In reply to Dave Hunt (:davehunt) from comment #12)
> Comment on attachment 8609498 [details] [review]
> [gaia] mwargers:1166873 > mozilla-b2g:master
> 
> Please watch the build results after merging.

https://github.com/mozilla-b2g/gaia/commit/5bcc08a732163087999251b523e3643db397412c
*crosses fingers*
Status: REOPENED → RESOLVED
Closed: 9 years ago9 years ago
Resolution: --- → FIXED
It seems the Gip tests are running correctly on Treeherder with this pull request checked in: https://treeherder.mozilla.org/#/jobs?repo=b2g-inbound&revision=650b26d09a24
Hi, Martijn,

May I have your help?
Can you help uplift this patch to v2.2, v2.1, and v2.1s?

Thanks.
Flags: needinfo?(martijn.martijn)
Blocks: 1171825
Hi William, I'll do this in bug 1171825.
Flags: needinfo?(martijn.martijn)
Oh, William is also asking for v2.1 and v2.1s versions in bug 1166873, comment 15. I'll do that.
(In reply to Martijn Wargers [:mwargers] (QA) from comment #17)
> Oh, William is also asking for v2.1 and v2.1s versions in bug 1166873,
> comment 15. I'll do that.

Thank you Martijn! :)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: