tom-pytel commented on pull request #31:
URL: https://github.com/apache/skywalking-nodejs/pull/31#issuecomment-786042915
> @tom-pytel can you change those version back to 2.1 and try again? I can
reproduce this on a Ubuntu machine, though with different error message
2.1, the errors are different but still erroring. Also, 17 minutes to test 4
simple plugins?
```
FAIL tests/plugins/mysql/test.ts (933.259 s)
● plugin tests ›
/home/tom/src/revdebugjs/skywalking-nodejs/tests/plugins/mysql/test.ts
Creating network
"testcontainers-61d5207f762731b72fc2a68e41ebe3a9_traveling-light" with the
default driver
Building collector
Image for service collector was built because it did not already exist.
To rebuild this image you must use `docker-compose build` or `docker-compose up
--build`.
Pulling mysql (docker.io/mysql:5.7.33)...
Get
https://registry-1.docker.io/v2/library/mysql/manifests/sha256:853105ad984a9fe87dd109be6756e1fbdba8b003b303d88ac0dda6b455f36556:
net/http: TLS handshake timeout
at
node_modules/testcontainers/dist/docker-compose-environment.js:189:15
at fulfilled
(node_modules/testcontainers/dist/docker-compose-environment.js:24:58)
at runMicrotasks (<anonymous>)
● plugin tests ›
/home/tom/src/revdebugjs/skywalking-nodejs/tests/plugins/mysql/test.ts
connect ECONNREFUSED 127.0.0.1:5001
2021-02-25T16:41:36.150Z testcontainers ERROR Failed to start DockerCompose
environment: Creating network
"testcontainers-53a586624c68a4aca6c99d79e6247822_traveling-light" with the
default driver
Building collector
Image for service collector was built because it did not already exist. To
rebuild this image you must use `docker-compose build` or `docker-compose up
--build`.
Building server
Service 'server' failed to build: The command '/bin/sh -c npm install
request && npm install' returned a non-zero code: 1
2021-02-25T16:41:36.150Z testcontainers INFO Downing DockerCompose
environment
2021-02-25T16:41:36.894Z testcontainers INFO Downed DockerCompose environment
FAIL tests/plugins/express/test.ts (971.688 s)
● plugin tests ›
/home/tom/src/revdebugjs/skywalking-nodejs/tests/plugins/express/test.ts
Creating network
"testcontainers-c481cfb7ca6a39b81b77b8fa108a7284_traveling-light" with the
default driver
Building collector
Image for service collector was built because it did not already exist.
To rebuild this image you must use `docker-compose build` or `docker-compose up
--build`.
Building server
Service 'server' failed to build: The command '/bin/sh -c npm install
request && npm install' returned a non-zero code: 1
at
node_modules/testcontainers/dist/docker-compose-environment.js:189:15
at fulfilled
(node_modules/testcontainers/dist/docker-compose-environment.js:24:58)
at runMicrotasks (<anonymous>)
● plugin tests ›
/home/tom/src/revdebugjs/skywalking-nodejs/tests/plugins/express/test.ts
connect ECONNREFUSED 127.0.0.1:5001
FAIL tests/plugins/axios/test.ts (974.59 s)
● plugin tests ›
/home/tom/src/revdebugjs/skywalking-nodejs/tests/plugins/axios/test.ts
Creating network
"testcontainers-b66388486c6223686148ce4a19677f16_traveling-light" with the
default driver
Building collector
Image for service collector was built because it did not already exist.
To rebuild this image you must use `docker-compose build` or `docker-compose up
--build`.
Building server
Service 'server' failed to build: The command '/bin/sh -c npm install
request && npm install' returned a non-zero code: 1
at
node_modules/testcontainers/dist/docker-compose-environment.js:189:15
at fulfilled
(node_modules/testcontainers/dist/docker-compose-environment.js:24:58)
at runMicrotasks (<anonymous>)
● plugin tests ›
/home/tom/src/revdebugjs/skywalking-nodejs/tests/plugins/axios/test.ts
connect ECONNREFUSED 127.0.0.1:5001
FAIL tests/plugins/http/test.ts (1060.006 s)
● plugin tests ›
/home/tom/src/revdebugjs/skywalking-nodejs/tests/plugins/http/test.ts
Creating network
"testcontainers-53a586624c68a4aca6c99d79e6247822_traveling-light" with the
default driver
Building collector
Image for service collector was built because it did not already exist.
To rebuild this image you must use `docker-compose build` or `docker-compose up
--build`.
Building server
Service 'server' failed to build: The command '/bin/sh -c npm install
request && npm install' returned a non-zero code: 1
at
node_modules/testcontainers/dist/docker-compose-environment.js:189:15
at fulfilled
(node_modules/testcontainers/dist/docker-compose-environment.js:24:58)
at runMicrotasks (<anonymous>)
● plugin tests ›
/home/tom/src/revdebugjs/skywalking-nodejs/tests/plugins/http/test.ts
connect ECONNREFUSED 127.0.0.1:5001
Test Suites: 4 failed, 4 total
Tests: 4 failed, 4 total
Snapshots: 0 total
Time: 1060.214 s
Ran all test suites.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] test: `DEBUG=testcontainers* jest`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] test script.
npm ERR! This is probably not a problem with npm. There is likely additional
logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/tom/.npm/_logs/2021-02-25T16_43_37_124Z-debug.log
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]