Skip to content

Validate against shared spec #111

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

Merged
merged 2 commits into from
Nov 18, 2020
Merged

Conversation

felixbarny
Copy link
Member

@felixbarny felixbarny commented Nov 18, 2020

closes #110

@felixbarny felixbarny added this to the 1.0 milestone Nov 18, 2020
@apmmachine
Copy link
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 #111 opened]

  • Start Time: 2020-11-18T12:15:35.444+0000

  • Duration: 6 min 0 sec

Test stats 🧪

Test Results
Failed 0
Passed 127
Skipped 4
Total 131

@felixbarny felixbarny merged commit 83e8664 into elastic:master Nov 18, 2020
@felixbarny felixbarny deleted the validate-spec branch November 18, 2020 12:27
@apmmachine
Copy link
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

Expand to view the summary

Build stats

  • Build Cause: [Pull request #111 updated]

  • Start Time: 2020-11-18T12:26:26.173+0000

  • Duration: 2 min 25 sec

Steps errors 2

Expand to view the steps failures

Git fetch

  • Took 0 min 2 sec . View more details on here

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

[2020-11-18T12:26:28.360Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-11-18T12:26:28.364Z]  > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10
[2020-11-18T12:26:29.014Z]  > git rev-parse current^{commit} # timeout=10
[2020-11-18T12:26:29.019Z]  > git branch -a -v --no-abbrev --contains 1405b404792fb9f8df6252e2e64826b468023313 # timeout=10
[2020-11-18T12:26:29.051Z] Selected match: master revision 1405b404792fb9f8df6252e2e64826b468023313
[2020-11-18T12:26:29.052Z] using credential f6c7695a-671e-4f4f-a331-acdce44ff9ba
[2020-11-18T12:26:29.116Z]  > git rev-parse --is-inside-work-tree # timeout=10
[2020-11-18T12:26:29.122Z] Fetching changes from the remote Git repository
[2020-11-18T12:26:29.122Z]  > git config remote.origin.url git@github.com:elastic/apm-pipeline-library.git # timeout=10
[2020-11-18T12:26:29.127Z] Fetching without tags
[2020-11-18T12:26:29.127Z] Fetching upstream changes from git@github.com:elastic/apm-pipeline-library.git
[2020-11-18T12:26:29.127Z]  > git --version # timeout=10
[2020-11-18T12:26:29.140Z]  > git --version # 'git version 2.17.1'
[2020-11-18T12:26:29.141Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-11-18T12:26:29.164Z]  > git fetch --no-tags --progress -- git@github.com:elastic/apm-pipeline-library.git +refs/heads/*:refs/remotes/origin/* # timeout=10
[2020-11-18T12:26:29.779Z] Checking out Revision 1405b404792fb9f8df6252e2e64826b468023313 (master)
[2020-11-18T12:26:29.779Z]  > git config core.sparsecheckout # timeout=10
[2020-11-18T12:26:29.784Z]  > git checkout -f 1405b404792fb9f8df6252e2e64826b468023313 # timeout=10
[2020-11-18T12:26:29.838Z] Commit message: "docs: update CHANGELOG.md"
[2020-11-18T12:26:30.378Z] 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.
[2020-11-18T12:26:30.378Z] 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.
[2020-11-18T12:26:30.761Z] Running on Jenkins in /var/lib/jenkins/workspace/java_ecs-logging-java-mbp_PR-111
[2020-11-18T12:26:30.862Z] �[39;49m[INFO] Override default checkout�[0m
[2020-11-18T12:26:30.898Z] Sleeping for 10 sec
[2020-11-18T12:26:40.912Z] using credential f6c7695a-671e-4f4f-a331-acdce44ff9ba
[2020-11-18T12:26:40.986Z] Wiping out workspace first.
[2020-11-18T12:26:40.998Z] Cloning the remote Git repository
[2020-11-18T12:26:40.998Z] Using shallow clone with depth 3
[2020-11-18T12:26:40.998Z] Avoid fetching tags
[2020-11-18T12:26:40.999Z] Cloning repository git@github.com:elastic/ecs-logging-java.git
[2020-11-18T12:26:40.999Z]  > git init /var/lib/jenkins/workspace/java_ecs-logging-java-mbp_PR-111 # timeout=10
[2020-11-18T12:26:41.005Z] Fetching upstream changes from git@github.com:elastic/ecs-logging-java.git
[2020-11-18T12:26:41.006Z]  > git --version # timeout=10
[2020-11-18T12:26:41.010Z]  > git --version # 'git version 2.17.1'
[2020-11-18T12:26:41.010Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-11-18T12:26:41.015Z]  > git fetch --no-tags --progress -- git@github.com:elastic/ecs-logging-java.git +refs/heads/*:refs/remotes/origin/* # timeout=15
[2020-11-18T12:26:41.740Z]  > git config remote.origin.url git@github.com:elastic/ecs-logging-java.git # timeout=10
[2020-11-18T12:26:41.745Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2020-11-18T12:26:41.750Z]  > git config remote.origin.url git@github.com:elastic/ecs-logging-java.git # timeout=10
[2020-11-18T12:26:41.754Z] Cleaning workspace
[2020-11-18T12:26:41.755Z]  > git rev-parse --verify HEAD # timeout=10
[2020-11-18T12:26:41.759Z] No valid HEAD. Skipping the resetting
[2020-11-18T12:26:41.760Z]  > git clean -fdx # timeout=10
[2020-11-18T12:26:41.764Z] Using shallow fetch with depth 3
[2020-11-18T12:26:41.764Z] Pruning obsolete local branches
[2020-11-18T12:26:41.764Z] Fetching upstream changes from git@github.com:elastic/ecs-logging-java.git
[2020-11-18T12:26:41.764Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-11-18T12:26:41.768Z]  > git fetch --no-tags --progress --prune -- git@github.com:elastic/ecs-logging-java.git +refs/pull/111/head:refs/remotes/origin/PR-111 +refs/heads/master:refs/remotes/origin/master # timeout=15
[2020-11-18T12:26:42.400Z] Merging remotes/origin/master commit 1b6612212f53f3580901d83c4d039b21f42a597c into PR head commit 1e3e58d720b41b0d6395b02b54a9655fa5389c79
[2020-11-18T12:26:42.400Z]  > git config core.sparsecheckout # timeout=10
[2020-11-18T12:26:42.406Z]  > git checkout -f 1e3e58d720b41b0d6395b02b54a9655fa5389c79 # timeout=15
[2020-11-18T12:26:42.423Z]  > git remote # timeout=10
[2020-11-18T12:26:42.427Z]  > git config --get remote.origin.url # timeout=10
[2020-11-18T12:26:42.433Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-11-18T12:26:42.437Z]  > git merge 1b6612212f53f3580901d83c4d039b21f42a597c # timeout=10
[2020-11-18T12:26:42.443Z]  > git rev-parse HEAD^{commit} # timeout=10
[2020-11-18T12:26:42.448Z] Merge succeeded, producing 1e3e58d720b41b0d6395b02b54a9655fa5389c79
[2020-11-18T12:26:42.448Z] Checking out Revision 1e3e58d720b41b0d6395b02b54a9655fa5389c79 (PR-111)
[2020-11-18T12:26:42.448Z]  > git config core.sparsecheckout # timeout=10
[2020-11-18T12:26:42.452Z]  > git checkout -f 1e3e58d720b41b0d6395b02b54a9655fa5389c79 # timeout=15
[2020-11-18T12:26:42.465Z] Commit message: "extract methods for readability"
[2020-11-18T12:26:42.465Z]  > git rev-list --no-walk b3449b76819f369fbb9c15ac9eef8ccef424dad2 # timeout=10
[2020-11-18T12:26:42.475Z] Cleaning workspace
[2020-11-18T12:26:42.475Z]  > git rev-parse --verify HEAD # timeout=10
[2020-11-18T12:26:42.480Z] Resetting working tree
[2020-11-18T12:26:42.480Z]  > git reset --hard # timeout=10
[2020-11-18T12:26:42.493Z]  > git clean -fdx # timeout=10
[2020-11-18T12:26:43.093Z] Masking supported pattern matches of $JOB_GCS_BUCKET or $NOTIFY_TO
[2020-11-18T12:26:43.125Z] Timeout set to expire in 1 hr 0 min
[2020-11-18T12:26:43.133Z] The timestamps step is unnecessary when timestamps are enabled for all Pipeline builds.
[2020-11-18T12:26:58.178Z] Still waiting to schedule task
[2020-11-18T12:26:58.178Z] All nodes of label ‘linux&&immutable’ are offline
[2020-11-18T12:28:37.215Z] Running on apm-ci-immutable-ubuntu-1804-1605702412932296940 in /var/lib/jenkins/workspace/java_ecs-logging-java-mbp_PR-111
[2020-11-18T12:28:37.528Z] [INFO] 'shallow' is forced to be disabled when running on PullRequests
[2020-11-18T12:28:37.537Z] Running in /var/lib/jenkins/workspace/java_ecs-logging-java-mbp_PR-111/src/github.com/elastic/ecs-logging-java
[2020-11-18T12:28:37.547Z] [INFO] gitCheckout: Checkout SCM PR-111 with default customisation from the Item.
[2020-11-18T12:28:37.559Z] [INFO] Override default checkout
[2020-11-18T12:28:37.579Z] Sleeping for 10 sec
[2020-11-18T12:28:47.786Z] Masking supported pattern matches of $GIT_USERNAME or $GIT_PASSWORD
[2020-11-18T12:28:49.449Z] + git fetch https://****:****@github.com/elastic/ecs-logging-java.git +refs/pull/*/head:refs/remotes/origin/pr/*
[2020-11-18T12:28:49.500Z] [WARN] gitCmd failed, further details in the archived file 'fetch.log'
[2020-11-18T12:28:49.512Z] Archiving artifacts
[2020-11-18T12:28:49.853Z] Stage "Build" skipped due to earlier failure(s)
[2020-11-18T12:28:49.909Z] Stage "Tests" skipped due to earlier failure(s)
[2020-11-18T12:28:49.935Z] Stage "Unit Tests" skipped due to earlier failure(s)
[2020-11-18T12:28:49.937Z] Stage "Javadoc" skipped due to earlier failure(s)
[2020-11-18T12:28:49.938Z] Stage "Sanity checks" skipped due to earlier failure(s)
[2020-11-18T12:28:49.961Z] Failed in branch Unit Tests
[2020-11-18T12:28:49.962Z] Failed in branch Javadoc
[2020-11-18T12:28:49.963Z] Failed in branch Sanity checks
[2020-11-18T12:28:50.977Z] Running on worker-1225339 in /var/lib/jenkins/workspace/java_ecs-logging-java-mbp_PR-111
[2020-11-18T12:28:51.039Z] [INFO] getVaultSecret: Getting secrets
[2020-11-18T12:28:51.181Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-11-18T12:28:53.047Z] + chmod 755 generate-build-data.sh
[2020-11-18T12:28:53.047Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/ecs-logging-java-mbp/PR-111/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/ecs-logging-java-mbp/PR-111/runs/2 FAILURE 145491
[2020-11-18T12:28:53.047Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/ecs-logging-java-mbp/PR-111/runs/2/steps/?limit=10000 -o steps-info.json
[2020-11-18T12:28:53.047Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/ecs-logging-java-mbp/PR-111/runs/2/tests/?status=FAILED -o tests-errors.json
[2020-11-18T12:28:53.743Z] Retry 1/3 exited 22, retrying in 1 seconds...
[2020-11-18T12:28:55.188Z] Retry 2/3 exited 22, retrying in 2 seconds...
[2020-11-18T12:28:57.441Z] Retry 3/3 exited 22, no more retries left.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Validate logs against the spec
2 participants