-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add 'Sciss/Lucre' to Community Build #10686
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
Conversation
Hmmm. I could run
Don't know what to do. |
[error] 1541 | value.lines
[error] | ^^^^^^^^^^^
[error] | Found: java.util.stream.Stream[String]
[error] | Required: Iterator[String] This happens when running on a recent JDK which added String#lines that returns a Stream, it needs to be fixed upstream in scalatest but our community build runs on Java 8 and if you run it locally on Java 8 it should work. |
Ah! Yes, I had switched back to JDK 11 for other project, whereas before I ran successfully on JDK 8. So hopefully this test run succeeds now. |
Ah, it's fixed upstream already: scalatest/scalatest@543f9ac |
This is a > 20 minutes increased runtime for this job, I assume most of that comes from tests, could you try running less tests (for example, no tests for the intermediate projects and/or less tests for lucre itself) to reduce the running time? |
I don't know if this shaves off much, the dependencies are very small, the only one that runs substantial tests is Scala STM, which I think would anyway be a project that should be tested in the CB. When you look at the raw log, beginning at 2020-12-08T01:43:47.6464622Z
That's around 11.5 minutes. In comparison, Scala STM, beginning at 2020-12-08T00:54:20.8986504Z
Now we're at 14.5 minutes. Add another 30 seconds for the other eight dependencies (each publish takes around 30 seconds), then we sum up to around 20 minutes. |
So to summarise, I don't think removing intermediate tests will bring down the time much; maybe two minutes or so. Running less (selected) tests for Lucre is not a good idea; here it would require that the tests be parametrised, for example to build smaller data structures; this could shave off max. three minutes I think. |
Moving the tests for Lucre and its dependencies from |
Ok, should I try that - move to A, disable all tests but stm/lucre? |
That sounds good to me, I also think we could try splititng the community build into more concurrent jobs now that we can run more jobs at once (#10703) but that can be explored separately. |
I had the same thought... how many runners do we have now? |
14 right now, but I'm monitoring how things go and will increase it gradually until the machines are fully used. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
No description provided.