Skip to content

[libbeat][6.8] libbeat integration-tests-environment is broken #21959

@v1v

Description

@v1v

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...'

image

build if the build is gone please refers to the below gist:

Metadata

Metadata

Assignees

No one assigned

    Labels

    StalledTeam:Services(Deprecated) Label for the former Integrations-Services teamlibbeat

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions