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

[metricbeat][6.8] metricbeat integration-tests-environment is broken #21961

Closed
v1v opened this issue Oct 19, 2020 · 2 comments
Closed

[metricbeat][6.8] metricbeat integration-tests-environment is broken #21961

v1v opened this issue Oct 19, 2020 · 2 comments
Assignees
Labels
Metricbeat Metricbeat Team:Integrations Label for the Integrations team

Comments

@v1v
Copy link
Member

v1v commented Oct 19, 2020

What

make -C metricbeat integration-tests-environment fails when generating docker images for jolokia

File

RUN wget http://archive.apache.org/dist/tomcat/tomcat-7/v${TOMCAT_VERSION}/bin/${TC}.tar.gz;\
tar xzf ${TC}.tar.gz -C /usr;\
rm ${TC}.tar.gz;\
sed -i -e 's/Connector port="8080"/Connector port="8778"/g' /usr/${TC}/conf/server.xml;\
wget http://central.maven.org/maven2/org/jolokia/jolokia-war/${JOLOKIA_VERSION}/jolokia-war-${JOLOKIA_VERSION}.war -O /usr/${TC}/webapps/jolokia.war

Stacktrace

11:23:09 Step 8/11 : RUN wget http://archive.apache.org/dist/tomcat/tomcat-7/v${TOMCAT_VERSION}/bin/${TC}.tar.gz;    tar xzf ${TC}.tar.gz -C /usr;    rm ${TC}.tar.gz;    sed -i -e 's/Connector port="8080"/Connector port="8778"/g' /usr/${TC}/conf/server.xml;    wget http://central.maven.org/maven2/org/jolokia/jolokia-war/${JOLOKIA_VERSION}/jolokia-war-${JOLOKIA_VERSION}.war -O /usr/${TC}/webapps/jolokia.war
11:23:09  ---> Running in c12e9a920f7b
11:23:10 Connecting to archive.apache.org (138.201.131.134:80)
11:23:10 
11:23:11 apache-tomcat-7.0.86   2% |                               |   203k  0:00:42 ETA
11:23:11 apache-tomcat-7.0.86  94% |*****************************  |  8346k  0:00:00 ETA
11:23:11 apache-tomcat-7.0.86 100% |*******************************|  8832k  0:00:00 ETA
11:23:12 wget: bad address 'central.maven.org'
11:23:12 Removing intermediate container c12e9a920f7b
11:23:12 Service 'jolokia' failed to build: The command '/bin/sh -c wget http://archive.apache.org/dist/tomcat/tomcat-7/v${TOMCAT_VERSION}/bin/${TC}.tar.gz;    tar xzf ${TC}.tar.gz -C /usr;    rm ${TC}.tar.gz;    sed -i -e 's/Connector port="8080"/Connector port="8778"/g' /usr/${TC}/conf/server.xml;    wget http://central.maven.org/maven2/org/jolokia/jolokia-war/${JOLOKIA_VERSION}/jolokia-war-${JOLOKIA_VERSION}.war -O /usr/${TC}/webapps/jolokia.war' returned a non-zero code: 1

image

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

@v1v v1v added the Metricbeat Metricbeat label Oct 19, 2020
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Oct 19, 2020
v1v added a commit to v1v/beats that referenced this issue Oct 22, 2020
v1v added a commit to v1v/beats that referenced this issue Oct 29, 2020
v1v added a commit that referenced this issue Oct 30, 2020
* cherry-pick aad07ad
* Add stages to Jenkins pipeline (#14484)
* ci: avoid to modify go.mod file (#16842)
* Ensure install scripts only install if needed (#20349)
* ci: fix warnings with wildcards and archive system-tests (#18695)
* ci: run test on Windows (#15570)
* [CI] fail if not possible to install python3 (#19164)
* [CI] lint stage doesn't produce test reports (#21888)
* [CI] Add stage name in the step (#21887)
* [CI] kind setup fails sometimes (#21857)
* [CI] refactor runbld post build action (#21256)
* [CI] Archive build reasons (#21347)
* [CI] Fix runbld when workspace does not exist (#21350)
* [CI] Send slack message with build status (#21428)
* [CI] Setup git config globally (#21562)
* [CI] fix 'no matches found within 10000' (#21466)
* [CI] Change notification channel (#21559)
* [CI] Support skip-ci label (#21377)
* [BUILD][CI] fetch dependencies with retry (#21614)
* Disable x-pack/metricbeat in linux since build is broken #21962
* Disable tests for windows in auditbeat. See #21958
* Disable integration testing for libbeat. See #21959
* Disable integration testing for metricbeat. See #21961
* Disable windows build for auditbeat. See #21958
* Disable build for libbeat. See #21959
* Disable build for metricbeat. See #21961
* Disable windows build for metricbeat. See #22257
* Disable build for x-pack/metricbeat. See #21962
* Disable windows build for x-pack/winlogbeat. See #22263
* Disable windows build for x-pack/filebeat. See #21963
* integration-tests-environment is not available for winlogbeat. see #22265
* integration-tests-environment is not available for packetbeat. see #22266
* Build not available for x-pack/metricbeats in 6.8. See #22269
* Cherry-pick 96c60d0
@jsoriano jsoriano self-assigned this Feb 16, 2021
@andresrc andresrc added the Team:Integrations Label for the Integrations team label Feb 16, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations (Team:Integrations)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Feb 16, 2021
@jsoriano
Copy link
Member

Fixed by #24066

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Metricbeat Metricbeat Team:Integrations Label for the Integrations team
Projects
None yet
Development

No branches or pull requests

4 participants