-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Daily build fails because of modbus binding integration tests #9610
Comments
It doesn't seem to be related to modbus, but fail randomly. build 229 failed on nest,tets, 230 failed on modbus.tests and 231 failed on maxcube.tests. But all with no clear error message in the log. Maybe it's a timeout issue or some other crash. |
I tried to analyse it. However the output of jenkins seems to be mixed between several tests (or more exactly: maven jobs). I wasn't able up to now to find the issues. Earlier (was also discussed somewhere here) we thought the issues of integration tests are timing issues. Does maybe some know jenkins/maven better to get better output when doing parallel jobs? |
found the "discussion": #8820 |
Maybe i've found a setting inside maven plugin of jenkins - but i'm still no specialist for jenkins. Who is the right person to talk to about these settings? |
@wborn or @kaikreuzer would know about jenkins settings. |
@daMihe What setting do you have in mind? |
@kaikreuzer I'm experimenting with parallel modules build instead of adding cores to build: But my tiny build box is only a vm inside a small NUC, so it's quite hard to see from my sight, whether there is a performance impact (and how big it is). I'm also not sure if the PR-mechanism works like it does now, if "Block downstream trigger when building" is appropriate would have to be tested - i'm not sure whether this check is aware of branches. |
After adding a bit more ram to the vm i got more reproducible timing. It seems like starting maven for each job is inefficient. On my machine it takes around 2.5x as much time in comparison to I'm now not sure whether this is the right way. I've looked on the load of my build machine (dual-core). Interesting is, that, even if running single threaded (without Please don't feel demotivated, i'm trying to make things better and am learning especially about maven and jenkins now. Beside the kind of build: I had also luck getting one time a readable stacktrace from the integration test. The failing assert is inside a Here is the trace if you want to lookup yourself (only the relevant part):
(Build on rev 572da80) |
The modbus integration tests were fixed by #9668. |
I am opening this issue because I don't know what is wrong with it:
https://ci.openhab.org/job/openHAB-Addons/lastFailedBuild/org.openhab.addons.itests$org.openhab.binding.modbus.tests/console
I only see these warning from the code analysis:
Unfortunately I am unable to simulate and build it locally, so I cannot fix it. Since its failing since 2 nights already it would be nice if someone could have a look, so we get a working openHAB distribution snapshot.
The text was updated successfully, but these errors were encountered: