Skip to content

[CI] Use the releaseNotification step#1174

Merged
v1v merged 2 commits intoelastic:masterfrom
v1v:feature/reuse-step-notification
Feb 16, 2021
Merged

[CI] Use the releaseNotification step#1174
v1v merged 2 commits intoelastic:masterfrom
v1v:feature/reuse-step-notification

Conversation

@v1v
Copy link
Copy Markdown
Member

@v1v v1v commented Feb 11, 2021

What

Use elastic/apm-pipeline-library#976 to simplify the body manipulation

Issues

Need a the above-mentioned PR and also a release

@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #1174 (06eb120) into master (3091b41) will decrease coverage by 0.07%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1174      +/-   ##
==========================================
- Coverage   81.13%   81.06%   -0.08%     
==========================================
  Files         160      160              
  Lines        6542     6542              
==========================================
- Hits         5308     5303       -5     
- Misses       1234     1239       +5     
Impacted Files Coverage Δ
...c.Apm/Metrics/MetricsProvider/GcMetricsProvider.cs 64.17% <0.00%> (-2.24%) ⬇️
.../BackendComm/CentralConfig/CentralConfigFetcher.cs 71.62% <0.00%> (-1.36%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3091b41...06eb120. Read the comment docs.

@ghost
Copy link
Copy Markdown

ghost commented Feb 11, 2021

❕ Build Aborted

Either there was a build timeout or someone aborted the build.'}

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts

Expand to view the summary

Build stats

  • Build Cause: Branch indexing

  • Start Time: 2021-02-16T02:20:24.524+0000

  • Duration: 123 min 53 sec

  • Commit: 06eb120

Test stats 🧪

Test Results
Failed 0
Passed 13044
Skipped 25
Total 13069

Trends 🧪

Image of Build Times

Image of Tests

Log output

Expand to view the last 100 lines of log output

[2021-02-16T02:57:34.011Z] Elastic APM .NET Tests> 368> Console> [2021-02-16 02:57:33.842 +00:00][Info] - {LoggingTestBase} Starting test: Elastic.Apm.Tests.BackendCommTests.PayloadSenderTests.MaxQueueEventCount_should_be_enforced_after_send(args: {ArgsIndex: 19, MaxQueueEventCount: 10, MaxBatchEventCount: 9, FlushInterval: 1d})...
[2021-02-16T02:57:34.011Z] Elastic APM .NET Tests> 368> Console> [2021-02-16 02:57:33.860 +00:00][Info] - {LoggingTestBase} Finished test: Elastic.Apm.Tests.BackendCommTests.PayloadSenderTests.MaxQueueEventCount_should_be_enforced_after_send(args: {ArgsIndex: 19, MaxQueueEventCount: 10, MaxBatchEventCount: 9, FlushInterval: 1d})
[2021-02-16T02:57:34.011Z] Elastic APM .NET Tests> 369> Console> [2021-02-16 02:57:33.860 +00:00][Info] - {LoggingTestBase} Starting test: Elastic.Apm.Tests.BackendCommTests.PayloadSenderTests.MaxQueueEventCount_should_be_enforced_after_send(args: {ArgsIndex: 20, MaxQueueEventCount: 10, MaxBatchEventCount: 10, FlushInterval: 1d})...
[2021-02-16T02:57:34.011Z] Elastic APM .NET Tests> 369> Console> [2021-02-16 02:57:33.886 +00:00][Info] - {LoggingTestBase} Finished test: Elastic.Apm.Tests.BackendCommTests.PayloadSenderTests.MaxQueueEventCount_should_be_enforced_after_send(args: {ArgsIndex: 20, MaxQueueEventCount: 10, MaxBatchEventCount: 10, FlushInterval: 1d})
[2021-02-16T02:57:34.011Z] Elastic APM .NET Tests> 370> Console> [2021-02-16 02:57:33.886 +00:00][Info] - {LoggingTestBase} Starting test: Elastic.Apm.Tests.BackendCommTests.PayloadSenderTests.MaxQueueEventCount_should_be_enforced_after_send(args: {ArgsIndex: 21, MaxQueueEventCount: 1000, MaxBatchEventCount: 998, FlushInterval: 1d})...
[2021-02-16T02:57:34.011Z] Elastic APM .NET Tests> 370> Console> [2021-02-16 02:57:33.941 +00:00][Info] - {LoggingTestBase} Finished test: Elastic.Apm.Tests.BackendCommTests.PayloadSenderTests.MaxQueueEventCount_should_be_enforced_after_send(args: {ArgsIndex: 21, MaxQueueEventCount: 1000, MaxBatchEventCount: 998, FlushInterval: 1d})
[2021-02-16T02:57:34.011Z] Elastic APM .NET Tests> 371> Console> [2021-02-16 02:57:33.941 +00:00][Info] - {LoggingTestBase} Starting test: Elastic.Apm.Tests.BackendCommTests.PayloadSenderTests.MaxQueueEventCount_should_be_enforced_after_send(args: {ArgsIndex: 22, MaxQueueEventCount: 1000, MaxBatchEventCount: 999, FlushInterval: 1d})...
[2021-02-16T02:57:34.270Z] Elastic APM .NET Tests> 371> Console> [2021-02-16 02:57:33.998 +00:00][Info] - {LoggingTestBase} Finished test: Elastic.Apm.Tests.BackendCommTests.PayloadSenderTests.MaxQueueEventCount_should_be_enforced_after_send(args: {ArgsIndex: 22, MaxQueueEventCount: 1000, MaxBatchEventCount: 999, FlushInterval: 1d})
[2021-02-16T02:57:34.270Z] Elastic APM .NET Tests> 372> Console> [2021-02-16 02:57:33.998 +00:00][Info] - {LoggingTestBase} Starting test: Elastic.Apm.Tests.BackendCommTests.PayloadSenderTests.MaxQueueEventCount_should_be_enforced_after_send(args: {ArgsIndex: 23, MaxQueueEventCount: 1000, MaxBatchEventCount: 1000, FlushInterval: 1d})...
[2021-02-16T02:57:34.270Z] Elastic APM .NET Tests> 372> Console> [2021-02-16 02:57:34.067 +00:00][Info] - {LoggingTestBase} Finished test: Elastic.Apm.Tests.BackendCommTests.PayloadSenderTests.MaxQueueEventCount_should_be_enforced_after_send(args: {ArgsIndex: 23, MaxQueueEventCount: 1000, MaxBatchEventCount: 1000, FlushInterval: 1d})
[2021-02-16T02:57:36.173Z] Elastic APM .NET Tests> 178> Console> [2021-02-16 02:57:35.764 +00:00][Info] - {LoggingTestBase} Finished test: Elastic.Apm.Tests.MetricsTests.ToggleRecordingAndCaptureMetrics
[2021-02-16T02:57:36.173Z] Elastic APM .NET Tests> 373> Console> [2021-02-16 02:57:35.764 +00:00][Info] - {LoggingTestBase} Starting test: Elastic.Apm.Tests.MetricsTests.CollectAllMetrics...
[2021-02-16T02:57:36.173Z] Elastic APM .NET Tests> 373> Console> [2021-02-16 02:57:35.781 +00:00][Info] - {LoggingTestBase} Finished test: Elastic.Apm.Tests.MetricsTests.CollectAllMetrics
[2021-02-16T02:57:36.173Z] Elastic APM .NET Tests> 374> Console> [2021-02-16 02:57:35.781 +00:00][Info] - {LoggingTestBase} Starting test: Elastic.Apm.Tests.MetricsTests.ProcStatParser(procStatContent: "cpu 74608 2520 24433 1117073 6176 4054 0 0 0 0", expectedIdle: 1117073, expectedTotal: 1228864)...
[2021-02-16T02:57:36.173Z] Elastic APM .NET Tests> 374> Console> [2021-02-16 02:57:35.785 +00:00][Info] - {LoggingTestBase} Finished test: Elastic.Apm.Tests.MetricsTests.ProcStatParser(procStatContent: "cpu 74608 2520 24433 1117073 6176 4054 0 0 0 0", expectedIdle: 1117073, expectedTotal: 1228864)
[2021-02-16T02:57:36.173Z] Elastic APM .NET Tests> 375> Console> [2021-02-16 02:57:35.786 +00:00][Info] - {LoggingTestBase} Starting test: Elastic.Apm.Tests.MetricsTests.ProcStatParser(procStatContent: "cpu  1192 0 2285 40280 626 0 376 0 0 0", expectedIdle: 40280, expectedTotal: 44759)...
[2021-02-16T02:57:36.174Z] Elastic APM .NET Tests> 375> Console> [2021-02-16 02:57:35.786 +00:00][Info] - {LoggingTestBase} Finished test: Elastic.Apm.Tests.MetricsTests.ProcStatParser(procStatContent: "cpu  1192 0 2285 40280 626 0 376 0 0 0", expectedIdle: 40280, expectedTotal: 44759)
[2021-02-16T02:57:36.174Z] Elastic APM .NET Tests> 376> Console> [2021-02-16 02:57:35.786 +00:00][Info] - {LoggingTestBase} Starting test: Elastic.Apm.Tests.MetricsTests.ProcStatParser(procStatContent: "cpu    1192 0 2285 40280 626 0 376 0 0 0", expectedIdle: 40280, expectedTotal: 44759)...
[2021-02-16T02:57:36.174Z] Elastic APM .NET Tests> 376> Console> [2021-02-16 02:57:35.786 +00:00][Info] - {LoggingTestBase} Finished test: Elastic.Apm.Tests.MetricsTests.ProcStatParser(procStatContent: "cpu    1192 0 2285 40280 626 0 376 0 0 0", expectedIdle: 40280, expectedTotal: 44759)
[2021-02-16T02:57:36.174Z] Elastic APM .NET Tests> 377> Console> [2021-02-16 02:57:35.786 +00:00][Info] - {LoggingTestBase} Starting test: Elastic.Apm.Tests.MetricsTests.GetWorkingSetAndVirtualMemory...
[2021-02-16T02:57:36.174Z] Elastic APM .NET Tests> 377> Console> [2021-02-16 02:57:35.789 +00:00][Info] - {LoggingTestBase} Finished test: Elastic.Apm.Tests.MetricsTests.GetWorkingSetAndVirtualMemory
[2021-02-16T02:57:36.174Z] Elastic APM .NET Tests> 378> Console> [2021-02-16 02:57:35.790 +00:00][Info] - {LoggingTestBase} Starting test: Elastic.Apm.Tests.MetricsTests.CollectAllMetrics_ShouldDisableProvider_WhenSamplesAreInvalid(samples: null)...
[2021-02-16T02:57:36.174Z] Elastic APM .NET Tests> 378> Console> [2021-02-16 02:57:35.793 +00:00][Info] - {LoggingTestBase} Finished test: Elastic.Apm.Tests.MetricsTests.CollectAllMetrics_ShouldDisableProvider_WhenSamplesAreInvalid(samples: null)
[2021-02-16T02:57:36.174Z] Elastic APM .NET Tests> 379> Console> [2021-02-16 02:57:35.793 +00:00][Info] - {LoggingTestBase} Starting test: Elastic.Apm.Tests.MetricsTests.CollectAllMetrics_ShouldDisableProvider_WhenSamplesAreInvalid(samples: [])...
[2021-02-16T02:57:36.174Z] Elastic APM .NET Tests> 379> Console> [2021-02-16 02:57:35.794 +00:00][Info] - {LoggingTestBase} Finished test: Elastic.Apm.Tests.MetricsTests.CollectAllMetrics_ShouldDisableProvider_WhenSamplesAreInvalid(samples: [])
[2021-02-16T02:57:36.174Z] Elastic APM .NET Tests> 380> Console> [2021-02-16 02:57:35.795 +00:00][Info] - {LoggingTestBase} Starting test: Elastic.Apm.Tests.MetricsTests.CollectAllMetrics_ShouldDisableProvider_WhenSamplesAreInvalid(samples: [MetricSample{key: NaN}])...
[2021-02-16T02:57:36.174Z] Elastic APM .NET Tests> 380> Console> [2021-02-16 02:57:35.795 +00:00][Info] - {LoggingTestBase} Finished test: Elastic.Apm.Tests.MetricsTests.CollectAllMetrics_ShouldDisableProvider_WhenSamplesAreInvalid(samples: [MetricSample{key: NaN}])
[2021-02-16T02:57:36.174Z] Elastic APM .NET Tests> 381> Console> [2021-02-16 02:57:35.796 +00:00][Info] - {LoggingTestBase} Starting test: Elastic.Apm.Tests.MetricsTests.CollectAllMetrics_ShouldDisableProvider_WhenSamplesAreInvalid(samples: [MetricSample{key: -ì}])...
[2021-02-16T02:57:36.174Z] Elastic APM .NET Tests> 381> Console> [2021-02-16 02:57:35.796 +00:00][Info] - {LoggingTestBase} Finished test: Elastic.Apm.Tests.MetricsTests.CollectAllMetrics_ShouldDisableProvider_WhenSamplesAreInvalid(samples: [MetricSample{key: -ì}])
[2021-02-16T02:57:36.174Z] Elastic APM .NET Tests> 382> Console> [2021-02-16 02:57:35.797 +00:00][Info] - {LoggingTestBase} Starting test: Elastic.Apm.Tests.MetricsTests.CollectAllMetrics_ShouldDisableProvider_WhenSamplesAreInvalid(samples: [MetricSample{key: ì}])...
[2021-02-16T02:57:36.174Z] Elastic APM .NET Tests> 382> Console> [2021-02-16 02:57:35.798 +00:00][Info] - {LoggingTestBase} Finished test: Elastic.Apm.Tests.MetricsTests.CollectAllMetrics_ShouldDisableProvider_WhenSamplesAreInvalid(samples: [MetricSample{key: ì}])
[2021-02-16T02:57:36.174Z] Elastic APM .NET Tests> 383> Console> [2021-02-16 02:57:35.798 +00:00][Info] - {LoggingTestBase} Starting test: Elastic.Apm.Tests.MetricsTests.MetricsWithRealAgent...
[2021-02-16T02:57:46.141Z] Elastic APM .NET Tests> 383> Console> [2021-02-16 02:57:45.832 +00:00][Info] - {LoggingTestBase} Finished test: Elastic.Apm.Tests.MetricsTests.MetricsWithRealAgent
[2021-02-16T02:57:46.141Z] Elastic APM .NET Tests> 384> Console> [2021-02-16 02:57:45.832 +00:00][Info] - {LoggingTestBase} Starting test: Elastic.Apm.Tests.MetricsTests.CollectGcMetrics...
[2021-02-16T02:57:47.076Z] Elastic APM .NET Tests> 384> Console> [2021-02-16 02:57:47.013 +00:00][Info] - {LoggingTestBase} Finished test: Elastic.Apm.Tests.MetricsTests.CollectGcMetrics
[2021-02-16T02:57:47.076Z] Elastic APM .NET Tests> 385> Console> [2021-02-16 02:57:47.013 +00:00][Info] - {LoggingTestBase} Starting test: Elastic.Apm.Tests.MetricsTests.MetricsCollectorWithNoopConfigReader...
[2021-02-16T02:57:47.335Z] Elastic APM .NET Tests> 385> Console> [2021-02-16 02:57:47.058 +00:00][Info] - {LoggingTestBase} Finished test: Elastic.Apm.Tests.MetricsTests.MetricsCollectorWithNoopConfigReader
[2021-02-16T03:51:39.084Z] Cannot contact apm-ci-immutable-windows-2019-1613442194916954149: hudson.remoting.ChannelClosedException: Channel "hudson.remoting.Channel@59e542f2:JNLP4-connect connection from apm-ci-immutable-windows-2019-1613442194916954149.c.elastic-ci-prod.internal/10.224.0.214:49814": Remote call on JNLP4-connect connection from apm-ci-immutable-windows-2019-1613442194916954149.c.elastic-ci-prod.internal/10.224.0.214:49814 failed. The channel is closing down or has closed down
[2021-02-16T03:53:15.180Z] Attempting to cancel the build...
[2021-02-16T03:53:15.180Z] Attempting to cancel the build...
[2021-02-16T03:53:15.180Z] Attempting to cancel the build...
[2021-02-16T03:53:15.180Z] Attempting to cancel the build...
[2021-02-16T03:53:15.180Z]      1>Done Building Project "C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1174\apm-agent-dotnet\ElasticApmAgent.sln" (VSTest target(s)) -- FAILED.
[2021-02-16T03:53:15.180Z]      1>Project "C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1174\apm-agent-dotnet\ElasticApmAgent.sln" (1) is building "C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1174\apm-agent-dotnet\test\Elastic.Apm.Tests\Elastic.Apm.Tests.csproj" (6) on node 4 (VSTest target(s)).
[2021-02-16T03:53:15.180Z]      6>DispatchToInnerBuildsWithVSTestTarget:
[2021-02-16T03:53:15.180Z]          Build continuing because "ContinueOnError" on the task "MSBuild" is set to "ErrorAndContinue".
[2021-02-16T03:53:15.180Z]          Build continuing because "ContinueOnError" on the task "MSBuild" is set to "ErrorAndContinue".
[2021-02-16T03:53:15.180Z]      6>Done Building Project "C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1174\apm-agent-dotnet\test\Elastic.Apm.Tests\Elastic.Apm.Tests.csproj" (VSTest target(s)) -- FAILED.
[2021-02-16T03:53:15.180Z] 
[2021-02-16T03:53:15.180Z] Build FAILED.
[2021-02-16T03:53:15.180Z]     0 Warning(s)
[2021-02-16T03:53:15.180Z]     0 Error(s)
[2021-02-16T03:53:15.180Z] 
[2021-02-16T03:53:15.180Z] Time Elapsed 01:15:42.03
[2021-02-16T03:53:41.226Z] Cannot contact apm-ci-immutable-windows-2019-1613442194916911218: hudson.remoting.ChannelClosedException: Channel "hudson.remoting.Channel@a86e4f0:JNLP4-connect connection from apm-ci-immutable-windows-2019-1613442194916911218.c.elastic-ci-prod.internal/10.224.0.155:49806": Remote call on JNLP4-connect connection from apm-ci-immutable-windows-2019-1613442194916911218.c.elastic-ci-prod.internal/10.224.0.155:49806 failed. The channel is closing down or has closed down
[2021-02-16T04:22:43.098Z] Cancelling nested steps due to timeout
[2021-02-16T04:22:43.102Z] Sending interrupt signal to process
[2021-02-16T04:22:47.037Z] Sending interrupt signal to process
[2021-02-16T04:22:50.778Z] Sending interrupt signal to process
[2021-02-16T04:22:51.391Z] Sending interrupt signal to process
[2021-02-16T04:23:03.102Z] After 20s process did not stop
[2021-02-16T04:23:04.145Z] Post stage
[2021-02-16T04:23:04.160Z] Running in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1174\apm-agent-dotnet
[2021-02-16T04:23:04.187Z] Archiving artifacts
[2021-02-16T04:23:06.744Z] Recording test results
[2021-02-16T04:23:07.037Z] After 20s process did not stop
[2021-02-16T04:23:08.016Z] Post stage
[2021-02-16T04:23:08.030Z] Running in C:\Users\jenkins\workspace\net_apm-agent-dotnet-mbp_PR-1174\apm-agent-dotnet
[2021-02-16T04:23:08.053Z] Archiving artifacts
[2021-02-16T04:23:08.908Z] [Checks API] No suitable checks publisher found.
[2021-02-16T04:23:08.962Z] Archiving artifacts
[2021-02-16T04:23:09.028Z] Stage "Startup Hook Tests" skipped due to earlier failure(s)
[2021-02-16T04:23:09.056Z] Post stage
[2021-02-16T04:23:09.074Z] [WS-CLEANUP] Deleting project workspace...
[2021-02-16T04:23:09.074Z] [WS-CLEANUP] Deferred wipeout is disabled by the job configuration...
[2021-02-16T04:23:09.172Z] Recording test results
[2021-02-16T04:23:10.321Z] None of the test reports contained any result
[2021-02-16T04:23:10.333Z] [Checks API] No suitable checks publisher found.
[2021-02-16T04:23:10.383Z] Archiving artifacts
[2021-02-16T04:23:10.439Z] Stage "IIS Tests" skipped due to earlier failure(s)
[2021-02-16T04:23:10.469Z] Post stage
[2021-02-16T04:23:10.489Z] [WS-CLEANUP] Deleting project workspace...
[2021-02-16T04:23:10.489Z] [WS-CLEANUP] Deferred wipeout is disabled by the job configuration...
[2021-02-16T04:23:13.849Z] [WS-CLEANUP] done
[2021-02-16T04:23:13.965Z] Failed in branch Windows .NET Core
[2021-02-16T04:23:15.331Z] [WS-CLEANUP] done
[2021-02-16T04:23:15.452Z] Failed in branch Windows .NET Framework
[2021-02-16T04:23:15.594Z] Stage "Release to feedz.io" skipped due to earlier failure(s)
[2021-02-16T04:23:15.657Z] Stage "Release" skipped due to earlier failure(s)
[2021-02-16T04:23:15.684Z] Stage "Release" skipped due to earlier failure(s)
[2021-02-16T04:23:15.747Z] Stage "Release" skipped due to earlier failure(s)
[2021-02-16T04:23:15.834Z] Stage "AfterRelease" skipped due to earlier failure(s)
[2021-02-16T04:23:15.856Z] Stage "AfterRelease" skipped due to earlier failure(s)
[2021-02-16T04:23:16.395Z] Running on Jenkins in /var/lib/jenkins/workspace/net_apm-agent-dotnet-mbp_PR-1174
[2021-02-16T04:23:16.454Z] [INFO] getVaultSecret: Getting secrets
[2021-02-16T04:23:16.638Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-02-16T04:23:17.404Z] + chmod 755 generate-build-data.sh
[2021-02-16T04:23:17.405Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-dotnet/apm-agent-dotnet-mbp/PR-1174/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-dotnet/apm-agent-dotnet-mbp/PR-1174/runs/2 ABORTED 7372620
[2021-02-16T04:23:17.955Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-dotnet/apm-agent-dotnet-mbp/PR-1174/runs/2/steps/?limit=10000 -o steps-info.json
[2021-02-16T04:23:18.506Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-dotnet/apm-agent-dotnet-mbp/PR-1174/runs/2/tests/?status=FAILED -o tests-errors.json

@v1v v1v requested review from a team February 15, 2021 16:04
@v1v v1v self-assigned this Feb 15, 2021
@v1v v1v added the ci label Feb 15, 2021
@v1v v1v marked this pull request as ready for review February 15, 2021 16:04
@v1v v1v merged commit fe07407 into elastic:master Feb 16, 2021
@v1v v1v deleted the feature/reuse-step-notification branch February 16, 2021 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants