Closed Bug 1449946 Opened 8 years ago Closed 8 years ago

mozreview-virtualenv fails to build due to npm cert error

Categories

(MozReview Graveyard :: Infrastructure, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sheehan, Assigned: sheehan)

Details

Attachments

(1 file)

Running `version-control-tools/create-test-environment` is failing due to a CERT_UNTRUSTED error thrown by npm when applying the mozreview-virtualenv Ansible role to rbweb. This happens here : https://hg.mozilla.org/hgcustom/version-control-tools/file/tip/ansible/roles/mozreview-virtualenv/tasks/main.yml#l30. Most of the resources I can find (https://github.com/npm/npm/issues/20191, https://github.com/npm/npm/issues/17828, https://github.com/npm/npm/issues/5057, etc) seem to indicate the cause is an old, expired SSL certificate. Recommended fixes are either set SSL to non-strict (bleh) or update Node/npm. I have updated the role to download a newer version of Node/npm and the build no longer fails. I am working on running the test suite to see if this change breaks anything.
Comment on attachment 8971683 [details] mozreview: update Node version in mozreview-virtualenv Ansible role (Bug 1449946) r?gps Gregory Szorc [:gps] has approved the revision. https://phabricator.services.mozilla.com/D1059
Attachment #8971683 - Flags: review+
Pushed by gszorc@mozilla.com: https://hg.mozilla.org/hgcustom/version-control-tools/rev/2881897df2c4 mozreview: update Node version in mozreview-virtualenv Ansible role r=gps
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: