Closed Bug 1646306 Opened 4 years ago Closed 3 years ago

Intermittent make[4]: *** Deleting file '<anything>' | followed by cannot make symbolic link

Categories

(Firefox Build System :: General, defect, P5)

defect

Tracking

(firefox-esr68 unaffected, firefox-esr78 wontfix, firefox-esr91 wontfix, firefox77 unaffected, firefox78 unaffected, firefox79 wontfix, firefox90 wontfix, firefox91 wontfix, firefox92 fixed)

RESOLVED FIXED
92 Branch
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- wontfix
firefox-esr91 --- wontfix
firefox77 --- unaffected
firefox78 --- unaffected
firefox79 --- wontfix
firefox90 --- wontfix
firefox91 --- wontfix
firefox92 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: glandium)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

Filed by: ncsoregi [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=306612612&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/JZtkjPCPRgK7m75eQ-Ytyg/runs/0/artifacts/public/logs/live_backing.log


[task 2020-06-17T09:03:45.575Z] 09:03:45 INFO - make[4]: Leaving directory '/builds/worker/workspace/obj-build/modules/libpref'
[task 2020-06-17T09:03:45.575Z] 09:03:45 INFO - make[4]: Entering directory '/builds/worker/workspace/obj-build/toolkit/library/gtest'
[task 2020-06-17T09:03:45.576Z] 09:03:45 INFO - make[4]: *** Deleting file '/builds/worker/workspace/obj-build/toolkit/library/build/libxul.so-gdb.py'
[task 2020-06-17T09:03:45.576Z] 09:03:45 INFO - ../../../config/nsinstall -R -m 644 '/builds/worker/checkouts/gecko/toolkit/library/libxul.so-gdb.py' '/builds/worker/workspace/obj-build/toolkit/library/build'
[task 2020-06-17T09:03:45.576Z] 09:03:45 INFO - make[4]: Leaving directory '/builds/worker/workspace/obj-build/toolkit/library/gtest'
[task 2020-06-17T09:03:45.576Z] 09:03:45 INFO - make[4]: Entering directory '/builds/worker/workspace/obj-build/toolkit/library/build'
[task 2020-06-17T09:03:45.577Z] 09:03:45 INFO - ../../../config/nsinstall -R -m 644 '/builds/worker/checkouts/gecko/toolkit/library/libxul.so-gdb.py' '/builds/worker/workspace/obj-build/toolkit/library/build'
[task 2020-06-17T09:03:45.577Z] 09:03:45 INFO - ../../../config/nsinstall: cannot make symbolic link /builds/worker/workspace/obj-build/toolkit/library/build/libxul.so-gdb.py: File exists
[task 2020-06-17T09:03:45.577Z] 09:03:45 INFO - /builds/worker/checkouts/gecko/config/rules.mk:1096: recipe for target '/builds/worker/workspace/obj-build/toolkit/library/build/libxul.so-gdb.py' failed
[task 2020-06-17T09:03:45.578Z] 09:03:45 ERROR - make[4]: *** [/builds/worker/workspace/obj-build/toolkit/library/build/libxul.so-gdb.py] Error 1
[task 2020-06-17T09:03:45.578Z] 09:03:45 INFO - make[4]: Leaving directory '/builds/worker/workspace/obj-build/toolkit/library/build'
[task 2020-06-17T09:03:45.578Z] 09:03:45 INFO - make[4]: *** Waiting for unfinished jobs....
[task 2020-06-17T09:03:45.579Z] 09:03:45 INFO - make[4]: Entering directory '/builds/worker/workspace/obj-build/build'
[task 2020-06-17T09:03:45.579Z] 09:03:45 INFO - ../config/nsinstall -R -m 644 '../dist/bin/.lldbinit' '/builds/worker/workspace/obj-build'

I bet this is a regression from bug 1642121

Flags: needinfo?(sphink)
Regressed by: 1642121
Has Regression Range: --- → yes

Set release status flags based on info from the regressing bug 1642121

I'm not sure what's going on here, especially with it being a rare intermittent. I wanted to guess is that it happens when it's doing an incremental build, except that one of the failures is on try.

It's displaying the error message just after it enters the gtest directory, which is the (incorrect) directory that used to hold the libxul.so-gdb.py file. (Hm... does that directory need it too? Are there gtest binaries that want the prettyprinters as well?) Unless the make output is getting mixed up, that really seems like it is running off of a stale moz.build configuration?

The Libxul template was invoked from toolkit/library/build and
toolkit/library/gtest, which means there was a possibility that two
makes would simultaneously try to create libxul.so-gdb.py because it was
being installed twice to the same place.

Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/603f9990fcc9
Avoid trying to install libxul.so-gdb.py from two places. r=firefox-build-system-reviewers,mhentges
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: