Skip to content

Travis builds often timeout due to no build output #6621

@56quarters

Description

@56quarters

Hi there,

I recently submitted a PR (gh-6588) but had the Travis CI tests fail initially (and a few times after that). There didn't appear to be any actual test failures, Travis had just aborted the build since it went more than 10 minutes without generating any output. Eventually I was able to get the tests to pass by opening and closing the PR to get Travis to rerun the tests. It would be great if this wasn't required. As such, I have a few questions about the current Travis configuration.

before_script:
- ./mvnw install -q -U -DskipTests=true -Dmaven.test.redirectTestOutputToFile=true || true
- ./mvnw install -q -U -DskipTests=true -Dmaven.test.redirectTestOutputToFile=true
  1. Is there any reason the -q flag couldn't be removed? This would generate build output and Travis wouldn't kill the builds for running too long.
  2. It seems like the same install command is run twice? I'm not sure why this is done. Perhaps to work around intermittent failures of the first command?

Would people like a PR to remove the -q flags and possibly the second call to ./mvnw install?

Thanks

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