Giter Club home page Giter Club logo

Comments (4)

ruslo avatar ruslo commented on June 23, 2024 1

travis complains No output has been received in the last 10m0s

That's what I mean by "find the balance". You should use --verbose --discard N --tail M to achieve simultaneously: (1) output something to avoid "No output has been received in the last 10m0s" (2) do not output too much to avoid "The job exceeded the maximum log length" (3) get max info if build failed.

--discard does reduce the log size, and the build pass, but it makes log incomplete

That is the point of losing some information :) Otherwise, you will get "The job exceeded the maximum log length", no?

from polly.

ruslo avatar ruslo commented on June 23, 2024

I've tried setting VERBOSE=0 environment variable, but it doesn't work

VERBOSE=0 is an option for jenkins.py script in Hunter CI:

polly.py will not use it.

I also tried setting --verbosity to normal or silent. silent is too quiet that doesn't print out what's done in the process.

Try to experiment with --discard and --tail options of polly.py to find the right balance.

from polly.

tony84727 avatar tony84727 commented on June 23, 2024

Try to experiment with --discard and --tail options of polly.py to find the right balance.

Thank you. --discard does reduce the log size, and the build pass, but it makes log incomplete. Although the help message says the complete log still available on the log.txt, I am not sure if there's a convenient way to browse or download those files from travis.
As for --tail, the help message says " Print last N lines if build failed", so to reduce log size and keep useful information. I need to set --verbosity silent and --tail 200.

I will go with --verbosity silent --tail 200.

Oh no, travis complains No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself. now.

I am still wondering if there's a way to pipe cmake build output to other programs. Maybe add a --tee option?

from polly.

tony84727 avatar tony84727 commented on June 23, 2024

That's what I mean by "find the balance". You should use --verbose --discard N --tail M to achieve simultaneously: (1) output something to avoid "No output has been received in the last 10m0s" (2) do not output too much to avoid "The job exceeded the maximum log length" (3) get max info if build failed.

Oh, I didn't think of that. That should do the trick. Thanks.

That is the point of losing some information :) Otherwise, you will get "The job exceeded the maximum log length", no?

Yes, but I was afraid some of the compiler error getting trimmed. Morden compilers usually print out useful information if there's some error, and I was hoping those message can remain intact.
(I know --tail will output complete log if the build failed, so it shouldn't matter.)

from polly.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.