Skip to content

Conversation

@v1v
Copy link
Member

@v1v v1v commented Apr 24, 2020

Motivation/summary

Enhance the build reporting with a message in the PR that contains the build status for the last commit. It does reuse the message.

@v1v v1v self-assigned this Apr 24, 2020
@ghost
Copy link

ghost commented Apr 24, 2020

💚 Build Succeeded

Pipeline View Test View Changes Artifacts stats

Expand to view the summary

Build stats

Test stats 🧪

Test Results
Failed 0
Passed 2999
Skipped 139
Total 3138

Steps errors

Expand to view the steps failures

  • Name: Test Sync
    • Description: ./script/jenkins/sync.sh

    • Result: FAILURE

    • Duration: 3 min 2 sec<

    • Start Time: 2020-04-27T13:21:48.581+0000

Log output

Expand to view the last 100 lines of log output

[2020-04-27T13:44:59.087Z] >> package: Building apm-server type=rpm for platform=linux/386
[2020-04-27T13:45:00.401Z] >> package: Building apm-server type=deb for platform=linux/arm64
[2020-04-27T13:45:08.310Z] Doing `require 'backports'` is deprecated and will not load any backport in the next major release.
[2020-04-27T13:45:08.310Z] Require just the needed backports instead, or 'backports/latest'.
[2020-04-27T13:45:10.169Z] Doing `require 'backports'` is deprecated and will not load any backport in the next major release.
[2020-04-27T13:45:10.169Z] Require just the needed backports instead, or 'backports/latest'.
[2020-04-27T13:45:26.668Z] >> package: Building apm-server-oss type=deb for platform=linux/arm64
[2020-04-27T13:45:26.669Z] >> package: Building apm-server-oss type=rpm for platform=linux/arm64
[2020-04-27T13:45:34.070Z] Doing `require 'backports'` is deprecated and will not load any backport in the next major release.
[2020-04-27T13:45:34.071Z] Require just the needed backports instead, or 'backports/latest'.
[2020-04-27T13:45:36.398Z] Doing `require 'backports'` is deprecated and will not load any backport in the next major release.
[2020-04-27T13:45:36.398Z] Require just the needed backports instead, or 'backports/latest'.
[2020-04-27T13:45:42.649Z] >> package: Building apm-server type=tar.gz for platform=linux/arm64
[2020-04-27T13:45:51.026Z] >> package: Building apm-server-oss type=zip for platform=windows/386
[2020-04-27T13:45:55.522Z] >> package: Building apm-server type=rpm for platform=linux/arm64
[2020-04-27T13:45:55.522Z] >> package: Building apm-server type=zip for platform=windows/386
[2020-04-27T13:45:58.631Z] >> package: Building apm-server-oss type=zip for platform=windows/amd64
[2020-04-27T13:46:03.281Z] Doing `require 'backports'` is deprecated and will not load any backport in the next major release.
[2020-04-27T13:46:03.281Z] Require just the needed backports instead, or 'backports/latest'.
[2020-04-27T13:46:21.981Z] >> Testing package contents
[2020-04-27T13:46:51.653Z] package ran for 21m37.83646813s
[2020-04-27T13:46:52.362Z] + ./script/jenkins/test-install-packages.sh
[2020-04-27T13:46:52.362Z] + export MAGEFILE_VERBOSE=1
[2020-04-27T13:46:52.362Z] + MAGEFILE_VERBOSE=1
[2020-04-27T13:46:52.362Z] + ./build/linux/mage -v testPackagesInstall
[2020-04-27T13:46:52.362Z] Running target: TestPackagesInstall
[2020-04-27T13:46:52.362Z] exec: go test -v tests/packaging/package_test.go -timeout 20m -files /var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-3693/src/github.com/elastic/apm-server/build/distributions/* -tags=package
[2020-04-27T13:51:51.698Z] [INFO] getVaultSecret: Getting secrets
[2020-04-27T13:51:51.887Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-04-27T13:51:54.095Z] Sleeping for 12 sec
[2020-04-27T13:52:06.784Z] + set +x
[2020-04-27T13:52:07.353Z] Login Succeeded
[2020-04-27T13:52:09.374Z] + ./script/jenkins/package-docker-snapshot.sh db649e0d4e73ff8e13861de78639f0e8649a62e2 docker.elastic.co/observability-ci/apm-server
[2020-04-27T13:52:09.374Z] INFO: Build docker images
[2020-04-27T13:52:09.634Z] ./build/linux/mage package
[2020-04-27T13:52:11.158Z] >> Building apm-server.yml for linux/amd64
[2020-04-27T13:52:11.158Z] >> Building apm-server.docker.yml for linux/amd64
[2020-04-27T13:52:11.158Z] Generated fields.yml for apm-server to /var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-3693/src/github.com/elastic/apm-server/build/fields/fields.yml
[2020-04-27T13:52:12.099Z] Generated fields.yml for apm-server to /var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-3693/src/github.com/elastic/apm-server/build/fields/fields.all.yml
[2020-04-27T13:52:17.214Z] >> buildGoDaemon: Building for linux/amd64
[2020-04-27T13:52:17.214Z] >> golangCrossBuild: Building for linux/amd64
[2020-04-27T13:52:17.215Z] >> golangCrossBuild: Building for linux/amd64
[2020-04-27T13:52:17.215Z] >> Building using: cmd='build/mage-linux-amd64 buildGoDaemon', env=[CC=gcc, CXX=g++, GOARCH=amd64, GOARM=, GOOS=linux, PLATFORM_ID=linux-amd64]
[2020-04-27T13:52:17.483Z] >> Building using: cmd='build/mage-linux-amd64 golangCrossBuild', env=[CC=gcc, CXX=g++, GOARCH=amd64, GOARM=, GOOS=linux, PLATFORM_ID=linux-amd64]
[2020-04-27T13:52:18.235Z] >> Building using: cmd='../../build/mage-linux-amd64 golangCrossBuild', env=[CC=gcc, CXX=g++, GOARCH=amd64, GOARM=, GOOS=linux, PLATFORM_ID=linux-amd64]
[2020-04-27T13:55:04.858Z] >> package: Building apm-server type=docker for platform=linux/amd64
[2020-04-27T13:55:04.858Z] >> package: Building apm-server-oss type=rpm for platform=linux/amd64
[2020-04-27T13:55:04.858Z] >> package: Building apm-server type=tar.gz for platform=linux/amd64
[2020-04-27T13:55:04.858Z] >> package: Building apm-server-oss type=tar.gz for platform=linux/amd64
[2020-04-27T13:55:05.816Z] >> package: Building apm-server type=deb for platform=linux/amd64
[2020-04-27T13:55:07.972Z] >> package: Building apm-server type=rpm for platform=linux/amd64
[2020-04-27T13:55:08.236Z] Doing `require 'backports'` is deprecated and will not load any backport in the next major release.
[2020-04-27T13:55:08.236Z] Require just the needed backports instead, or 'backports/latest'.
[2020-04-27T13:55:18.043Z] Doing `require 'backports'` is deprecated and will not load any backport in the next major release.
[2020-04-27T13:55:18.043Z] Require just the needed backports instead, or 'backports/latest'.
[2020-04-27T13:55:19.348Z] Doing `require 'backports'` is deprecated and will not load any backport in the next major release.
[2020-04-27T13:55:19.348Z] Require just the needed backports instead, or 'backports/latest'.
[2020-04-27T13:55:32.951Z] >> package: Building apm-server-oss type=deb for platform=linux/amd64
[2020-04-27T13:55:32.951Z] >> package: Building apm-server-oss type=docker for platform=linux/amd64
[2020-04-27T13:55:43.378Z] Doing `require 'backports'` is deprecated and will not load any backport in the next major release.
[2020-04-27T13:55:43.378Z] Require just the needed backports instead, or 'backports/latest'.
[2020-04-27T13:56:29.167Z] >> Testing package contents
[2020-04-27T13:56:48.220Z] package ran for 4m36.984447837s
[2020-04-27T13:56:48.220Z] INFO: Get the just built docker image
[2020-04-27T13:56:48.220Z] INFO: Retag docker image (docker.elastic.co/apm/apm-server:8.0.0-SNAPSHOT)
[2020-04-27T13:56:48.220Z] INFO: Push docker image (docker.elastic.co/observability-ci/apm-server:db649e0d4e73ff8e13861de78639f0e8649a62e2)
[2020-04-27T13:56:48.220Z] The push refers to repository [docker.elastic.co/observability-ci/apm-server]
[2020-04-27T13:56:48.220Z] 0a9aabb33c50: Preparing
[2020-04-27T13:56:48.220Z] 3965da771ffe: Preparing
[2020-04-27T13:56:48.220Z] b6616aa1d030: Preparing
[2020-04-27T13:56:48.220Z] ed3c2b3850f0: Preparing
[2020-04-27T13:56:48.220Z] 9ac3123a0bae: Preparing
[2020-04-27T13:56:48.220Z] 53c0e38d896d: Preparing
[2020-04-27T13:56:48.220Z] c2398562faf7: Preparing
[2020-04-27T13:56:48.220Z] 77b174a6a187: Preparing
[2020-04-27T13:56:48.220Z] 53c0e38d896d: Waiting
[2020-04-27T13:56:48.220Z] c2398562faf7: Waiting
[2020-04-27T13:56:48.220Z] 77b174a6a187: Waiting
[2020-04-27T13:56:48.978Z] b6616aa1d030: Pushed
[2020-04-27T13:56:48.978Z] 0a9aabb33c50: Pushed
[2020-04-27T13:56:48.978Z] ed3c2b3850f0: Pushed
[2020-04-27T13:56:49.984Z] 77b174a6a187: Layer already exists
[2020-04-27T13:56:49.984Z] 9ac3123a0bae: Pushed
[2020-04-27T13:56:57.638Z] 3965da771ffe: Pushed
[2020-04-27T13:56:58.209Z] c2398562faf7: Pushed
[2020-04-27T13:57:00.212Z] 53c0e38d896d: Pushed
[2020-04-27T13:57:02.987Z] db649e0d4e73ff8e13861de78639f0e8649a62e2: digest: sha256:be737c7273a7838f10887e00185f32a3494b99b54ce94ae4af151b1b89007551 size: 1994
[2020-04-27T13:57:03.286Z] $ docker stop --time=1 2e6d2908b044e78f88896d2748e18e8a6a22cc5d7e96ee2ac0f938783d98cc13
[2020-04-27T13:57:05.310Z] $ docker rm -f 2e6d2908b044e78f88896d2748e18e8a6a22cc5d7e96ee2ac0f938783d98cc13
[2020-04-27T13:57:08.709Z] Stage "Publish" skipped due to when conditional
[2020-04-27T13:57:11.586Z] Scheduling project: APM Integration Test MBP Selector » master
[2020-04-27T13:57:12.669Z] [INFO] Can not determine redirect link!!!
[2020-04-27T13:57:17.728Z] Running on Jenkins in /var/lib/jenkins/workspace/pm-server_apm-server-mbp_PR-3693
[2020-04-27T13:57:17.885Z] [INFO] getVaultSecret: Getting secrets
[2020-04-27T13:57:21.697Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-04-27T13:57:23.201Z] + chmod 755 generate-build-data.sh
[2020-04-27T13:57:23.201Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-server/apm-server-mbp/PR-3693/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-server/apm-server-mbp/PR-3693/runs/6 SUCCESS 2753350
[2020-04-27T13:57:23.451Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-server/apm-server-mbp/PR-3693/runs/6/steps/?limit=10000 -o steps-info.json
[2020-04-27T13:57:24.408Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-server/apm-server-mbp/PR-3693/runs/6/tests/?status=FAILED -o tests-errors.json
[2020-04-27T13:57:25.110Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-server/apm-server-mbp/PR-3693/runs/6/log/ -o pipeline-log.txt

@codecov-io
Copy link

Codecov Report

Merging #3693 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3693   +/-   ##
=======================================
  Coverage   80.33%   80.33%           
=======================================
  Files         131      131           
  Lines        5981     5981           
=======================================
  Hits         4805     4805           
  Misses       1176     1176           

@v1v
Copy link
Member Author

v1v commented Apr 28, 2020

Already enabled by default

@v1v v1v closed this Apr 28, 2020
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.

2 participants