Skip to content
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

Make Travis CI build status render faster by logging less output during builds #6942

Closed
mattab opened this issue Jan 7, 2015 · 1 comment
Assignees
Labels
c: Tests & QA For issues related to automated tests or making it easier to QA & test issues. Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Jan 7, 2015

The goal of this issue is to make a given build page on travis ci load faster.

Reproduce

  1. load this URL: https://travis-ci.org/piwik/piwik-ui-tests/builds/46151349
  2. Loading the build page takes 5-10 seconds, this is slow especially when we have to do this 10+ times a day.

Explanation

The page loads with ajax the build log -> it's quite large at 358.0 kB. We load these URLs many times a day since we often do test driven development. Daily we use CI.

Proposed solution

  • the "build setup phase" generates 215kb+ of text (see the first two thirds of the build log) -> we could remove most of this text by piping it to a file instead?
@mattab mattab added Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change. c: Tests & QA For issues related to automated tests or making it easier to QA & test issues. labels Jan 7, 2015
@mattab mattab added this to the Short term milestone Jan 7, 2015
@diosmosis
Copy link
Member

I've noticed sudo apt-get ... commands result in the command continuously outputting status lines like .... 100%, I guess because it can't modify the last line as it would in a normal terminal. Quieting those command might help w/o making travis harder to debug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Tests & QA For issues related to automated tests or making it easier to QA & test issues. Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Projects
None yet
Development

No branches or pull requests

2 participants