Skip to content

Remove --disable-gpu flag when starting headless chrome - #8774

Merged
stefanpenner merged 1 commit into
releasefrom
disable-gpu
Aug 2, 2019
Merged

stefanpenner merged 1 commit into
releasefrom
disable-gpu

Conversation

@stefanpenner

@stefanpenner stefanpenner commented Aug 1, 2019 •

Copy link
Copy Markdown
Contributor

i think this should fix:

 message: >
                Error: Browser failed to connect within 30s. testem.js not loaded?
                Stderr:

                DevTools listening on ws://127.0.0.1:59131/devtools/browser/ba633bc8-25cf-49a3-8f32-d14cf24fb5d8
                [0801/105531.351003:WARNING:system_snapshot_mac.cc(42)] sysctlbyname kern.nx: No such file or directory (2)
                [0801/105531.498065:WARNING:gpu_process_host.cc(1188)] The GPU process has crashed 1 time(s)
                [0801/105532.794732:WARNING:gpu_process_host.cc(962)] Reinitialized the GPU process after a crash. The reported initialization time was 0 ms
                [0801/105533.131335:WARNING:system_snapshot_mac.cc(42)] sysctlbyname kern.nx: No such file or directory (2)
                [0801/105533.155083:WARNING:gpu_process_host.cc(1188)] The GPU process has crashed 2 time(s)
                [0801/105534.318595:WARNING:gpu_process_host.cc(962)] Reinitialized the GPU process after a crash. The reported initialization time was 0 ms
                [0801/105534.559282:WARNING:system_snapshot_mac.cc(42)] sysctlbyname kern.nx: No such file or directory (2)
                [0801/105534.656891:WARNING:gpu_process_host.cc(1188)] The GPU process has crashed 3 time(s)
                [0801/105534.656929:FATAL:gpu_data_manager_impl_private.cc(894)] The display compositor is frequently crashing. Goodbye.
                [0801/105535.025242:WARNING:system_snapshot_mac.cc(42)] sysctlbyname kern.nx: No such file or directory (2)

@stefanpenner

stefanpenner commented Aug 1, 2019 •

Copy link
Copy Markdown
Contributor Author

Should this be in release? @ember-cli/ember-cli

@kellyselden

Copy link
Copy Markdown
Member

I believe so.

@stefanpenner
stefanpenner changed the base branch from master to release August 1, 2019 17:51
@stefanpenner

Copy link
Copy Markdown
Contributor Author

test failure appears unrelated:

not ok 199 build task test it displays environment
489  ENOENT: no such file or directory, mkdir '/home/travis/build/ember-cli/ember-cli/tmp/201971-6747-1ryf90k.c1tw/tmp/broccoli-6747yFlwTjjZYB4w'
490  Error: ENOENT: no such file or directory, mkdir '/home/travis/build/ember-cli/ember-cli/tmp/201971-6747-1ryf90k.c1tw/tmp/broccoli-6747yFlwTjjZYB4w'
491      at Object.mkdirSync (fs.js:757:3)
492      at Object.dirSync (node_modules/tmp/lib/tmp.js:357:6)
493      at Builder.setupTmpDirs (node_modules/broccoli/lib/builder.js:304:24)
494      at new Builder (node_modules/broccoli/lib/builder.js:69:10)
495      at Builder.setupBroccoliBuilder (lib/models/builder.js:83:22)
496      at new Builder (lib/models/builder.js:31:10)
497      at BuildTask.run (lib/tasks/build.js:15:19)
498      at Context.<anonymous> (tests/integration/tasks/build-test.js:110:17)

rwjblue commented Aug 1, 2019

Copy link
Copy Markdown
Member

Ya, definitely should target release so we can get a patch bump out to help folks out.

@stefanpenner

Copy link
Copy Markdown
Contributor Author

@rwjblue when is our next release going out? Or should I cut one tomorrow morning.

@rwjblue

rwjblue commented Aug 2, 2019

Copy link
Copy Markdown
Member

Ya, IMHO we should cut a patch release once this lands. I'm happy to do it tomorrow/Saturday if you don't have a chance.

@stefanpenner
stefanpenner merged commit b590386 into release Aug 2, 2019
@delete-merged-branch
delete-merged-branch Bot deleted the disable-gpu branch August 2, 2019 03:09
HeroicEric added a commit to HeroicEric/travis-web that referenced this pull request Aug 5, 2019
The `--disable-gpu` flag is [no longer
necessary](https://bugs.chromium.org/p/chromium/issues/detail?id=737678) and, at
least in some cases, is [causing
issues](https://bugs.chromium.org/p/chromium/issues/detail?id=982977).

This flag has already been [removed from ember-cli's
blueprints](ember-cli/ember-cli#8774)

As you may already know, this project's test suite is run as part of [Ember
Data](https://github.com/emberjs/data)'s test suite to help catch regressions.
The flag has already been [removed from Ember Data's own testem
config](warp-drive-data/warp-drive#6298) but Ember Data's complete
test suite cannot successfully run until all of our external integration
partners have also removed this flag.
HeroicEric added a commit to HeroicEric/client that referenced this pull request Aug 5, 2019
The `--disable-gpu` flag is [no longer
necessary](https://bugs.chromium.org/p/chromium/issues/detail?id=737678) and, at
least in some cases, is [causing
issues](https://bugs.chromium.org/p/chromium/issues/detail?id=982977).

This flag has already been [removed from ember-cli's
blueprints](ember-cli/ember-cli#8774)

As you may already know, this project's test suite is run as part of [Ember
Data](https://github.com/emberjs/data)'s test suite to help catch regressions.
The flag has already been [removed from Ember Data's own testem
config](warp-drive-data/warp-drive#6298) but Ember Data's complete
test suite cannot successfully run until all of our external integration
partners have also removed this flag.
HeroicEric added a commit to HeroicEric/ember-data-storefront that referenced this pull request Aug 5, 2019
The `--disable-gpu` flag is [no longer
necessary](https://bugs.chromium.org/p/chromium/issues/detail?id=737678) and, at
least in some cases, is [causing
issues](https://bugs.chromium.org/p/chromium/issues/detail?id=982977).

This flag has already been [removed from ember-cli's
blueprints](ember-cli/ember-cli#8774)

As you may already know, this project's test suite is run as part of [Ember
Data](https://github.com/emberjs/data)'s test suite to help catch regressions.
The flag has already been [removed from Ember Data's own testem
config](warp-drive-data/warp-drive#6298) but Ember Data's complete
test suite cannot successfully run until all of our external integration
partners have also removed this flag.
kategengler pushed a commit to emberobserver/client that referenced this pull request Aug 5, 2019
The `--disable-gpu` flag is [no longer
necessary](https://bugs.chromium.org/p/chromium/issues/detail?id=737678) and, at
least in some cases, is [causing
issues](https://bugs.chromium.org/p/chromium/issues/detail?id=982977).

This flag has already been [removed from ember-cli's
blueprints](ember-cli/ember-cli#8774)

As you may already know, this project's test suite is run as part of [Ember
Data](https://github.com/emberjs/data)'s test suite to help catch regressions.
The flag has already been [removed from Ember Data's own testem
config](warp-drive-data/warp-drive#6298) but Ember Data's complete
test suite cannot successfully run until all of our external integration
partners have also removed this flag.
HeroicEric added a commit to HeroicEric/ember-resource-metadata that referenced this pull request Aug 5, 2019
The `--disable-gpu` flag is [no longer
necessary](https://bugs.chromium.org/p/chromium/issues/detail?id=737678) and, at
least in some cases, is [causing
issues](https://bugs.chromium.org/p/chromium/issues/detail?id=982977).

This flag has already been [removed from ember-cli's
blueprints](ember-cli/ember-cli#8774)

As you may already know, this project's test suite is run as part of [Ember
Data](https://github.com/emberjs/data)'s test suite to help catch regressions.
The flag has already been [removed from Ember Data's own testem
config](warp-drive-data/warp-drive#6298) but Ember Data's complete
test suite cannot successfully run until all of our external integration
partners have also removed this flag.
HeroicEric added a commit to HeroicEric/ember-data-relationship-tracker that referenced this pull request Aug 5, 2019
The `--disable-gpu` flag is [no longer
necessary](https://bugs.chromium.org/p/chromium/issues/detail?id=737678) and, at
least in some cases, is [causing
issues](https://bugs.chromium.org/p/chromium/issues/detail?id=982977).

This flag has already been [removed from ember-cli's
blueprints](ember-cli/ember-cli#8774)

As you may already know, this project's test suite is run as part of [Ember
Data](https://github.com/emberjs/data)'s test suite to help catch regressions.
The flag has already been [removed from Ember Data's own testem
config](warp-drive-data/warp-drive#6298) but Ember Data's complete
test suite cannot successfully run until all of our external integration
partners have also removed this flag.
HeroicEric added a commit to HeroicEric/ember-data.model-fragments that referenced this pull request Aug 5, 2019
The `--disable-gpu` flag is [no longer
necessary](https://bugs.chromium.org/p/chromium/issues/detail?id=737678) and, at
least in some cases, is [causing
issues](https://bugs.chromium.org/p/chromium/issues/detail?id=982977).

This flag has already been [removed from ember-cli's
blueprints](ember-cli/ember-cli#8774)

As you may already know, this project's test suite is run as part of [Ember
Data](https://github.com/emberjs/data)'s test suite to help catch regressions.
The flag has already been [removed from Ember Data's own testem
config](warp-drive-data/warp-drive#6298) but Ember Data's complete
test suite cannot successfully run until all of our external integration
partners have also removed this flag.
HeroicEric added a commit to HeroicEric/ember-data-change-tracker that referenced this pull request Aug 5, 2019
The `--disable-gpu` flag is [no longer
necessary](https://bugs.chromium.org/p/chromium/issues/detail?id=737678) and, at
least in some cases, is [causing
issues](https://bugs.chromium.org/p/chromium/issues/detail?id=982977).

This flag has already been [removed from ember-cli's
blueprints](ember-cli/ember-cli#8774)

As you may already know, this project's test suite is run as part of [Ember
Data](https://github.com/emberjs/data)'s test suite to help catch regressions.
The flag has already been [removed from Ember Data's own testem
config](warp-drive-data/warp-drive#6298) but Ember Data's complete
test suite cannot successfully run until all of our external integration
partners have also removed this flag.
HeroicEric added a commit to HeroicEric/ember-m3 that referenced this pull request Aug 5, 2019
The `--disable-gpu` flag is [no longer
necessary](https://bugs.chromium.org/p/chromium/issues/detail?id=737678) and, at
least in some cases, is [causing
issues](https://bugs.chromium.org/p/chromium/issues/detail?id=982977).

This flag has already been [removed from ember-cli's
blueprints](ember-cli/ember-cli#8774)

As you may already know, this project's test suite is run as part of [Ember
Data](https://github.com/emberjs/data)'s test suite to help catch regressions.
The flag has already been [removed from Ember Data's own testem
config](warp-drive-data/warp-drive#6298) but Ember Data's complete
test suite cannot successfully run until all of our external integration
partners have also removed this flag.
HeroicEric added a commit to HeroicEric/ember-m3 that referenced this pull request Aug 6, 2019
The `--disable-gpu` flag is [no longer
necessary](https://bugs.chromium.org/p/chromium/issues/detail?id=737678) and, at
least in some cases, is [causing
issues](https://bugs.chromium.org/p/chromium/issues/detail?id=982977).

This flag has already been [removed from ember-cli's
blueprints](ember-cli/ember-cli#8774)

As you may already know, this project's test suite is run as part of [Ember
Data](https://github.com/emberjs/data)'s test suite to help catch regressions.
The flag has already been [removed from Ember Data's own testem
config](warp-drive-data/warp-drive#6298) but Ember Data's complete
test suite cannot successfully run until all of our external integration
partners have also removed this flag.
HeroicEric added a commit to HeroicEric/ember-m3 that referenced this pull request Aug 6, 2019
The `--disable-gpu` flag is [no longer
necessary](https://bugs.chromium.org/p/chromium/issues/detail?id=737678) and, at
least in some cases, is [causing
issues](https://bugs.chromium.org/p/chromium/issues/detail?id=982977).

This flag has already been [removed from ember-cli's
blueprints](ember-cli/ember-cli#8774)

As you may already know, this project's test suite is run as part of [Ember
Data](https://github.com/emberjs/data)'s test suite to help catch regressions.
The flag has already been [removed from Ember Data's own testem
config](warp-drive-data/warp-drive#6298) but Ember Data's complete
test suite cannot successfully run until all of our external integration
partners have also removed this flag.
artursmirnov pushed a commit to travis-ci/travis-web that referenced this pull request Aug 6, 2019
The `--disable-gpu` flag is [no longer
necessary](https://bugs.chromium.org/p/chromium/issues/detail?id=737678) and, at
least in some cases, is [causing
issues](https://bugs.chromium.org/p/chromium/issues/detail?id=982977).

This flag has already been [removed from ember-cli's
blueprints](ember-cli/ember-cli#8774)

As you may already know, this project's test suite is run as part of [Ember
Data](https://github.com/emberjs/data)'s test suite to help catch regressions.
The flag has already been [removed from Ember Data's own testem
config](warp-drive-data/warp-drive#6298) but Ember Data's complete
test suite cannot successfully run until all of our external integration
partners have also removed this flag.
VincentHardouin added a commit to 1024pix/pix-site that referenced this pull request Aug 7, 2019
VincentHardouin added a commit to 1024pix/pix that referenced this pull request Aug 7, 2019
@RobbieTheWagner

RobbieTheWagner commented Aug 14, 2019 •

Copy link
Copy Markdown
Contributor

FWIW, I fixed this by removing --disable-software-rasterizer. --disable-gpu seems fine and the tests run with it, but if you add --disable-software-rasterizer they break.

backspace added a commit to hashicorp/nomad that referenced this pull request Sep 5, 2019
I’ve been unable to use ember test without --server for a
while. This brings in the fix from ember-cli/ember-cli#8774
mnoble01 added a commit to mnoble01/ember-ace that referenced this pull request Sep 18, 2019
mnoble01 added a commit to mnoble01/ember-ace that referenced this pull request Sep 18, 2019
mnoble01 added a commit to mnoble01/ember-ace that referenced this pull request Sep 18, 2019
mnoble01 added a commit to mnoble01/ember-ace that referenced this pull request Sep 18, 2019
mnoble01 added a commit to mnoble01/ember-ace that referenced this pull request Sep 18, 2019
mnoble01 added a commit to mnoble01/ember-ace that referenced this pull request Sep 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants