Closed Bug 1617748 Opened 5 years ago Closed 5 years ago

Run `./mach build`, `./mach build-backend`, `./mach configure` with Python 3

Categories

(Firefox Build System :: General, task)

task
Not set
normal

Tracking

(firefox77 fixed)

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: rstewart, Assigned: rstewart)

References

Details

Attachments

(1 file, 1 obsolete file)

No description provided.
Depends on: 1619408
Depends on: 1619460
Depends on: 1619788
Depends on: 1622021
Pushed by rstewart@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5eb9dee1b6f2 Run `./mach build`, `./mach build-backend`, `./mach configure` with Python 3 r=dmajor

Backed out changeset 5eb9dee1b6f2 (Bug 1617748) for hazard bustages

Push with failure: https://treeherder.mozilla.org/#/jobs?repo=autoland&searchStr=linux%2Cx64%2Cdebug%2Chazard-linux64-haz%2Fdebug%2C%28h%29&fromchange=70fee75ec91e661a2fb297c5d0a18a1bcdf1ba26&tochange=6ec0138bd0df88f6138ba09e5b7956a8c4bb84ac&selectedJob=292930575

Backout link: https://hg.mozilla.org/integration/autoland/rev/6ec0138bd0df88f6138ba09e5b7956a8c4bb84ac

Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=292930575&repo=autoland&lineNumber=6057

[task 2020-03-12T22:43:43.612Z] + python3 /builds/worker/checkouts/gecko/js/src/devtools/rootAnalysis/analyze.py -v --buildcommand=/builds/worker/checkouts/gecko/taskcluster/scripts/builder/hazard-browser.sh
[task 2020-03-12T22:43:43.648Z] Loaded /builds/worker/workspace/analysis/defaults.py
[task 2020-03-12T22:43:43.648Z] Running dbs to generate ()
[task 2020-03-12T22:43:43.648Z] SOURCE='/builds/worker/checkouts/gecko' XDB='/builds/worker/fetches/sixgill/usr/bin/xdb.so' ANALYZED_OBJDIR='/builds/worker/workspace/obj-analyzed' PATH="/builds/worker/fetches/sixgill/usr/bin:${PATH}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/builds/worker/workspace/obj-haz-shell/dist/bin" /builds/worker/checkouts/gecko/js/src/devtools/rootAnalysis/run_complete --foreground --no-logs --build-root=/builds/worker/workspace/obj-analyzed --wrap-dir=/builds/worker/fetches/sixgill/usr/libexec/sixgill/scripts/wrap_gcc --work-dir=work -b /builds/worker/fetches/sixgill/usr/bin --buildcommand=/builds/worker/checkouts/gecko/taskcluster/scripts/builder/hazard-browser.sh .
[task 2020-03-12T22:43:43.666Z] build started: Thu Mar 12 22:43:43 2020
[task 2020-03-12T22:43:43.672Z] Listening on 172.17.0.4:46458
[task 2020-03-12T22:43:44.668Z] Connecting to manager on port 172.17.0.4:46458.
[task 2020-03-12T22:43:45.304Z] Received connection.
[task 2020-03-12T22:43:45.417Z]  Config object not found by mach.
[task 2020-03-12T22:43:45.417Z]  0:00.63 Clobber not needed.
[task 2020-03-12T22:43:45.418Z]  0:00.63 Adding make options from /builds/worker/checkouts/gecko/js/src/devtools/rootAnalysis/mozconfig.haz
[task 2020-03-12T22:43:45.418Z]     MOZ_OBJDIR=/builds/worker/checkouts/gecko/obj-analyzed
[task 2020-03-12T22:43:45.418Z]     OBJDIR=/builds/worker/checkouts/gecko/obj-analyzed
[task 2020-03-12T22:43:45.418Z]     FOUND_MOZCONFIG=/builds/worker/checkouts/gecko/js/src/devtools/rootAnalysis/mozconfig.haz
[task 2020-03-12T22:43:45.418Z]     export FOUND_MOZCONFIG
[task 2020-03-12T22:43:45.421Z]  0:00.63 /usr/bin/make -f client.mk -s configure
[task 2020-03-12T22:43:45.424Z] Error running mach:
[task 2020-03-12T22:43:45.424Z] 
[task 2020-03-12T22:43:45.424Z]     ['build', '-v', '-j8']
[task 2020-03-12T22:43:45.424Z] 
[task 2020-03-12T22:43:45.424Z] The error occurred in code that was called by the mach command. This is either
[task 2020-03-12T22:43:45.424Z] a bug in the called code itself or in the way that mach is calling it.
[task 2020-03-12T22:43:45.424Z] You can invoke |./mach busted| to check if this issue is already on file. If it
[task 2020-03-12T22:43:45.424Z] isn't, please use |./mach busted file| to report it. If |./mach busted| is
[task 2020-03-12T22:43:45.424Z] misbehaving, you can also inspect the dependencies of bug 1543241.
[task 2020-03-12T22:43:45.424Z] 
[task 2020-03-12T22:43:45.424Z] If filing a bug, please include the full output of mach, including this error
[task 2020-03-12T22:43:45.424Z] message.
[task 2020-03-12T22:43:45.424Z] 
[task 2020-03-12T22:43:45.424Z] The details of the failure are as follows:
[task 2020-03-12T22:43:45.424Z] 
[task 2020-03-12T22:43:45.424Z] TypeError: __init__() got an unexpected keyword argument 'encoding'
[task 2020-03-12T22:43:45.424Z] 
[task 2020-03-12T22:43:45.424Z]   File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/build_commands.py", line 138, in build
[task 2020-03-12T22:43:45.424Z]     append_env=append_env)
[task 2020-03-12T22:43:45.424Z]   File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/controller/building.py", line 1077, in build
[task 2020-03-12T22:43:45.424Z]     append_env=append_env)
[task 2020-03-12T22:43:45.424Z]   File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/controller/building.py", line 1376, in configure
[task 2020-03-12T22:43:45.424Z]     append_env=append_env)
[task 2020-03-12T22:43:45.424Z]   File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/controller/building.py", line 1527, in _run_client_mk
[task 2020-03-12T22:43:45.424Z]     append_env=append_env)
[task 2020-03-12T22:43:45.424Z]   File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/base.py", line 755, in _run_make
[task 2020-03-12T22:43:45.424Z]     return fn(**params)
[task 2020-03-12T22:43:45.424Z]   File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/base.py", line 806, in _run_command_in_srcdir
[task 2020-03-12T22:43:45.424Z]     return self.run_process(cwd=self.topsrcdir, **args)
[task 2020-03-12T22:43:45.424Z]   File "/builds/worker/checkouts/gecko/python/mach/mach/mixin/process.py", line 124, in run_process
[task 2020-03-12T22:43:45.424Z]     p.run()
[task 2020-03-12T22:43:45.424Z]   File "/builds/worker/checkouts/gecko/testing/mozbase/mozprocess/mozprocess/processhandler.py", line 825, in run
[task 2020-03-12T22:43:45.424Z]     self.proc = self.Process([self.cmd] + self.args, **args)
[task 2020-03-12T22:43:45.424Z]   File "/builds/worker/checkouts/gecko/testing/mozbase/mozprocess/mozprocess/processhandler.py", line 137, in __init__
[task 2020-03-12T22:43:45.424Z]     subprocess.Popen.__init__(self, args, **kwargs)
[task 2020-03-12T22:43:45.462Z] Received connection.
[task 2020-03-12T22:43:45.462Z] Final transaction received, finishing...
[task 2020-03-12T22:43:45.463Z] Waiting for manager to finish (build status 1)...
[task 2020-03-12T22:43:45.463Z] Exiting with status 1
[task 2020-03-12T22:43:45.464Z] build finished (status 1): Thu Mar 12 22:43:45 2020
[task 2020-03-12T22:43:45.464Z] Exiting run_complete with status 1
[task 2020-03-12T22:43:45.465Z] Traceback (most recent call last):
[task 2020-03-12T22:43:45.465Z]   File "/builds/worker/checkouts/gecko/js/src/devtools/rootAnalysis/analyze.py", line 344, in <module>
[task 2020-03-12T22:43:45.465Z]     run_job(step, data)
[task 2020-03-12T22:43:45.465Z]   File "/builds/worker/checkouts/gecko/js/src/devtools/rootAnalysis/analyze.py", line 214, in run_job
[task 2020-03-12T22:43:45.465Z]     subprocess.check_call(command, env=env(config))
[task 2020-03-12T22:43:45.465Z]   File "/usr/lib/python3.5/subprocess.py", line 271, in check_call
[task 2020-03-12T22:43:45.465Z]     raise CalledProcessError(retcode, cmd)
[task 2020-03-12T22:43:45.466Z] subprocess.CalledProcessError: Command '['/builds/worker/checkouts/gecko/js/src/devtools/rootAnalysis/run_complete', '--foreground', '--no-logs', '--build-root=/builds/worker/workspace/obj-analyzed', '--wrap-dir=/builds/worker/fetches/sixgill/usr/libexec/sixgill/scripts/wrap_gcc', '--work-dir=work', '-b', '/builds/worker/fetches/sixgill/usr/bin', '--buildcommand=/builds/worker/checkouts/gecko/taskcluster/scripts/builder/hazard-browser.sh', '.']' returned non-zero exit status 1
[task 2020-03-12T22:43:45.472Z] + onexit
[task 2020-03-12T22:43:45.472Z] + grab_artifacts /builds/worker/workspace/analysis /builds/worker/artifacts
[task 2020-03-12T22:43:45.472Z] + local analysis_dir
[task 2020-03-12T22:43:45.472Z] + analysis_dir=/builds/worker/workspace/analysis
[task 2020-03-12T22:43:45.472Z] + local artifacts
[task 2020-03-12T22:43:45.472Z] + artifacts=/builds/worker/artifacts
[task 2020-03-12T22:43:45.472Z] + cd /builds/worker/workspace/analysis
[task 2020-03-12T22:43:45.472Z] + ls -lah
[task 2020-03-12T22:43:45.474Z] total 72K
Flags: needinfo?(rstewart)
Depends on: 1622963
No longer depends on: 1622963
Depends on: 1623701

Have a new patch out to address the hazard bustage at which point I think we should be good to go.

Flags: needinfo?(rstewart)
Depends on: 1623952
Depends on: 1623982
Pushed by rstewart@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/547716d123e2 Run `./mach build`, `./mach build-backend`, `./mach configure` with Python 3 r=dmajor
Depends on: 1625014
Attachment #9135840 - Attachment is obsolete: true
Pushed by rstewart@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e62f3effd132 Run `./mach build`, `./mach build-backend`, `./mach configure` with Python 3 r=dmajor
Flags: needinfo?(rstewart)
Depends on: 1625285
Depends on: 1627163
Flags: needinfo?(rstewart)
Pushed by rstewart@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/351492756d09 Run `./mach build`, `./mach build-backend`, `./mach configure` with Python 3 r=dmajor
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
No longer regressed by: 1628621
Regressions: 1628621
Regressions: 1629159
Depends on: 1635112
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: