René's URL Explorer Experiment


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

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@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-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:1ecb64f0-a364-def0-348e-d22be5827f7c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD1BC:157C65:A3D0AD:DBF3AF:6B00EEA4
html-safe-nonce00634ab8608fc390b9164e92d49e3f797276cb1e851ac95e9d11a79156490e45
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMUJDOjE1N0M2NTpBM0QwQUQ6REJGM0FGOjZCMDBFRUE0IiwidmlzaXRvcl9pZCI6Ijc5NDc0MjU4MDAwNTQxNzMzNDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac36312a82d9093010362601af98a11b08ecee6a1e8e220a0b575cfd7971db93c8
hovercard-subject-tagissue:344214835
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/11647/issue_layout
twitter:imagehttps://opengraph.githubassets.com/59810aaa72af81da43dc347d258627aeb057cadb563385afb9249c0cbc135932/angular/angular-cli/issues/11647
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/59810aaa72af81da43dc347d258627aeb057cadb563385afb9249c0cbc135932/angular/angular-cli/issues/11647
og:image:altBug 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameOhSoooLucky
hostnamegithub.com
expected-hostnamegithub.com
None4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc
turbo-cache-controlno-preview
go-importgithub.com/angular/angular-cli git https://github.com/angular/angular-cli.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id36891867
octolytics-dimension-repository_nwoangular/angular-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id36891867
octolytics-dimension-repository_network_root_nwoangular/angular-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9983dd5da06943f833c971dd5b6bc988e2858be5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular-cli/issues/11647#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F11647
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F11647
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular-cli
Reloadhttps://github.com/angular/angular-cli/issues/11647
Reloadhttps://github.com/angular/angular-cli/issues/11647
Reloadhttps://github.com/angular/angular-cli/issues/11647
angularhttps://github.com/angular
angular-clihttps://github.com/angular/angular-cli
Codehttps://github.com/angular/angular-cli
Issues198 (198)https://github.com/angular/angular-cli/issues
Pull requests23 (23)https://github.com/angular/angular-cli/pulls
Actionshttps://github.com/angular/angular-cli/actions
Security and quality8 (8)https://github.com/angular/angular-cli/security
Insightshttps://github.com/angular/angular-cli/insights
https://github.com/angular/angular-cli
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/11647
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/11647
Testing (ng test) fails on docker onlyhttps://github.com/angular/angular-cli/issues/11647#top
area: @angular-devkit/build-angularhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular-devkit%2Fbuild-angular%22
needs: repro stepsWe cannot reproduce the issue with the information givenhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22needs%3A%20repro%20steps%22
needsTriagehttps://github.com/angular/angular-cli/milestone/11
https://github.com/OhSoooLucky
OhSoooLuckyhttps://github.com/OhSoooLucky
on Jul 24, 2018https://github.com/angular/angular-cli/issues/11647#issue-344214835
http://0.0.0.0:9876/http://0.0.0.0:9876/
http://0.0.0.0:9876/http://0.0.0.0:9876/
http://0.0.0.0:9876/http://0.0.0.0:9876/
https://github.com/FlyingWraptor/docker--npm-chromehttps://github.com/FlyingWraptor/docker--npm-chrome
filipesilvahttps://github.com/filipesilva
needs: repro stepsWe cannot reproduce the issue with the information givenhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22needs%3A%20repro%20steps%22
area: @angular-devkit/build-angularhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular-devkit%2Fbuild-angular%22
on Jul 25, 2018https://github.com/angular/angular-cli/issues/11647#event-1753714253
https://github.com/filipesilva
filipesilvahttps://github.com/filipesilva
on Jul 25, 2018https://github.com/angular/angular-cli/issues/11647#issuecomment-407912397
herehttps://github.com/angular/angular-cli/blob/master/CONTRIBUTING.md#-submitting-an-issue
#11627https://github.com/angular/angular-cli/pull/11627
https://github.com/OhSoooLucky
OhSoooLuckyhttps://github.com/OhSoooLucky
on Jul 26, 2018https://github.com/angular/angular-cli/issues/11647#issuecomment-408214437
https://github.com/yusijs
yusijshttps://github.com/yusijs
on Nov 15, 2018https://github.com/angular/angular-cli/issues/11647#issuecomment-439010180
https://github.com/OhSoooLucky
OhSoooLuckyhttps://github.com/OhSoooLucky
on Nov 17, 2018https://github.com/angular/angular-cli/issues/11647#issuecomment-439605693
@yusijshttps://github.com/yusijs
https://github.com/samirotiv
samirotivhttps://github.com/samirotiv
on Jan 5, 2019https://github.com/angular/angular-cli/issues/11647#issuecomment-451687383
https://github.com/OhSoooLucky
OhSoooLuckyhttps://github.com/OhSoooLucky
on Jan 6, 2019https://github.com/angular/angular-cli/issues/11647#issuecomment-451708464
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular-cli/milestone/11
on Jan 24, 2019https://github.com/angular/angular-cli/issues/11647#event-2094581582
https://github.com/filipesilva
filipesilvahttps://github.com/filipesilva
on Jan 29, 2019https://github.com/angular/angular-cli/issues/11647#issuecomment-458567448
filipesilvahttps://github.com/filipesilva
completedhttps://github.com/angular/angular-cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jan 29, 2019https://github.com/angular/angular-cli/issues/11647#event-2103854899
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 9, 2019https://github.com/angular/angular-cli/issues/11647#issuecomment-529321769
automatic conversation locking policyhttps://github.com/angular/angular/blob/67d80f/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 9, 2019https://github.com/angular/angular-cli/issues/11647#event-2617526839
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular-cli/issues/11647
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/11647
area: @angular-devkit/build-angularhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular-devkit%2Fbuild-angular%22
needs: repro stepsWe cannot reproduce the issue with the information givenhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22needs%3A%20repro%20steps%22
needsTriageNo due datehttps://github.com/angular/angular-cli/milestone/11
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.