The job for unit test fails: 20:48:18 + docker run --rm -i --entrypoint /bin/bash -v /var/lib/jenkins/workspace/janus-admin-unit-test-docker/source/:/code:ro -v /var/lib/jenkins/workspace/janus-admin-unit-test-docker/results:/results:rw docker.mgm.sipwise.com/janus-admin-buster:mr8.5.4 -c /code/t/testrunner 20:48:28 ### Copying and moving files 20:48:28 ################################################################################ 20:48:28 Finished main setup, now running tests ... 20:48:29 npm WARN npm npm does not support Node.js v10.24.0 20:48:29 npm WARN npm You should probably upgrade to a newer version of node as we 20:48:29 npm WARN npm can't make any promises that npm will work with this version. 20:48:29 npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9. 20:48:29 npm WARN npm You can find the latest version at https://nodejs.org/ 20:48:29 20:48:29 > janus-admin@1.0.5 test /tmp/code 20:48:29 > mocha -b --exit -R spec --full-trace test/*-spec.js 20:48:29 20:48:29 sh: 1: mocha: not found 20:48:29 npm ERR! Test failed. See above for more details. This dependency seems to be present in packages*.json package, however it doesn't work. So adding mocha as a pakcage to install, to try to get around the problem and be able to build the package for the mr8.5.4 release. Change-Id: I6c9bd2c2c1c9c17b7e2248cc26f3fcb134eb27ca (cherry picked from commitmr8.5.484eb9fc6e7) (cherry picked from commit20171b3e4a)
parent
51f0d8b2b0
commit
bb0228fca9
Loading…
Reference in new issue