What
make -C libbeat integration-tests-environment fails when generating coker images for kafka
File
|
RUN mkdir -p ${KAFKA_LOGS_DIR} && mkdir -p ${KAFKA_HOME} && curl -s -o $INSTALL_DIR/kafka.tgz \ |
|
"https://archive.apache.org/dist/kafka/${KAFKA_VERSION}/kafka_2.11-${KAFKA_VERSION}.tgz" && \ |
|
tar xzf ${INSTALL_DIR}/kafka.tgz -C ${KAFKA_HOME} --strip-components 1 |
Stacktrace
11:16:13 Removing intermediate container 3ba9c7c78a13
11:16:13 ---> e658674a6336
11:16:13 Step 9/15 : RUN mkdir -p ${KAFKA_LOGS_DIR} && mkdir -p ${KAFKA_HOME} && curl -s -o $INSTALL_DIR/kafka.tgz "http://ftp.wayne.edu/apache/kafka/${KAFKA_VERSION}/kafka_2.11-${KAFKA_VERSION}.tgz" && tar xzf ${INSTALL_DIR}/kafka.tgz -C ${KAFKA_HOME} --strip-components 1
11:16:14 ---> Running in 76781b44aa20
11:16:14
11:16:14 gzip: stdin: not in gzip format
11:16:14 tar: Child returned status 1
11:16:14 tar: Error is not recoverable: exiting now
11:16:14 Removing intermediate container 76781b44aa20
11:16:14 Service 'kafka' failed to build: The command '/bin/sh -c mkdir -p ${KAFKA_LOGS_DIR} && mkdir -p ${KAFKA_HOME} && curl -s -o $INSTALL_DIR/kafka.tgz "http://ftp.wayne.edu/apache/kafka/${KAFKA_VERSION}/kafka_2.11-${KAFKA_VERSION}.tgz" && tar xzf ${INSTALL_DIR}/kafka.tgz -C ${KAFKA_HOME} --strip-components 1' returned a non-zero code: 2
11:16:14 scripts/Makefile:389: recipe for target 'build-image' failed
11:16:14 make[1]: *** [build-image] Error 1
11:16:14 make[1]: Leaving directory '/var/lib/jenkins/workspace/elastic+beats+6.8+multijob-linux/beat/libbeat/label/ubuntu-16/src/github.com/elastic/beats/libbeat'
11:16:14 scripts/Makefile:272: recipe for target 'testsuite' failed
11:16:14 make: *** [testsuite] Error 2
11:16:14 + cleanup
11:16:14 + echo 'Running cleanup...'

build if the build is gone please refers to the below gist:
What
make -C libbeat integration-tests-environmentfails when generating coker images for kafkaFile
beats/metricbeat/module/kafka/_meta/Dockerfile
Lines 13 to 15 in d36c763
Stacktrace
build if the build is gone please refers to the below gist: