Closed Bug 1748829 Opened 3 years ago Closed 3 years ago

Artifact builds broken on macOS - FileNotFoundError: [Errno 2] No such file or directory: _tests/xpcshell/toolkit/mozapps/update/tests/updater-xpcshell

Categories

(Firefox Build System :: General, defect)

Unspecified
macOS
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1748863

People

(Reporter: Gijs, Unassigned)

References

(Blocks 1 open bug)

Details

Central revision 3321b8f93cb1.

Log output:

 0:34.63 Elapsed: 0.62s; From objdir/dist/bin: Kept 0 existing; Added/updated 1784; Removed 0 files and 0 directories.
 0:34.83 Elapsed: 1.45s; From objdir/dist/bin/browser: Kept 0 existing; Added/updated 3879; Removed 0 files and 0 directories.
 0:34.92 ./ServoCSSPropList.py.stub
 0:42.61 Packaging specialpowers@mozilla.org.xpi...
 0:43.13 Traceback (most recent call last):
 0:43.13   File "mozilla-central/config/nsinstall.py", line 173, in <module>
 0:43.13     sys.exit(_nsinstall_internal(sys.argv[1:]))
 0:43.13   File "mozilla-central/config/nsinstall.py", line 161, in _nsinstall_internal
 0:43.13     copy_all_entries(args, target)
 0:43.13   File "mozilla-central/config/nsinstall.py", line 120, in copy_all_entries
 0:43.13     handleTarget(e, dest)
 0:43.13   File "mozilla-central/config/nsinstall.py", line 151, in handleTarget
 0:43.13     shutil.copy(srcpath, targetpath)
 0:43.13   File "/usr/local/Cellar/python@3.9/3.9.8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/shutil.py", line 427, in copy
 0:43.14     copyfile(src, dst, follow_symlinks=follow_symlinks)
 0:43.14   File "/usr/local/Cellar/python@3.9/3.9.8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/shutil.py", line 264, in copyfile
 0:43.14     with open(src, 'rb') as fsrc:
 0:43.14 FileNotFoundError: [Errno 2] No such file or directory: 'objdir/_tests/xpcshell/toolkit/mozapps/update/tests/updater-xpcshell'
 0:43.15 make[4]: *** [tools] Error 1
 0:43.15 make[3]: *** [toolkit/mozapps/update/updater/updater-xpcshell/tools] Error 2
 0:43.15 make[2]: *** [tools] Error 2
 0:43.15 make[1]: *** [default] Error 2
 0:43.15 make: *** [build] Error 2
 0:43.17 0 compiler warnings present.

I've tried clobbering, I completely deleted the objdir, I re-ran mach bootstrap. No cigar.

I don't often build debug artifact, so I don't know if this is new, if it happens on opt artifact, and if it happens on non-artifact builds, or when it regressed. I'll try to get answers to those questions...

I see the same thing for non-debug artifact builds.

Summary: Debug artifact builds broken on macOS - FileNotFoundError: [Errno 2] No such file or directory: _tests/xpcshell/toolkit/mozapps/update/tests/updater-xpcshell → Artifact builds broken on macOS - FileNotFoundError: [Errno 2] No such file or directory: _tests/xpcshell/toolkit/mozapps/update/tests/updater-xpcshell

I'm down to https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=db003dd8a348&tochange=2134cb641802 as a regressing range, which makes no sense. 2 out of the 3 csets have been backed out and the other is a change to some stuff in the binary but shouldn't affect the build system at all.

FWIW, I'm on an intel mac, and :Mossop has reported he's had no issues building from more recent csets (on a silicon mac, I think).

It's also worth noting that the tests archives do appear to have the relevant file:

> tar -tf ~/.mozbuild/package-frontend/6ec6ec0936392602-target.common.tests.tar.gz | grep updater-
updater-dep/updater-dep
xpcshell/tests/toolkit/mozapps/update/tests/updater-xpcshell

so I don't understand why it doesn't get staged into objdir/_tests. (I checked, the file is really not there.)

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.