Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Disable/Enable pre-commit skipped tests in the report (bp #977) #978

Closed
wants to merge 2 commits into from

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Feb 11, 2021

This is an automatic backport of pull request #977 done by Mergify.

Cherry-pick of ef76384 has failed:

On branch mergify/bp/7.x/pr-977
Your branch is up to date with 'origin/7.x'.

You are currently cherry-picking commit ef76384d.
  (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:   src/test/groovy/PreCommitToJunitStepTests.groovy
	modified:   vars/README.md
	modified:   vars/preCommitToJunit.txt

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

To fixup this pull request, you can check out it 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/

(cherry picked from commit ef76384)

# Conflicts:
#	vars/preCommitToJunit.groovy
@mergify mergify bot added the conflicts There is a conflict in the backported pull request label Feb 11, 2021
@botelastic botelastic bot added the groovy label Feb 11, 2021
@apmmachine
Copy link
Contributor

apmmachine commented Feb 11, 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 #978 updated

  • Start Time: 2021-03-18T20:58:55.265+0000

  • Duration: 4 min 6 sec

  • Commit: 57eacd6

Test stats 🧪

Test Results
Failed 0
Passed 19
Skipped 0
Total 19

Trends 🧪

Image of Build Times

Image of Tests

Steps errors 1

Expand to view the steps failures

Shell Script
  • Took 0 min 11 sec . View more details on here
  • Description: ./mvnw clean test --batch-mode -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn

Log output

Expand to view the last 100 lines of log output

[2021-03-18T21:03:02.882Z] + mv /tmp/tmp.ffqpj9tG1e steps-info.json
[2021-03-18T21:03:02.882Z] + jqEdit 'map(del(._links))' steps-info.json
[2021-03-18T21:03:02.882Z] + query='map(del(._links))'
[2021-03-18T21:03:02.882Z] + file=steps-info.json
[2021-03-18T21:03:02.882Z] ++ mktemp
[2021-03-18T21:03:02.882Z] + tmp=/tmp/tmp.j8lYbDzi1u
[2021-03-18T21:03:02.882Z] + jq 'map(del(._links))' steps-info.json
[2021-03-18T21:03:03.132Z] + mv /tmp/tmp.j8lYbDzi1u steps-info.json
[2021-03-18T21:03:03.132Z] + jqEdit 'map(del(._class))' steps-info.json
[2021-03-18T21:03:03.132Z] + query='map(del(._class))'
[2021-03-18T21:03:03.132Z] + file=steps-info.json
[2021-03-18T21:03:03.132Z] ++ mktemp
[2021-03-18T21:03:03.132Z] + tmp=/tmp/tmp.25EPTbdVBg
[2021-03-18T21:03:03.132Z] + jq 'map(del(._class))' steps-info.json
[2021-03-18T21:03:03.132Z] + mv /tmp/tmp.25EPTbdVBg steps-info.json
[2021-03-18T21:03:03.132Z] + jqEdit 'map(del(.actions))' steps-info.json
[2021-03-18T21:03:03.132Z] + query='map(del(.actions))'
[2021-03-18T21:03:03.132Z] + file=steps-info.json
[2021-03-18T21:03:03.132Z] ++ mktemp
[2021-03-18T21:03:03.132Z] + tmp=/tmp/tmp.vTw60o6MLP
[2021-03-18T21:03:03.132Z] + jq 'map(del(.actions))' steps-info.json
[2021-03-18T21:03:03.132Z] + mv /tmp/tmp.vTw60o6MLP steps-info.json
[2021-03-18T21:03:03.132Z] + normaliseSteps steps-errors.json
[2021-03-18T21:03:03.132Z] + file=steps-errors.json
[2021-03-18T21:03:03.132Z] + jqAppend https://apm-ci.elastic.co/ 'map(with_entries(select(.key != "_links")) + ( .url = $a + ._links.self.href + "log"))' steps-errors.json
[2021-03-18T21:03:03.132Z] + argument=https://apm-ci.elastic.co/
[2021-03-18T21:03:03.132Z] + query='map(with_entries(select(.key != "_links")) + ( .url = $a + ._links.self.href + "log"))'
[2021-03-18T21:03:03.132Z] + file=steps-errors.json
[2021-03-18T21:03:03.132Z] ++ mktemp
[2021-03-18T21:03:03.132Z] + tmp=/tmp/tmp.IK8HkOfzsH
[2021-03-18T21:03:03.132Z] + jq --arg a https://apm-ci.elastic.co/ 'map(with_entries(select(.key != "_links")) + ( .url = $a + ._links.self.href + "log"))' steps-errors.json
[2021-03-18T21:03:03.132Z] + mv /tmp/tmp.IK8HkOfzsH steps-errors.json
[2021-03-18T21:03:03.132Z] + jqEdit 'map(del(._links))' steps-errors.json
[2021-03-18T21:03:03.132Z] + query='map(del(._links))'
[2021-03-18T21:03:03.132Z] + file=steps-errors.json
[2021-03-18T21:03:03.132Z] ++ mktemp
[2021-03-18T21:03:03.132Z] + tmp=/tmp/tmp.PBIAIGouKc
[2021-03-18T21:03:03.132Z] + jq 'map(del(._links))' steps-errors.json
[2021-03-18T21:03:03.132Z] + mv /tmp/tmp.PBIAIGouKc steps-errors.json
[2021-03-18T21:03:03.133Z] + jqEdit 'map(del(._class))' steps-errors.json
[2021-03-18T21:03:03.133Z] + query='map(del(._class))'
[2021-03-18T21:03:03.133Z] + file=steps-errors.json
[2021-03-18T21:03:03.133Z] ++ mktemp
[2021-03-18T21:03:03.133Z] + tmp=/tmp/tmp.iESTdntC0K
[2021-03-18T21:03:03.133Z] + jq 'map(del(._class))' steps-errors.json
[2021-03-18T21:03:03.383Z] + mv /tmp/tmp.iESTdntC0K steps-errors.json
[2021-03-18T21:03:03.383Z] + jqEdit 'map(del(.actions))' steps-errors.json
[2021-03-18T21:03:03.383Z] + query='map(del(.actions))'
[2021-03-18T21:03:03.383Z] + file=steps-errors.json
[2021-03-18T21:03:03.383Z] ++ mktemp
[2021-03-18T21:03:03.383Z] + tmp=/tmp/tmp.aLiNTrs1aO
[2021-03-18T21:03:03.383Z] + jq 'map(del(.actions))' steps-errors.json
[2021-03-18T21:03:03.383Z] + mv /tmp/tmp.aLiNTrs1aO steps-errors.json
[2021-03-18T21:03:03.383Z] + fetchAndDefaultTestsErrors tests-errors.json 'https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-shared/apm-pipeline-library-mbp/PR-978/runs/2/tests/?status=FAILED' '[ ]'
[2021-03-18T21:03:03.383Z] + file=tests-errors.json
[2021-03-18T21:03:03.383Z] + url='https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-shared/apm-pipeline-library-mbp/PR-978/runs/2/tests/?status=FAILED'
[2021-03-18T21:03:03.383Z] + default='[ ]'
[2021-03-18T21:03:03.383Z] + fetchAndDefault tests-errors.json 'https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-shared/apm-pipeline-library-mbp/PR-978/runs/2/tests/?status=FAILED' '[ ]'
[2021-03-18T21:03:03.383Z] + file=tests-errors.json
[2021-03-18T21:03:03.383Z] + url='https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-shared/apm-pipeline-library-mbp/PR-978/runs/2/tests/?status=FAILED'
[2021-03-18T21:03:03.383Z] + default='[ ]'
[2021-03-18T21:03:03.383Z] + fetch tests-errors.json 'https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-shared/apm-pipeline-library-mbp/PR-978/runs/2/tests/?status=FAILED'
[2021-03-18T21:03:03.383Z] + file=tests-errors.json
[2021-03-18T21:03:03.383Z] + url='https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-shared/apm-pipeline-library-mbp/PR-978/runs/2/tests/?status=FAILED'
[2021-03-18T21:03:03.383Z] + echo 'INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-shared/apm-pipeline-library-mbp/PR-978/runs/2/tests/?status=FAILED -o tests-errors.json'
[2021-03-18T21:03:03.383Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-shared/apm-pipeline-library-mbp/PR-978/runs/2/tests/?status=FAILED -o tests-errors.json
[2021-03-18T21:03:03.383Z] + [[ -n https://apm-ci.elastic.co/ ]]
[2021-03-18T21:03:03.383Z] + [[ -e /usr/local/bin/bash_standard_lib.sh ]]
[2021-03-18T21:03:03.383Z] + retry 3 curlCommand tests-errors.json 'https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-shared/apm-pipeline-library-mbp/PR-978/runs/2/tests/?status=FAILED'
[2021-03-18T21:03:03.383Z] + local retries=3
[2021-03-18T21:03:03.383Z] + shift
[2021-03-18T21:03:03.383Z] + local count=0
[2021-03-18T21:03:03.383Z] + curlCommand tests-errors.json 'https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-shared/apm-pipeline-library-mbp/PR-978/runs/2/tests/?status=FAILED'
[2021-03-18T21:03:03.384Z] + curl --silent --max-time 600 --connect-timeout 30 -o tests-errors.json 'https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-shared/apm-pipeline-library-mbp/PR-978/runs/2/tests/?status=FAILED' --fail
[2021-03-18T21:03:03.384Z] + return 0
[2021-03-18T21:03:03.384Z] + '[' '!' -e tests-errors.json ']'
[2021-03-18T21:03:03.384Z] + '[' '!' -s tests-errors.json ']'
[2021-03-18T21:03:03.384Z] + jq -e 'select(.code==404)' tests-errors.json
[2021-03-18T21:03:03.384Z] + normaliseTests tests-errors.json
[2021-03-18T21:03:03.384Z] + file=tests-errors.json
[2021-03-18T21:03:03.384Z] + jqEdit 'map(del(._links))' tests-errors.json
[2021-03-18T21:03:03.384Z] + query='map(del(._links))'
[2021-03-18T21:03:03.384Z] + file=tests-errors.json
[2021-03-18T21:03:03.384Z] ++ mktemp
[2021-03-18T21:03:03.384Z] + tmp=/tmp/tmp.7XOVZ8m2hO
[2021-03-18T21:03:03.384Z] + jq 'map(del(._links))' tests-errors.json
[2021-03-18T21:03:03.384Z] + mv /tmp/tmp.7XOVZ8m2hO tests-errors.json
[2021-03-18T21:03:03.384Z] + jqEdit 'map(del(._class))' tests-errors.json
[2021-03-18T21:03:03.384Z] + query='map(del(._class))'
[2021-03-18T21:03:03.384Z] + file=tests-errors.json
[2021-03-18T21:03:03.384Z] ++ mktemp
[2021-03-18T21:03:03.384Z] + tmp=/tmp/tmp.4YlF1lJ0sx
[2021-03-18T21:03:03.384Z] + jq 'map(del(._class))' tests-errors.json
[2021-03-18T21:03:03.384Z] + mv /tmp/tmp.4YlF1lJ0sx tests-errors.json
[2021-03-18T21:03:03.384Z] + jqEdit 'map(del(.state))' tests-errors.json
[2021-03-18T21:03:03.384Z] + query='map(del(.state))'
[2021-03-18T21:03:03.384Z] + file=tests-errors.json
[2021-03-18T21:03:03.384Z] ++ mktemp
[2021-03-18T21:03:03.384Z] + tmp=/tmp/tmp.bYwVee2BVp
[2021-03-18T21:03:03.384Z] + jq 'map(del(.state))' tests-errors.json

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 19
Skipped 0
Total 19

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.

wrong merge

* upstream/7.x:
  Fix the getCause and getCauses for the AbortException (#1041) (#1042)
  gsutil for windows with python (#1008) (#1009)
  Report only one DeleteDir step failure (#1006) (#1007)
  [cosmetic] Replace multiline chars in the GitHub PR comment (#998) (#1003)
  [cosmetic] add the author (#999) (#1002)
  chore: use opentelemetry release (#1000) (#1001)
  Avoid cache gsutils temporary location (#994) (#995)
  [JCasC] google cloud engine local setup (#979) (#992)
  Support curl in addition to wget for gsutil (#988) (#989)
  Support windows for gsutil (#985) (#987)
  Add googleStorageUploadExt step (#867) (#982)
  Add releaseNotification step to simplify agent release pipelines (#976) (#981)
@v1v v1v closed this Apr 14, 2021
@mergify mergify bot deleted the mergify/bp/7.x/pr-977 branch April 14, 2021 12:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
conflicts There is a conflict in the backported pull request groovy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants