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

Fix documentation for NLog EcsLayout to match Serilog #92

Merged
merged 1 commit into from
Jul 1, 2020
Merged

Fix documentation for NLog EcsLayout to match Serilog #92

merged 1 commit into from
Jul 1, 2020

Conversation

snakefoot
Copy link
Contributor

@snakefoot snakefoot commented Jun 24, 2020

Generate output to the console-target, instead of in-memory-target.

Make use of the actual EcsLayout, instead of just printing the static string "EcsLayout".

@apmmachine
Copy link
Contributor

apmmachine commented Jun 24, 2020

❕ Build Aborted

The PR is not allowed to run in the CI yet

Pipeline View Test View Changes Artifacts

Expand to view the summary

Build stats

  • Build Cause: [Branch indexing]

  • Reason: The PR is not allowed to run in the CI yet

  • Start Time: 2020-06-26T00:23:53.433+0000

  • Duration: 4 min 12 sec

  • Commit: 7681abf

Steps errors

Expand to view the steps failures

  • Name: Error signal
    • Description: githubPrCheckApproved: The PR is not allowed to run in the CI yet. (Only users with write permission

    • Duration: 0 min 0 sec

    • Start Time: 2020-06-26T00:28:03.342+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-06-26T00:27:40.268Z] Wiping out workspace first.
[2020-06-26T00:27:40.296Z] Cloning the remote Git repository
[2020-06-26T00:27:40.296Z] Avoid fetching tags
[2020-06-26T00:27:40.315Z] Cloning repository git@github.com:elastic/ecs-dotnet.git
[2020-06-26T00:27:41.308Z] Cleaning workspace
[2020-06-26T00:27:41.340Z] Pruning obsolete local branches
[2020-06-26T00:27:40.374Z]  > git init /var/lib/jenkins/workspace/gent-dotnet_ecs-dotnet-mbp_PR-92 # timeout=10
[2020-06-26T00:27:40.442Z] Fetching upstream changes from git@github.com:elastic/ecs-dotnet.git
[2020-06-26T00:27:40.443Z]  > git --version # timeout=10
[2020-06-26T00:27:40.460Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-06-26T00:27:40.494Z]  > git fetch --no-tags --progress -- git@github.com:elastic/ecs-dotnet.git +refs/heads/*:refs/remotes/origin/* # timeout=15
[2020-06-26T00:27:41.276Z]  > git config remote.origin.url git@github.com:elastic/ecs-dotnet.git # timeout=10
[2020-06-26T00:27:41.283Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2020-06-26T00:27:41.296Z]  > git config remote.origin.url git@github.com:elastic/ecs-dotnet.git # timeout=10
[2020-06-26T00:27:41.305Z]  > git rev-parse --verify HEAD # timeout=10
[2020-06-26T00:27:41.324Z] No valid HEAD. Skipping the resetting
[2020-06-26T00:27:41.324Z]  > git clean -fdx # timeout=10
[2020-06-26T00:27:41.339Z] Fetching upstream changes from git@github.com:elastic/ecs-dotnet.git
[2020-06-26T00:27:41.339Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-06-26T00:27:41.344Z]  > git fetch --no-tags --progress --prune -- git@github.com:elastic/ecs-dotnet.git +refs/pull/92/head:refs/remotes/origin/PR-92 +refs/heads/master:refs/remotes/origin/master # timeout=15
[2020-06-26T00:27:41.994Z] Merging remotes/origin/master commit ce0b85d9f947182e323a2481f957dffb38b4088e into PR head commit 7681abf0201ce937f6e11ab04939719a35336e34
[2020-06-26T00:27:42.247Z] Merge succeeded, producing dc2a06b3d10f8ec5bad594cee7616b69ad091731
[2020-06-26T00:27:42.248Z] Checking out Revision dc2a06b3d10f8ec5bad594cee7616b69ad091731 (PR-92)
[2020-06-26T00:27:41.995Z]  > git config core.sparsecheckout # timeout=10
[2020-06-26T00:27:42.006Z]  > git checkout -f 7681abf0201ce937f6e11ab04939719a35336e34 # timeout=15
[2020-06-26T00:27:42.071Z]  > git remote # timeout=10
[2020-06-26T00:27:42.083Z]  > git config --get remote.origin.url # timeout=10
[2020-06-26T00:27:42.096Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-06-26T00:27:42.099Z]  > git merge ce0b85d9f947182e323a2481f957dffb38b4088e # timeout=10
[2020-06-26T00:27:42.231Z]  > git rev-parse HEAD^{commit} # timeout=10
[2020-06-26T00:27:42.245Z]  > git config core.sparsecheckout # timeout=10
[2020-06-26T00:27:42.250Z]  > git checkout -f dc2a06b3d10f8ec5bad594cee7616b69ad091731 # timeout=15
[2020-06-26T00:27:45.897Z] Commit message: "Merge commit 'ce0b85d9f947182e323a2481f957dffb38b4088e' into HEAD"
[2020-06-26T00:27:45.895Z]  > git rev-list --no-walk 7681abf0201ce937f6e11ab04939719a35336e34 # timeout=10
[2020-06-26T00:27:45.930Z] Cleaning workspace
[2020-06-26T00:27:45.926Z]  > git rev-parse --verify HEAD # timeout=10
[2020-06-26T00:27:45.930Z] Resetting working tree
[2020-06-26T00:27:45.930Z]  > git reset --hard # timeout=10
[2020-06-26T00:27:46.022Z]  > git clean -fdx # timeout=10
[2020-06-26T00:27:46.704Z] Masking supported pattern matches of $JOB_GCS_BUCKET or $NOTIFY_TO
[2020-06-26T00:27:46.732Z] Timeout set to expire in 1 hr 0 min
[2020-06-26T00:27:46.741Z] The timestamps step is unnecessary when timestamps are enabled for all Pipeline builds.
[2020-06-26T00:27:46.890Z] [INFO] Number of builds to be searched 10
[2020-06-26T00:27:47.043Z] [INFO] 'shallow' is forced to be disabled when running on PullRequests
[2020-06-26T00:27:47.057Z] Running in /var/lib/jenkins/workspace/gent-dotnet_ecs-dotnet-mbp_PR-92/src/go.elastic.co/apm/ecs-dotnet
[2020-06-26T00:27:47.073Z] [INFO] gitCheckout: Checkout SCM PR-92 with some customisation.
[2020-06-26T00:27:47.097Z] [INFO] Override default checkout
[2020-06-26T00:27:47.126Z] Sleeping for 10 sec
[2020-06-26T00:27:57.258Z] using credential f6c7695a-671e-4f4f-a331-acdce44ff9ba
[2020-06-26T00:27:57.289Z] Cloning the remote Git repository
[2020-06-26T00:27:57.298Z] Cloning repository git@github.com:elastic/ecs-dotnet.git
[2020-06-26T00:27:57.323Z]  > git init /var/lib/jenkins/workspace/gent-dotnet_ecs-dotnet-mbp_PR-92/src/go.elastic.co/apm/ecs-dotnet # timeout=10
[2020-06-26T00:27:57.330Z] Fetching upstream changes from git@github.com:elastic/ecs-dotnet.git
[2020-06-26T00:27:57.331Z]  > git --version # timeout=10
[2020-06-26T00:27:57.340Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-06-26T00:27:57.347Z]  > git fetch --tags --progress -- git@github.com:elastic/ecs-dotnet.git +refs/heads/*:refs/remotes/origin/* # timeout=10
[2020-06-26T00:27:58.066Z]  > git config remote.origin.url git@github.com:elastic/ecs-dotnet.git # timeout=10
[2020-06-26T00:27:58.071Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2020-06-26T00:27:58.081Z]  > git config remote.origin.url git@github.com:elastic/ecs-dotnet.git # timeout=10
[2020-06-26T00:27:58.088Z] Fetching upstream changes from git@github.com:elastic/ecs-dotnet.git
[2020-06-26T00:27:58.088Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2020-06-26T00:27:58.091Z]  > git fetch --tags --progress -- git@github.com:elastic/ecs-dotnet.git +refs/pull/92/head:refs/remotes/origin/PR-92 +refs/heads/master:refs/remotes/origin/master # timeout=10
[2020-06-26T00:27:58.702Z] Checking out Revision 7681abf0201ce937f6e11ab04939719a35336e34 (origin/PR-92)
[2020-06-26T00:27:58.755Z] Commit message: "Fix documentation for NLog EcsLayout to match Serilog"
[2020-06-26T00:27:58.756Z] First time build. Skipping changelog.
[2020-06-26T00:27:58.685Z]  > git rev-parse origin/PR-92^{commit} # timeout=10
[2020-06-26T00:27:58.699Z]  > git config core.sparsecheckout # timeout=10
[2020-06-26T00:27:58.702Z]  > git checkout -f 7681abf0201ce937f6e11ab04939719a35336e34 # timeout=10
[2020-06-26T00:27:59.576Z] Masking supported pattern matches of $GIT_USERNAME or $GIT_PASSWORD
[2020-06-26T00:28:00.170Z] + git fetch https://****:****@github.com/elastic/ecs-dotnet.git +refs/pull/*/head:refs/remotes/origin/pr/*
[2020-06-26T00:28:00.785Z] Archiving artifacts
[2020-06-26T00:28:01.429Z] + git rev-parse HEAD
[2020-06-26T00:28:01.768Z] + git rev-parse HEAD
[2020-06-26T00:28:02.064Z] + git rev-parse origin/pr/92
[2020-06-26T00:28:02.097Z] [INFO] githubEnv: Found Git Build Cause: pr
[2020-06-26T00:28:02.308Z] Masking supported pattern matches of $GITHUB_TOKEN
[2020-06-26T00:28:03.103Z] [WARN] githubApiCall: The REST API call https://api.github.com/repos/elastic/ecs-dotnet/pulls/92/reviews return 0 elements
[2020-06-26T00:28:03.127Z] [INFO] githubPrCheckApproved: Title: Fix documentation for NLog EcsLayout to match Serilog - User: snakefoot - Author Association: CONTRIBUTOR
[2020-06-26T00:28:03.344Z] ERROR: githubPrCheckApproved: The PR is not allowed to run in the CI yet
[2020-06-26T00:28:03.344Z] ERROR: githubPrCheckApproved: The PR is not allowed to run in the CI yet. (Only users with write permissions can do so.)
[2020-06-26T00:28:03.367Z] [INFO] Let's stop build #3. The PR is not allowed to run in the CI yet
[2020-06-26T00:28:03.382Z] Sleeping for 5 sec
[2020-06-26T00:28:04.393Z] Stage "Sanity checks" skipped due to earlier failure(s)
[2020-06-26T00:28:04.419Z] Stage "Parallel" skipped due to earlier failure(s)
[2020-06-26T00:28:04.447Z] Stage "Linux" skipped due to earlier failure(s)
[2020-06-26T00:28:04.448Z] Stage "Windows" skipped due to earlier failure(s)
[2020-06-26T00:28:04.455Z] Failed in branch Linux
[2020-06-26T00:28:04.468Z] Stage "Windows" skipped due to earlier failure(s)
[2020-06-26T00:28:04.493Z] Failed in branch Windows
[2020-06-26T00:28:04.530Z] Stage "Release" skipped due to earlier failure(s)
[2020-06-26T00:28:04.543Z] Stage "Release" skipped due to earlier failure(s)
[2020-06-26T00:28:04.569Z] Stage "Release" skipped due to earlier failure(s)
[2020-06-26T00:28:04.595Z] Stage "Release" skipped due to earlier failure(s)
[2020-06-26T00:28:04.621Z] Stage "Release" skipped due to earlier failure(s)
[2020-06-26T00:28:04.826Z] Running on Jenkins in /var/lib/jenkins/workspace/gent-dotnet_ecs-dotnet-mbp_PR-92
[2020-06-26T00:28:04.919Z] [INFO] getVaultSecret: Getting secrets
[2020-06-26T00:28:04.977Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-06-26T00:28:05.566Z] + chmod 755 generate-build-data.sh
[2020-06-26T00:28:05.566Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-dotnet/ecs-dotnet-mbp/PR-92/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-dotnet/ecs-dotnet-mbp/PR-92/runs/3 ABORTED 251874
[2020-06-26T00:28:05.816Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-dotnet/ecs-dotnet-mbp/PR-92/runs/3/steps/?limit=10000 -o steps-info.json

Copy link
Member

@Mpdreamz Mpdreamz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @snakefoot, real world examples in the Readme makes much more sense 👍

@Mpdreamz Mpdreamz merged commit b3f165e into elastic:master Jul 1, 2020
@Mpdreamz Mpdreamz added v1.5.3 documentation Improvements or additions to documentation labels Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation v1.5.3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants