windows tier-2 builds on Aurora are failing with: ERROR: Cannot find ccache

RESOLVED FIXED

Status

RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: jmaher, Unassigned)

Tracking

Details

(Reporter)

Description

2 years ago
just recently we got the windows builds in taskcluster to be tier-2 on trunk.  Today we merged to Aurora and the windows builds are failing.  I see this in the log ( https://public-artifacts.taskcluster.net/LOrlwqDbSUid0fsOv_QO3A/0/public/logs/live_backing.log ):
7:49:46     INFO -  checking for a shell... C:/mozilla-build/msys/bin/sh.exe
17:49:46     INFO -  checking for host system type... x86_64-pc-mingw32
17:49:46     INFO -  checking for target system type... x86_64-pc-mingw32
17:49:46     INFO -  checking whether cross compiling... no
17:49:46     INFO -  checking for pkg_config... not found
17:49:46     INFO -  checking for tar... C:/mozilla-build/msys/bin/tar.EXE
17:49:46     INFO -  checking for unzip... c:/mozilla-build/info-zip/unzip.EXE
17:49:46     INFO -  checking for zip... c:/mozilla-build/info-zip/zip.EXE
17:49:46     INFO -  checking for yasm... c:/mozilla-build/yasm/yasm.EXE
17:49:46     INFO -  checking yasm version... 1.3.0
17:49:46     INFO -  checking for ccache... not found
17:49:46     INFO -  DEBUG: ccache: Trying ccache
17:49:46     INFO -  ERROR: Cannot find ccache
17:49:46     INFO -  *** Fix above errors and then restart with\
17:49:46     INFO -                 "z:/task_1470069796/build/src/mozmake.EXE -f client.mk build"
17:49:46     INFO -  z:/task_1470069796/build/src/client.mk:373: recipe for target 'configure' failed
17:49:46     INFO -  mozmake.EXE[3]: *** [configure] Error 1
17:49:46     INFO -  mozmake.EXE[3]: Leaving directory 'z:/task_1470069796/build/src'
17:49:46     INFO -  z:/task_1470069796/build/src/client.mk:390: recipe for target 'z:/task_1470069796/build/src/obj-firefox/Makefile' failed
17:49:46     INFO -  mozmake.EXE[2]: *** [z:/task_1470069796/build/src/obj-firefox/Makefile] Error 2
17:49:46     INFO -  mozmake.EXE[2]: Leaving directory 'z:/task_1470069796/build/src'
17:49:46     INFO -  z:/task_1470069796/build/src/client.mk:228: recipe for target 'profiledbuild' failed
17:49:46     INFO -  mozmake.EXE[1]: *** [profiledbuild] Error 2
17:49:46     INFO -  mozmake.EXE[1]: Leaving directory 'z:/task_1470069796/build/src'
17:49:46     INFO -  client.mk:168: recipe for target 'build' failed
17:49:46     INFO -  mozmake.EXE: *** [build] Error 2
17:49:46     INFO -  0 compiler warnings present.
17:49:46     INFO -  2
(Reporter)

Updated

2 years ago
Blocks: 1244750
Note that this only affected opt builds -- corresponding debug builds were successful.

Debug builds do not contain "checking for ccache". mozilla-central opt builds also do not contain "checking for ccache".
Failed builds have:

Adding configure options from z:\task_1470090346\build\src\.mozconfig
 ...
 --with-ccache

but I don't see with-ccache in any mozconfigs in tree...there's some build magic here I don't understand.
I'm assuming this isn't an issue anymore?  It seems like a build-config issue, if anything..
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
(In reply to Dustin J. Mitchell [:dustin] from comment #4)
> I'm assuming this isn't an issue anymore?  

It is hard to tell. Aurora tc windows builds are failing consistently. There's no mention of ccache now, but that may only be because the jobs are failing earlier (on hg pull now).
there was a patch (https://hg.mozilla.org/mozilla-central/rev/f0aae2c2bdd0) in bug 1304998 to mozconfig.cache which moves the windows platform check outside of the do-we-want-sccache logic. if that patch has made it to aurora, it should have fixed the problem (by preventing the --with-ccache flag, which we don't normally use on windows, being set).
You need to log in before you can comment on or make changes to this bug.