Closed Bug 1260916 Opened 8 years ago Closed 7 years ago

The xpcshell tests with artifact builds are missing target binaries in dist/bin

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(firefox53 fixed)

RESOLVED FIXED
mozilla53
Tracking Status
firefox53 --- fixed

People

(Reporter: mattw, Assigned: glasserc)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

      No description provided.
Comment on attachment 8736501 [details]
MozReview Request: Bug 1260916 - Install target test artifacts on Fennec. r?chmanchester

Review request updated; see interdiff: https://reviewboard.mozilla.org/r/43321/diff/1-2/
Attachment #8736501 - Attachment description: MozReview Request: Bug 1260916 - Install target test artifacts on Fennec. f?mattw → MozReview Request: Bug 1260916 - Install target test artifacts on Fennec. r?chmanchester
Attachment #8736501 - Flags: review?(cmanchester)
Comment on attachment 8736501 [details]
MozReview Request: Bug 1260916 - Install target test artifacts on Fennec. r?chmanchester

https://reviewboard.mozilla.org/r/43321/#review40541

As discussed on irc, I'm having trouble getting tests to run with this patch ("CANNOT LINK EXECUTABLE: could not load library "libnss3.so" needed by "/data/local/xpcb/xpcshell"; caused by "libnss3.so" has bad ELF magic"). The objdir and package look somewhat sane (libnss3.so exists), so I'm not sure what's going wrong, but someone should get this to a known working state before we land.
Depends on: 1290638
Assignee: nobody → rob
Status: NEW → ASSIGNED
Attachment #8824621 - Flags: feedback?(nalexander)
Attachment #8824621 - Flags: feedback?(gbrown)
Attachment #8824621 - Flags: feedback?(cmanchester)
I was able to get the tests to run at all using the attached patch, although not all of them ran successfully (due, I think, to other reasons). While I was here I decided to fix the inconsistent escaping of regular expressions and the fact that backslashes weren't being escaped -- if you'd prefer that I undo those changes, or make them as a separate commit, just let me know.
Comment on attachment 8824621 [details]
Bug 1260916 - Support running tests from artifact builds,

https://reviewboard.mozilla.org/r/103046/#review103898

Looks good to me!  I'll try to test this locally but it shouldn't regress anything, so feel free to land without another tester.
Attachment #8824621 - Flags: review?(nalexander) → review+
Assignee: rob → eglassercamp
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/469d1284a93a
Support running tests from artifact builds, r=nalexander
Keywords: checkin-needed
Comment on attachment 8824621 [details]
Bug 1260916 - Support running tests from artifact builds,

https://reviewboard.mozilla.org/r/103046/#review104282

I know very little about artifact builds, so reserving r+, but this looks fine to me.

I tried it out locally and it worked fine for me: I was able to run 'mach xpcshell-test netwerk/test/unit' on an artifact build on an Android 4.3 phone.
Attachment #8824621 - Flags: review?(gbrown)
Comment on attachment 8824621 [details]
Bug 1260916 - Support running tests from artifact builds,

Thanks!
Attachment #8824621 - Flags: feedback?(gbrown) → feedback+
Comment on attachment 8824621 [details]
Bug 1260916 - Support running tests from artifact builds,

https://reviewboard.mozilla.org/r/103046/#review104388

Nick's r+ is sufficient here. Thank you for the patch!
Attachment #8824621 - Flags: review?(cmanchester)
https://hg.mozilla.org/mozilla-central/rev/469d1284a93a
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Attachment #8824621 - Flags: feedback?(nalexander)
See Also: → 1332911
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: