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

Enable Sanity tests on Travis #190

Closed
AdamBrousseau opened this issue Sep 30, 2017 · 5 comments
Closed

Enable Sanity tests on Travis #190

AdamBrousseau opened this issue Sep 30, 2017 · 5 comments

Comments

@AdamBrousseau
Copy link
Contributor

Taking a stab at this in my fork
https://travis-ci.org/AdamBrousseau/openj9/branches (travis_test)

related #24

@AdamBrousseau
Copy link
Contributor Author

AdamBrousseau commented Sep 30, 2017

Seems to be functional now however we exceed the maximum allowed output of 4MB
https://travis-ci.org/AdamBrousseau/openj9/builds/281469003

The log length has exceeded the limit of 4 MB (this usually means that the test suite is raising the same exception over and over).

The job has been terminated

Comparing output from Jenkins PR builds, we seem to be only ~1/3 way through the console output when we max out on Travis.

@smlambert
Copy link
Contributor

Could experiment with changing the logging level of some of the tests (default setting is log4testng.rootLogger=INFO, could change to WARN and see how far you get, in https://github.com/eclipse/openj9/blob/master/test/TestConfig/resources/log4testng.properties).

@AdamBrousseau
Copy link
Contributor Author

AdamBrousseau commented Oct 10, 2017

Changing to WARN or ERROR didn't seem to do anything
https://travis-ci.org/AdamBrousseau/openj9/builds/281648982
Although, we only get ~350 lines into make sanity before we overflow. I guess we would need to change the compile to be less verbose? Don't know if that's an option.
There are people that have talked about workarounds for this
https://stackoverflow.com/questions/26082444/how-to-work-around-travis-cis-4mb-output-limit
Also there is the travis_wait command I might try out.

@AdamBrousseau
Copy link
Contributor Author

ok so travis_wait is used to provide output when none is produced by the running command(s). This is not what we want. Once the make all command was complete, all the compile output was printed at once.
https://travis-ci.org/AdamBrousseau/openj9/builds/286241308

@AdamBrousseau
Copy link
Contributor Author

Closing this as I have no plans to get Travis testing working and we will hopefully be getting x86 machines shortly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants