Skip to content

Travis builds failing randomly with network failures #6983

Closed
@justingrant

Description

@justingrant

Since earlier tonight, Travis builds are failing with intermittent network errors in the CI environment. Below is an excerpt from the my latest build for #6980. It's taken from here: https://travis-ci.org/facebook/create-react-app/jobs/528058161

^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0info There appears to be trouble with your network connection. Retrying...
@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0@^3.0.0error Couldn't find package "hastscript@^5.0.0" required by "hast-util-from-parse5@^5.0.0" on the "npm" registry.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
info There appears to be trouble with your network connection. Retrying...
Error: Couldn't find package "p-limit@^2.0.0" required by "p-locate@^3.0.0" on the "npm" registry.
    at MessageError.ExtendableBuiltin (/home/travis/.yarn/lib/cli.js:721:66)
    at new MessageError (/home/travis/.yarn/lib/cli.js:750:123)
    at PackageRequest.<anonymous> (/home/travis/.yarn/lib/cli.js:35729:17)

It was working OK this afternoon. For example, https://travis-ci.org/facebook/create-react-app/builds/528010947 finished around 5:45PM PDT and its results were normal: my code causing test failures, but nothing else failing. But starting with the next build around 8PM (https://travis-ci.org/facebook/create-react-app/builds/528042386), I'm seeing intermittent network failures like the ones I showed above. Some test suites pass but most fail because they can't install their dependencies.

Known problem? Am I doing something wrong? Or is this just an outage or operations issue at Travis?

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