Closed
Bug 1179945
Opened 10 years ago
Closed 10 years ago
gen_test_packages_manifest.py failing on 40.0b1 release builds
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(firefox39 fixed, firefox40 fixed, firefox41 fixed, firefox42 fixed, firefox-esr38 fixed)
RESOLVED
FIXED
mozilla42
People
(Reporter: bhearsum, Assigned: chmanchester)
References
Details
Attachments
(3 files)
|
996 bytes,
patch
|
bhearsum
:
review+
bhearsum
:
feedback+
|
Details | Diff | Splinter Review |
|
1.21 KB,
patch
|
bhearsum
:
review+
bhearsum
:
feedback+
ritu
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
|
797 bytes,
patch
|
rail
:
review+
glandium
:
review+
|
Details | Diff | Splinter Review |
Looks like something isn't coping with spaces in filenames properly:
make -C ./testing/web-platform stage-package
../../config/nsinstall -D ../../dist/test-stage/web-platform
./config/nsinstall -D dist/test-stage/luciddream
/builds/slave/rel-m-beta-m64_bld-00000000000/build/obj-firefox/i386/_virtualenv/bin/python /builds/slave/rel-m-beta-m64_bld-00000000000/build/build/gen_test_packages_manifest.py --common Firefox 40.0b1.tests.zip --jsshell jsshell-mac.zip --dest-file dist/mac/en-US//test_packages.json
usage: gen_test_packages_manifest.py [-h] --common TESTS_COMMON --jsshell
JSSHELL --dest-file DESTFILE
gen_test_packages_manifest.py: error: unrecognized arguments: 40.0b1.tests.zip
| Reporter | ||
Comment 1•10 years ago
|
||
Chris, looks like you added this target in http://hg.mozilla.org/mozilla-central/diff/a7a6d91116ab/testing/testsuite-targets.mk
Flags: needinfo?(cmanchester)
| Assignee | ||
Comment 2•10 years ago
|
||
I wasn't able to reproduce the issue locally, but this ought to address it.
Attachment #8629063 -
Flags: feedback?(bhearsum)
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → cmanchester
Status: NEW → ASSIGNED
| Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(cmanchester)
| Reporter | ||
Comment 3•10 years ago
|
||
Comment on attachment 8629063 [details] [diff] [review]
Deal with spaces in file names when generating test archive dependencies
Review of attachment 8629063 [details] [diff] [review]:
-----------------------------------------------------------------
Yeah, this should work for central...per IRC we'll need a different one for aurora and beta.
Attachment #8629063 -
Flags: feedback?(bhearsum) → feedback+
| Assignee | ||
Comment 4•10 years ago
|
||
Fix for beta (the first applies to central).
Attachment #8629067 -
Flags: feedback?(bhearsum)
| Reporter | ||
Updated•10 years ago
|
Attachment #8629067 -
Flags: feedback?(bhearsum) → feedback+
| Reporter | ||
Updated•10 years ago
|
Attachment #8629063 -
Flags: review+
| Reporter | ||
Updated•10 years ago
|
Attachment #8629067 -
Flags: review+
| Assignee | ||
Updated•10 years ago
|
Keywords: leave-open
| Assignee | ||
Updated•10 years ago
|
Attachment #8629067 -
Flags: approval-mozilla-beta?
Comment on attachment 8629067 [details] [diff] [review]
Deal with spaces in file names when generating test archive dependencies (patch for beta)
This is blocking 40.0b1 release. Approving for uplift to Beta.
Attachment #8629067 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
| Assignee | ||
Comment 7•10 years ago
|
||
Keywords: leave-open
| Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(cmanchester)
Attachment #8629067 -
Flags: approval-mozilla-aurora?
Comment 9•10 years ago
|
||
We hit another error with that fix in:
/builds/slave/rel-m-beta-m64_bld-00000000000/build/obj-firefox/i386/_virtualenv/bin/python /builds/slave/rel-m-beta-m64_bld-00000000000/build/build/gen_test_packages_manifest.py --common 'Firefox 40.0b1.tests.zip' --jsshell 'jsshell-mac.zip' --dest-file dist/mac/en-US//test_packages.json
Traceback (most recent call last):
File "/builds/slave/rel-m-beta-m64_bld-00000000000/build/build/gen_test_packages_manifest.py", line 62, in <module>
with open(args.destfile, 'w') as of:
IOError: [Errno 2] No such file or directory: 'dist/mac/en-US//test_packages.json'
make[3]: *** [test-packages-manifest] Error 1
make[2]: *** [postflight_all] Error 2
make[1]: *** [realbuild] Error 2
make: *** [build] Error 2
Full log:
http://ftp.mozilla.org/pub/mozilla.org/firefox/candidates/40.0b1-candidates/build2/logs/release-mozilla-beta-macosx64_build-bm84-build1-build4.txt.gz
We're not actually running tests on these release builds so this would not be a problem, except that it blocks other packaging and uploading.
Comment 10•10 years ago
|
||
r? rail to try to get this beta out this week
Attachment #8629216 -
Flags: review?(rail)
Updated•10 years ago
|
Attachment #8629216 -
Flags: review?(rail) → review+
Comment 11•10 years ago
|
||
Comment on attachment 8629216 [details] [diff] [review]
Create directory before trying to write to it
https://hg.mozilla.org/releases/mozilla-beta/rev/962491662436
(and removed the release tags to that with 2455ab8cb01c)
Comment 12•10 years ago
|
||
Comment on attachment 8629216 [details] [diff] [review]
Create directory before trying to write to it
This works for me on a borrowed slave, but I want to run it by you before landing on default on beta, and possibly elsewhere.
Attachment #8629216 -
Flags: review?(mh+mozilla)
Comment 13•10 years ago
|
||
Comment on attachment 8629216 [details] [diff] [review]
Create directory before trying to write to it
Review of attachment 8629216 [details] [diff] [review]:
-----------------------------------------------------------------
::: testing/testsuite-targets.mk
@@ +418,5 @@
>
> test-packages-manifest:
> @rm -f $(MOZ_TEST_PACKAGES_FILE)
> +ifndef UNIVERSAL_BINARY
> + $(NSINSTALL) -D $(DIST)/$(PKG_PATH)
$(dir $(MOZ_TEST_PACKAGES_FILE))
Attachment #8629216 -
Flags: review?(mh+mozilla) → review+
Comment 14•10 years ago
|
||
Fix on 'default' of beta:
https://hg.mozilla.org/releases/mozilla-beta/rev/7b632d539a00
Comment 15•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox42:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
Updated•10 years ago
|
status-firefox40:
--- → fixed
status-firefox41:
--- → affected
| Assignee | ||
Comment 16•10 years ago
|
||
Comment on attachment 8629216 [details] [diff] [review]
Create directory before trying to write to it
Review of attachment 8629216 [details] [diff] [review]:
-----------------------------------------------------------------
We'll need this for aurora too. I'll file a follow up for the fix to central.
Attachment #8629216 -
Flags: approval-mozilla-aurora?
Comment 17•10 years ago
|
||
(In reply to Chris Manchester [:chmanchester] from comment #16)
Thanks for catching this. Please note that what landed is slightly different from attachment 8629216 [details] [diff] [review]. See https://hg.mozilla.org/releases/mozilla-beta/rev/7b632d539a00.
| Assignee | ||
Updated•10 years ago
|
Attachment #8629067 -
Flags: approval-mozilla-aurora?
| Assignee | ||
Updated•10 years ago
|
Attachment #8629216 -
Flags: approval-mozilla-aurora?
| Assignee | ||
Comment 18•10 years ago
|
||
The rest of bug 917999 is on aurora now, I'll do the rest of the uplifts in bug 1181732
Updated•10 years ago
|
Updated•10 years ago
|
status-firefox39:
--- → fixed
status-firefox-esr38:
--- → fixed
Updated•8 years ago
|
Product: Core → Firefox Build System
Comment 19•10 months ago
|
||
| uplift | ||
You need to log in
before you can comment on or make changes to this bug.
Description
•