Closed
Bug 1131497
Opened 10 years ago
Closed 9 years ago
Running build-test.js on node.js
Categories
(Firefox OS Graveyard :: Gaia::Build, defect, P2)
Firefox OS Graveyard
Gaia::Build
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rickychien, Assigned: scottwu)
References
Details
Attachments
(4 files)
No description provided.
Updated•10 years ago
|
Assignee: nobody → gduan
Reporter | ||
Updated•10 years ago
|
Status: NEW → ASSIGNED
Comment 1•9 years ago
|
||
Nodejs for this script is not that urgent before new build plan. deassign myself, please feel free to take it if anyone is interested.
Assignee: georgeiscoming → nobody
Status: ASSIGNED → NEW
Reporter | ||
Updated•9 years ago
|
Priority: -- → P2
Reporter | ||
Updated•9 years ago
|
Assignee: nobody → scwwu
Status: NEW → ASSIGNED
Comment 2•9 years ago
|
||
Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8711565 [details] [review]
[gaia] scottwu:1131497-running-build-test-js-2 > mozilla-b2g:master
I've created a new BUILD_CONFIG with " instead of ' because node gives error doing JSON.parse on the original. The original one has been renamed 'BUILD_CONFIG_XPC'. I'm not sure this is the best way to go about it. Please take a look first and let me know what you think. Thanks!
Attachment #8711565 -
Flags: review?(rchien)
Reporter | ||
Comment 4•9 years ago
|
||
Comment on attachment 8711565 [details] [review]
[gaia] scottwu:1131497-running-build-test-js-2 > mozilla-b2g:master
Thank you Scott for this build system patch.
I don't see any potential big issues on your patch and GBU & GB runs well for me.
Please make sure fix all comments on Github and re-verify again for `make` and `make build-test-unit` `make build-test-integration` before landing.
Attachment #8711565 -
Flags: review?(rchien) → review+
Assignee | ||
Comment 5•9 years ago
|
||
Thanks! A lot more concise now.
Landed.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment 6•9 years ago
|
||
This change breaks the reference workload scripts. The values for BUILD_CONFIG are now using single quotes instead of the required double quotes, which is not valid JSON.
Comment 8•9 years ago
|
||
Comment 9•9 years ago
|
||
Reverted via: https://github.com/mozilla-b2g/gaia/commit/72eee26a153ab1c710a033691b64ccb1ba4ca339
Please switch BUILD_CONFIG to valid JSON before landing again, and run `make reference-workload-light` to ensure it also functions.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 10•9 years ago
|
||
Assignee | ||
Comment 11•9 years ago
|
||
Comment on attachment 8712559 [details] [review]
[gaia] scottwu:1131497-running-build-test-js-2 > mozilla-b2g:master
Hi Ricky, here's the updated patch. Confirmed working with |make reference-workload-light|
Flags: needinfo?(scwwu)
Attachment #8712559 -
Flags: review?(rchien)
Reporter | ||
Comment 12•9 years ago
|
||
Comment on attachment 8712559 [details] [review]
[gaia] scottwu:1131497-running-build-test-js-2 > mozilla-b2g:master
LGTM
Attachment #8712559 -
Flags: review?(rchien) → review+
Assignee | ||
Comment 13•9 years ago
|
||
Thanks Ricky. Merged to master.
:Eli Perelman thanks for spotting my mistake. It now runs `make reference-workload-light` without problem.
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
Resolution: --- → FIXED
Comment 14•9 years ago
|
||
Sorry guys, had to revert this again. This patch keeps causing b2g-inbound build tests to fail with the error mentioned below. Looks like you changed args to be an object, but are still trying to use args.push.
09:43:59 INFO - /home/worker/gaia/build/build-test.js:34
09:43:59 INFO - args.push('-ig', '\\[Network Required\\]');
09:43:59 INFO - ^
09:43:59 INFO - TypeError: args.push is not a function
09:43:59 INFO - at Object.exports.execute.options [as execute] (/home/worker/gaia/build/build-test.js:34:10)
09:43:59 INFO - at [eval]:1:34
09:43:59 INFO - at Object.exports.runInThisContext (vm.js:54:17)
09:43:59 INFO - at Object.<anonymous> ([eval]-wrapper:6:22)
09:43:59 INFO - at Module._compile (module.js:435:26)
09:43:59 INFO - at node.js:578:27
09:43:59 INFO - at doNTCallback0 (node.js:419:9)
09:43:59 INFO - at process._tickCallback (node.js:348:13)
https://treeherder.mozilla.org/#/jobs?repo=b2g-inbound&revision=16aef4cff269&selectedJob=3848718
reverted in master: https://github.com/mozilla-b2g/gaia/commit/3846c047a92f6696b39d9389f0e87d31ebd4da9d
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 15•9 years ago
|
||
Assignee | ||
Comment 16•9 years ago
|
||
Comment on attachment 8713026 [details] [review]
[gaia] scottwu:1131497-running-build-test-js-2 > mozilla-b2g:master
One last time..
Attachment #8713026 -
Flags: review?(rchien)
Reporter | ||
Comment 17•9 years ago
|
||
Comment on attachment 8713026 [details] [review]
[gaia] scottwu:1131497-running-build-test-js-2 > mozilla-b2g:master
r+ and please fix the nit on Github. thx!
Attachment #8713026 -
Flags: review?(rchien) → review+
Assignee | ||
Comment 18•9 years ago
|
||
Resolved the `args` issue.
Landed and hopefully everything passes this time.
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•