You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/08/29 22:56:18 UTC

[GitHub] [druid] clintropolis commented on a change in pull request #11638: fix integration tests

clintropolis commented on a change in pull request #11638:
URL: https://github.com/apache/druid/pull/11638#discussion_r698082951



##########
File path: integration-tests/docker/Dockerfile
##########
@@ -13,7 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-ARG JDK_VERSION=8-slim
+ARG JDK_VERSION=8-slim-buster

Review comment:
       So, the docker image seems to work ok for me without any changes, however the k8s integration tests are still failing, so it might be related somehow, I'm not certain if `maven:3-jdk-11-slim` is actually related to the openjdk slim images (the maven dockerfile looks like it downloads openjdk itself)
   
   ```
   Removing intermediate container 249c6ec65c11
    ---> 4cab348af9bf
   Step 8/21 : RUN VERSION=$(mvn -B -q org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate       -Dexpression=project.version -DforceStdout=true     )  && tar -zxf ./distribution/target/apache-druid-${VERSION}-bin.tar.gz -C /opt  && mv /opt/apache-druid-${VERSION} /opt/druid
    ---> Running in ef1f63133a73
   ls: cannot access '/usr/bin/mvn': Operation not permitted
   Error: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher
   Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.classworlds.launcher.Launcher
   The command '/bin/sh -c VERSION=$(mvn -B -q org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate       -Dexpression=project.version -DforceStdout=true     )  && tar -zxf ./distribution/target/apache-druid-${VERSION}-bin.tar.gz -C /opt  && mv /opt/apache-druid-${VERSION} /opt/druid' returned a non-zero code: 1
   [ERROR] Command execution failed.
   ```
   
   I'm also having a bit of trouble running the integration test locally to troubleshoot the issue, the scripts seem to expect Linux.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org