Comments (4)
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.
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:
- https://github.com/ingenue/hunter/blob/0bb72b3fe56335b601f20618c57e01d93804ada4/jenkins.py#L195-L198
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.
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.
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)
- mingw cross compilation from Linux to Windows HOT 9
- CHECK_TYPE_SIZE iOS error HOT 4
- Clang Compiler Test Failing For iOS-10-3-armv7.cmake At Master Commit 3e3f903 HOT 21
- SwiftModule and -Swift.h ObjC compatibility header not copied to framework HOT 7
- xcode8 ios automatic provisioning HOT 1
- Additional C flags required for static-std.cmake to fix behaviour change in CMake HOT 1
- Problem codesigning iOS 11.2 with Xcode 9.2 (9C40b) HOT 5
- build details (active)
- reason for clearing IPHONEOS_DEPLOYMENT_TARGET HOT 4
- How to start for iOS? HOT 4
- --framework fails on codesign for multiple iPhone Developer certificate HOT 3
- ANDROID_NDK_rXX not set HOT 4
- Build failure on latest XCode (10A255) HOT 6
- add support for qnx HOT 2
- colorized ouput HOT 5
- Possible issue with NoCodeSign.xcconfig HOT 11
- "/usr/bin/ld: cannot find -lc++" when using the clang-lto toolchain file HOT 2
- Add support for Apple's Project Catalyst HOT 2
- Problem with CPack HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from polly.