Skip to content

ci: comment PRs with the build status #810

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

Closed
wants to merge 1 commit into from

Conversation

v1v
Copy link
Member

@v1v v1v commented Apr 24, 2020

What does this pull request do?

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
@v1v v1v added the automation label Apr 24, 2020
@apmmachine
Copy link
Contributor

💚 Build Succeeded

Pipeline View Test View Changes Artifacts stats

Expand to view the summary

Build stats

Test stats 🧪

Test Results
Failed 0
Passed 9088
Skipped 6248
Total 15336

Steps errors

Expand to view the steps failures

  • Name: Check out from version control
    • Description:

    • Result: FAILURE

    • Duration: 1 min 33 sec<

    • Start Time: 2020-04-27T14:19:46.590+0000

Log output

Expand to view the last 100 lines of log output

[2020-04-27T14:43:39.802Z] + for repaired_wheel in '"${repaired_wheels[@]}"'
[2020-04-27T14:43:39.802Z] ++ basename /tmp/repaired_wheels/elastic_apm-5.5.2-py2-none-any.whl
[2020-04-27T14:43:39.802Z] + chown 1157:1158 /output/elastic_apm-5.5.2-py2-none-any.whl
[2020-04-27T14:43:39.802Z] + for PYBIN in /opt/python/pp27-pypy_73/bin /opt/python/pp36-pypy36_pp73/bin
[2020-04-27T14:43:39.802Z] + export PATH=/opt/python/pp36-pypy36_pp73/bin:/opt/rh/devtoolset-8/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[2020-04-27T14:43:39.802Z] + PATH=/opt/python/pp36-pypy36_pp73/bin:/opt/rh/devtoolset-8/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[2020-04-27T14:43:39.802Z] ++ which pip
[2020-04-27T14:43:39.802Z] + '[' /opt/python/pp36-pypy36_pp73/bin/pip '!=' /opt/python/pp36-pypy36_pp73/bin/pip ']'
[2020-04-27T14:43:39.802Z] ++ which python
[2020-04-27T14:43:39.802Z] + '[' /opt/python/pp36-pypy36_pp73/bin/python '!=' /opt/python/pp36-pypy36_pp73/bin/python ']'
[2020-04-27T14:43:39.802Z] + '[' '!' -z '' ']'
[2020-04-27T14:43:39.802Z] + rm -rf /tmp/built_wheel
[2020-04-27T14:43:39.802Z] + mkdir /tmp/built_wheel
[2020-04-27T14:43:39.802Z] + pip wheel . -w /tmp/built_wheel --no-deps
[2020-04-27T14:43:42.393Z] Processing /project
[2020-04-27T14:43:42.972Z]   Installing build dependencies: started
[2020-04-27T14:43:47.327Z]   Installing build dependencies: finished with status 'done'
[2020-04-27T14:43:47.327Z]   Getting requirements to build wheel: started
[2020-04-27T14:43:48.269Z]   Getting requirements to build wheel: finished with status 'done'
[2020-04-27T14:43:48.269Z]     Preparing wheel metadata: started
[2020-04-27T14:43:50.255Z]     Preparing wheel metadata: finished with status 'done'
[2020-04-27T14:43:50.255Z] Building wheels for collected packages: elastic-apm
[2020-04-27T14:43:50.255Z]   Building wheel for elastic-apm (PEP 517): started
[2020-04-27T14:43:51.638Z]   Building wheel for elastic-apm (PEP 517): finished with status 'done'
[2020-04-27T14:43:51.638Z]   Created wheel for elastic-apm: filename=elastic_apm-5.5.2-py3-none-any.whl size=439009 sha256=b5d6a20ef267ba0d7b4fc1af12be79f82f010859ff768b043d6014ccc74c0ed6
[2020-04-27T14:43:51.638Z]   Stored in directory: /tmp/pip-ephem-wheel-cache-ukvfe9lw/wheels/de/ab/88/a237fdf750e25f63db6cf5343e3feef89c5f93e985be647379
[2020-04-27T14:43:51.638Z] Successfully built elastic-apm
[2020-04-27T14:43:51.638Z] + built_wheel=(/tmp/built_wheel/*.whl)
[2020-04-27T14:43:51.638Z] + rm -rf /tmp/repaired_wheels
[2020-04-27T14:43:51.638Z] + mkdir /tmp/repaired_wheels
[2020-04-27T14:43:51.638Z] + [[ /tmp/built_wheel/elastic_apm-5.5.2-py3-none-any.whl == *none-any.whl ]]
[2020-04-27T14:43:51.638Z] + mv /tmp/built_wheel/elastic_apm-5.5.2-py3-none-any.whl /tmp/repaired_wheels
[2020-04-27T14:43:51.638Z] + repaired_wheels=(/tmp/repaired_wheels/*.whl)
[2020-04-27T14:43:51.638Z] + '[' '!' -z '' ']'
[2020-04-27T14:43:51.638Z] + mv /tmp/repaired_wheels/elastic_apm-5.5.2-py3-none-any.whl /output
[2020-04-27T14:43:51.638Z] + for repaired_wheel in '"${repaired_wheels[@]}"'
[2020-04-27T14:43:51.638Z] ++ basename /tmp/repaired_wheels/elastic_apm-5.5.2-py3-none-any.whl
[2020-04-27T14:43:51.638Z] + chown 1157:1158 /output/elastic_apm-5.5.2-py3-none-any.whl
[2020-04-27T14:43:52.230Z] cibuildwheel-ab047e7d-fd8f-4d6c-9ff5-2defa983c707
[2020-04-27T14:43:52.230Z] + ls -l wheelhouse
[2020-04-27T14:43:52.230Z] total 12464
[2020-04-27T14:43:52.230Z] -rw-r--r-- 1 jenkins jenkins 485403 Apr 27 14:42 elastic_apm-5.5.2-cp27-cp27m-manylinux1_i686.whl
[2020-04-27T14:43:52.230Z] -rw-r--r-- 1 jenkins jenkins 494436 Apr 27 14:41 elastic_apm-5.5.2-cp27-cp27m-manylinux1_x86_64.whl
[2020-04-27T14:43:52.230Z] -rw-r--r-- 1 jenkins jenkins 485405 Apr 27 14:42 elastic_apm-5.5.2-cp27-cp27m-manylinux2010_i686.whl
[2020-04-27T14:43:52.230Z] -rw-r--r-- 1 jenkins jenkins 494439 Apr 27 14:41 elastic_apm-5.5.2-cp27-cp27m-manylinux2010_x86_64.whl
[2020-04-27T14:43:52.230Z] -rw-r--r-- 1 jenkins jenkins 485401 Apr 27 14:42 elastic_apm-5.5.2-cp27-cp27mu-manylinux1_i686.whl
[2020-04-27T14:43:52.230Z] -rw-r--r-- 1 jenkins jenkins 494444 Apr 27 14:41 elastic_apm-5.5.2-cp27-cp27mu-manylinux1_x86_64.whl
[2020-04-27T14:43:52.230Z] -rw-r--r-- 1 jenkins jenkins 485402 Apr 27 14:42 elastic_apm-5.5.2-cp27-cp27mu-manylinux2010_i686.whl
[2020-04-27T14:43:52.230Z] -rw-r--r-- 1 jenkins jenkins 494446 Apr 27 14:41 elastic_apm-5.5.2-cp27-cp27mu-manylinux2010_x86_64.whl
[2020-04-27T14:43:52.230Z] -rw-r--r-- 1 jenkins jenkins 488256 Apr 27 14:42 elastic_apm-5.5.2-cp35-cp35m-manylinux1_i686.whl
[2020-04-27T14:43:52.230Z] -rw-r--r-- 1 jenkins jenkins 497831 Apr 27 14:41 elastic_apm-5.5.2-cp35-cp35m-manylinux1_x86_64.whl
[2020-04-27T14:43:52.230Z] -rw-r--r-- 1 jenkins jenkins 488262 Apr 27 14:42 elastic_apm-5.5.2-cp35-cp35m-manylinux2010_i686.whl
[2020-04-27T14:43:52.230Z] -rw-r--r-- 1 jenkins jenkins 497836 Apr 27 14:41 elastic_apm-5.5.2-cp35-cp35m-manylinux2010_x86_64.whl
[2020-04-27T14:43:52.230Z] -rw-r--r-- 1 jenkins jenkins 488499 Apr 27 14:43 elastic_apm-5.5.2-cp36-cp36m-manylinux1_i686.whl
[2020-04-27T14:43:52.230Z] -rw-r--r-- 1 jenkins jenkins 498069 Apr 27 14:41 elastic_apm-5.5.2-cp36-cp36m-manylinux1_x86_64.whl
[2020-04-27T14:43:52.230Z] -rw-r--r-- 1 jenkins jenkins 488503 Apr 27 14:43 elastic_apm-5.5.2-cp36-cp36m-manylinux2010_i686.whl
[2020-04-27T14:43:52.230Z] -rw-r--r-- 1 jenkins jenkins 498072 Apr 27 14:41 elastic_apm-5.5.2-cp36-cp36m-manylinux2010_x86_64.whl
[2020-04-27T14:43:52.230Z] -rw-r--r-- 1 jenkins jenkins 489424 Apr 27 14:43 elastic_apm-5.5.2-cp37-cp37m-manylinux1_i686.whl
[2020-04-27T14:43:52.230Z] -rw-r--r-- 1 jenkins jenkins 498998 Apr 27 14:42 elastic_apm-5.5.2-cp37-cp37m-manylinux1_x86_64.whl
[2020-04-27T14:43:52.230Z] -rw-r--r-- 1 jenkins jenkins 489430 Apr 27 14:43 elastic_apm-5.5.2-cp37-cp37m-manylinux2010_i686.whl
[2020-04-27T14:43:52.230Z] -rw-r--r-- 1 jenkins jenkins 499003 Apr 27 14:42 elastic_apm-5.5.2-cp37-cp37m-manylinux2010_x86_64.whl
[2020-04-27T14:43:52.230Z] -rw-r--r-- 1 jenkins jenkins 495132 Apr 27 14:43 elastic_apm-5.5.2-cp38-cp38-manylinux1_i686.whl
[2020-04-27T14:43:52.230Z] -rw-r--r-- 1 jenkins jenkins 503330 Apr 27 14:42 elastic_apm-5.5.2-cp38-cp38-manylinux1_x86_64.whl
[2020-04-27T14:43:52.230Z] -rw-r--r-- 1 jenkins jenkins 495133 Apr 27 14:43 elastic_apm-5.5.2-cp38-cp38-manylinux2010_i686.whl
[2020-04-27T14:43:52.230Z] -rw-r--r-- 1 jenkins jenkins 503328 Apr 27 14:42 elastic_apm-5.5.2-cp38-cp38-manylinux2010_x86_64.whl
[2020-04-27T14:43:52.230Z] -rw-r--r-- 1 jenkins jenkins 438998 Apr 27 14:43 elastic_apm-5.5.2-py2-none-any.whl
[2020-04-27T14:43:52.230Z] -rw-r--r-- 1 jenkins jenkins 439009 Apr 27 14:43 elastic_apm-5.5.2-py3-none-any.whl
[2020-04-27T14:43:56.070Z] Stashed 26 file(s)
[2020-04-27T14:43:58.436Z] Scheduling project: APM Integration Test MBP Selector » master
[2020-04-27T14:43:58.566Z] [INFO] Can not determine redirect link!!!
[2020-04-27T14:44:00.650Z] Stage "Benchmarks" skipped due to when conditional
[2020-04-27T14:44:00.689Z] Timeout set to expire in 12 hr
[2020-04-27T14:44:00.746Z] Stage "Prepare Release" skipped due to when conditional
[2020-04-27T14:44:00.764Z] Stage "Prepare Release" skipped due to when conditional
[2020-04-27T14:44:00.803Z] Stage "Prepare Release" skipped due to when conditional
[2020-04-27T14:44:00.833Z] Stage "Prepare Release" skipped due to when conditional
[2020-04-27T14:44:03.962Z] + pip3 install --user coverage
[2020-04-27T14:44:04.979Z] Collecting coverage
[2020-04-27T14:44:06.133Z]   Downloading https://files.pythonhosted.org/packages/2a/3e/fc18ecef69f174c13493576f46966053c1da07fd8721962530dc1a10b1ca/coverage-5.1-cp36-cp36m-manylinux1_x86_64.whl (227kB)
[2020-04-27T14:44:06.133Z] Installing collected packages: coverage
[2020-04-27T14:44:06.133Z] Successfully installed coverage-5.1
[2020-04-27T14:44:06.169Z] Running in /var/lib/jenkins/workspace/thon_apm-agent-python-mbp_PR-810/src/github.com/elastic/apm-agent-python
[2020-04-27T14:44:35.686Z] + python3 -m coverage combine
[2020-04-27T14:45:06.106Z] + python3 -m coverage xml
[2020-04-27T14:45:06.126Z] [Cobertura] Publishing Cobertura coverage report...
[2020-04-27T14:45:06.126Z] 
[2020-04-27T14:45:08.516Z] [Cobertura] Publishing Cobertura coverage results...
[2020-04-27T14:45:08.516Z] 
[2020-04-27T14:45:08.568Z] [Cobertura] Cobertura coverage report found.
[2020-04-27T14:45:08.568Z] 
[2020-04-27T14:45:14.630Z] + curl -sLO https://code.jquery.com/jquery-3.3.1.slim.min.js
[2020-04-27T14:45:17.207Z] + curl -sLO https://cdn.jsdelivr.net/npm/htmlson.js@1.0.4/src/htmlson.js
[2020-04-27T14:45:17.457Z] Archiving artifacts
[2020-04-27T14:45:18.147Z] Running on Jenkins in /var/lib/jenkins/workspace/thon_apm-agent-python-mbp_PR-810
[2020-04-27T14:45:19.777Z] [INFO] getVaultSecret: Getting secrets
[2020-04-27T14:45:19.882Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-04-27T14:45:24.435Z] + chmod 755 generate-build-data.sh
[2020-04-27T14:45:24.435Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-810/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-810/runs/2 SUCCESS 1668586
[2020-04-27T14:45:24.685Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-810/runs/2/steps/?limit=10000 -o steps-info.json
[2020-04-27T14:45:28.208Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-810/runs/2/tests/?status=FAILED -o tests-errors.json

@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