Comments (6)
I couldn't find a quick fix for shellcheck and apm-integration-testing-all. On hold in favour of pipeline migration.
from apm-pipeline-library.
I'll look at those failures this upcoming week and see what I can find, sorry for my late reply
from apm-pipeline-library.
#2062 is the one for the shellcheck
from apm-pipeline-library.
I'm able to reproduce the failures for the one for the apm-integration-testing-all
make -C docker all-tests
1..5
not ok 1 apm-server - build image
# (from function `assert_success' in file tests/test_helper/bats-assert/src/assert.bash, line 114,
# in test file tests/tests.bats, line 18)
# `assert_success' failed
#
# -- command failed --
# status : 1
# output (474 lines):
# #1 [internal] load build definition from Dockerfile
# #1 sha256:f54e41427d6b145473ea15cfea6c49fea20a3580ece3c4b3fdcb99b81ed59f18
# #1 transferring dockerfile: 2.09kB done
# #1 DONE 0.0s
#
# #14 35.51 note: module requires Go 1.19
# #14 42.24 # github.com/elastic/elastic-package/internal/kibana
# #14 42.24 /go/pkg/mod/github.com/elastic/[email protected]/internal/kibana/client.go:111:12: base.JoinPath undefined (type *url.URL has no field or method JoinPath)
# #14 42.24 note: module requires Go 1.19
# #14 73.02 make: *** [go.mk:43: /go/src/github.com/elastic/apm-server/build/linux/elastic-package] Error 2
# #14 73.02 make: Leaving directory '/go/src/github.com/elastic/apm-server'
# #14 ERROR: executor failed running [/bin/sh -c make -C ${SRC} update ${apm_server_binary} && sed -zri -e 's/output.elasticsearch:(\n[^\n]*){5}/output.elasticsearch:\n hosts: ["\${ELASTICSEARCH_HOSTS:elasticsearch:9200}"]/' -e 's/ host: "localhost:8200"/ host: "0.0.0.0:8200"/' ${SRC}/apm-server.yml && chmod go+r ${SRC}/apm-server.yml]: exit code: 2
# ------
# > [build 7/7] RUN make -C /go/src/github.com/elastic/apm-server update apm-server && sed -zri -e 's/output.elasticsearch:(\n[^\n]*){5}/output.elasticsearch:\n hosts: ["\${ELASTICSEARCH_HOSTS:elasticsearch:9200}"]/' -e 's/ host: "localhost:8200"/ host: "0.0.0.0:8200"/' /go/src/github.com/elastic/apm-server/apm-server.yml && chmod go+r /go/src/github.com/elastic/apm-server/apm-server.yml:
# ------
# executor failed running [/bin/sh -c make -C ${SRC} update ${apm_server_binary} && sed -zri -e 's/output.elasticsearch:(\n[^\n]*){5}/output.elasticsearch:\n hosts: ["\${ELASTICSEARCH_HOSTS:elasticsearch:9200}"]/' -e 's/ host: "localhost:8200"/ host: "0.0.0.0:8200"/' ${SRC}/apm-server.yml && chmod go+r ${SRC}/apm-server.yml]: exit code: 2
# --
#
Though I might need to dive into this a bit more
elastic/apm-integration-testing#1553 might be the fix, I used 8.6.0
with the latest golang version and it worked locally
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 2.08kB 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.elastic.co/apm/apm-server:8.6.0-SNAPSHOT 9.8s
=> [internal] load metadata for docker.io/library/golang:1.19.5 11.5s
=> [auth] library/golang:pull token for registry-1.docker.io 0.0s
=> [auth] apm/apm-server:pull token for docker.elastic.co 0.0s
=> [build 1/9] FROM docker.io/library/golang:1.19.5@sha256:09009d430dbf3fb80a4731546eefb1603f1fdb36fe6354eab138d8275a85e89f 942.5s
=> => resolve docker.io/library/golang:1.19.5@sha256:09009d430dbf3fb80a4731546eefb1603f1fdb36fe6354eab138d8275a85e89f 0.0s
=> => sha256:a226e961cfaa2d1d171e429e9db314feec6201f5cba1487b20e7aee311e4a54f 10.88MB / 10.88MB 114.8s
=> => sha256:699c8a97647f5789e5850bcf1a3d5afe9730edb654e1ae0714d5bd198a67a3ed 55.03MB / 55.03MB 645.8s
=> => sha256:1e573f1fbcd41282d2c62d3c224f341eb113873cc898d823286bb1a5c21c44c7 1.80kB / 1.80kB 0.0s
=> => sha256:8fca29e6d67177bef6452d21b0b8c6618050635704fe2a9bdca51a68a1cc7c0c 7.10kB / 7.10kB 0.0s
=> => sha256:86cd158b89fde67a8a4c428a844985f930eba450ec3fde1c9ef5df3884128c62 5.17MB / 5.17MB 21.0s
=> => sha256:09009d430dbf3fb80a4731546eefb1603f1fdb36fe6354eab138d8275a85e89f 2.36kB / 2.36kB 0.0s
=> => sha256:4cec535da207f5d811fda01a346f5561fd2f77c2d09a080925b7455b84f0959e 54.59MB / 54.59MB 227.8s
=> => sha256:97a35d939ca4e58d4fc170e7365d6a26b387603e9478296255b410c408c26e31 85.99MB / 85.99MB 768.1s
=> => sha256:a7fb58405ea92145c422c2aff584d3784eee04acbf07f5c743b1df654c6ed370 148.95MB / 148.95MB 936.0s
=> => extracting sha256:699c8a97647f5789e5850bcf1a3d5afe9730edb654e1ae0714d5bd198a67a3ed 2.2s
=> => sha256:2d533c107a1d7303beef7f6788021ebadd894b7a021c3245ebf5c3f1ef4488de 156B / 156B 649.3s
=> => extracting sha256:86cd158b89fde67a8a4c428a844985f930eba450ec3fde1c9ef5df3884128c62 0.2s
=> => extracting sha256:a226e961cfaa2d1d171e429e9db314feec6201f5cba1487b20e7aee311e4a54f 0.3s
=> => extracting sha256:4cec535da207f5d811fda01a346f5561fd2f77c2d09a080925b7455b84f0959e 2.6s
=> => extracting sha256:97a35d939ca4e58d4fc170e7365d6a26b387603e9478296255b410c408c26e31 3.2s
=> => extracting sha256:a7fb58405ea92145c422c2aff584d3784eee04acbf07f5c743b1df654c6ed370 6.2s
=> => extracting sha256:2d533c107a1d7303beef7f6788021ebadd894b7a021c3245ebf5c3f1ef4488de 0.0s
=> CACHED [stage-1 1/3] FROM docker.elastic.co/apm/apm-server:8.6.0-SNAPSHOT@sha256:1a60d7d8e9836620f84e3dca4dc8f36017c5abdebcc2476e16de9dca3eb09627 0.0s
=> [auth] library/golang:pull token for registry-1.docker.io 0.0s
=> [build 2/9] RUN echo 'Acquire::Retries "5";' > /etc/apt/apt.conf.d/80-retries 1.0s
=> [build 3/9] RUN apt-get -qq update && apt-get -qq install -y python3 python3-pip python3-venv rsync 28.5s
=> [build 4/9] RUN pip3 install --upgrade pip 4.0s
=> [build 5/9] RUN git clone https://github.com/elastic/apm-server.git /go/src/github.com/elastic/apm-server && cd /go/src/github.com/elastic/apm-se 385.9s
=> [build 6/9] RUN cd /go/src/github.com/elastic/apm-server && git rev-parse HEAD && echo main 0.2s
=> [build 7/9] RUN make -C /go/src/github.com/elastic/apm-server update apm-server 1353.3s
=> [build 8/9] RUN sed -zri -e 's/output.elasticsearch:(\n[^\n]*){5}/output.elasticsearch:\n hosts: ["\${ELASTICSEARCH_HOSTS:elasticsearch:9200}"]/' -e ' 0.2s
=> [build 9/9] RUN chmod go+r /go/src/github.com/elastic/apm-server/apm-server.yml 0.3s
=> [stage-1 2/3] COPY --from=build /go/src/github.com/elastic/apm-server/apm-server /usr/share/apm-server/apm-server 0.1s
=> [stage-1 3/3] COPY --from=build /go/src/github.com/elastic/apm-server/apm-server.yml /usr/share/apm-server/apm-server.yml 0.0s
=> exporting to image 0.2s
=> => exporting layers 0.2s
=> => writing image sha256:24e504106d21067b43143f26ae735c88b6d14d268d19a51b4a2833be6e38e2a2 0.0s
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
from apm-pipeline-library.
I've just triggered https://github.com/elastic/apm-pipeline-library/actions/workflows/publish-docker-images.yml
Let's see if it works
from apm-pipeline-library.
Thank for the help @v1v!
from apm-pipeline-library.
Related Issues (20)
- [test/notify-github@3eec1ff1202545080bc661e021e2378318033b39] Failed build - auto-generated
- Build 16 for test/notify-github with status FAILURE
- GitHub notifications for old running builds might override the GitHub check HOT 1
- GitHub build comment failed HOT 1
- Flaky Test [Test JobDSL / test script update_dev_clusters.groovy – JobScriptsSpec] HOT 7
- Set elastic apm env vars for standalone pytest_otel demo + jaeger otel needs tests.json HOT 4
- action: get-changed-files gets an error HOT 1
- apm-test-pipeline job is failing
- AttributeError: 'Function' object has no attribute '_store' HOT 5
- pytest_otel: pytest.fail is not captured as an error HOT 1
- pytest_otel: failed with python 3.10 for MacOS HOT 2
- issueCommentTrigger: report back when it has been listened HOT 1
- pytest-otel - AttributeError: 'NoneType' object has no attribute 'get_current' HOT 1
- Change license for the snapshoty
- Move to phoenix-actions/test-reporting HOT 1
- action: allow customising version-framework with a different checkout ref
- mvnVersion returns extra output from maven command HOT 2
- ⚠️ The Jenkins Shared Library is `deprecated`
- action: buildkite with empty buildenvs fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apm-pipeline-library.