Skip to content

[7.13](backport #26469) fix(ci): use the right param type#26471

Merged
v1v merged 2 commits into7.13from
mergify/bp/7.13/pr-26469
Jul 14, 2021
Merged

[7.13](backport #26469) fix(ci): use the right param type#26471
v1v merged 2 commits into7.13from
mergify/bp/7.13/pr-26469

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented Jun 24, 2021

This is an automatic backport of pull request #26469 done by Mergify.
Cherry-pick of f429a82 has failed:

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

You are currently cherry-picking commit f429a82b9.
  (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)

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   .ci/packaging.groovy

no changes added to commit (use "git add" and/or "git commit -a")

To fix up this pull request, you can check it out locally. See documentation: https://help.github.com/articles/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/

Jenkins, as expected, is honouring the param type used in the caller, but
not honouring the type in the triggered pipeline. This issue has historical
rationale, as the parameters are created dynamically

(cherry picked from commit f429a82)

# Conflicts:
#	.ci/packaging.groovy
@mergify mergify bot added backport conflicts There is a conflict in the backported pull request labels Jun 24, 2021
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jun 24, 2021
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

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 #26471 opened

  • Start Time: 2021-06-24T12:38:19.098+0000

  • Duration: 10 min 56 sec

  • Commit: 67c612b

Trends 🧪

Image of Build Times

❕ Flaky test report

No test was executed to be analysed.

@v1v v1v added Team:Automation Label for the Observability productivity team and removed conflicts There is a conflict in the backported pull request labels Jul 14, 2021
@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Jul 14, 2021
@v1v v1v merged commit 1907c24 into 7.13 Jul 14, 2021
@elasticmachine
Copy link
Copy Markdown
Contributor

💔 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-14T15:50:54.390+0000

  • Duration: 2 min 16 sec

  • Commit: 3d0f766

Trends 🧪

Image of Build Times

Steps errors 2

Expand to view the steps failures

Git fetch
  • Took 0 min 1 sec . View more details on here
  • Description: git fetch https://${GIT_USERNAME}:${GIT_PASSWORD}@github.com/elastic/beats.git +refs/pull/*/head:refs/remotes/origin/pr/* > fetch.log 2>&1
Archive the artifacts
  • Took 0 min 0 sec . View more details on here
  • Description: fetch.log

Log output

Expand to view the last 100 lines of log output

[2021-07-14T15:50:55.833Z]  > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10
[2021-07-14T15:50:56.431Z]  > git rev-parse current^{commit} # timeout=10
[2021-07-14T15:50:56.438Z]  > git branch -a -v --no-abbrev --contains 426cf572f5719b83c348d3421ab78569df9546fb # timeout=10
[2021-07-14T15:50:56.476Z] Selected match: master revision 426cf572f5719b83c348d3421ab78569df9546fb
[2021-07-14T15:50:56.478Z] The recommended git tool is: git
[2021-07-14T15:50:56.478Z] using credential f6c7695a-671e-4f4f-a331-acdce44ff9ba
[2021-07-14T15:50:56.484Z] Cloning the remote Git repository
[2021-07-14T15:50:56.484Z] Cloning with configured refspecs honoured and without tags
[2021-07-14T15:50:56.484Z] Cloning repository git@github.com:elastic/apm-pipeline-library.git
[2021-07-14T15:50:56.485Z]  > git init /var/lib/jenkins/workspace/Beats_beats_PR-26471@libs/apm # timeout=10
[2021-07-14T15:50:56.494Z] Fetching upstream changes from git@github.com:elastic/apm-pipeline-library.git
[2021-07-14T15:50:56.494Z]  > git --version # timeout=10
[2021-07-14T15:50:56.501Z]  > git --version # 'git version 2.17.1'
[2021-07-14T15:50:56.501Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2021-07-14T15:50:56.510Z]  > git fetch --no-tags --progress -- git@github.com:elastic/apm-pipeline-library.git +refs/heads/*:refs/remotes/origin/* # timeout=10
[2021-07-14T15:50:57.516Z]  > git config remote.origin.url git@github.com:elastic/apm-pipeline-library.git # timeout=10
[2021-07-14T15:50:57.523Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2021-07-14T15:50:57.531Z] Avoid second fetch
[2021-07-14T15:50:57.531Z] Checking out Revision 426cf572f5719b83c348d3421ab78569df9546fb (master)
[2021-07-14T15:50:57.531Z]  > git config core.sparsecheckout # timeout=10
[2021-07-14T15:50:57.537Z]  > git checkout -f 426cf572f5719b83c348d3421ab78569df9546fb # timeout=10
[2021-07-14T15:50:57.620Z] Commit message: "docs: update CHANGELOG.md"
[2021-07-14T15:50:58.349Z] Excluding src/test/ from checkout of git git@github.com:elastic/apm-pipeline-library.git so that shared library test code cannot be accessed by Pipelines.
[2021-07-14T15:50:58.349Z] To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins.
[2021-07-14T15:51:14.682Z] Still waiting to schedule task
[2021-07-14T15:51:14.682Z] All nodes of label ‘ubuntu-18&&immutable’ are offline
[2021-07-14T15:52:07.966Z] Running on beats-ci-immutable-ubuntu-1804-1626277863909391441 in /var/lib/jenkins/workspace/Beats_beats_PR-26471
[2021-07-14T15:52:14.118Z] �[39;49m[INFO] Override default checkout�[0m
[2021-07-14T15:52:14.175Z] Sleeping for 10 sec
[2021-07-14T15:52:24.266Z] The recommended git tool is: git
[2021-07-14T15:52:26.418Z] using credential f6c7695a-671e-4f4f-a331-acdce44ff9ba
[2021-07-14T15:52:26.425Z] Wiping out workspace first.
[2021-07-14T15:52:26.451Z] Cloning the remote Git repository
[2021-07-14T15:52:26.451Z] Using shallow clone with depth 10
[2021-07-14T15:52:26.451Z] Avoid fetching tags
[2021-07-14T15:52:26.472Z] Cloning repository git@github.com:elastic/beats.git
[2021-07-14T15:52:26.517Z]  > git init /var/lib/jenkins/workspace/Beats_beats_PR-26471 # timeout=10
[2021-07-14T15:52:26.556Z] Fetching upstream changes from git@github.com:elastic/beats.git
[2021-07-14T15:52:26.556Z]  > git --version # timeout=10
[2021-07-14T15:52:26.560Z]  > git --version # 'git version 2.17.1'
[2021-07-14T15:52:26.561Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2021-07-14T15:52:26.583Z]  > git fetch --no-tags --progress -- git@github.com:elastic/beats.git +refs/heads/*:refs/remotes/origin/* # timeout=15
[2021-07-14T15:52:49.371Z] Cleaning workspace
[2021-07-14T15:52:49.389Z] Using shallow fetch with depth 10
[2021-07-14T15:52:49.389Z] Pruning obsolete local branches
[2021-07-14T15:52:49.347Z]  > git config remote.origin.url git@github.com:elastic/beats.git # timeout=10
[2021-07-14T15:52:49.355Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2021-07-14T15:52:49.365Z]  > git config remote.origin.url git@github.com:elastic/beats.git # timeout=10
[2021-07-14T15:52:49.374Z]  > git rev-parse --verify HEAD # timeout=10
[2021-07-14T15:52:49.379Z] No valid HEAD. Skipping the resetting
[2021-07-14T15:52:49.380Z]  > git clean -fdx # timeout=10
[2021-07-14T15:52:49.395Z] Fetching upstream changes from git@github.com:elastic/beats.git
[2021-07-14T15:52:49.395Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2021-07-14T15:52:49.399Z]  > git fetch --no-tags --progress --prune -- git@github.com:elastic/beats.git +refs/pull/26471/head:refs/remotes/origin/PR-26471 +refs/heads/7.13:refs/remotes/origin/7.13 # timeout=15
[2021-07-14T15:52:50.341Z] Merging remotes/origin/7.13 commit be3075b6dcfd9ff6e9d6878bfde7f35b7c42ed98 into PR head commit 3d0f766b3d48f6ce897a953a3dc1b83ac88478a7
[2021-07-14T15:52:51.996Z] Merge succeeded, producing 3d0f766b3d48f6ce897a953a3dc1b83ac88478a7
[2021-07-14T15:52:51.996Z] Checking out Revision 3d0f766b3d48f6ce897a953a3dc1b83ac88478a7 (PR-26471)
[2021-07-14T15:52:50.349Z]  > git config core.sparsecheckout # timeout=10
[2021-07-14T15:52:50.353Z]  > git checkout -f 3d0f766b3d48f6ce897a953a3dc1b83ac88478a7 # timeout=15
[2021-07-14T15:52:51.963Z]  > git remote # timeout=10
[2021-07-14T15:52:51.967Z]  > git config --get remote.origin.url # timeout=10
[2021-07-14T15:52:51.973Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2021-07-14T15:52:51.977Z]  > git merge be3075b6dcfd9ff6e9d6878bfde7f35b7c42ed98 # timeout=10
[2021-07-14T15:52:51.989Z]  > git rev-parse HEAD^{commit} # timeout=10
[2021-07-14T15:52:51.999Z]  > git config core.sparsecheckout # timeout=10
[2021-07-14T15:52:52.003Z]  > git checkout -f 3d0f766b3d48f6ce897a953a3dc1b83ac88478a7 # timeout=15
[2021-07-14T15:52:57.020Z] Commit message: "Merge branch '7.13' into mergify/bp/7.13/pr-26469"
[2021-07-14T15:52:57.023Z]  > git rev-list --no-walk 67c612b34401014f97dce086f587f2a680efa894 # timeout=10
[2021-07-14T15:52:57.060Z] Cleaning workspace
[2021-07-14T15:52:57.308Z] Timeout set to expire in 4 hr 0 min
[2021-07-14T15:52:57.322Z] The timestamps step is unnecessary when timestamps are enabled for all Pipeline builds.
[2021-07-14T15:52:57.062Z]  > git rev-parse --verify HEAD # timeout=10
[2021-07-14T15:52:57.066Z] Resetting working tree
[2021-07-14T15:52:57.066Z]  > git reset --hard # timeout=10
[2021-07-14T15:52:57.151Z]  > git clean -fdx # timeout=10
[2021-07-14T15:52:57.488Z] [INFO] Number of builds to be searched 10
[2021-07-14T15:52:58.166Z] [INFO] 'shallow' is forced to be disabled when running on PullRequests
[2021-07-14T15:52:58.182Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-26471@tmp
[2021-07-14T15:52:58.203Z] [INFO] gitCheckout: Checkout SCM PR-26471 with default customisation from the Item.
[2021-07-14T15:52:58.233Z] [INFO] Override default checkout
[2021-07-14T15:52:58.267Z] Sleeping for 10 sec
[2021-07-14T15:53:08.467Z] Masking supported pattern matches of $GIT_USERNAME or $GIT_PASSWORD
[2021-07-14T15:53:09.028Z] + git fetch https://****:****@github.com/elastic/beats.git +refs/pull/*/head:refs/remotes/origin/pr/*
[2021-07-14T15:53:09.078Z] [WARN] gitCmd failed, further details in the archived file 'fetch.log'
[2021-07-14T15:53:09.145Z] Archiving artifacts
[2021-07-14T15:53:09.457Z] Stage "Lint" skipped due to earlier failure(s)
[2021-07-14T15:53:09.486Z] Stage "Build&Test" skipped due to earlier failure(s)
[2021-07-14T15:53:09.513Z] Stage "Extended" skipped due to earlier failure(s)
[2021-07-14T15:53:09.542Z] Stage "Packaging" skipped due to earlier failure(s)
[2021-07-14T15:53:09.577Z] Stage "Packaging-Pipeline" skipped due to earlier failure(s)
[2021-07-14T15:53:09.628Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-26471/src/github.com/elastic/beats
[2021-07-14T15:53:09.951Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-26471
[2021-07-14T15:53:10.043Z] [INFO] getVaultSecret: Getting secrets
[2021-07-14T15:53:10.081Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-07-14T15:53:10.842Z] + chmod 755 generate-build-data.sh
[2021-07-14T15:53:10.842Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26471/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26471/runs/2 FAILURE 136189
[2021-07-14T15:53:10.842Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26471/runs/2/steps/?limit=10000 -o steps-info.json
[2021-07-14T15:53:10.842Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26471/runs/2/tests/?status=FAILED -o tests-errors.json
[2021-07-14T15:53:10.842Z] Retry 1/3 exited 22, retrying in 1 seconds...
[2021-07-14T15:53:12.185Z] Retry 2/3 exited 22, retrying in 2 seconds...

❕ Flaky test report

No test was executed to be analysed.

@mergify mergify bot deleted the mergify/bp/7.13/pr-26469 branch July 14, 2021 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Team:Automation Label for the Observability productivity team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants