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

[7.14](backport #25219) Introduce httpcommon package in libbeat (add support for Proxy) #26949

Closed
wants to merge 1 commit into from

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jul 19, 2021

This is an automatic backport of pull request #25219 done by Mergify.
Cherry-pick of 4accfa8 has failed:

On branch mergify/bp/7.14/pr-25219
Your branch is up to date with 'origin/7.14'.

You are currently cherry-picking commit 4accfa821.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   CHANGELOG.next.asciidoc
	modified:   x-pack/elastic-agent/CHANGELOG.next.asciidoc

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   libbeat/monitoring/report/elasticsearch/config.go
	both modified:   metricbeat/module/elasticsearch/index/data_test.go
	both modified:   x-pack/elastic-agent/pkg/agent/cmd/enroll_cmd.go

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.io/

(cherry picked from commit 4accfa8)

# Conflicts:
#	libbeat/monitoring/report/elasticsearch/config.go
#	metricbeat/module/elasticsearch/index/data_test.go
#	x-pack/elastic-agent/pkg/agent/cmd/enroll_cmd.go
@mergify mergify bot added backport conflicts There is a conflict in the backported pull request labels Jul 19, 2021
@mergify mergify bot assigned urso Jul 19, 2021
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jul 19, 2021
@botelastic
Copy link

botelastic bot commented Jul 19, 2021

This pull request doesn't have a Team:<team> label.

@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 preview

Expand to view the summary

Build stats

  • Start Time: 2021-07-19T10:02:25.627+0000

  • Duration: 15 min 12 sec

  • Commit: 3ed5a1c

Trends 🧪

Image of Build Times

Steps errors 19

Expand to view the steps failures

Show only the first 10 steps failures

x-pack/elastic-agent-lint - make -C x-pack/elastic-agent check;make -C x-pack/elastic-agent update;
  • Took 0 min 9 sec . View more details on here
  • Description: make -C x-pack/elastic-agent check;make -C x-pack/elastic-agent update;make check-no-changes;
x-pack/filebeat-lint - make -C x-pack/filebeat check;make -C x-pack/filebeat update;make -C filebe
  • Took 1 min 38 sec . View more details on here
  • Description: make -C x-pack/filebeat check;make -C x-pack/filebeat update;make -C filebeat check;make -C filebeat update;make check-no-changes;
x-pack/functionbeat-lint - make -C x-pack/functionbeat check;make -C x-pack/functionbeat update;ma
  • Took 1 min 42 sec . View more details on here
  • Description: make -C x-pack/functionbeat check;make -C x-pack/functionbeat update;make check-no-changes;
x-pack/heartbeat-lint - make -C x-pack/heartbeat check;make -C x-pack/heartbeat update;make -C hea
  • Took 1 min 35 sec . View more details on here
  • Description: make -C x-pack/heartbeat check;make -C x-pack/heartbeat update;make -C heartbeat check;make -C heartbeat update;make check-no-changes;
x-pack/libbeat-lint - make -C x-pack/libbeat check;make -C x-pack/libbeat update;make check-no-cha
  • Took 1 min 36 sec . View more details on here
  • Description: make -C x-pack/libbeat check;make -C x-pack/libbeat update;make check-no-changes;
x-pack/metricbeat-lint - make -C x-pack/metricbeat check;make -C x-pack/metricbeat update;make -C
  • Took 1 min 37 sec . View more details on here
  • Description: make -C x-pack/metricbeat check;make -C x-pack/metricbeat update;make -C metricbeat check;make -C metricbeat update;make check-no-changes;
x-pack/osquerybeat-lint - make -C x-pack/osquerybeat check;make -C x-pack/osquerybeat update;make
  • Took 0 min 7 sec . View more details on here
  • Description: make -C x-pack/osquerybeat check;make -C x-pack/osquerybeat update;make check-no-changes;
x-pack/packetbeat-lint - make -C packetbeat check;make -C packetbeat update;make check-no-changes;
  • Took 1 min 42 sec . View more details on here
  • Description: make -C packetbeat check;make -C packetbeat update;make check-no-changes;
x-pack/winlogbeat-lint-immutable && ubuntu-18 - make -C x-pack/winlogbeat check;make -C x-pack/winl
  • Took 1 min 39 sec . View more details on here
  • Description: make -C x-pack/winlogbeat check;make -C x-pack/winlogbeat update;make -C winlogbeat check;make -C winlogbeat update;make check-no-changes;
Error signal
  • Took 0 min 0 sec . View more details on here
  • Description: Error 'hudson.AbortException: script returned exit code 2'

Log output

Expand to view the last 100 lines of log output

[2021-07-19T10:17:13.574Z] + go clean -modcache
[2021-07-19T10:17:13.868Z] Cleaning up /var/lib/jenkins/workspace/PR-26949-1-4cd5e5b4-5c66-44ff-9ba5-561a88749914
[2021-07-19T10:17:13.868Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-07-19T10:17:13.868Z] ++ id -u
[2021-07-19T10:17:13.868Z] ++ id -g
[2021-07-19T10:17:13.868Z] + docker run -v /var/lib/jenkins/workspace/PR-26949-1-4cd5e5b4-5c66-44ff-9ba5-561a88749914:/beat alpine:3.4 sh -c 'find /beat -user 0 -exec chown -h 1166:1167 {} \;'
[2021-07-19T10:17:13.880Z] Running in /var/lib/jenkins/workspace/PR-26949-1-51abe4fb-931b-455f-8533-d6ea89cc2896
[2021-07-19T10:17:14.410Z] + set -e
[2021-07-19T10:17:14.410Z] + echo 'Change permissions with write access of all files inside the specific folder'
[2021-07-19T10:17:14.410Z] Change permissions with write access of all files inside the specific folder
[2021-07-19T10:17:14.410Z] + chmod -R +w /var/lib/jenkins/workspace/PR-26949-1-d5d773cd-43fa-4fd7-ab11-744afb3cad94
[2021-07-19T10:17:14.696Z] + python .ci/scripts/search_system_tests.py
[2021-07-19T10:17:14.813Z] + set -e
[2021-07-19T10:17:14.813Z] + echo 'Change permissions with write access of all files inside the specific folder'
[2021-07-19T10:17:14.813Z] Change permissions with write access of all files inside the specific folder
[2021-07-19T10:17:14.813Z] + chmod -R +w /var/lib/jenkins/workspace/PR-26949-1-4cd5e5b4-5c66-44ff-9ba5-561a88749914
[2021-07-19T10:17:14.822Z] Running in /var/lib/jenkins/workspace/PR-26949-1-20331d7e-9c44-48ce-a7b6-950272375798
[2021-07-19T10:17:15.345Z] [INFO] system-tests=''. If no empty then let's create a tarball
[2021-07-19T10:17:15.939Z] Running in /var/lib/jenkins/workspace/PR-26949-1-d5d773cd-43fa-4fd7-ab11-744afb3cad94
[2021-07-19T10:17:16.269Z] Timeout set to expire in 5 min 0 sec
[2021-07-19T10:17:16.432Z] Running in /var/lib/jenkins/workspace/PR-26949-1-4cd5e5b4-5c66-44ff-9ba5-561a88749914
[2021-07-19T10:17:16.597Z] Cleaning up /var/lib/jenkins/workspace/PR-26949-1-f63df93d-8d22-4435-a737-4510d5747749
[2021-07-19T10:17:16.597Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-07-19T10:17:16.597Z] ++ id -u
[2021-07-19T10:17:16.597Z] ++ id -g
[2021-07-19T10:17:16.597Z] + docker run -v /var/lib/jenkins/workspace/PR-26949-1-f63df93d-8d22-4435-a737-4510d5747749:/beat alpine:3.4 sh -c 'find /beat -user 0 -exec chown -h 1166:1167 {} \;'
[2021-07-19T10:17:16.873Z] Failed in branch x-pack/winlogbeat-lint-immutable && ubuntu-18
[2021-07-19T10:17:17.053Z] + go clean -modcache
[2021-07-19T10:17:17.436Z] Timeout set to expire in 5 min 0 sec
[2021-07-19T10:17:17.536Z] + set -e
[2021-07-19T10:17:17.536Z] + echo 'Change permissions with write access of all files inside the specific folder'
[2021-07-19T10:17:17.536Z] Change permissions with write access of all files inside the specific folder
[2021-07-19T10:17:17.536Z] + chmod -R +w /var/lib/jenkins/workspace/PR-26949-1-f63df93d-8d22-4435-a737-4510d5747749
[2021-07-19T10:17:17.831Z] Cleaning up /var/lib/jenkins/workspace/PR-26949-1-52866bde-4522-4ea0-b968-35c1b4759f76
[2021-07-19T10:17:17.831Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-07-19T10:17:17.831Z] ++ id -u
[2021-07-19T10:17:17.831Z] ++ id -g
[2021-07-19T10:17:17.831Z] + docker run -v /var/lib/jenkins/workspace/PR-26949-1-52866bde-4522-4ea0-b968-35c1b4759f76:/beat alpine:3.4 sh -c 'find /beat -user 0 -exec chown -h 1166:1167 {} \;'
[2021-07-19T10:17:18.775Z] + set -e
[2021-07-19T10:17:18.775Z] + echo 'Change permissions with write access of all files inside the specific folder'
[2021-07-19T10:17:18.775Z] Change permissions with write access of all files inside the specific folder
[2021-07-19T10:17:18.775Z] + chmod -R +w /var/lib/jenkins/workspace/PR-26949-1-52866bde-4522-4ea0-b968-35c1b4759f76
[2021-07-19T10:17:18.918Z] Failed in branch libbeat-lint
[2021-07-19T10:17:19.148Z] Running in /var/lib/jenkins/workspace/PR-26949-1-f63df93d-8d22-4435-a737-4510d5747749
[2021-07-19T10:17:19.495Z] Failed in branch x-pack/filebeat-lint
[2021-07-19T10:17:20.006Z] Failed in branch x-pack/metricbeat-lint
[2021-07-19T10:17:20.349Z] Running in /var/lib/jenkins/workspace/PR-26949-1-52866bde-4522-4ea0-b968-35c1b4759f76
[2021-07-19T10:17:20.529Z] Failed in branch winlogbeat-lint
[2021-07-19T10:17:20.768Z] Timeout set to expire in 5 min 0 sec
[2021-07-19T10:17:21.074Z] Failed in branch x-pack/auditbeat-lint
[2021-07-19T10:17:21.106Z] Cleaning up /var/lib/jenkins/workspace/PR-26949-1-1d00f966-6ff9-40ec-8871-a8b9b9bf80a7
[2021-07-19T10:17:21.106Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-07-19T10:17:21.106Z] ++ id -u
[2021-07-19T10:17:21.106Z] ++ id -g
[2021-07-19T10:17:21.106Z] + docker run -v /var/lib/jenkins/workspace/PR-26949-1-1d00f966-6ff9-40ec-8871-a8b9b9bf80a7:/beat alpine:3.4 sh -c 'find /beat -user 0 -exec chown -h 1166:1167 {} \;'
[2021-07-19T10:17:21.447Z] Failed in branch metricbeat-lint
[2021-07-19T10:17:21.912Z] Failed in branch packetbeat-lint
[2021-07-19T10:17:22.045Z] + set -e
[2021-07-19T10:17:22.045Z] + echo 'Change permissions with write access of all files inside the specific folder'
[2021-07-19T10:17:22.045Z] Change permissions with write access of all files inside the specific folder
[2021-07-19T10:17:22.045Z] + chmod -R +w /var/lib/jenkins/workspace/PR-26949-1-1d00f966-6ff9-40ec-8871-a8b9b9bf80a7
[2021-07-19T10:17:22.475Z] Failed in branch x-pack/packetbeat-lint
[2021-07-19T10:17:22.716Z] Running in /var/lib/jenkins/workspace/PR-26949-1-1d00f966-6ff9-40ec-8871-a8b9b9bf80a7
[2021-07-19T10:17:23.328Z] Failed in branch journalbeat-lint
[2021-07-19T10:17:24.247Z] Failed in branch x-pack/functionbeat-lint
[2021-07-19T10:17:25.720Z] Failed in branch filebeat-lint
[2021-07-19T10:17:26.588Z] + go clean -modcache
[2021-07-19T10:17:29.239Z] Timeout set to expire in 5 min 0 sec
[2021-07-19T10:17:29.570Z] Cleaning up /var/lib/jenkins/workspace/Beats_beats_PR-26949
[2021-07-19T10:17:29.570Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-07-19T10:17:29.570Z] ++ id -u
[2021-07-19T10:17:29.570Z] ++ id -g
[2021-07-19T10:17:29.570Z] + docker run -v /var/lib/jenkins/workspace/Beats_beats_PR-26949:/beat alpine:3.4 sh -c 'find /beat -user 0 -exec chown -h 1166:1167 {} \;'
[2021-07-19T10:17:29.570Z] Unable to find image 'alpine:3.4' locally
[2021-07-19T10:17:30.513Z] 3.4: Pulling from library/alpine
[2021-07-19T10:17:30.513Z] c1e54eec4b57: Pulling fs layer
[2021-07-19T10:17:31.086Z] c1e54eec4b57: Verifying Checksum
[2021-07-19T10:17:31.086Z] c1e54eec4b57: Download complete
[2021-07-19T10:17:31.086Z] c1e54eec4b57: Pull complete
[2021-07-19T10:17:31.086Z] Digest: sha256:b733d4a32c4da6a00a84df2ca32791bb03df95400243648d8c539e7b4cce329c
[2021-07-19T10:17:31.086Z] Status: Downloaded newer image for alpine:3.4
[2021-07-19T10:17:32.028Z] + set -e
[2021-07-19T10:17:32.028Z] + echo 'Change permissions with write access of all files inside the specific folder'
[2021-07-19T10:17:32.028Z] Change permissions with write access of all files inside the specific folder
[2021-07-19T10:17:32.028Z] + chmod -R +w /var/lib/jenkins/workspace/Beats_beats_PR-26949
[2021-07-19T10:17:32.191Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-26949
[2021-07-19T10:17:34.889Z] Stage "Build&Test" skipped due to earlier failure(s)
[2021-07-19T10:17:34.989Z] Stage "Extended" skipped due to earlier failure(s)
[2021-07-19T10:17:35.083Z] Stage "Packaging" skipped due to earlier failure(s)
[2021-07-19T10:17:35.174Z] Stage "Packaging-Pipeline" skipped due to earlier failure(s)
[2021-07-19T10:17:35.296Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-26949/src/github.com/elastic/beats
[2021-07-19T10:17:37.034Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-26949
[2021-07-19T10:17:37.140Z] [INFO] getVaultSecret: Getting secrets
[2021-07-19T10:17:37.190Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-07-19T10:17:38.294Z] + chmod 755 generate-build-data.sh
[2021-07-19T10:17:38.294Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26949/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26949/runs/1 FAILURE 912390
[2021-07-19T10:17:38.294Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26949/runs/1/steps/?limit=10000 -o steps-info.json
[2021-07-19T10:17:40.156Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26949/runs/1/tests/?status=FAILED -o tests-errors.json
[2021-07-19T10:17:40.156Z] Retry 1/3 exited 22, retrying in 1 seconds...
[2021-07-19T10:17:41.499Z] Retry 2/3 exited 22, retrying in 2 seconds...

❕ Flaky test report

No test was executed to be analysed.

@urso
Copy link

urso commented Jul 19, 2021

Already backported by #26626

@urso urso closed this Jul 19, 2021
@mergify mergify bot deleted the mergify/bp/7.14/pr-25219 branch July 19, 2021 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport conflicts There is a conflict in the backported pull request needs_team Indicates that the issue/PR needs a Team:* label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants