Project

General

Profile

Actions

Bug #24438

closed

make-dist on arm64 fails due to nodeenv for the dashboard

Added by Paul Emmerich almost 6 years ago. Updated about 3 years ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Category:
Build, CI, Dependencies & Tools
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

It fails when trying to download node/npm binaries

 * Install prebuilt node (8.10.0) .
Traceback (most recent call last):
  File "/tmp/tmp.5XyTKVfpuM/bin/nodeenv", line 11, in <module>
    sys.exit(main())
  File "/tmp/tmp.5XyTKVfpuM/local/lib/python2.7/site-packages/nodeenv.py", line 1072, in main
    create_environment(env_dir, opt)
  File "/tmp/tmp.5XyTKVfpuM/local/lib/python2.7/site-packages/nodeenv.py", line 901, in create_environment
    install_node(env_dir, src_dir, opt)
  File "/tmp/tmp.5XyTKVfpuM/local/lib/python2.7/site-packages/nodeenv.py", line 693, in install_node
    download_node_src(node_url, src_dir, opt, prefix)
  File "/tmp/tmp.5XyTKVfpuM/local/lib/python2.7/site-packages/nodeenv.py", line 542, in download_node_src
    dl_contents = io.BytesIO(urlopen(node_url).read())
  File "/tmp/tmp.5XyTKVfpuM/local/lib/python2.7/site-packages/nodeenv.py", line 565, in urlopen
    return urllib2.urlopen(req)
  File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found

it tries to download from https://nodejs.org/dist/v8.10.0/node-v8.10.0-linux-armv64.tar.gz but it should download from https://nodejs.org/dist/v8.10.0/node-v8.10.0-linux-arm64.tar.gz

Root cause is a bug is in nodeenv: https://github.com/ekalinin/nodeenv/issues/209 which is already fixed there, it's just not yet in pip.

Actions

Also available in: Atom PDF