Closed
Bug 1017484
Opened 11 years ago
Closed 11 years ago
Use appropriate dependencies for the branch under test
Categories
(Testing Graveyard :: Eideticker, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: davehunt, Assigned: davehunt)
References
Details
Attachments
(2 files, 1 obsolete file)
|
5.67 KB,
patch
|
wlach
:
review+
wlach
:
feedback+
|
Details | Diff | Splinter Review |
|
3.35 KB,
patch
|
wlach
:
review+
|
Details | Diff | Splinter Review |
At the moment Eideticker is using gaiatest and b2gpopulate packages that are only guaranteed to support the master and mozilla-central branches. In bug 994176 we're going to be producing versions of these packages for the release branches such as v1.3 and v1.4.
Ideally we would avoid branching Eideticker in order to support these branches. Perhaps we could move these requirements out to files such as requirements-mozilla-b2g28_v1_3.txt and select the appropriate file based on the build under test.
This would mean we could only use methods used from these packages that are common across the branches, otherwise we'd need additional logic in Eideticker or would need to branch.
| Assignee | ||
Comment 1•11 years ago
|
||
Will: Any thoughts on this? I can experiment with splitting out the requirements into text files and conditionally picking one based on the target build.
Flags: needinfo?(wlachance)
Comment 2•11 years ago
|
||
(In reply to Dave Hunt (:davehunt) from comment #1)
> Will: Any thoughts on this? I can experiment with splitting out the
> requirements into text files and conditionally picking one based on the
> target build.
Yup, that makes sense to me. Note that you might need to modify setup.py in src/eideticker/setup.py to no longer explicitly list the dependencies, since the exact packages we're using will depend on the version.
Flags: needinfo?(wlachance)
| Assignee | ||
Comment 3•11 years ago
|
||
I was thinking more about this and I don't think we can avoid branching. There are a couple of changes in the pipeline for gaiatest that will change our imports, so just depending on the appropriate version won't be enough. Maybe we could split the B2G parts into a submodule and only branch that, but I fear that would cause an even bigger headache.
Comment 4•11 years ago
|
||
Could we create a compatibility wrapper/module that we could import selectively for backwards compatibility? Ugly, but less so than branching most likely.
| Assignee | ||
Comment 5•11 years ago
|
||
Do you mean abstract gaiatest from Eideticker, and in this abstraction handle the branch appropriate imports and method calls? I think that would work, and is certainly less ugly than branching. We're only using gaiatest in a few places, and means all the ugliness and backward compatibility logic will be in one place.
Comment 6•11 years ago
|
||
Dave,
Are you taking this bug? It's blocking your existing patch for bug 1002502 but has no assignee.
Flags: needinfo?(dave.hunt)
| Assignee | ||
Comment 7•11 years ago
|
||
(In reply to Mike Lee [:mlee] from comment #6)
> Dave,
> Are you taking this bug? It's blocking your existing patch for bug 1002502
> but has no assignee.
Most likely, but this bug is also blocked on a bug that's assigned to me. :)
Flags: needinfo?(dave.hunt)
| Assignee | ||
Comment 8•11 years ago
|
||
I have an early proof-of-concept ready for feedback. Unfortunately this is sitting on my Eideticker dev laptop at home and I'm in the London office today. I'll try to remember to upload it this evening when I get home.
Assignee: nobody → dave.hunt
Status: NEW → ASSIGNED
| Assignee | ||
Comment 9•11 years ago
|
||
Attachment #8438335 -
Flags: feedback?(wlachance)
| Assignee | ||
Comment 10•11 years ago
|
||
This is the correct patch.
Attachment #8438335 -
Attachment is obsolete: true
Attachment #8438335 -
Flags: feedback?(wlachance)
Attachment #8438336 -
Flags: feedback?(wlachance)
Comment 11•11 years ago
|
||
Comment on attachment 8438336 [details] [diff] [review]
Use appropriate dependencies for the branch under test. v1.0
This all looks pretty reasonable to me!
Attachment #8438336 -
Flags: feedback?(wlachance) → feedback+
| Assignee | ||
Comment 12•11 years ago
|
||
Comment on attachment 8438336 [details] [diff] [review]
Use appropriate dependencies for the branch under test. v1.0
Okay, I've tried (and failed) to replicate the update notifications on Tarako, so I think this is safe to request review. If the update notifications do show up, we can address this in bug 1023284 with a follow-up to this patch.
Attachment #8438336 -
Flags: review?(wlachance)
Comment 13•11 years ago
|
||
Comment on attachment 8438336 [details] [diff] [review]
Use appropriate dependencies for the branch under test. v1.0
lgtm, as before
Attachment #8438336 -
Flags: review?(wlachance) → review+
| Assignee | ||
Comment 14•11 years ago
|
||
This patch is for Eideticker CI, as the two should be landed at the same time.
Attachment #8442009 -
Flags: review?(wlachance)
Comment 15•11 years ago
|
||
Comment on attachment 8442009 [details] [diff] [review]
Use appropriate dependencies in CI. v1.0
Review of attachment 8442009 [details] [diff] [review]:
-----------------------------------------------------------------
Awesome!
Attachment #8442009 -
Flags: review?(wlachance) → review+
| Assignee | ||
Comment 16•11 years ago
|
||
Landed in:
https://github.com/mozilla/eideticker/commit/8820e3008cdc4e395c62865972a9202144940eb5
https://github.com/mozilla/eideticker-ci/commit/0a91c8ad2ade80e9c256bdb2097b586acef4bde8
Updated Eideticker CI and triggered a Tarako build to test it:
http://eideticker-ci1.ateam.phx1.mozilla.com:8080/job/b2g.tarako.mozilla-b2g28_v1_3t.tests/65/console
I'm going to hold off marking this fixed until I see a successful job.
Flags: needinfo?(dave.hunt)
| Assignee | ||
Updated•11 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(dave.hunt)
Resolution: --- → FIXED
Updated•8 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•