New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Headless Chrome crashes during npm run test on ubuntu-latest #6686
Comments
Hello, Please provide the minimal workflow with all the dependencies to reproduce the issue. |
We install the angular CLI We create a demo angular application by doing We then run Depencies needed is npm 16.x.x |
Issue at first glance appears to be similar to this old issue puppeteer/puppeteer#5661 (comment) |
Hello,
After downgrading to ubuntu-20.04 the problem is gone. |
Downgrading to ubuntu-20.04 does fix the problem. |
Hello! @BenLuts we can not guarantee that your code will work on ubuntu-22.04 at all due to version differences. From the log you provided we have not found faulty places we could fix on our side, that's why I am going to close the issue. Feel free to reach us out again if you have questions left. |
* Revises build configuration * Improves naming in tsconfig hierarchy * Updates public API and HttpConfigFetcher to match the upcoming configcat-common major version * Re-exports public API types from configcat-common * Replaces karma-typescript with karma-webpack (as module resolution is broken in the former) to unblock installing/upgrading to newer packages + configures source maps for meaningful stack traces in failing tests * Adds/updates tests * Updates samples * Exports new public types * Fixes sonar issues * Fixes chromium tests (actions/runner-images#6686) * Attempt at fixing failing checks * Fixes HTTP tests
* Revises build configuration * Improves naming in tsconfig hierarchy * Updates public API and HttpConfigFetcher to match the upcoming configcat-common major version * Replaces karma-typescript with karma-webpack (as module resolution is broken in the former) to unblock installing/upgrading to newer packages + configures source maps for meaningful stack traces in failing tests * Adds/updates tests * Updates sample * Exports new public types * Fixes sonar issues * Fixes chromium tests (actions/runner-images#6686)
* Revise build configuration * Improve naming in tsconfig hierarchy * Update public API and HttpConfigFetcher to match configcat-common v7.0 * Re-export public API types from configcat-common * Replace karma-typescript with karma-webpack (as module resolution is broken in the former) to unblock installing/upgrading to newer packages + configures source maps for meaningful stack traces in failing tests * Add/update tests * Update sample * Fix chromium tests (actions/runner-images#6686) * Update package-lock.json
Description
Since last friday we can not run npm test anymore. The process fails to launch Chome Headless.
`05 12 2022 06:32:42.413:INFO [karma-server]: Karma v6.4.0 server started at http://localhost:9876/
05 12 2022 06:32:42.415:INFO [launcher]: Launching browsers ChromeHeadless with concurrency unlimited
05 12 2022 06:32:42.460:INFO [launcher]: Starting browser ChromeHeadless
05 12 2022 06:32:44.909:ERROR [launcher]: Cannot start ChromeHeadless
DevTools listening on ws://127.0.0.1:9222/devtools/browser/f93225f1-51cf-4a41-a932-7df8503c560e
[1205/063243.725972:WARNING:gpu_process_host.cc(1206)] The GPU process has crashed 1 time(s)
[1205/063243.883740:WARNING:gpu_process_host.cc(1206)] The GPU process has crashed 2 time(s)
[1205/063244.058874:WARNING:gpu_process_host.cc(1206)] The GPU process has crashed 3 time(s)
[1205/063244.209427:WARNING:gpu_process_host.cc(1206)] The GPU process has crashed 4 time(s)
[1205/063244.356800:WARNING:gpu_process_host.cc(1206)] The GPU process has crashed 5 time(s)
[1205/063244.504552:WARNING:gpu_process_host.cc(1206)] The GPU process has crashed 6 time(s)
[1205/063244.504592:FATAL:gpu_data_manager_impl_private.cc(918)] The display compositor is frequently crashing. Goodbye.
`
Platforms affected
Runner images affected
Image version and build link
Image: ubuntu-22.04
Version: 20221127.1
Is it regression?
ubuntu-latest on December 1st was working fine.
Expected behavior
Headless Chrome starts correctly
Actual behavior
The display compositor is frequently crashing
Repro steps
npm install karma
ng test --watch=false --project prd --browsers=ChromeHeadless
The text was updated successfully, but these errors were encountered: