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

Browser timeout exceeded: 10s #334

Open
AdminDev826 opened this Issue Jul 30, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@AdminDev826
Copy link

AdminDev826 commented Jul 30, 2018

Ubuntu 16.0.4, Google Chrome 68.0.3440.75
My testem.js

module.exports = {
  test_page: 'tests/index.html?hidepassed',
  disable_watching: true,
  launch_in_ci: [
    'Chrome'
  ],
  launch_in_dev: [
    'Chrome'
  ],
  browser_args: {
    Chrome: {
      ci: [
        // --no-sandbox is needed when running Chrome inside a container
        process.env.CI ? '--no-sandbox' : null,
        '--headless',
        '--disable-gpu',
        '--disable-dev-shm-usage',
        '--disable-software-rasterizer',
        '--mute-audio',
        '--remote-debugging-port=9222',
        '--window-size=1440,900'
      ].filter(Boolean)
    }
  }
};

I am getting the error :

not ok 111 Chrome - error
    ---
        message: >
            Error: Browser timeout exceeded: 10s
            Error while executing test: Acceptance | inventory - product-for-analysis: inventory - product-for-analysis
            Stderr: 
             [0726/193754.407882:ERROR:gpu_process_transport_factory.cc(1016)] Lost UI shared context.
            
            DevTools listening on ws://127.0.0.1:9222/devtools/browser/7d704224-9171-4d6b-a734-eacf6f095b68
@amk221

This comment has been minimized.

Copy link

amk221 commented Sep 6, 2018

Not sure if this is related, but I get

not ok 1 Chrome - [undefined ms] - error
    ---
        message: >
            Error: Browser failed to connect within 30s. testem.js not loaded?
            Stderr:
             [0906/114505.780389:ERROR:xattr.cc(64)] setxattr org.chromium.crashpad.database.initialized on file /var/folders/kc/h72gxdjd6ys_d0psnc0k3brh0000gn/T/: Operation not permitted (1)
            [0906/114505.781889:ERROR:file_io.cc(89)] ReadExactly: expected 8, observed 0
            [0906/114505.782591:ERROR:xattr.cc(64)] setxattr org.chromium.crashpad.database.initialized on file /var/folders/kc/h72gxdjd6ys_d0psnc0k3brh0000gn/T/: Operation not permitted (1)
            [0906/114505.865826:ERROR:gpu_process_transport_factory.cc(1007)] Lost UI shared context.
@step2yeung

This comment has been minimized.

Copy link
Contributor

step2yeung commented Sep 28, 2018

@AdminDev826 you should check out testem/testem#1021 which contains a lengthy discussion on that error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment