Skip to content

go.mod: update go-licence-detector to v0.5.0#24117

Closed
axw wants to merge 4 commits intoelastic:masterfrom
axw:bump-licence-detector
Closed

go.mod: update go-licence-detector to v0.5.0#24117
axw wants to merge 4 commits intoelastic:masterfrom
axw:bump-licence-detector

Conversation

@axw
Copy link
Copy Markdown
Member

@axw axw commented Feb 19, 2021

What does this PR do?

Update go-licence-detector to v0.5.0.

Why is it important?

Local module replacements are used in the APM Server Beats update job, and the job is failing because "beats-local" doesn't have the right licence. go-licence-detector v0.5.0 added support for local module replacements.

Checklist

  • My code follows the style guidelines of this project
    - [ ] I have commented my code, particularly in hard-to-understand areas
    - [ ] I have made corresponding changes to the documentation
    - [ ] I have made corresponding change to the default configuration files
    - [ ] I have added tests that prove my fix is effective or that my feature works
    - [ ] I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

go-licence-detector v0.5.0 added support for
local module replacements, which are used when
in the APM Server Beats update job.
@axw axw added the automation label Feb 19, 2021
@botelastic botelastic Bot added the needs_team Indicates that the issue/PR needs a Team:* label label Feb 19, 2021
@axw
Copy link
Copy Markdown
Member Author

axw commented Feb 19, 2021

/run apm-beats-update

@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Feb 19, 2021

💔 Build Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Pull request #24117 updated

  • Start Time: 2021-02-23T05:16:11.658+0000

  • Duration: 55 min 56 sec

  • Commit: bb281f1

Test stats 🧪

Test Results
Failed 0
Passed 45879
Skipped 4004
Total 49883

Trends 🧪

Image of Build Times

Image of Tests

Steps errors 24

Expand to view the steps failures

Show only the first 10 steps failures

x-pack/filebeat-windows-2012-windows-2012-r2 - mage build unitTest
  • Took 3 min 18 sec . View more details on here
  • Description: mage build unitTest
x-pack/functionbeat-windows-2016-windows-2016 - mage build unitTest
  • Took 3 min 53 sec . View more details on here
  • Description: mage build unitTest
x-pack/functionbeat-windows-2012-windows-2012-r2 - mage build unitTest
  • Took 2 min 14 sec . View more details on here
  • Description: mage build unitTest
x-pack/metricbeat-windows-2016-windows-2016 - mage build unitTest
  • Took 6 min 45 sec . View more details on here
  • Description: mage build unitTest
x-pack/metricbeat-windows-2012-windows-2012-r2 - mage build unitTest
  • Took 5 min 15 sec . View more details on here
  • Description: mage build unitTest
x-pack/packetbeat-windows-2016-windows-2016 - mage build unitTest
  • Took 4 min 50 sec . View more details on here
  • Description: mage build unitTest
x-pack/packetbeat-windows-2012-windows-2012-r2 - mage build unitTest
  • Took 3 min 52 sec . View more details on here
  • Description: mage build unitTest
x-pack/winlogbeat-windows-2016-windows-2016 - mage build unitTest
  • Took 4 min 38 sec . View more details on here
  • Description: mage build unitTest
x-pack/winlogbeat-windows-2012-windows-2012-r2 - mage build unitTest
  • Took 3 min 33 sec . View more details on here
  • Description: mage build unitTest
Error signal
  • Took 0 min 0 sec . View more details on here
  • Description: Error 'hudson.AbortException: script returned exit code 1'

Log output

Expand to view the last 100 lines of log output

[2021-02-23T06:09:48.218Z] d75a3adf0687: Layer already exists
[2021-02-23T06:09:48.218Z] 8c08fed2aeeb: Layer already exists
[2021-02-23T06:09:48.218Z] 7e4820384e29: Layer already exists
[2021-02-23T06:09:48.477Z] 5fcbe321e496: Layer already exists
[2021-02-23T06:09:48.477Z] 55c3804319c7: Layer already exists
[2021-02-23T06:09:48.477Z] be645e745733: Layer already exists
[2021-02-23T06:09:48.477Z] 04a05557bbad: Layer already exists
[2021-02-23T06:09:48.477Z] 821b0c400fe6: Layer already exists
[2021-02-23T06:09:48.477Z] ea05c704a5a7: Layer already exists
[2021-02-23T06:09:48.477Z] 862be5fb8ef1: Layer already exists
[2021-02-23T06:09:49.045Z] bb281f1fd94c195833bf5b09b5b17ac62af30ae1-amd64: digest: sha256:1ab019bf92fe09970c06638de80c481c0ffa2669dd96d773d5f14ab184b19c74 size: 3033
[2021-02-23T06:09:49.410Z] Client: Docker Engine - Community
[2021-02-23T06:09:49.410Z]  Version:           20.10.3
[2021-02-23T06:09:49.410Z]  API version:       1.41
[2021-02-23T06:09:49.410Z]  Go version:        go1.13.15
[2021-02-23T06:09:49.410Z]  Git commit:        48d30b5
[2021-02-23T06:09:49.410Z]  Built:             Fri Jan 29 14:33:13 2021
[2021-02-23T06:09:49.410Z]  OS/Arch:           linux/amd64
[2021-02-23T06:09:49.410Z]  Context:           default
[2021-02-23T06:09:49.410Z]  Experimental:      true
[2021-02-23T06:09:49.410Z] 
[2021-02-23T06:09:49.410Z] Server: Docker Engine - Community
[2021-02-23T06:09:49.410Z]  Engine:
[2021-02-23T06:09:49.410Z]   Version:          20.10.3
[2021-02-23T06:09:49.410Z]   API version:      1.41 (minimum version 1.12)
[2021-02-23T06:09:49.410Z]   Go version:       go1.13.15
[2021-02-23T06:09:49.410Z]   Git commit:       46229ca
[2021-02-23T06:09:49.410Z]   Built:            Fri Jan 29 14:31:25 2021
[2021-02-23T06:09:49.410Z]   OS/Arch:          linux/amd64
[2021-02-23T06:09:49.410Z]   Experimental:     false
[2021-02-23T06:09:49.410Z]  containerd:
[2021-02-23T06:09:49.410Z]   Version:          1.4.3
[2021-02-23T06:09:49.410Z]   GitCommit:        269548fa27e0089a8b8278fc4fc781d7f65a939b
[2021-02-23T06:09:49.410Z]  runc:
[2021-02-23T06:09:49.410Z]   Version:          1.0.0-rc92
[2021-02-23T06:09:49.410Z]   GitCommit:        ff819c7e9184c13b7c2607fe6c30ae19403a7aff
[2021-02-23T06:09:49.410Z]  docker-init:
[2021-02-23T06:09:49.410Z]   Version:          0.19.0
[2021-02-23T06:09:49.410Z]   GitCommit:        de40ad0
[2021-02-23T06:09:49.410Z] Unable to find image 'alpine:3.4' locally
[2021-02-23T06:09:49.978Z] 3.4: Pulling from library/alpine
[2021-02-23T06:09:50.237Z] c1e54eec4b57: Pulling fs layer
[2021-02-23T06:09:50.497Z] c1e54eec4b57: Download complete
[2021-02-23T06:09:50.497Z] c1e54eec4b57: Pull complete
[2021-02-23T06:09:50.756Z] Digest: sha256:b733d4a32c4da6a00a84df2ca32791bb03df95400243648d8c539e7b4cce329c
[2021-02-23T06:09:50.756Z] Status: Downloaded newer image for alpine:3.4
[2021-02-23T06:09:52.954Z] + python .ci/scripts/pre_archive_test.py
[2021-02-23T06:10:02.937Z] Copy ./x-pack/metricbeat/build into build/x-pack/metricbeat/build
[2021-02-23T06:10:02.937Z] Copy ./x-pack/metricbeat/build/golang-crossbuild into build/x-pack/metricbeat/build/golang-crossbuild
[2021-02-23T06:10:02.937Z] Copy ./x-pack/elastic-agent/build into build/x-pack/elastic-agent/build
[2021-02-23T06:10:02.937Z] Copy ./x-pack/elastic-agent/build/golang-crossbuild into build/x-pack/elastic-agent/build/golang-crossbuild
[2021-02-23T06:10:02.937Z] Copy ./x-pack/elastic-agent/build/package/elastic-agent/elastic-agent-linux-amd64.docker/docker-build into build/x-pack/elastic-agent/build/package/elastic-agent/elastic-agent-linux-amd64.docker/docker-build
[2021-02-23T06:10:02.937Z] Copy ./x-pack/elastic-agent/build/package/elastic-agent-ubi8/elastic-agent-linux-amd64.docker/docker-build into build/x-pack/elastic-agent/build/package/elastic-agent-ubi8/elastic-agent-linux-amd64.docker/docker-build
[2021-02-23T06:10:02.937Z] Copy ./x-pack/filebeat/build into build/x-pack/filebeat/build
[2021-02-23T06:10:02.937Z] Copy ./x-pack/filebeat/build/golang-crossbuild into build/x-pack/filebeat/build/golang-crossbuild
[2021-02-23T06:10:02.937Z] Copy ./x-pack/heartbeat/build into build/x-pack/heartbeat/build
[2021-02-23T06:10:02.937Z] Copy ./x-pack/heartbeat/build/golang-crossbuild into build/x-pack/heartbeat/build/golang-crossbuild
[2021-02-23T06:10:02.950Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-24117/src/github.com/elastic/beats/build
[2021-02-23T06:10:03.255Z] + rm -rf ve
[2021-02-23T06:10:03.255Z] + find . -type d -name vendor -exec rm -r {} ;
[2021-02-23T06:10:03.268Z] Recording test results
[2021-02-23T06:10:05.765Z] None of the test reports contained any result
[2021-02-23T06:10:05.773Z] [Checks API] No suitable checks publisher found.
[2021-02-23T06:10:06.124Z] Client: Docker Engine - Community
[2021-02-23T06:10:06.124Z]  Version:           20.10.3
[2021-02-23T06:10:06.124Z]  API version:       1.41
[2021-02-23T06:10:06.124Z]  Go version:        go1.13.15
[2021-02-23T06:10:06.124Z]  Git commit:        48d30b5
[2021-02-23T06:10:06.124Z]  Built:             Fri Jan 29 14:33:13 2021
[2021-02-23T06:10:06.124Z]  OS/Arch:           linux/amd64
[2021-02-23T06:10:06.124Z]  Context:           default
[2021-02-23T06:10:06.124Z]  Experimental:      true
[2021-02-23T06:10:06.124Z] 
[2021-02-23T06:10:06.124Z] Server: Docker Engine - Community
[2021-02-23T06:10:06.124Z]  Engine:
[2021-02-23T06:10:06.124Z]   Version:          20.10.3
[2021-02-23T06:10:06.124Z]   API version:      1.41 (minimum version 1.12)
[2021-02-23T06:10:06.124Z]   Go version:       go1.13.15
[2021-02-23T06:10:06.124Z]   Git commit:       46229ca
[2021-02-23T06:10:06.124Z]   Built:            Fri Jan 29 14:31:25 2021
[2021-02-23T06:10:06.124Z]   OS/Arch:          linux/amd64
[2021-02-23T06:10:06.124Z]   Experimental:     false
[2021-02-23T06:10:06.124Z]  containerd:
[2021-02-23T06:10:06.124Z]   Version:          1.4.3
[2021-02-23T06:10:06.124Z]   GitCommit:        269548fa27e0089a8b8278fc4fc781d7f65a939b
[2021-02-23T06:10:06.124Z]  runc:
[2021-02-23T06:10:06.124Z]   Version:          1.0.0-rc92
[2021-02-23T06:10:06.124Z]   GitCommit:        ff819c7e9184c13b7c2607fe6c30ae19403a7aff
[2021-02-23T06:10:06.124Z]  docker-init:
[2021-02-23T06:10:06.124Z]   Version:          0.19.0
[2021-02-23T06:10:06.124Z]   GitCommit:        de40ad0
[2021-02-23T06:11:07.139Z] Stage "Packaging" skipped due to earlier failure(s)
[2021-02-23T06:11:07.207Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-24117/src/github.com/elastic/beats
[2021-02-23T06:11:07.439Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-24117
[2021-02-23T06:11:07.483Z] [INFO] getVaultSecret: Getting secrets
[2021-02-23T06:11:07.564Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-02-23T06:11:08.194Z] + chmod 755 generate-build-data.sh
[2021-02-23T06:11:08.194Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-24117/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-24117/runs/4 FAILURE 3296276
[2021-02-23T06:11:08.744Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-24117/runs/4/steps/?limit=10000 -o steps-info.json
[2021-02-23T06:11:12.867Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-24117/runs/4/tests/?status=FAILED -o tests-errors.json

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 45879
Skipped 4004
Total 49883

@axw axw added the Team:Automation Label for the Observability productivity team label Feb 19, 2021
@axw axw requested a review from kvch February 19, 2021 03:03
@botelastic botelastic Bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Feb 19, 2021
@kvch
Copy link
Copy Markdown
Contributor

kvch commented Feb 19, 2021

The PR is still failing with the same error, but I think this can go in regardless.

@jsoriano
Copy link
Copy Markdown
Member

jsoriano commented Feb 19, 2021

Failing tests in metricbeat were caused by temporary errors connecting with docker hub/cloudflare:

error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/c4/c43143127b6449d924bf4207ba46c0d11d3887f1f658bbcc4e36aedbdd2a5d97/data?verify=1613707915-6Nb04p2RCcn9af250MHVAvbCNN0%3D: dial tcp 104.18.124.25:443: i/o timeout

@botelastic
Copy link
Copy Markdown

botelastic Bot commented Mar 25, 2021

Hi!
We just realized that we haven't looked into this PR in a while. We're sorry!

We're labeling this issue as Stale to make it hit our filters and make sure we get back to it in as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1.
Thank you for your contribution!

@botelastic botelastic Bot added the Stalled label Mar 25, 2021
@axw axw closed this Apr 12, 2021
@axw axw deleted the bump-licence-detector branch April 12, 2021 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation Stalled Team:Automation Label for the Observability productivity team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants