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

[Build] Disable armv7 packaging #26679

Merged
merged 1 commit into from
Jul 1, 2021
Merged

[Build] Disable armv7 packaging #26679

merged 1 commit into from
Jul 1, 2021

Conversation

faec
Copy link
Contributor

@faec faec commented Jul 1, 2021

What does this PR do?

Disables the linux/armv7 platform in the packaging pipeline, since it is currently broken. See #26677.

@faec faec added bug Team:Elastic-Agent Label for the Agent team backport-v7.13.0 Automated backport with mergify backport-v7.14.0 Automated backport with mergify labels Jul 1, 2021
@faec faec self-assigned this Jul 1, 2021
@faec faec requested a review from a team as a code owner July 1, 2021 19:05
@elasticmachine
Copy link
Collaborator

Pinging @elastic/agent (Team:Agent)

@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label Team:Automation Label for the Observability productivity team and removed needs_team Indicates that the issue/PR needs a Team:* label labels Jul 1, 2021
Copy link
Contributor

@EricDavisX EricDavisX left a comment

Choose a reason for hiding this comment

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

lgtm; thanks.

@v1v
Copy link
Member

v1v commented Jul 1, 2021

I think there is a missing change that the original PR that @urso raised to disable armv7 didn't include, that was for disabling armv7 in the .ci/packaging.groovy:

https://github.com/elastic/beats/blame/7.13/.ci/packaging.groovy#L141

The PR I raised to enable armv7 was taking in consideration the changes from .ci/ packaging.groovy, since it was the source of truth, or that's what i thought :_(

A bit more of context, the packaging pipeline is the one used to run the E2E testing, therefore it's important to be sure the e2e testing can run, and for such the packaging needs to work.

I'm not sure if the backport should go to the 7.14 branch, in case those backport labels were aimed to.

IIUC, armv7 is not needed at all in master, 7.x, 7.14 and 7.13, if that's correct, then the backport-v7.15 label is missing. Though, armv7 works for master, 7.x and 7.14 IIRC, but in any case i don't have enough context why it was removed. Sorry for the spm with this comment, I'm not in front of my computer but my mobile.

Copy link
Member

@v1v v1v left a comment

Choose a reason for hiding this comment

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

Changes needed in the .ci/packaging.groovy

@faec
Copy link
Contributor Author

faec commented Jul 1, 2021

Groovy changes sound reasonable but I don't want to leave packaging broken another few hours by forcing a test restart now. Let's revert the breakage first, then we can do a followup fix if that's the right choice.

@elasticmachine
Copy link
Collaborator

💔 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 #26679 opened

  • Start Time: 2021-07-01T19:05:50.500+0000

  • Duration: 136 min 16 sec

  • Commit: f2ee40f

Test stats 🧪

Test Results
Failed 0
Passed 48506
Skipped 5395
Total 53901

Trends 🧪

Image of Build Times

Image of Tests

Log output

Expand to view the last 100 lines of log output

[2021-07-01T21:20:44.301Z]  API version:       1.41
[2021-07-01T21:20:44.301Z]  Go version:        go1.13.15
[2021-07-01T21:20:44.301Z]  Git commit:        48d30b5
[2021-07-01T21:20:44.301Z]  Built:             Fri Jan 29 14:33:13 2021
[2021-07-01T21:20:44.301Z]  OS/Arch:           linux/amd64
[2021-07-01T21:20:44.301Z]  Context:           default
[2021-07-01T21:20:44.301Z]  Experimental:      true
[2021-07-01T21:20:44.301Z] 
[2021-07-01T21:20:44.301Z] Server: Docker Engine - Community
[2021-07-01T21:20:44.301Z]  Engine:
[2021-07-01T21:20:44.301Z]   Version:          20.10.3
[2021-07-01T21:20:44.301Z]   API version:      1.41 (minimum version 1.12)
[2021-07-01T21:20:44.301Z]   Go version:       go1.13.15
[2021-07-01T21:20:44.301Z]   Git commit:       46229ca
[2021-07-01T21:20:44.301Z]   Built:            Fri Jan 29 14:31:25 2021
[2021-07-01T21:20:44.301Z]   OS/Arch:          linux/amd64
[2021-07-01T21:20:44.301Z]   Experimental:     false
[2021-07-01T21:20:44.301Z]  containerd:
[2021-07-01T21:20:44.301Z]   Version:          1.4.3
[2021-07-01T21:20:44.301Z]   GitCommit:        269548fa27e0089a8b8278fc4fc781d7f65a939b
[2021-07-01T21:20:44.301Z]  runc:
[2021-07-01T21:20:44.301Z]   Version:          1.0.0-rc92
[2021-07-01T21:20:44.301Z]   GitCommit:        ff819c7e9184c13b7c2607fe6c30ae19403a7aff
[2021-07-01T21:20:44.301Z]  docker-init:
[2021-07-01T21:20:44.301Z]   Version:          0.19.0
[2021-07-01T21:20:44.301Z]   GitCommit:        de40ad0
[2021-07-01T21:20:44.301Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-07-01T21:20:44.301Z] Unable to find image 'alpine:3.4' locally
[2021-07-01T21:20:44.868Z] 3.4: Pulling from library/alpine
[2021-07-01T21:20:45.126Z] c1e54eec4b57: Pulling fs layer
[2021-07-01T21:20:45.385Z] c1e54eec4b57: Verifying Checksum
[2021-07-01T21:20:45.385Z] c1e54eec4b57: Download complete
[2021-07-01T21:20:45.643Z] c1e54eec4b57: Pull complete
[2021-07-01T21:20:45.643Z] Digest: sha256:b733d4a32c4da6a00a84df2ca32791bb03df95400243648d8c539e7b4cce329c
[2021-07-01T21:20:45.643Z] Status: Downloaded newer image for alpine:3.4
[2021-07-01T21:20:47.549Z] Change permissions with write access of all files inside the specific folder
[2021-07-01T21:20:48.163Z] Running in /var/lib/jenkins/workspace/PR-26679-1-c7b7c58c-fd99-4350-a557-9492e0028cb6/src/github.com/elastic/beats/build
[2021-07-01T21:20:48.493Z] + rm -rf ve
[2021-07-01T21:20:48.493Z] + find . -type d -name vendor -exec rm -r {} ;
[2021-07-01T21:20:48.892Z] + python .ci/scripts/pre_archive_test.py
[2021-07-01T21:20:58.872Z] Copy ./x-pack/heartbeat/build into build/x-pack/heartbeat/build
[2021-07-01T21:20:58.872Z] Copy ./x-pack/heartbeat/build/golang-crossbuild into build/x-pack/heartbeat/build/golang-crossbuild
[2021-07-01T21:20:58.872Z] Copy ./x-pack/metricbeat/build into build/x-pack/metricbeat/build
[2021-07-01T21:20:58.872Z] Copy ./x-pack/metricbeat/build/golang-crossbuild into build/x-pack/metricbeat/build/golang-crossbuild
[2021-07-01T21:20:58.872Z] Copy ./x-pack/filebeat/build into build/x-pack/filebeat/build
[2021-07-01T21:20:58.872Z] Copy ./x-pack/filebeat/build/golang-crossbuild into build/x-pack/filebeat/build/golang-crossbuild
[2021-07-01T21:20:58.872Z] Copy ./x-pack/elastic-agent/build into build/x-pack/elastic-agent/build
[2021-07-01T21:20:58.872Z] Copy ./x-pack/elastic-agent/build/golang-crossbuild into build/x-pack/elastic-agent/build/golang-crossbuild
[2021-07-01T21:20:58.872Z] 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-07-01T21:20:58.872Z] 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-07-01T21:20:58.914Z] Running in /var/lib/jenkins/workspace/PR-26679-1-c7b7c58c-fd99-4350-a557-9492e0028cb6/src/github.com/elastic/beats/build
[2021-07-01T21:20:58.971Z] Recording test results
[2021-07-01T21:21:01.363Z] None of the test reports contained any result
[2021-07-01T21:21:01.375Z] [Checks API] No suitable checks publisher found.
[2021-07-01T21:21:01.876Z] + go clean -modcache
[2021-07-01T21:21:05.498Z] Cleaning up /var/lib/jenkins/workspace/PR-26679-1-c7b7c58c-fd99-4350-a557-9492e0028cb6
[2021-07-01T21:21:05.498Z] Client: Docker Engine - Community
[2021-07-01T21:21:05.498Z]  Version:           20.10.3
[2021-07-01T21:21:05.498Z]  API version:       1.41
[2021-07-01T21:21:05.498Z]  Go version:        go1.13.15
[2021-07-01T21:21:05.498Z]  Git commit:        48d30b5
[2021-07-01T21:21:05.498Z]  Built:             Fri Jan 29 14:33:13 2021
[2021-07-01T21:21:05.498Z]  OS/Arch:           linux/amd64
[2021-07-01T21:21:05.498Z]  Context:           default
[2021-07-01T21:21:05.498Z]  Experimental:      true
[2021-07-01T21:21:05.498Z] 
[2021-07-01T21:21:05.498Z] Server: Docker Engine - Community
[2021-07-01T21:21:05.498Z]  Engine:
[2021-07-01T21:21:05.498Z]   Version:          20.10.3
[2021-07-01T21:21:05.498Z]   API version:      1.41 (minimum version 1.12)
[2021-07-01T21:21:05.498Z]   Go version:       go1.13.15
[2021-07-01T21:21:05.498Z]   Git commit:       46229ca
[2021-07-01T21:21:05.498Z]   Built:            Fri Jan 29 14:31:25 2021
[2021-07-01T21:21:05.498Z]   OS/Arch:          linux/amd64
[2021-07-01T21:21:05.498Z]   Experimental:     false
[2021-07-01T21:21:05.498Z]  containerd:
[2021-07-01T21:21:05.498Z]   Version:          1.4.3
[2021-07-01T21:21:05.498Z]   GitCommit:        269548fa27e0089a8b8278fc4fc781d7f65a939b
[2021-07-01T21:21:05.498Z]  runc:
[2021-07-01T21:21:05.498Z]   Version:          1.0.0-rc92
[2021-07-01T21:21:05.498Z]   GitCommit:        ff819c7e9184c13b7c2607fe6c30ae19403a7aff
[2021-07-01T21:21:05.498Z]  docker-init:
[2021-07-01T21:21:05.498Z]   Version:          0.19.0
[2021-07-01T21:21:05.498Z]   GitCommit:        de40ad0
[2021-07-01T21:21:05.498Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-07-01T21:21:52.182Z] Change permissions with write access of all files inside the specific folder
[2021-07-01T21:21:52.242Z] Running in /var/lib/jenkins/workspace/PR-26679-1-c7b7c58c-fd99-4350-a557-9492e0028cb6
[2021-07-01T21:21:56.895Z] + gsutil --version
[2021-07-01T21:21:58.869Z] Masking supported pattern matches of $FILE_CREDENTIAL
[2021-07-01T21:21:59.245Z] + gcloud auth activate-service-account --key-file ****
[2021-07-01T21:22:00.191Z] Activated service account credentials for: [beats-ci-gcs-plugin@elastic-ci-prod.iam.gserviceaccount.com]
[2021-07-01T21:22:00.591Z] + gsutil -m -q cp -a public-read eC1wYWNrL2VsYXN0aWMtYWdlbnQtcGFja2FnaW5nLWxpbnV4ZjJlZTQwZmRiZjczMmUwZDUwNTQxY2NkMjE5NzYzMmZlZmNhM2ZhYw gs://beats-ci-temp/ci/cache/
[2021-07-01T21:22:04.193Z] Stage "Packaging-Pipeline" skipped due to earlier failure(s)
[2021-07-01T21:22:04.339Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-26679/src/github.com/elastic/beats
[2021-07-01T21:22:05.340Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-26679
[2021-07-01T21:22:05.461Z] [INFO] getVaultSecret: Getting secrets
[2021-07-01T21:22:05.521Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-07-01T21:22:06.633Z] + chmod 755 generate-build-data.sh
[2021-07-01T21:22:06.633Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26679/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26679/runs/1 FAILURE 8175856
[2021-07-01T21:22:06.633Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26679/runs/1/steps/?limit=10000 -o steps-info.json

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 48506
Skipped 5395
Total 53901

@faec faec merged commit f8c68b5 into elastic:master Jul 1, 2021
@faec faec deleted the arm-packaging branch July 1, 2021 21:24
mergify bot pushed a commit that referenced this pull request Jul 1, 2021
(cherry picked from commit f8c68b5)
mergify bot pushed a commit that referenced this pull request Jul 1, 2021
(cherry picked from commit f8c68b5)
faec added a commit that referenced this pull request Jul 2, 2021
(cherry picked from commit f8c68b5)

Co-authored-by: Fae Charlton <fae.charlton@elastic.co>
@faec faec added the backport-v7.15.0 Automated backport with mergify label Jul 2, 2021
faec added a commit that referenced this pull request Jul 2, 2021
(cherry picked from commit f8c68b5)

Co-authored-by: Fae Charlton <fae.charlton@elastic.co>
mergify bot pushed a commit that referenced this pull request Jul 2, 2021
(cherry picked from commit f8c68b5)
faec added a commit that referenced this pull request Jul 2, 2021
(cherry picked from commit f8c68b5)

Co-authored-by: Fae Charlton <fae.charlton@elastic.co>
v1v added a commit to v1v/beats that referenced this pull request Jul 5, 2021
…stage-failed-within-same-build

* upstream/master: (36 commits)
  Revert "[CI] fight the flakiness with some retry option in the CI only for the Pull Requests (elastic#26617)" (elastic#26704)
  Packaging: linux/armv7 is not supported (elastic#26706)
  Cyberarkpas: Link to official docs on how to setup TLS (elastic#26614)
  Make network_direction, registered_domain and convert processors compatible with ES older than 7.13.0 (elastic#26676)
  Disable armv7 packaging (elastic#26679)
  [Heartbeat] use --params flag for synthetics (elastic#26674)
  Update dependent package to avoid downloading a suspicious file (elastic#26406)
  [mergify] set title and allow bp in any direction (elastic#26648)
  Fix memory leak in SQL helper when database is not available (elastic#26607)
  [CI] fight the flakiness with some retry option in the CI only for the Pull Requests (elastic#26617)
  [mergify] automate PRs that change the backport rules (elastic#26641)
  [Metricbeat] Add Airflow module in xpack (elastic#26220)
  chore: add-backport-next (elastic#26620)
  [metricbeat] Add state_job metricset (elastic#26479)
  CI: jenkins labels are less time consuming now (elastic#26613)
  [MetricBeat] [AWS] Fix aws metric tags with resourcegroupstaggingapi paginator (elastic#26385) (elastic#26443)
  Move openmetrics module to oss (elastic#26561)
  Skip flaky test TestFilestreamMetadataUpdatedOnRename (elastic#26609)
  [filebeat][fortinet] Use default add_locale for fortinet.firewall (elastic#26524)
  Enroll proxy settings (elastic#26514)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-v7.13.0 Automated backport with mergify backport-v7.14.0 Automated backport with mergify backport-v7.15.0 Automated backport with mergify bug Team:Automation Label for the Observability productivity team Team:Elastic-Agent Label for the Agent team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants