-
Notifications
You must be signed in to change notification settings - Fork 216
GitHub Actions Build: distcheck, check, verify-trees, coverage, coveralls #1836
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
GitHub Actions Build: distcheck, check, verify-trees, coverage, coveralls #1836
Conversation
OK, I tried |
OK, I tried and I am having an issue where the following command does not disable ./configure --enable-rdm-tests --enable-java-libs --enable-ja-rule --enable-e133 --disable-usbdmx --disable-usbpro CPPFLAGS=-Wno-deprecated-declarations
I am able to reproduce this locally. UPDATE: It appears |
Hmmm, disabling these gets it further but not to completion. I'm thinking it must be running out of memory. I'll try disabling some of the parallelization. |
Alright, finally! It took 20 minutes to run, but disabling parallelization (forcing One check does fail ( |
@peternewman @kripton Hey look at that! Fully working Looks like maybe nobody has run that verify trees check in a while. I am no longer running We still run |
Yeah sorry I could have told you that, it's because ja-rule needs the usbdmx plugin to talk to the interfaces and send DMX.
That's the same sort of runtime as Travis used to be.
Because running as root is bad and means our code is at risk of being responsible for a security breach. There's a configure option to run as root (which I assume skips that test), but not running the check as root would be better!
Amazing, just the minimally working check/distcheck would be great progress for now! Indeed would probably be better for the short term than even verify trees etc and having them in a later PR.
Yeah our CI has been broken for quite a while! I missed some bits in the release because it was AWOL (and I didn't run it manually). Some of that stuff hasn't changed though, so I'm slightly suspicious about other results.
That seems about as I vaguely understood.
That makes sense, but again leaving the gcov until later would be fine and probably makes sense too. Is it worth updating this issue as it sounds like you've found the cause? actions/runner-images#7004 I wonder if our Docker usage has made it worse? Can we tell Docker to offer more memory/use more cores? |
Fixed, I now make a new user and run it the same way that the Debian build does.
Separated it out already! It has the same results as before separating.
I think I'm not going to fix the source of these failures in this pull, especially because I (:sob:) need to rebase this to 0.10.
Nearly done with this too, just fixing the Coveralls upload bit. Should be done in an hour or so I think.
I know I should (and I will), though their lack of support with issues like these is not promising.
Unsure. I can maybe try this out later. |
Testing this is a funny process. I have a chain of different commits trying different things every 5 minutes, but because it takes 20 to 30 minutes to run I have to keep track of what was what in many tabs. Before I solved the OOM issue I had to keep these tabs open or I would lose the logs too. |
Hey @peternewman anything else to change or are we good to go? |
@peternewman polite ping! |
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.
Sorry a few more comments...
Co-authored-by: Peter Newman <[email protected]>
Debian 12 is now Debian stable, and it handles Python 3 system dependencies/pip differently, so I need to fix that. Working on that now! |
OK, I think I fixed the Python3 venv/system-wide issue (all builds are passing the Here is what needed to change:
|
Passing! I was simply missing |
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.
Just the one TODO comment which I'll auto merge.
Thanks again for this @DaAwesomeP ! It's awesome!
Co-authored-by: Peter Newman <[email protected]>
Coverage wasn't in the required list, but I figure it probably doesn't need to be unless we're being really strict! I guess we'll now see if it pushes our coverage status correctly... |
It might be possible to setup rules that block merging is coverage dips by X percent in total? I'm not sure.
Passed! See https://coveralls.io/github/OpenLightingProject/ola?branch=0.10 and https://coveralls.io/jobs/123479842 |
Maybe if we can just get it to comment if it drops by say 5% or something? Then it will only be usefully spammy! |
This is just a draft! Still lots to do, but it should go quickly once I fix this pesky GH Actions cancel issue.
Only problem right now is getting GitHub not to cancel the build after 45 minutes. It must be OOM or some other resource; GitHub usually allows jobs to run for a very, very long time.
Example cancelled build (not by me!):