-
We’ve been moving our applications from CircleCI to GitHub Actions in our company and we got stuck with a strange situation. There has been no change to the project’s code, but our kafka integration tests started to fail in GH Actions machines. Everything works fine in CircleCI and locally (MacOS and Fedora linux machines). Both CircleCI and GH Actions machines are running Ubuntu (tested versions were 18.04 and 20.04). MacOS was not tested in GH Actions as it doesn’t have Docker in it. Here are the
The integration tests are written using the Spock framework and the part where the errors occur are these:
The error we’re getting is:
We’ve debugged the GH Actions machine (SSH into it) and run things manually. The error still happens, but if the integration tests are run a second time (as well as subsequent runs), everything works perfectly. We’ve also tried to initialize all the necessary topics and send some messages to them preemptively, but the behavior was the same. The questions we have are:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
We identified some test sequence dependency between the Kafka tests. |
Beta Was this translation helpful? Give feedback.
We identified some test sequence dependency between the Kafka tests.
We updated our Gradle version to 7.3-rc-3 which has a more deterministic approach to test scanning. This update “solved” our problem while we prepare to fix the tests’ dependencies.