Skip to content

Serialize thread name for JUL if record is from current thread #104

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 1 commit into from
Nov 11, 2020

Conversation

felixbarny
Copy link
Member

@felixbarny felixbarny commented Nov 11, 2020

Supersedes #85

@felixbarny felixbarny mentioned this pull request Nov 11, 2020
@felixbarny felixbarny merged commit 2ccc261 into elastic:master Nov 11, 2020
@felixbarny felixbarny deleted the jul-thread-name branch November 11, 2020 12:56
@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 #104 opened]

  • Start Time: 2020-11-11T12:55:11.254+0000

  • Duration: 2 min 26 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-11T12:55:15.260Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-11-11T12:55:15.270Z]  > git fetch --no-tags --progress -- [email protected]:elastic/apm-pipeline-library.git +refs/heads/*:refs/remotes/origin/* # timeout=10
[2020-11-11T12:55:16.255Z]  > git config remote.origin.url [email protected]:elastic/apm-pipeline-library.git # timeout=10
[2020-11-11T12:55:16.264Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2020-11-11T12:55:16.279Z]  > git config remote.origin.url [email protected]:elastic/apm-pipeline-library.git # timeout=10
[2020-11-11T12:55:16.300Z] Fetching without tags
[2020-11-11T12:55:16.300Z] Fetching upstream changes from [email protected]:elastic/apm-pipeline-library.git
[2020-11-11T12:55:16.300Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-11-11T12:55:16.316Z]  > git fetch --no-tags --progress -- [email protected]:elastic/apm-pipeline-library.git +refs/heads/*:refs/remotes/origin/* # timeout=10
[2020-11-11T12:55:16.947Z] Checking out Revision 5ad02210061fc489e0a94d419f5ccbb76fc5b28b (master)
[2020-11-11T12:55:16.947Z]  > git config core.sparsecheckout # timeout=10
[2020-11-11T12:55:16.956Z]  > git checkout -f 5ad02210061fc489e0a94d419f5ccbb76fc5b28b # timeout=10
[2020-11-11T12:55:17.065Z] Commit message: "docs: update CHANGELOG.md"
[2020-11-11T12:55:17.066Z]  > git --version # timeout=10
[2020-11-11T12:55:17.082Z]  > git --version # 'git version 2.17.1'
[2020-11-11T12:55:17.806Z] Excluding src/test/ from checkout of git [email protected]:elastic/apm-pipeline-library.git so that shared library test code cannot be accessed by Pipelines.
[2020-11-11T12:55:17.806Z] 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-11T12:55:20.268Z] Running on Jenkins in /var/lib/jenkins/workspace/java_ecs-logging-java-mbp_PR-104
[2020-11-11T12:55:20.555Z] �[39;49m[INFO] Override default checkout�[0m
[2020-11-11T12:55:20.667Z] Sleeping for 10 sec
[2020-11-11T12:55:30.690Z] using credential f6c7695a-671e-4f4f-a331-acdce44ff9ba
[2020-11-11T12:55:30.757Z] Wiping out workspace first.
[2020-11-11T12:55:30.758Z] Cloning the remote Git repository
[2020-11-11T12:55:30.758Z] Using shallow clone with depth 3
[2020-11-11T12:55:30.758Z] Avoid fetching tags
[2020-11-11T12:55:30.758Z] Cloning repository [email protected]:elastic/ecs-logging-java.git
[2020-11-11T12:55:30.758Z]  > git init /var/lib/jenkins/workspace/java_ecs-logging-java-mbp_PR-104 # timeout=10
[2020-11-11T12:55:30.768Z] Fetching upstream changes from [email protected]:elastic/ecs-logging-java.git
[2020-11-11T12:55:30.768Z]  > git --version # timeout=10
[2020-11-11T12:55:30.774Z]  > git --version # 'git version 2.17.1'
[2020-11-11T12:55:30.774Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-11-11T12:55:30.781Z]  > git fetch --no-tags --progress -- [email protected]:elastic/ecs-logging-java.git +refs/heads/*:refs/remotes/origin/* # timeout=15
[2020-11-11T12:55:31.437Z]  > git config remote.origin.url [email protected]:elastic/ecs-logging-java.git # timeout=10
[2020-11-11T12:55:31.443Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2020-11-11T12:55:31.449Z]  > git config remote.origin.url [email protected]:elastic/ecs-logging-java.git # timeout=10
[2020-11-11T12:55:31.455Z] Cleaning workspace
[2020-11-11T12:55:31.455Z]  > git rev-parse --verify HEAD # timeout=10
[2020-11-11T12:55:31.461Z] No valid HEAD. Skipping the resetting
[2020-11-11T12:55:31.461Z]  > git clean -fdx # timeout=10
[2020-11-11T12:55:31.469Z] Using shallow fetch with depth 3
[2020-11-11T12:55:31.469Z] Pruning obsolete local branches
[2020-11-11T12:55:31.469Z] Fetching upstream changes from [email protected]:elastic/ecs-logging-java.git
[2020-11-11T12:55:31.469Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-11-11T12:55:31.477Z]  > git fetch --no-tags --progress --prune -- [email protected]:elastic/ecs-logging-java.git +refs/pull/104/head:refs/remotes/origin/PR-104 +refs/heads/master:refs/remotes/origin/master # timeout=15
[2020-11-11T12:55:32.059Z] Merging remotes/origin/master commit b7151a9f05e8e112b84e3f4cba88ee1f3e4a9c96 into PR head commit 11c69d2a2ddb15860ac6998e2b0fe6d9bc7bf797
[2020-11-11T12:55:32.059Z]  > git config core.sparsecheckout # timeout=10
[2020-11-11T12:55:32.065Z]  > git checkout -f 11c69d2a2ddb15860ac6998e2b0fe6d9bc7bf797 # timeout=15
[2020-11-11T12:55:32.083Z]  > git remote # timeout=10
[2020-11-11T12:55:32.088Z]  > git config --get remote.origin.url # timeout=10
[2020-11-11T12:55:32.094Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-11-11T12:55:32.099Z]  > git merge b7151a9f05e8e112b84e3f4cba88ee1f3e4a9c96 # timeout=10
[2020-11-11T12:55:32.121Z]  > git rev-parse HEAD^{commit} # timeout=10
[2020-11-11T12:55:32.126Z] Merge succeeded, producing 94ea284fb24eda455692a84f1589e163015648c9
[2020-11-11T12:55:32.127Z] Checking out Revision 94ea284fb24eda455692a84f1589e163015648c9 (PR-104)
[2020-11-11T12:55:32.127Z]  > git config core.sparsecheckout # timeout=10
[2020-11-11T12:55:32.186Z]  > git checkout -f 94ea284fb24eda455692a84f1589e163015648c9 # timeout=15
[2020-11-11T12:55:32.207Z] Commit message: "Merge commit 'b7151a9f05e8e112b84e3f4cba88ee1f3e4a9c96' into HEAD"
[2020-11-11T12:55:32.207Z] First time build. Skipping changelog.
[2020-11-11T12:55:32.207Z] Cleaning workspace
[2020-11-11T12:55:32.207Z]  > git rev-parse --verify HEAD # timeout=10
[2020-11-11T12:55:32.228Z] Resetting working tree
[2020-11-11T12:55:32.228Z]  > git reset --hard # timeout=10
[2020-11-11T12:55:32.243Z]  > git clean -fdx # timeout=10
[2020-11-11T12:55:32.252Z]  > git --version # timeout=10
[2020-11-11T12:55:32.257Z]  > git --version # 'git version 2.17.1'
[2020-11-11T12:55:32.262Z] fatal: bad object 5ad02210061fc489e0a94d419f5ccbb76fc5b28b
[2020-11-11T12:55:33.076Z] Masking supported pattern matches of $JOB_GCS_BUCKET or $NOTIFY_TO
[2020-11-11T12:55:33.149Z] Timeout set to expire in 1 hr 0 min
[2020-11-11T12:55:33.173Z] The timestamps step is unnecessary when timestamps are enabled for all Pipeline builds.
[2020-11-11T12:55:48.275Z] Still waiting to schedule task
[2020-11-11T12:55:48.275Z] All nodes of label ‘linux&&immutable’ are offline
[2020-11-11T12:57:20.320Z] Running on apm-ci-immutable-ubuntu-1804-1605099334537055721 in /var/lib/jenkins/workspace/java_ecs-logging-java-mbp_PR-104
[2020-11-11T12:57:20.866Z] [INFO] 'shallow' is forced to be disabled when running on PullRequests
[2020-11-11T12:57:20.890Z] Running in /var/lib/jenkins/workspace/java_ecs-logging-java-mbp_PR-104/src/github.com/elastic/ecs-logging-java
[2020-11-11T12:57:20.943Z] [INFO] gitCheckout: Checkout SCM PR-104 with default customisation from the Item.
[2020-11-11T12:57:20.974Z] [INFO] Override default checkout
[2020-11-11T12:57:21.035Z] Sleeping for 10 sec
[2020-11-11T12:57:31.626Z] Masking supported pattern matches of $GIT_USERNAME or $GIT_PASSWORD
[2020-11-11T12:57:33.382Z] + git fetch https://****:****@github.com/elastic/ecs-logging-java.git +refs/pull/*/head:refs/remotes/origin/pr/*
[2020-11-11T12:57:33.447Z] [WARN] gitCmd failed, further details in the archived file 'fetch.log'
[2020-11-11T12:57:33.465Z] Archiving artifacts
[2020-11-11T12:57:33.942Z] Stage "Build" skipped due to earlier failure(s)
[2020-11-11T12:57:34.181Z] Stage "Tests" skipped due to earlier failure(s)
[2020-11-11T12:57:34.314Z] Stage "Unit Tests" skipped due to earlier failure(s)
[2020-11-11T12:57:34.326Z] Stage "Javadoc" skipped due to earlier failure(s)
[2020-11-11T12:57:34.341Z] Stage "Sanity checks" skipped due to earlier failure(s)
[2020-11-11T12:57:34.447Z] Failed in branch Unit Tests
[2020-11-11T12:57:34.456Z] Failed in branch Javadoc
[2020-11-11T12:57:34.471Z] Failed in branch Sanity checks
[2020-11-11T12:57:35.701Z] Running on worker-854309 in /var/lib/jenkins/workspace/java_ecs-logging-java-mbp_PR-104
[2020-11-11T12:57:35.820Z] [INFO] getVaultSecret: Getting secrets
[2020-11-11T12:57:35.995Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-11-11T12:57:38.234Z] + chmod 755 generate-build-data.sh
[2020-11-11T12:57:38.234Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/ecs-logging-java-mbp/PR-104/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/ecs-logging-java-mbp/PR-104/runs/1 FAILURE 145521
[2020-11-11T12:57:38.234Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/ecs-logging-java-mbp/PR-104/runs/1/steps/?limit=10000 -o steps-info.json
[2020-11-11T12:57:38.956Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/ecs-logging-java-mbp/PR-104/runs/1/tests/?status=FAILED -o tests-errors.json
[2020-11-11T12:57:39.680Z] Retry 1/3 exited 22, retrying in 1 seconds...
[2020-11-11T12:57:41.180Z] Retry 2/3 exited 22, retrying in 2 seconds...
[2020-11-11T12:57:43.506Z] Retry 3/3 exited 22, no more retries left.
[2020-11-11T12:57:43.506Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/ecs-logging-java-mbp/PR-104/runs/1/log/ -o pipeline-log.txt

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.

2 participants