Skip to content
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

Initial build failed #193

Open
kjell-van-straaten opened this issue Oct 18, 2022 · 3 comments
Open

Initial build failed #193

kjell-van-straaten opened this issue Oct 18, 2022 · 3 comments

Comments

@kjell-van-straaten
Copy link

kjell-van-straaten commented Oct 18, 2022

Hi, unfortunately the build fails on the first attempt on a windows system with Java 11.
I tried to attach the logs but couldn't attach an HTML file.
232 tests out of 1060 failed.

For example:

Class io.aiven.connect.jdbc.sink.JdbcSinkTaskTest
putPropagatesToDbWithAutoCreateAndPkModeKafka
java.nio.file.FileSystemException: JdbcSinkTaskTest.db: The process cannot access the file because it is being used by another process.

Class io.aiven.connect.jdbc.source.JdbcSourceTaskUpdateTest
testAutoincrement
java.lang.RuntimeException: Couldn't get EmbeddedDerby database connection

Am I supposed to configure the sink first before building? What am I missing?

Right now, I just assumed I would have to fork and build the connector. The connector would then be added to kafka directory, together with a sink config as specified in your sink docs. This would then be executed using the connect-standalone function in kafka. Please do let me know if I misunderstood.

@ivanyu
Copy link
Contributor

ivanyu commented Oct 18, 2022

Hi

Unfortunately, we've never tried building it on Windows, there may be some issues there. Windows differs in how it handles files from Unix, so the tests may be not adapted to this.

@kjell-van-straaten
Copy link
Author

So I suppose I shouldn't use this at all then? Or is there a way to build without tests?

@ivanyu
Copy link
Contributor

ivanyu commented Oct 20, 2022

Gradle can build without tests: ./gradlew build -x test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants