./mach build w/ android artifact build fails w/ "ValueError: invalid literal for int() with base 10: '@ 494744'" on macOS
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox71 fixed)
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: mjf, Assigned: chmanchester)
References
(Blocks 1 open bug)
Details
Attachments
(4 files)
Running an Android artifact build w/ the default suggested .mozconfig fails w/ "ValueError: invalid literal for int() with base 10: '@ 494744'"
Comment 1•5 years ago
|
||
What is the output of hg log --template '{rev}:{node}\n' -r 'last(public) and ::., {500})'
for you?
Reporter | ||
Comment 2•5 years ago
|
||
MJF-MacBookPro:moz-central mfroman$ hg log --template '{rev}:{node}\n' -r 'last(public) and ::., {500})'
hg: parse error at 22: syntax error in revset 'last(public) and ::., {500})'
(last(public) and ::., {500})
^ here)
I ran ./mach vcs-setup --update and got the same error message
Reporter | ||
Comment 3•5 years ago
|
||
Here is the output from hg log --template '{rev}:{node}\n' -r 'last(public() and ::., 500)'
Reporter | ||
Comment 4•5 years ago
|
||
Output for the command: env HGPLAIN=1 hg log --template '{rev}:{node}\n' -r 'last(public() and ::., 500)'
Comment 5•5 years ago
|
||
The problem is that when we're trying to find a pushhead for artifact builds:
https://searchfox.org/mozilla-central/source/python/mozbuild/mozbuild/artifacts.py#968-975
we're not properly invoking hg
with HGPLAIN=1
, so we get extensions, aliases, etc. interfering with the expected output.
There are a couple other instances of hg log
in this file that probably need to be addressed, too. Bootstrap handles this, but it handles it in kind of a bootstrap-specific way, so I'm not sure if there's much to be done here beyond duplicating the necessary code.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 6•5 years ago
|
||
I wrote a patch to set HGPLAIN, but I'm having trouble reproducing the issue to test. Comment 3 makes it looks like --graph
is being passed to log
by default, :mjf, have you made this the default in your hgrc? If so it looks like we can pass --no-graph
as well during an artifact build.
Reporter | ||
Comment 7•5 years ago
|
||
:chmanchester, I have log aliased to "log -G" in my .hgrc file.
Assignee | ||
Comment 8•5 years ago
|
||
Comment 10•5 years ago
|
||
Backed out changeset 45f760e2a4c1 (bug 1583234) when causing linting failures
push that casued the backout:
https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception%2Cusercancel%2Crunnable&revision=45f760e2a4c1f56747c6ff79ecd3f7eb59108976&selectedJob=269137455
backout: https://hg.mozilla.org/integration/autoland/rev/06853f21480b55cfa64d1779ded3b3cf778c5cbc
Assignee | ||
Updated•5 years ago
|
Comment 11•5 years ago
|
||
Comment 12•5 years ago
|
||
bugherder |
Reporter | ||
Comment 13•5 years ago
|
||
I can confirm a successful artifact build on macOS.
Description
•