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

Update go version to 1.16.5 #26186

Merged
merged 6 commits into from
Jun 14, 2021
Merged

Update go version to 1.16.5 #26186

merged 6 commits into from
Jun 14, 2021

Conversation

michel-laterman
Copy link
Contributor

What does this PR do?

Update go version to 1.16.5

Related issues

@michel-laterman michel-laterman requested a review from a team as a code owner June 7, 2021 19:56
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jun 7, 2021
@michel-laterman michel-laterman added backport-v7.14.0 Automated backport with mergify dependency Team:Elastic-Agent Label for the Agent team v7.14.0 labels Jun 7, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/agent (Team:Agent)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Jun 7, 2021
@elasticmachine
Copy link
Collaborator

elasticmachine commented Jun 7, 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: michel-laterman commented: /test

  • Start Time: 2021-06-10T20:33:20.015+0000

  • Duration: 27 min 36 sec

  • Commit: cc103dd

Trends 🧪

Image of Build Times

Steps errors 2

Expand to view the steps failures

x-pack/elastic-agent-packaging-arm-arm - mage package
  • Took 11 min 51 sec . View more details on here
  • Description: mage package
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-06-10T20:58:37.596Z]  Experimental:      true
[2021-06-10T20:58:37.596Z] 
[2021-06-10T20:58:37.596Z] Server: Docker Engine - Community
[2021-06-10T20:58:37.596Z]  Engine:
[2021-06-10T20:58:37.596Z]   Version:          20.10.3
[2021-06-10T20:58:37.596Z]   API version:      1.41 (minimum version 1.12)
[2021-06-10T20:58:37.596Z]   Go version:       go1.13.15
[2021-06-10T20:58:37.596Z]   Git commit:       46229ca
[2021-06-10T20:58:37.596Z]   Built:            Fri Jan 29 14:31:49 2021
[2021-06-10T20:58:37.596Z]   OS/Arch:          linux/arm64
[2021-06-10T20:58:37.596Z]   Experimental:     false
[2021-06-10T20:58:37.596Z]  containerd:
[2021-06-10T20:58:37.596Z]   Version:          1.4.3
[2021-06-10T20:58:37.596Z]   GitCommit:        269548fa27e0089a8b8278fc4fc781d7f65a939b
[2021-06-10T20:58:37.596Z]  runc:
[2021-06-10T20:58:37.596Z]   Version:          1.0.0-rc92
[2021-06-10T20:58:37.596Z]   GitCommit:        ff819c7e9184c13b7c2607fe6c30ae19403a7aff
[2021-06-10T20:58:37.596Z]  docker-init:
[2021-06-10T20:58:37.596Z]   Version:          0.19.0
[2021-06-10T20:58:37.596Z]   GitCommit:        de40ad0
[2021-06-10T20:58:37.596Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-06-10T20:58:37.596Z] Unable to find image 'arm64v8/alpine:3' locally
[2021-06-10T20:58:38.663Z] 3: Pulling from arm64v8/alpine
[2021-06-10T20:58:38.663Z] 595b0fe564bb: Pulling fs layer
[2021-06-10T20:58:39.171Z] 595b0fe564bb: Verifying Checksum
[2021-06-10T20:58:39.171Z] 595b0fe564bb: Download complete
[2021-06-10T20:58:39.171Z] 595b0fe564bb: Pull complete
[2021-06-10T20:58:39.171Z] Digest: sha256:8f18fae117ec6e5777cc62ba78cbb3be10a8a38639ccfb949521abd95c8301a4
[2021-06-10T20:58:39.171Z] Status: Downloaded newer image for arm64v8/alpine:3
[2021-06-10T20:58:41.552Z] Change permissions with write access of all files inside the specific folder
[2021-06-10T20:58:41.756Z] Running in /var/lib/jenkins/workspace/PR-26186-12-46fd0e52-cdc6-4584-9270-777875423aab/src/github.com/elastic/beats/build
[2021-06-10T20:58:42.614Z] + rm -rf ve
[2021-06-10T20:58:42.614Z] + find . -type d -name vendor -exec rm -r {} ;
[2021-06-10T20:58:43.671Z] + python .ci/scripts/pre_archive_test.py
[2021-06-10T20:58:46.095Z] Copy ./x-pack/heartbeat/build into build/x-pack/heartbeat/build
[2021-06-10T20:58:46.095Z] Copy ./x-pack/heartbeat/build/golang-crossbuild into build/x-pack/heartbeat/build/golang-crossbuild
[2021-06-10T20:58:46.095Z] Copy ./x-pack/elastic-agent/build into build/x-pack/elastic-agent/build
[2021-06-10T20:58:46.095Z] Copy ./x-pack/elastic-agent/build/golang-crossbuild into build/x-pack/elastic-agent/build/golang-crossbuild
[2021-06-10T20:58:46.095Z] Copy ./x-pack/metricbeat/build into build/x-pack/metricbeat/build
[2021-06-10T20:58:46.095Z] Copy ./x-pack/metricbeat/build/golang-crossbuild into build/x-pack/metricbeat/build/golang-crossbuild
[2021-06-10T20:58:46.095Z] Copy ./x-pack/filebeat/build into build/x-pack/filebeat/build
[2021-06-10T20:58:46.095Z] Copy ./x-pack/filebeat/build/golang-crossbuild into build/x-pack/filebeat/build/golang-crossbuild
[2021-06-10T20:58:46.319Z] Running in /var/lib/jenkins/workspace/PR-26186-12-46fd0e52-cdc6-4584-9270-777875423aab/src/github.com/elastic/beats/build
[2021-06-10T20:58:46.397Z] Recording test results
[2021-06-10T20:58:49.979Z] None of the test reports contained any result
[2021-06-10T20:58:49.980Z] [Checks API] No suitable checks publisher found.
[2021-06-10T20:58:50.855Z] + tar --version
[2021-06-10T20:58:51.967Z] + tar --exclude=test-build-artifacts-x-pack-elastic-agent-packaging-arm-arm-tgz -czf test-build-artifacts-x-pack-elastic-agent-packaging-arm-arm-tgz .
[2021-06-10T20:59:24.047Z] + gsutil --version
[2021-06-10T20:59:35.454Z] Masking supported pattern matches of $FILE_CREDENTIAL
[2021-06-10T20:59:36.932Z] + gcloud auth activate-service-account --key-file ****
[2021-06-10T20:59:39.302Z] Activated service account credentials for: [[email protected]]
[2021-06-10T20:59:40.424Z] + gsutil -m -q cp -a public-read test-build-artifacts-x-pack-elastic-agent-packaging-arm-arm-tgz gs://beats-ci-temp/Beats/beats/PR-26186-12
[2021-06-10T20:59:45.854Z] + python .ci/scripts/search_system_tests.py
[2021-06-10T20:59:46.126Z] [INFO] system-tests=''. If no empty then let's create a tarball
[2021-06-10T20:59:47.017Z] + go clean -modcache
[2021-06-10T20:59:50.017Z] Cleaning up /var/lib/jenkins/workspace/PR-26186-12-46fd0e52-cdc6-4584-9270-777875423aab
[2021-06-10T20:59:50.017Z] Client: Docker Engine - Community
[2021-06-10T20:59:50.017Z]  Version:           20.10.3
[2021-06-10T20:59:50.017Z]  API version:       1.41
[2021-06-10T20:59:50.017Z]  Go version:        go1.13.15
[2021-06-10T20:59:50.017Z]  Git commit:        48d30b5
[2021-06-10T20:59:50.017Z]  Built:             Fri Jan 29 14:33:34 2021
[2021-06-10T20:59:50.017Z]  OS/Arch:           linux/arm64
[2021-06-10T20:59:50.017Z]  Context:           default
[2021-06-10T20:59:50.017Z]  Experimental:      true
[2021-06-10T20:59:50.017Z] 
[2021-06-10T20:59:50.017Z] Server: Docker Engine - Community
[2021-06-10T20:59:50.017Z]  Engine:
[2021-06-10T20:59:50.017Z]   Version:          20.10.3
[2021-06-10T20:59:50.017Z]   API version:      1.41 (minimum version 1.12)
[2021-06-10T20:59:50.017Z]   Go version:       go1.13.15
[2021-06-10T20:59:50.017Z]   Git commit:       46229ca
[2021-06-10T20:59:50.017Z]   Built:            Fri Jan 29 14:31:49 2021
[2021-06-10T20:59:50.017Z]   OS/Arch:          linux/arm64
[2021-06-10T20:59:50.017Z]   Experimental:     false
[2021-06-10T20:59:50.017Z]  containerd:
[2021-06-10T20:59:50.017Z]   Version:          1.4.3
[2021-06-10T20:59:50.017Z]   GitCommit:        269548fa27e0089a8b8278fc4fc781d7f65a939b
[2021-06-10T20:59:50.017Z]  runc:
[2021-06-10T20:59:50.017Z]   Version:          1.0.0-rc92
[2021-06-10T20:59:50.017Z]   GitCommit:        ff819c7e9184c13b7c2607fe6c30ae19403a7aff
[2021-06-10T20:59:50.017Z]  docker-init:
[2021-06-10T20:59:50.017Z]   Version:          0.19.0
[2021-06-10T20:59:50.017Z]   GitCommit:        de40ad0
[2021-06-10T20:59:50.017Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-06-10T20:59:50.524Z] Change permissions with write access of all files inside the specific folder
[2021-06-10T20:59:51.302Z] Running in /var/lib/jenkins/workspace/PR-26186-12-46fd0e52-cdc6-4584-9270-777875423aab
[2021-06-10T20:59:54.675Z] Failed in branch x-pack/elastic-agent-packaging-arm-arm
[2021-06-10T20:59:54.747Z] Stage "Packaging-Pipeline" skipped due to earlier failure(s)
[2021-06-10T20:59:54.805Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-26186/src/github.com/elastic/beats
[2021-06-10T20:59:55.176Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-26186
[2021-06-10T20:59:55.219Z] [INFO] getVaultSecret: Getting secrets
[2021-06-10T20:59:55.256Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-06-10T20:59:55.955Z] + chmod 755 generate-build-data.sh
[2021-06-10T20:59:55.955Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26186/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26186/runs/12 FAILURE 1595678
[2021-06-10T20:59:55.955Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26186/runs/12/steps/?limit=10000 -o steps-info.json
[2021-06-10T20:59:57.298Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26186/runs/12/tests/?status=FAILED -o tests-errors.json
[2021-06-10T20:59:57.299Z] Retry 1/3 exited 22, retrying in 1 seconds...
[2021-06-10T20:59:58.642Z] Retry 2/3 exited 22, retrying in 2 seconds...

❕ Flaky test report

No test was executed to be analysed.

@michel-laterman
Copy link
Contributor Author

/test

@michel-laterman
Copy link
Contributor Author

/test

1 similar comment
@michel-laterman
Copy link
Contributor Author

/test

@urso
Copy link

urso commented Jun 8, 2021

the CI failures seem to suggest we don't have the crosscompile containers in place yet.

@michel-laterman
Copy link
Contributor Author

CI failures are because I forgot to change a version number in the golang-crossbuild repo elastic/golang-crossbuild#107

@michel-laterman
Copy link
Contributor Author

/test

Copy link
Contributor

@michalpristas michalpristas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved, tried to rekick build but still failing on the same thing.

@michel-laterman
Copy link
Contributor Author

/test

@urso
Copy link

urso commented Jun 14, 2021

The ARM packaging is currently broken. The failure is to be expected. All other tasks did succeed. Let's force merge, as changes in go mod are an issue as well.

@urso urso merged commit 881c512 into elastic:master Jun 14, 2021
mergify bot pushed a commit that referenced this pull request Jun 14, 2021
(cherry picked from commit 881c512)

# Conflicts:
#	libbeat/docs/version.asciidoc
@michel-laterman michel-laterman deleted the go1.16.5 branch June 14, 2021 16:24
ChrsMark pushed a commit that referenced this pull request Jun 15, 2021
* Update go version to 1.16.5 (#26186)

(cherry picked from commit 881c512)

# Conflicts:
#	libbeat/docs/version.asciidoc

* Update version.asciidoc

Co-authored-by: Michel Laterman <[email protected]>
michalpristas pushed a commit to michalpristas/beats that referenced this pull request Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-v7.14.0 Automated backport with mergify enhancement Team:Elastic-Agent Label for the Agent team v7.14.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants