Closed Bug 808513 Opened 12 years ago Closed 12 years ago

Intermittent errors during unagi and panda build: "/utils.js:67: NS_ERROR_FILE_ALREADY_EXISTS / make[1]: *** [webapp-zip] Error 3"

Categories

(Release Engineering :: General, defect)

Other
Gonk (Firefox OS)
defect
Not set
critical

Tracking

(blocking-basecamp:+, firefox18 fixed, firefox19 fixed, firefox20 fixed)

RESOLVED FIXED
blocking-basecamp +
Tracking Status
firefox18 --- fixed
firefox19 --- fixed
firefox20 --- fixed

People

(Reporter: emorley, Assigned: ochameau)

References

()

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

12:26:52     INFO -  run-js-command  webapp-zip
12:26:52     INFO -    GEN     /builds/slave/b2g-m-in-unagi-dep/build/out/target/product/unagi/obj/KERNEL_OBJ/Makefile
12:26:52     INFO -  build/utils.js:67: NS_ERROR_FILE_ALREADY_EXISTS: Component returned failure code: 0x80520008 (NS_ERROR_FILE_ALREADY_EXISTS) [nsIFile.create]
12:26:52     INFO -  user_pref("browser.manifestURL", "app://system.gaiamobile.org/manifest.webapp");
12:26:52     INFO -  user_pref("browser.homescreenURL", "app://system.gaiamobile.org/index.html");
12:26:52     INFO -  user_pref("dom.send_after_paint_to_content", true);
12:26:52     INFO -  user_pref("network.http.max-connections-per-server", 15);
12:26:52     INFO -  user_pref("network.dns.localDomains", "gaiamobile.org,feedback.gaiamobile.org,clock.gaiamobile.org,sms.gaiamobile.org,camera.gaiamobile.org,homescreen.gaiamobile.org,keyboard.gaiamobile.org,costcontrol.gaiamobile.org,calendar.gaiamobile.org,pdfjs.gaiamobile.org,calculator.gaiamobile.org,gallery.gaiamobile.org,browser.gaiamobile.org,communications.gaiamobile.org,system.gaiamobile.org,video.gaiamobile.org,wallpaper.gaiamobile.org,email.gaiamobile.org,fm.gaiamobile.org,settings.gaiamobile.org,music.gaiamobile.org");
12:26:52    ERROR -  make[1]: *** [webapp-zip] Error 3

https://tbpl.mozilla.org/php/getParsedLog.php?id=16698615&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=16778725&tree=Mozilla-Inbound

(Creeping ever closer to being hidden on TBPL...)
Depends on: 809436
Depends on: 809442
https://tbpl.mozilla.org/php/getParsedLog.php?id=16891223&tree=Mozilla-Inbound
Summary: Intermittent errors during unagi build: "/utils.js:67: NS_ERROR_FILE_ALREADY_EXISTS / make[1]: *** [webapp-zip] Error 3" → Intermittent errors during unagi and panda build: "/utils.js:67: NS_ERROR_FILE_ALREADY_EXISTS / make[1]: *** [webapp-zip] Error 3"
(In reply to Chris AtLee [:catlee] from comment #7)
> Filed a github issue for this too:
> 
> https://github.com/mozilla-b2g/gaia/issues/6255

I've pinged that issue, but no idea if anyone gets those notifications, since I'm not familiar with github (boo for people circumventing bugzilla).

Who can I chase up about it in parallel?
Assignee: nobody → poirot.alex
Attached file Pull request 6378
Couldn't reproduce localy, but it is most likely a race between the test `if (file.exists())` and the `file.create()` done right after...
Attachment #681068 - Flags: review?(21)
Ed, Phil, if you want this to be fixed on aurora branch, we will have to request blocking-basecamp flag and expose how bad this failure is.
It might help having it reviewed too.
blocking-basecamp nomination:
Without this patch sheriffs will be forced to hide unagi and B2G panda builds on TBPL due to frequent intermittent failures, reducing test coverage.
blocking-basecamp: --- → ?
Comment on attachment 681068 [details]
Pull request 6378

I have no idea if this patch will fix the real issue but let's try it until we figure out the root cause.
Attachment #681068 - Flags: review?(21) → review+
jhford, hwine has been working on bug 792978 but in the meantime could you please do another sync to hg.m.o/projects/gaia to get 
 https://github.com/mozilla-b2g/gaia/commit/70c7a260a1ad54c5d38c99c1eba0406301116e19
and 
 https://github.com/mozilla-b2g/gaia/pull/6378
I have merged the change to force -j1 in Android.mk to the HG copy of Gaia.
We now have perma-red, because we have the gaia part of bug 808060 but not the gonk-misc part. The error is

19:07:47     INFO -  cp /builds/slave/b2g-m-in-panda-dep/build/gaia/build/settings.json out/target/product/panda/system/b2g/defaults/settings.json
19:07:47     INFO -  cp: cannot stat `/builds/slave/b2g-m-in-panda-dep/build/gaia/build/settings.json': No such file or directory

I'm working on updating gonk-misc in the snapshot, which will then need to get rolled out round the branches.
Landed:
https://github.com/mozilla-b2g/gaia/commit/191c9dd902d5859f5b71833c27447a1cb1982abb

Seems to be fixed now, please reopen if that's not the case.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [orange]
blocking-basecamp: ? → +
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: