Skip to content

Fresh ember-cli addon not building on Travis #7472

Closed

Description

@amk221

ember addon example --yarn

...builds locally, and tests pass, but not on Travis.

Example repo: https://github.com/amk221/-ember-cli-addon-example
Example failure on Travis: https://travis-ci.org/amk221/-ember-cli-addon-example/jobs/309504888

not ok 1 Chrome - error
    ---
        message: >
            Error: Browser exited unexpectedly
            Non-zero exit code: null
            Stderr: 
             [1130/132440.461370:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /opt/google/chrome/chrome-sandbox is owned by root and has mode 4755.
            
            
        Log: |
            { type: 'error', text: 'Error: Browser exited unexpectedly' }
            { type: 'error', text: 'Non-zero exit code: null' }
            { type: 'error',
              text: '[1130/132440.461370:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I\'m aborting now. You need to make sure that /opt/google/chrome/chrome-sandbox is owned by root and has mode 4755.\n' }
    ...

Output from ember version --verbose && npm --version && yarn --version:

ember-cli: 2.17.0
http_parser: 2.7.0
node: 6.9.1
v8: 5.1.281.84
uv: 1.9.1
zlib: 1.2.8
ares: 1.10.1-DEV
icu: 57.1
modules: 48
openssl: 1.0.2j
os: darwin x64
5.5.1
1.3.2

Activity

  1. kellyselden commented on Nov 30, 2017

    @kellyselden
    Member

    I've seen these errors too. They appear to be intermittent Chrome + Travis issues, and a restart of the job fixes it. I'm not sure there's anything we can do to fix.

    Can you verify a restart of the job fixes it? Then we can close.

  2. kellyselden commented on Nov 30, 2017

    @kellyselden
    Member

    This is probably what you are seeing travis-ci/travis-ci#8836

    Closing.

  3. amk221 commented on Nov 30, 2017

    @amk221
    Author

    I have multiple addons that I've restarted multiple times today, none have passed. But, thanks for the link I'll subscribe to that issue too.

  4. kellyselden commented on Nov 30, 2017

    @kellyselden
    Member

    I'm willing to bet they fix it soon without requiring any changes. If this issue persists for a long time, then we should looking into what we can do to work around it.

  5. kellyselden commented on Nov 30, 2017

    @kellyselden
    Member

    On second thought, lets keep this open for visibility until it is fixed.

  6. Turbo87 commented on Dec 7, 2017

    @Turbo87
    Member

    this has been fixed by now, closing.

  7. jrowlingson commented on Jan 12, 2018

    @jrowlingson

    This has recently resurfaced in travis-ci/travis-ci#8836

    We've switched to Firefox 57.0. This is a better option for us then white listing the sudo enabled CIDR blocks.

      # testem.js
    
      launch_in_ci: [ 'Firefox' ],
      launch_in_dev: [ 'Firefox' ],
      browser_args: {
        Firefox: {
          mode: 'ci',
          args: [ '-headless' ]
        }
      }
    
      # travis.yml
    
      addons:
        firefox: 57.0
    
  8. bgentry commented on Jan 15, 2018

    @bgentry

    This is definitely still an issue. I had to switch ember-apollo-client to sudo: "required" in its .travis.yml.

    Maybe reopen this issue until travis-ci/travis-ci#8836 is resolved?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions