-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Update Kafka image tag used in integration tests #35234
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
Comments
Hello, I have never contributed to open source before but would love to get started and would be happy to pick this up if you recommend. Is this just updating the kafka image version that is being used to allow arm architecture support for some integrated tests? |
Hey, thanks for the offer! There's the method This issue would be to use an up-to-date image of Kafka (please use a specific version and not If all tests pass, feel free to create a pull request back to this repository. If that sounds fine for you, I'll assign you to this issue and you can start working on it. If you need further assistance, feel free to ask! |
Hey Moritz, yes that sounds great. Please assign this issue to me and I will review and work on this. Thank you, I will message back here if I need any assistance, appreciate it :) |
Great! Have fun! |
Hey @mhalbritter, I seem to be having issues with building the project with ./gradlew build as it fails every time. I get 1189 tests, 279 failures and 8 ignores. All of them have the issue following: "* What went wrong: I think it has to do with how I set up the project, I simply forked this repo and git cloned it, and ran the build command. I have docker running in the background. I have made updated the kafka image version and ran the individual KafkaContainerConnectionDetailsFactoryIntegrationTests which seem to be successful. but I should ensure ./gradew build succeeds before raising PR. I am unsure how to build it properly and was looking to get some assistance. |
Hey @KitBolourchi, you need to have Java 17 on your machine, and then Could you please run
is very non-descriptive :) Thanks! |
I think I was using java19, I see okay I will try with 17 and if error persists, I will put the whole output file here (sorry you're right it was not helpful) |
Don't worry. Here's more documentation about how to get started and building from source. |
Here is the output.text file from running ./gradlew build. I tried running with JDK17 but still no luck. I do have docker loaded in the background also. I will keep trying to fix this. It seems to be all the gradle.build scripts which are faililng for the integrated tests. |
Hey, thanks for that. It looks like that the tests which execute it against multiple Maven and Gradle versions aren't working, but I don't know why yet. Could you please upload the zipped folder |
Good morning @mhalbritter, here is the zipped test reports folder. I wasn't able to get it to build successfully last night. I tried deleting the repo and re-cloning from my fork / building from source but still no luck. Thank you for the help. |
So, the root cause seems to be this error:
Class file version 63 is Java 19. Are you sure you're running it with Java 17? What does
and
|
Ahh you're right... my bad I thought I changed it within the properties of intellij but it was somehow still jdk19. I just did it and it built successfully so all test ran with my updated kafka version. I will review the documentation and create a pull request for this issue. Many thanks :) |
Closing in favor of #35625 |
We're using 5.4.3 of
confluentinc/cp-kafka
, which has no ARM support. Starting with 7.x the developers added ARM support, consider switching to this.The text was updated successfully, but these errors were encountered: