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
KAFKA-4345: Run decktape test for each pull request #2064
Conversation
Requesting @harshach to review. |
Thanks @raghavgautam . I'll go over it. |
VOLUME ["/kfk_src"] | ||
|
||
ENV MIRROR="http://apache.cs.utah.edu/" | ||
RUN wget -q "${MIRROR}kafka/0.8.2.2/kafka_2.10-0.8.2.2.tgz" -O "/tmp/kafka_2.10-0.8.2.2.tgz" && tar xfz /tmp/kafka_2.10-0.8.2.2.tgz -C /opt && mv "/opt/kafka_2.10-0.8.2.2" "/opt/kafka-0.8.2.2" |
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.
if we are using released binaries it means we are not running against the PR right. Shouldn't we merge the PR and build Kafka distro out of it and then run tests?
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.
We build and copy the new binary to /opt/kafka-trunk and test that. We need released binaries for compatibility tests.
e6d6f11
to
884189c
Compare
@raghavgautam does all of the tests pass and do we need to ask for any infra changes for this to run? |
@harshach
For the enabling travis-ci, we need community consensus and I will start a discussion for this. |
I have disabled failing splits. |
+1. |
@raghavgautam can you upmerge this patch. I'll merge it in today. |
@harshach I have rebased my pull request |
Thanks @raghavgautam . Merged into trunk. Did you open a infra ticket for this. |
I think it's great to be able to run the system tests in Travis. However, I don't understand why we added the gradle wrapper? It's the wrong version (we are using Gradle 3.2) and it was an intentional decision to remove it some time ago. Also, the system test renames are a bit arbitrary and they make it harder to use in the normal case, which is a point that Ewen had raised in the mailing list discussion. |
Cc @ewencp |
|
Also, trunk doesn't build since we're missing various licenses in files that don't pass the rat check...
|
@ewencp I will open a pull request for the rat issue asap and will open jira's for rest of the issues. |
@raghavgautam Sorry, should have posted here, I filed #2172 already, which also removes the gradle wrapper and gets things setup in Travis via the travis.yml. See discussion there about whether we want to incrementally sort this out or just back out the change and re-file the PR so we can work on it until we've addressed the concerns previously mentioned. |
@ewencp I too filed https://issues.apache.org/jira/browse/KAFKA-4448 and started working on it. |
@harshach Thoughts on reverting this given some of the issues raised vs trying to clean things up with follow up commits? |
As of now the ducktape tests that we have for kafka are not run for pull request. We can run these test using travis-ci. Here is a sample run:
https://travis-ci.org/raghavgautam/kafka/builds/170574293