Skip to content

Instantly share code, notes, and snippets.

@stephendonner
Created December 17, 2019 16:58
Show Gist options
  • Select an option

  • Save stephendonner/fbb45821a7bb7bc569b7950b2c49e486 to your computer and use it in GitHub Desktop.

Select an option

Save stephendonner/fbb45821a7bb7bc569b7950b2c49e486 to your computer and use it in GitHub Desktop.
./mach try fuzzy --full and ./mach try chooser errors, trying to push Android conditioned-profile patch to try
Tried to push the following jobs:
test-android-hw-g5-7-0-arm7-api-16/pgo-browsertime-tp6m-geckoview-cold-amazon-e10s
test-android-hw-g5-7-0-arm7-api-16/pgo-raptor-tp6m-1-geckoview-cold-e10s
test-android-hw-p2-8-0-android-aarch64/pgo-browsertime-tp6m-geckoview-cold-amazon-e10s
test-android-hw-p2-8-0-android-aarch64/pgo-raptor-tp6m-1-geckoview-cold-e10s
test-android-hw-p2-8-0-arm7-api-16/pgo-browsertime-tp6m-geckoview-cold-amazon-e10s
test-android-hw-p2-8-0-arm7-api-16/pgo-raptor-tp6m-1-geckoview-cold-e10s
Got:
stephendonner-7hlvdq:mozilla-unified sdonner$ ./mach try chooser
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Task configuration changed, generating target task set
Starting trychooser on http://127.0.0.1:5000
* Serving Flask app "tryselect.selectors.chooser.app" (lazy loading)
* Environment: development
* Debug mode: off
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 58424)
Traceback (most recent call last):
File "/usr/local/Cellar/python@2/2.7.17/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 599, in process_request_thread
self.finish_request(request, client_address)
File "/usr/local/Cellar/python@2/2.7.17/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 334, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/local/Cellar/python@2/2.7.17/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 657, in __init__
self.finish()
File "/usr/local/Cellar/python@2/2.7.17/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 716, in finish
self.wfile.close()
File "/usr/local/Cellar/python@2/2.7.17/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 283, in close
self.flush()
File "/usr/local/Cellar/python@2/2.7.17/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 307, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 32] Broken pipe
----------------------------------------
Creating temporary commit for remote...
A try_task_config.json
? Pipfile
? android-patch.patch
? device_name.patch
? testing/talos/talos/tests/tresize/tresize.manifest.develop
pushing to ssh://hg.mozilla.org/try
searching for changes
remote: Connection to hg.mozilla.org closed by remote host.
temporary commit removed, repository restored
abort: unexpected response: empty string
Error running mach:
['try', 'chooser']
The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.
If filing a bug, please include the full output of mach, including this error
message.
The details of the failure are as follows:
CalledProcessError: Command '(u'/usr/local/bin/hg', u'push-to-try', u'-m', u'Try Chooser Enhanced (6 tasks selected)\n\nPushed via `mach try chooser`')' returned non-zero exit status 255
File "/Users/sdonner/mozilla-source/mozilla-unified/tools/tryselect/mach_commands.py", line 331, in try_chooser
return self.run(**kwargs)
File "/Users/sdonner/mozilla-source/mozilla-unified/tools/tryselect/mach_commands.py", line 182, in run
return mod.run(**kwargs)
File "/Users/sdonner/mozilla-source/mozilla-unified/tools/tryselect/selectors/chooser/__init__.py", line 64, in run
push=push, closed_tree=closed_tree)
File "/Users/sdonner/mozilla-source/mozilla-unified/tools/tryselect/push.py", line 131, in push_to_try
vcs.push_to_try(commit_message)
File "/Users/sdonner/mozilla-source/mozilla-unified/python/mozversioncontrol/mozversioncontrol/__init__.py", line 404, in push_to_try
env=self._env)
File "/usr/local/Cellar/python@2/2.7.17/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
Exception TypeError: TypeError("'NoneType' object is not callable",) in <bound method _NonClosingTextIOWrapper.__del__ of <_io.TextIOWrapper encoding='UTF-8'>> ignored
Then tried ./mach try fuzzy --full:
stephendonner-7hlvdq:mozilla-unified sdonner$ ./mach try fuzzy --full
Creating temporary commit for remote...
A try_task_config.json
? Pipfile
? android-patch.patch
? device_name.patch
? testing/talos/talos/tests/tresize/tresize.manifest.develop
pushing to ssh://hg.mozilla.org/try
remote: packet_write_wait: Connection to 63.245.208.203 port 22: Broken pipe
temporary commit removed, repository restored
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.16 (default, Nov 9 2019, 05:55:08) [GCC 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.32.4) (-macos10.15-objc-s
** Mercurial Distributed SCM (version 5.1)
** Extensions loaded: absorb, histedit, rebase, fsmonitor, blackbox, push-to-try, firefoxtree, clang-format, js-format
Traceback (most recent call last):
File "/usr/local/bin/hg", line 43, in <module>
dispatch.run()
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 99, in run
status = dispatch(req)
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 225, in dispatch
ret = _runcatch(req) or 0
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 376, in _runcatch
return _callcatch(ui, _runcatchfunc)
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 384, in _callcatch
return scmutil.callcatch(ui, func)
File "/Library/Python/2.7/site-packages/mercurial/scmutil.py", line 167, in callcatch
return func()
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 367, in _runcatchfunc
return _dispatch(req)
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 1021, in _dispatch
cmdpats, cmdoptions)
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 756, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 1030, in _runcommand
return cmdfunc()
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 1018, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
File "/Library/Python/2.7/site-packages/mercurial/util.py", line 1682, in check
return func(*args, **kwargs)
File "/Users/sdonner/.mozbuild/version-control-tools/hgext/push-to-try/__init__.py", line 105, in push_to_try
commands.push(ui, repo, server, force=True, rev=[repo[m].rev()])
File "/Library/Python/2.7/site-packages/mercurial/commands.py", line 4664, in push
opargs=opargs)
File "/Library/Python/2.7/site-packages/mercurial/extensions.py", line 433, in closure
return func(*(args + a), **kw)
File "/Users/sdonner/.mozbuild/version-control-tools/hgext/firefoxtree/__init__.py", line 319, in push
**kwargs)
File "/Library/Python/2.7/site-packages/mercurial/exchange.py", line 566, in push
_pushdiscovery(pushop)
File "/Library/Python/2.7/site-packages/mercurial/exchange.py", line 607, in _pushdiscovery
step(pushop)
File "/Library/Python/2.7/site-packages/mercurial/exchange.py", line 615, in _pushdiscoverychangeset
ancestorsof=pushop.revs)
File "/Library/Python/2.7/site-packages/mercurial/discovery.py", line 62, in findcommonincoming
ancestorsof=ancestorsof)
File "/Library/Python/2.7/site-packages/mercurial/setdiscovery.py", line 343, in findcommonheads
'nodes': [clnode(r) for r in sample],
File "/Library/Python/2.7/site-packages/mercurial/wireprotov1peer.py", line 129, in __exit__
self.close()
File "/Library/Python/2.7/site-packages/mercurial/wireprotov1peer.py", line 283, in close
self._responsef.result()
File "/Library/Python/2.7/site-packages/mercurial/thirdparty/concurrent/futures/_base.py", line 464, in result
return self.__get_result()
File "/Library/Python/2.7/site-packages/mercurial/thirdparty/concurrent/futures/thread.py", line 65, in run
result = self.fn(*self.args, **self.kwargs)
File "/Library/Python/2.7/site-packages/mercurial/wireprotov1peer.py", line 304, in _readbatchresponse
remoteresult = next(wireresults)
StopIteration
Error running mach:
['try', 'fuzzy', '--full']
The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.
If filing a bug, please include the full output of mach, including this error
message.
The details of the failure are as follows:
CalledProcessError: Command '(u'/usr/local/bin/hg', u'push-to-try', u'-m', u'Fuzzy query=raptor tp6m1 gecko cold aar\n\nPushed via `mach try fuzzy`')' returned non-zero exit status 1
File "/Users/sdonner/mozilla-source/mozilla-unified/tools/tryselect/mach_commands.py", line 312, in try_fuzzy
return self.run(**kwargs)
File "/Users/sdonner/mozilla-source/mozilla-unified/tools/tryselect/mach_commands.py", line 182, in run
return mod.run(**kwargs)
File "/Users/sdonner/mozilla-source/mozilla-unified/tools/tryselect/selectors/fuzzy.py", line 471, in run
push=push, closed_tree=closed_tree)
File "/Users/sdonner/mozilla-source/mozilla-unified/tools/tryselect/push.py", line 131, in push_to_try
vcs.push_to_try(commit_message)
File "/Users/sdonner/mozilla-source/mozilla-unified/python/mozversioncontrol/mozversioncontrol/__init__.py", line 404, in push_to_try
env=self._env)
File "/usr/local/Cellar/python@2/2.7.17/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment