Title: Testing (ng test) fails on docker only · Issue #11647 · angular/angular-cli · GitHub
Open Graph Title: Testing (ng test) fails on docker only · Issue #11647 · angular/angular-cli
X Title: Testing (ng test) fails on docker only · Issue #11647 · angular/angular-cli
Description: Bug Report or Feature Request (mark with an x) - [X] bug report -> please search issues before submitting - [ ] feature request Command (mark with an x) - [ ] new - [ ] build - [ ] serve - [X] test - [ ] e2e - [ ] generate - [ ] add - [ ...
Open Graph Description: Bug Report or Feature Request (mark with an x) - [X] bug report -> please search issues before submitting - [ ] feature request Command (mark with an x) - [ ] new - [ ] build - [ ] serve - [X] test...
X Description: Bug Report or Feature Request (mark with an x) - [X] bug report -> please search issues before submitting - [ ] feature request Command (mark with an x) - [ ] new - [ ] build - [ ] serve - [X] t...
Opengraph URL: https://github.com/angular/angular-cli/issues/11647
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Testing (ng test) fails on docker only","articleBody":"\u003c!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION YOUR ISSUE MIGHT BE CLOSED WITHOUT INVESTIGATING\r\n-->\r\n### Bug Report or Feature Request (mark with an `x`)\r\n```\r\n- [X] bug report -> please search issues before submitting\r\n- [ ] feature request\r\n```\r\n\r\n### Command (mark with an `x`)\r\n```\r\n- [ ] new\r\n- [ ] build\r\n- [ ] serve\r\n- [X] test\r\n- [ ] e2e\r\n- [ ] generate\r\n- [ ] add\r\n- [ ] update\r\n- [ ] lint\r\n- [ ] xi18n\r\n- [ ] run\r\n- [ ] config\r\n- [ ] help\r\n- [ ] version\r\n- [ ] doc\r\n```\r\n\r\n### Versions\r\nNodeJS: `v8.10.0`\r\nNPM: `3.5.2`\r\nAngular CLI: `6.0.8` (Angular 6.0.9)\r\nDocker: `18.06.0-ce`, build `0ffa825`\r\nHost: Ubuntu 18.04 LTS\r\n\r\nContainer: wraptor/npm-chrome\r\n\r\n\r\n### Repro steps\r\nCreate a couple of default tests using services, components etc.\r\n\r\n### The log given by the failure\r\nDesktop build (Windows linux subsystem ubuntu bash):\r\n> wraptor@PC-Wraptor:/mnt/d/Developement/Git/Angular/Wheezie/Wheezie-Frontend$ ./node_modules/@angular/cli/bin/ng test --watch false --progress false\r\n> (node:573) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead\r\n> 24 07 2018 22:27:56.250:INFO [karma]: Karma v1.7.1 server started at http://0.0.0.0:9876/\r\n> 24 07 2018 22:27:56.254:INFO [launcher]: Launching browser ChromeHeadless with unlimited concurrency\r\n> 24 07 2018 22:27:56.264:INFO [launcher]: Starting browser Chrome\r\n> 24 07 2018 22:28:04.046:INFO [HeadlessChrome 67.0.3396 (Linux 0.0.0)]: Connected on socket OoPNs1huY2JVMx_tAAAA with id 91895679\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0): Executed 12 of 12 SUCCESS (0.712 secs / 0.724 secs)\r\n\r\n\r\n\r\nDocker test:\r\n\r\n> $ ./node_modules/@angular/cli/bin/ng test --watch false --progress false\r\n> (node:11) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead\r\n> 24 07 2018 16:54:08.140:INFO [karma]: Karma v1.7.1 server started at http://0.0.0.0:9876/\r\n> 24 07 2018 16:54:08.143:INFO [launcher]: Launching browser ChromeHeadless with unlimited concurrency\r\n> 24 07 2018 16:54:08.151:INFO [launcher]: Starting browser Chrome\r\n> 24 07 2018 16:54:26.318:INFO [HeadlessChrome 67.0.3396 (Linux 0.0.0)]: Connected on socket cWNPXY1q_5RIJLsnAAAA with id 23845975\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0): Executed 0 of 12 SUCCESS (0 secs / 0 secs)\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0): Executed 1 of 12 SUCCESS (0 secs / 0.099 secs)\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0): Executed 2 of 12 SUCCESS (0 secs / 0.324 secs)\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0): Executed 3 of 12 SUCCESS (0 secs / 0.586 secs)\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0): Executed 4 of 12 SUCCESS (0 secs / 0.696 secs)\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0): Executed 5 of 12 SUCCESS (0 secs / 1.039 secs)\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0) HttpService should be created FAILED\r\n> \t[object ErrorEvent] thrown\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0) HttpService should be created FAILED\r\n> \t[object ErrorEvent] thrown\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0): Executed 6 of 12 (1 FAILED) (0 secs / 1.139 secs)\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0) HttpService should be created FAILED\r\n> \t[object ErrorEvent] thrown\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0): Executed 7 of 12 (1 FAILED) (0 secs / 1.182 secs)\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0): Executed 8 of 12 (1 FAILED) (0 secs / 1.353 secs)\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0): Executed 9 of 12 (1 FAILED) (0 secs / 1.44 secs)\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0): Executed 10 of 12 (1 FAILED) (0 secs / 1.456 secs)\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0): Executed 11 of 12 (1 FAILED) (0 secs / 1.488 secs)\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0): Executed 12 of 12 (1 FAILED) (0 secs / 1.509 secs)\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0): Executed 12 of 12 (1 FAILED) (1.741 secs / 1.509 secs)\r\n\r\nCommenting out the HttpService Service component's testing functions results in the next in chain to fail:\r\n\r\n> $ ./node_modules/@angular/cli/bin/ng test --watch false --progress false\r\n> (node:12) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead\r\n> 24 07 2018 20:16:51.515:INFO [karma]: Karma v1.7.1 server started at http://0.0.0.0:9876/\r\n> 24 07 2018 20:16:51.518:INFO [launcher]: Launching browser ChromeHeadless with unlimited concurrency\r\n> 24 07 2018 20:16:51.528:INFO [launcher]: Starting browser Chrome\r\n> 24 07 2018 20:17:10.713:INFO [HeadlessChrome 67.0.3396 (Linux 0.0.0)]: Connected on socket FATncIw0GAT1Oz2nAAAA with id 31134648\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0): Executed 0 of 11 SUCCESS (0 secs / 0 secs)\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0): Executed 1 of 11 SUCCESS (0 secs / 0.102 secs)\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0): Executed 2 of 11 SUCCESS (0 secs / 0.38 secs)\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0): Executed 3 of 11 SUCCESS (0 secs / 0.613 secs)\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0): Executed 4 of 11 SUCCESS (0 secs / 0.743 secs)\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0): Executed 5 of 11 SUCCESS (0 secs / 1.026 secs)\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0) LoadbarComponent should create FAILED\r\n> \t[object ErrorEvent] thrown\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0) LoadbarComponent should create FAILED\r\n> \t[object ErrorEvent] thrown\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0): Executed 6 of 11 (1 FAILED) (0 secs / 1.09 secs)\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0) LoadbarComponent should create FAILED\r\n> \t[object ErrorEvent] thrown\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0): Executed 7 of 11 (1 FAILED) (0 secs / 1.205 secs)\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0): Executed 8 of 11 (1 FAILED) (0 secs / 1.286 secs)\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0): Executed 9 of 11 (1 FAILED) (0 secs / 1.303 secs)\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0): Executed 10 of 11 (1 FAILED) (0 secs / 1.327 secs)\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0): Executed 11 of 11 (1 FAILED) (0 secs / 1.353 secs)\r\n> HeadlessChrome 67.0.3396 (Linux 0.0.0): Executed 11 of 11 (1 FAILED) (1.568 secs / 1.353 secs)\r\n\u003c!-- Normally this include a stack trace and some more information. -->\r\n\r\n\r\n### Desired functionality\r\nIt to work witout any issues in docker\r\n\r\n\r\n### Mention any other details that might be useful\r\nhttps://github.com/FlyingWraptor/docker--npm-chrome\r\n","author":{"url":"https://github.com/OhSoooLucky","@type":"Person","name":"OhSoooLucky"},"datePublished":"2018-07-24T21:43:25Z","url":"https://github.com/angular/angular-cli/issues/11647"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1ecb64f0-a364-def0-348e-d22be5827f7c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D1BC:157C65:A3D0AD:DBF3AF:6B00EEA4 |
| html-safe-nonce | 00634ab8608fc390b9164e92d49e3f797276cb1e851ac95e9d11a79156490e45 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMUJDOjE1N0M2NTpBM0QwQUQ6REJGM0FGOjZCMDBFRUE0IiwidmlzaXRvcl9pZCI6Ijc5NDc0MjU4MDAwNTQxNzMzNDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 36312a82d9093010362601af98a11b08ecee6a1e8e220a0b575cfd7971db93c8 |
| hovercard-subject-tag | issue:344214835 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/11647/issue_layout |
| twitter:image | https://opengraph.githubassets.com/59810aaa72af81da43dc347d258627aeb057cadb563385afb9249c0cbc135932/angular/angular-cli/issues/11647 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/59810aaa72af81da43dc347d258627aeb057cadb563385afb9249c0cbc135932/angular/angular-cli/issues/11647 |
| og:image:alt | Bug Report or Feature Request (mark with an x) - [X] bug report -> please search issues before submitting - [ ] feature request Command (mark with an x) - [ ] new - [ ] build - [ ] serve - [X] test... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | OhSoooLucky |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9983dd5da06943f833c971dd5b6bc988e2858be5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width