Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Apr 12, 2021

What

APM agent json schema automatic sync

Why

Changeset

@ghost ghost added the automation label Apr 12, 2021
@ghost
Copy link
Author

ghost commented Apr 12, 2021

💔 Tests 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: Started by user Benjamin Wohlwend

  • Start Time: 2021-04-12T06:48:31.130+0000

  • Duration: 18 min 39 sec

  • Commit: d4cecc9

Test stats 🧪

Test Results
Failed 1
Passed 9661
Skipped 7863
Total 17525

Trends 🧪

Image of Build Times

Image of Tests

Test errors 1

Expand to view the tests failures

Initializing / Test / Python-pypy-3-1 / test_ssl_verify_fails – tests.transports.test_urllib3
    Expand to view the error details

     assert 'certificate verify failed' in '<ExceptionInfo TransportException("Unable to reach APM Server: HTTPSConnectionPool(host=\'127.0.0.1\', port=39973): M...or(SSLCertVerificationError(1, \'unable to get local issuer certificate\'))) (url: https://127.0.0.1:39973)") tblen=2>'
     +  where '<ExceptionInfo TransportException("Unable to reach APM Server: HTTPSConnectionPool(host=\'127.0.0.1\', port=39973): M...or(SSLCertVerificationError(1, \'unable to get local issuer certificate\'))) (url: https://127.0.0.1:39973)") tblen=2>' = str(<ExceptionInfo TransportException("Unable to reach APM Server: HTTPSConnectionPool(host='127.0.0.1', port=39973): Max ...Error(SSLCertVerificationError(1, 'unable to get local issuer certificate'))) (url: https://127.0.0.1:39973)") tblen=2>) 
    

    Expand to view the stacktrace

     waiting_httpsserver = <SecureContentServer(<class 'pytest_localserver.https.SecureContentServer'>, started 140522291427072)>
    elasticapm_client = <tests.fixtures.TempStoreClient object at 0x0000000008d51868>
    
        @pytest.mark.flaky(reruns=3)  # test is flaky on Windows
        def test_ssl_verify_fails(waiting_httpsserver, elasticapm_client):
            waiting_httpsserver.serve_content(code=202, content="", headers={"Location": "http://example.com/foo"})
            transport = Transport(waiting_httpsserver.url, client=elasticapm_client)
            transport.start_thread()
            try:
                with pytest.raises(TransportException) as exc_info:
                    url = transport.send(compat.b("x"))
    >           assert "certificate verify failed" in str(exc_info)
    E           assert 'certificate verify failed' in '<ExceptionInfo TransportException("Unable to reach APM Server: HTTPSConnectionPool(host=\'127.0.0.1\', port=39973): M...or(SSLCertVerificationError(1, \'unable to get local issuer certificate\'))) (url: https://127.0.0.1:39973)") tblen=2>'
    E            +  where '<ExceptionInfo TransportException("Unable to reach APM Server: HTTPSConnectionPool(host=\'127.0.0.1\', port=39973): M...or(SSLCertVerificationError(1, \'unable to get local issuer certificate\'))) (url: https://127.0.0.1:39973)") tblen=2>' = str(<ExceptionInfo TransportException("Unable to reach APM Server: HTTPSConnectionPool(host='127.0.0.1', port=39973): Max ...Error(SSLCertVerificationError(1, 'unable to get local issuer certificate'))) (url: https://127.0.0.1:39973)") tblen=2>)
    
    tests/transports/test_urllib3.py:171: AssertionError 
    

Steps errors 10

Expand to view the steps failures

Shell Script
  • Took 4 min 53 sec . View more details on here
  • Description: ./tests/scripts/docker/run_tests.sh pypy-3 none
Shell Script
  • Took 3 min 46 sec . View more details on here
  • Description: ./tests/scripts/docker/run_tests.sh pypy-3 none
Restore files previously stashed
  • Took 0 min 0 sec . View more details on here
  • Description: coverage-pypy-3-flask-0.12
Restore files previously stashed
  • Took 0 min 0 sec . View more details on here
  • Description: coverage-pypy-3-celery-3-django-2.0
Restore files previously stashed
  • Took 0 min 0 sec . View more details on here
  • Description: coverage-pypy-3-pymongo-newest
Restore files previously stashed
  • Took 0 min 0 sec . View more details on here
  • Description: coverage-pypy-3-elasticsearch-2
Restore files previously stashed
  • Took 0 min 0 sec . View more details on here
  • Description: coverage-pypy-3-gevent-newest
Restore files previously stashed
  • Took 0 min 0 sec . View more details on here
  • Description: coverage-pypy-3-graphene-2
Archive the artifacts
  • Took 0 min 0 sec . View more details on here
  • Description: [2021-04-12T07:06:08.386Z] Archiving artifacts Python-pypy-3-none tests failed : hudson.AbortExcept
Error signal
  • Took 0 min 0 sec . View more details on here
  • Description: Python-pypy-3-none tests failed : hudson.AbortException: script returned exit code 2

Log output

Expand to view the last 100 lines of log output

[2021-04-12T07:05:26.010Z] ERROR: No such saved stash ‘coverage-pypy-3-flask-0.12’
[2021-04-12T07:05:26.342Z] ERROR: No such saved stash ‘coverage-pypy-3-celery-3-django-2.0’
[2021-04-12T07:05:26.643Z] ERROR: No such saved stash ‘coverage-pypy-3-pymongo-newest’
[2021-04-12T07:05:26.924Z] ERROR: No such saved stash ‘coverage-pypy-3-elasticsearch-2’
[2021-04-12T07:05:27.243Z] ERROR: No such saved stash ‘coverage-pypy-3-gevent-newest’
[2021-04-12T07:05:27.493Z] ERROR: No such saved stash ‘coverage-pypy-3-graphene-2’
[2021-04-12T07:05:28.721Z] + python3 -m coverage combine
[2021-04-12T07:06:07.504Z] + python3 -m coverage xml
[2021-04-12T07:06:07.531Z] [Cobertura] Skipping Cobertura coverage report as build was not SUCCESS or better ...
[2021-04-12T07:06:07.531Z] 
[2021-04-12T07:06:07.909Z] + curl -sLO https://code.jquery.com/jquery-3.3.1.slim.min.js
[2021-04-12T07:06:08.212Z] + curl -sLO https://cdn.jsdelivr.net/npm/htmlson.js@1.0.4/src/htmlson.js
[2021-04-12T07:06:08.386Z] Archiving artifacts
[2021-04-12T07:06:08.517Z] Stage "Building packages" skipped due to earlier failure(s)
[2021-04-12T07:06:08.557Z] Stage "Integration Tests" skipped due to earlier failure(s)
[2021-04-12T07:06:08.592Z] Stage "Benchmarks" skipped due to earlier failure(s)
[2021-04-12T07:06:08.671Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-04-12T07:06:08.692Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-04-12T07:06:08.729Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-04-12T07:06:08.770Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-04-12T07:06:09.138Z] Running on Jenkins in /var/lib/jenkins/workspace/hon_apm-agent-python-mbp_PR-1094
[2021-04-12T07:06:09.239Z] [INFO] getVaultSecret: Getting secrets
[2021-04-12T07:06:09.510Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-04-12T07:06:10.428Z] + chmod 755 generate-build-data.sh
[2021-04-12T07:06:10.428Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1094/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1094/runs/2 FAILURE 1059036
[2021-04-12T07:06:10.678Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1094/runs/2/steps/?limit=10000 -o steps-info.json
[2021-04-12T07:06:14.801Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1094/runs/2/tests/?status=FAILED -o tests-errors.json
[2021-04-12T07:06:15.352Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1094/runs/2/log/ -o pipeline-log.txt

🐛 Flaky test report

❕ There are test failures but not known flaky tests.

Expand to view the summary

Test stats 🧪

Test Results
Failed 1
Passed 9661
Skipped 7863
Total 17525

Genuine test errors 1

💔 There are test failures but not known flaky tests, most likely a genuine test failure.

  • Name: Initializing / Test / Python-pypy-3-1 / test_ssl_verify_fails – tests.transports.test_urllib3

@beniwohli
Copy link
Contributor

test failures are unrelated

@beniwohli beniwohli merged commit b52e63e into master Apr 12, 2021
@beniwohli beniwohli deleted the update-spec-files-20210412032704 branch April 12, 2021 09:50
beniwohli pushed a commit to beniwohli/apm-agent-python that referenced this pull request Sep 14, 2021
Co-authored-by: apmmachine <infra-root-apmmachine@elastic.co>
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.

1 participant