-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V8 CI is not Python 3 compatible #30152
Comments
/cc @nodejs/platform-ppc for 1. /cc @nodejs/build for 2. Is Python 3 the default Python on test-nearform_intel-ubuntu1604-x64-1 ? |
It shouldn't be. I believe
I don't know why it's selecting that, my understanding of
There's also something wrong with this:
I think it's to do with the switch to |
@nodejs/python FYI ^ "gclient doesn't yet support Python 3", yay (EDIT: Just an FYI, this isn't a critical dependency, we just need to be able to run it in our infra for v8 builds) |
FYI @targos I'm working on rebuilding python-3.7 with bzip2 support on the |
@AshCripps has re-ansibled the 09:49:49 Failed to fetch file gs://chromium-clang-format/942fc8b1789144b8071d3fc03ff0fcbe1cf81ac8 for v8/buildtools/linux64/clang-format. [Err: Traceback (most recent call last):
09:49:49 File "/home/iojs/build/workspace/node-test-commit-v8-linux/nodes/centos7-ppcle/v8test/v8test/deps/v8/_depot_tools/gsutil.py", line 190, in <module>
09:49:49 sys.exit(main())
09:49:49 File "/home/iojs/build/workspace/node-test-commit-v8-linux/nodes/centos7-ppcle/v8test/v8test/deps/v8/_depot_tools/gsutil.py", line 186, in main
09:49:49 clean=args.clean)
09:49:49 File "/home/iojs/build/workspace/node-test-commit-v8-linux/nodes/centos7-ppcle/v8test/v8test/deps/v8/_depot_tools/gsutil.py", line 134, in run_gsutil
09:49:49 gsutil_bin = ensure_gsutil(force_version, target, clean)
09:49:49 File "/home/iojs/build/workspace/node-test-commit-v8-linux/nodes/centos7-ppcle/v8test/v8test/deps/v8/_depot_tools/gsutil.py", line 113, in ensure_gsutil
09:49:49 target_zip_filename = download_gsutil(version, instance_dir)
09:49:49 File "/home/iojs/build/workspace/node-test-commit-v8-linux/nodes/centos7-ppcle/v8test/v8test/deps/v8/_depot_tools/gsutil.py", line 70, in download_gsutil
09:49:49 u = urllib.urlopen(url)
09:49:49 File "/usr/local/lib/python3.7/urllib/request.py", line 222, in urlopen
09:49:49 return opener.open(url, data, timeout)
09:49:49 File "/usr/local/lib/python3.7/urllib/request.py", line 525, in open
09:49:49 response = self._open(req, data)
09:49:49 File "/usr/local/lib/python3.7/urllib/request.py", line 548, in _open
09:49:49 'unknown_open', req)
09:49:49 File "/usr/local/lib/python3.7/urllib/request.py", line 503, in _call_chain
09:49:49 result = func(*args)
09:49:49 File "/usr/local/lib/python3.7/urllib/request.py", line 1387, in unknown_open
09:49:49 raise URLError('unknown url type: %s' % type)
09:49:49 urllib.error.URLError: <urlopen error unknown url type: https>
09:49:49 ] |
$ >>> |
On
>>> import urllib
>>> urllib.urlopen('https://nodejs.org/en/').read()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'urllib' has no attribute 'urlopen'
>>>
>>> import ssl
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.7/ssl.py", line 98, in <module>
import _ssl # if we can't import it, let the error propagate
ModuleNotFoundError: No module named '_ssl'
>>> |
So given we're building |
Seems reasonable, @AshCripps can you try adding openssl-devel to the deps, right after bzip2-devel? |
Ive added openssl-devel to the playbooks nodejs/build#2044 and its now installing on the machine, I just need someone to disable the machines on jenkins so I can rebuild python on them |
@AshCripps has reansibled the |
closing - @targos feel free to reopen if we missed something, but it looks like this fixes the host setup part of the problem. |
Thanks for the host setup! |
@targos sorry, I closed the wrong issue, yes, this should stay open until |
Issue to follow for the migration of Chromium to Python 3: https://bugs.chromium.org/p/chromium/issues/detail?id=942720 I don't know if there is a more specific one for depot_tools. |
@nodejs/build would it be possible to keep |
not something I can think of how to do without trying to throw far too much bash at it, @richardlau any bright ideas? |
Is the problem that they have py3? Should we remove it until v8 is py3 ready? |
We could try the https://issues.jenkins-ci.org/browse/JENKINS-26188 is requesting something equivalent to Travis CI's "allow_failures" but hasn't been implemented. |
cmd || true is the equivalent of Travis’s allow_failures. You get the output of cmd but the test continues / passes. |
Job: https://ci.nodejs.org/job/node-test-commit-v8-linux
It is now permanently red for the master branch.
There are at least two issues:
The Python version installed onFixedcentos7-ppcle
hosts doesn't include bzip2 support:build: ongoing list of actions for Python 3 compatibility #25789 (comment)
https://stackoverflow.com/questions/12806122/missing-python-bz2-module
https://ci.nodejs.org/job/node-test-commit-v8-linux/2592/nodes=centos7-ppcle,v8test=v8test/console
gclient
doesn't yet support Python 3Dependency v8 is not Python 3 compatible #24512 (comment)
https://ci.nodejs.org/job/node-test-commit-v8-linux/2592/nodes=benchmark-ubuntu1604-intel-64,v8test=v8test/console
The text was updated successfully, but these errors were encountered: