Closed Bug 1355453 Opened 7 years ago Closed 7 years ago

Windows Opt x86 and x64 build failure on 2017-04-11: subprocess.CalledProcessError: - mozmake.exe[5]: *** [crashinjectdll.dll_syms.track] Error 1

Categories

(Thunderbird :: Build Config, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jorgk-bmo, Assigned: Paenglab)

References

Details

(Whiteboard: [Thunderbird-testfailure: B Windows opt])

Attachments

(1 file)

mozmake.exe[5]: Leaving directory 'c:/builds/moz2_slave/tb-c-cen-w32-ntly-000000000000/build/objdir-tb/build/win32/crashinjectdll'
c:/builds/moz2_slave/tb-c-cen-w32-ntly-000000000000/build/mozilla/config/recurse.mk:73: recipe for target 'build/win32/crashinjectdll/syms' failed
Traceback (most recent call last):
  File "c:\mozilla-build\python27\Lib\runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "c:\mozilla-build\python27\Lib\runpy.py", line 72, in _run_code
    exec code in run_globals
  File "c:\builds\moz2_slave\tb-c-cen-w32-ntly-000000000000\build\mozilla\python\mozbuild\mozbuild\action\dumpsymbols.py", line 79, in <module>
    sys.exit(main(sys.argv[1:]))
  File "c:\builds\moz2_slave\tb-c-cen-w32-ntly-000000000000\build\mozilla\python\mozbuild\mozbuild\action\dumpsymbols.py", line 75, in main
    return dump_symbols(*argv)
  File "c:\builds\moz2_slave\tb-c-cen-w32-ntly-000000000000\build\mozilla\python\mozbuild\mozbuild\action\dumpsymbols.py", line 64, in dump_symbols
    out_files = subprocess.check_output(args)
  File "c:\mozilla-build\python27\Lib\subprocess.py", line 575, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['c:/builds/moz2_slave/tb-c-cen-w32-ntly-000000000000/build/objdir-tb/_virtualenv/Scripts/python.exe', u'c:/builds/moz2_slave/tb-c-cen-w32-ntly-000000000000/build/mozilla\\toolkit\\crashreporter\\tools\\symbolstore.py', '-c', '--vcs-info', '-i', u'--install-manifest=c:/builds/moz2_slave/tb-c-cen-w32-ntly-000000000000/build/objdir-tb\\_build_manifests\\install\\dist_include,c:/builds/moz2_slave/tb-c-cen-w32-ntly-000000000000/build/objdir-tb\\dist\\include', '-s', u'c:/builds/moz2_slave/tb-c-cen-w32-ntly-000000000000/build/mozilla', u'c:/builds/moz2_slave/tb-c-cen-w32-ntly-000000000000/build/objdir-tb\\dist\\host\\bin\\dump_syms.exe', u'c:/builds/moz2_slave/tb-c-cen-w32-ntly-000000000000/build/objdir-tb\\dist\\crashreporter-symbols', 'c:\\builds\\moz2_slave\\tb-c-cen-w32-ntly-000000000000\\build\\objdir-tb\\build\\win32\\crashinjectdll\\crashinjectdll.dll']' returned non-zero exit status 1
mozmake.exe[5]: *** [crashinjectdll.dll_syms.track] Error 1
mozmake.exe[4]: *** [build/win32/crashinjectdll/syms] Error 2
mozmake.exe[4]: *** Waiting for unfinished jobs....

Last successful build (on try): M-C: 731639fccc709a4dd95fed7e9dda88efb2
Failures with this M-C: 7031c811659d90275e7b8e155702779108

https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=731639fccc709a4dd95fed7e9dda88efb2&tochange=7031c811659d90275e7b8e155702779108
Edmund, any idea here?
Flags: needinfo?(ewong)
My money would be on bug 1337986 - Move the work of buildsymbols into the compile tier
Sounds plausible.

Chris, can you tell whether/how/why/where bug 1337986 is breaking our Windows Opt builds, debug builds are fine:
https://treeherder.mozilla.org/#/jobs?repo=comm-central&revision=5a9983b82898ad03268862080953083e0b626be0&selectedJob=90401658
Flags: needinfo?(cmanchester)
Yes, it looks like PDBSTR_PATH is set to a unix style path in the environment for debug builds. I had to convert this to a native windows path in bug 1337986 for various Firefox builds.
Flags: needinfo?(cmanchester)
Oh, I didn't paste the relevant error in comment #0:
PDBSTR_PATH=/c/Program Files (x86)/Windows Kits/8.0/Debuggers/x64/srcsrv/pdbstr.exe
Invalid path to pdbstr.exe - please set/check PDBSTR_PATH.

Where do we need to set this, I can't see this at all in C-C:
https://dxr.mozilla.org/comm-central/search?q=PDBSTR_PATH&redirect=false

The search only shows it in Makefile.in in mozilla/ which is basically M-C.

Could you please give me a few more hints where/how to fix this problem. Or does it need fixing in M-C?
Flags: needinfo?(cmanchester)
The path changes are done in this changeset: https://hg.mozilla.org/mozilla-central/rev/17fc25af0768 but does TB access them during tests? I doubt so.

The strange thing is, Windows opt has the wrong path in its log but the debug builds have nothing of this path in their logs.

Maybe the question is, why does opt (or tries to) run this test and debug not?
(In reply to Jorg K (GMT+2) from comment #5)
> Oh, I didn't paste the relevant error in comment #0:
> PDBSTR_PATH=/c/Program Files (x86)/Windows
> Kits/8.0/Debuggers/x64/srcsrv/pdbstr.exe
> Invalid path to pdbstr.exe - please set/check PDBSTR_PATH.
> 
> Where do we need to set this, I can't see this at all in C-C:
> https://dxr.mozilla.org/comm-central/search?q=PDBSTR_PATH&redirect=false
> 
> The search only shows it in Makefile.in in mozilla/ which is basically M-C.
> 
> Could you please give me a few more hints where/how to fix this problem. Or
> does it need fixing in M-C?

I'm sorry to say I don't know exactly where to set this, but the instances I see in that dxr search under mozilla/ are unix style paths. If those are being used in the Thunderbird builds that would be an issue, but I'd also look at https://dxr.mozilla.org/build-central/source/buildbot-configs/mozilla/thunderbird_config.py as a wild guess.
Flags: needinfo?(cmanchester)
Attached patch Bug1355453.patchSplinter Review
Chris, thank you for the hint.

Rail, as a reference what I've done, see https://hg.mozilla.org/mozilla-central/rev/17fc25af0768. And when it's r+ could you land it then as I still not know how to do this?
Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #8857053 - Flags: review?(rail)
Attachment #8857053 - Flags: review?(rail) → review+
Rail, could you please push this to production as requested in comment #8. Thank you in advance.
Flags: needinfo?(ewong) → needinfo?(rail)
I guess this has been solved.
See Also: → 1355714
(In reply to Edmund Wong (:ewong) from comment #10)
> I guess this has been solved.
If someone could do the push.
Flags: needinfo?(ewong)
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Rail, what's the process to get this merged into production? Is this automatic?
Flags: needinfo?(rail)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: