Skip to content

Conversation

@beniwohli
Copy link
Contributor

this breaks distributed tracing, and it would be too much
work getting it to work on legacy libraries.

this breaks distributed tracing, and it would be too much
work getting it to work on legacy libraries.
@ghost
Copy link

ghost commented May 28, 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: Pull request #1141 opened

  • Start Time: 2021-05-28T11:32:33.160+0000

  • Duration: 30 min 59 sec

  • Commit: 65da0cf

Test stats 🧪

Test Results
Failed 2
Passed 9420
Skipped 8443
Total 17865

Trends 🧪

Image of Build Times

Image of Tests

Test errors 2

Expand to view the tests failures

Initializing / Test / Python-python-3.8-4 / test_publish_subscribe – tests.instrumentation.asyncio_tests.aioredis_tests
    Expand to view the error details

     AssertionError: assert {'PUBLISH', '...sh_subscribe'} == {'PUBLISH', '...sh_subscribe'}
      Extra items in the right set:
      'SUBSCRIBE'
      Full diff:
      - {'PUBLISH', 'SUBSCRIBE', 'test_publish_subscribe'}
      ?            -------------
      + {'PUBLISH', 'test_publish_subscribe'} 
    

    Expand to view the stacktrace

     instrument = None
    elasticapm_client = <tests.fixtures.TempStoreClient object at 0x7feef4b50880>
    redis_conn = <Redis <ConnectionsPool [db:0, size:[1:10], free:0]>>
    
        @pytest.mark.integrationtest
        async def test_publish_subscribe(instrument, elasticapm_client, redis_conn):
            elasticapm_client.begin_transaction("transaction.test")
            with capture_span("test_publish_subscribe", "test"):
                # publish
                await redis_conn.publish("mykey", "a")
        
                #subscribe
                await redis_conn.subscribe("mykey")
        
            elasticapm_client.end_transaction("MyView")
        
            transactions = elasticapm_client.events[TRANSACTION]
            spans = elasticapm_client.spans_for_transaction(transactions[0])
        
            expected_signatures = {"test_publish_subscribe", "PUBLISH", "SUBSCRIBE"}
        
    >       assert {t["name"] for t in spans} == expected_signatures
    E       AssertionError: assert {'PUBLISH', '...sh_subscribe'} == {'PUBLISH', '...sh_subscribe'}
    E         Extra items in the right set:
    E         'SUBSCRIBE'
    E         Full diff:
    E         - {'PUBLISH', 'SUBSCRIBE', 'test_publish_subscribe'}
    E         ?            -------------
    E         + {'PUBLISH', 'test_publish_subscribe'}
    
    tests/instrumentation/asyncio_tests/aioredis_tests.py:145: AssertionError 
    

Initializing / Test / Python-python-3.7-4 / test_publish_subscribe – tests.instrumentation.asyncio_tests.aioredis_tests
    Expand to view the error details

     AssertionError: assert {'PUBLISH', '...sh_subscribe'} == {'PUBLISH', '...sh_subscribe'}
      Extra items in the right set:
      'SUBSCRIBE'
      Full diff:
      - {'test_publish_subscribe', 'PUBLISH', 'SUBSCRIBE'}
      ?                                     -------------
      + {'test_publish_subscribe', 'PUBLISH'} 
    

    Expand to view the stacktrace

     instrument = None
    elasticapm_client = <tests.fixtures.TempStoreClient object at 0x7ff8ba773a90>
    redis_conn = <Redis <ConnectionsPool [db:0, size:[1:10], free:0]>>
    
        @pytest.mark.integrationtest
        async def test_publish_subscribe(instrument, elasticapm_client, redis_conn):
            elasticapm_client.begin_transaction("transaction.test")
            with capture_span("test_publish_subscribe", "test"):
                # publish
                await redis_conn.publish("mykey", "a")
        
                #subscribe
                await redis_conn.subscribe("mykey")
        
            elasticapm_client.end_transaction("MyView")
        
            transactions = elasticapm_client.events[TRANSACTION]
            spans = elasticapm_client.spans_for_transaction(transactions[0])
        
            expected_signatures = {"test_publish_subscribe", "PUBLISH", "SUBSCRIBE"}
        
    >       assert {t["name"] for t in spans} == expected_signatures
    E       AssertionError: assert {'PUBLISH', '...sh_subscribe'} == {'PUBLISH', '...sh_subscribe'}
    E         Extra items in the right set:
    E         'SUBSCRIBE'
    E         Full diff:
    E         - {'test_publish_subscribe', 'PUBLISH', 'SUBSCRIBE'}
    E         ?                                     -------------
    E         + {'test_publish_subscribe', 'PUBLISH'}
    
    tests/instrumentation/asyncio_tests/aioredis_tests.py:145: AssertionError 
    

Steps errors 15

Expand to view the steps failures

Show only the first 10 steps failures

Restore files previously stashed
  • Took 0 min 0 sec . View more details on here
  • Description: coverage-python-3.7-elasticsearch-2
Restore files previously stashed
  • Took 0 min 0 sec . View more details on here
  • Description: coverage-python-3.7-gevent-newest
Restore files previously stashed
  • Took 0 min 0 sec . View more details on here
  • Description: coverage-python-3.7-aiopg-newest
Restore files previously stashed
  • Took 0 min 0 sec . View more details on here
  • Description: coverage-python-3.7-graphene-2
Restore files previously stashed
  • Took 0 min 0 sec . View more details on here
  • Description: coverage-python-3.8-elasticsearch-2
Restore files previously stashed
  • Took 0 min 0 sec . View more details on here
  • Description: coverage-python-3.8-gevent-newest
Restore files previously stashed
  • Took 0 min 0 sec . View more details on here
  • Description: coverage-python-3.8-aiopg-newest
Restore files previously stashed
  • Took 0 min 0 sec . View more details on here
  • Description: coverage-python-3.8-graphene-2
Archive the artifacts
  • Took 0 min 0 sec . View more details on here
  • Description: [2021-05-28T12:02:28.435Z] Archiving artifacts Python-python-3.8-aioredis-newest tests failed : hud
Error signal
  • Took 0 min 0 sec . View more details on here
  • Description: Python-python-3.7-aioredis-newest tests failed : hudson.AbortException: script returned exit code 2

Log output

Expand to view the last 100 lines of log output

[2021-05-28T12:01:52.341Z] + python3 -m coverage combine
[2021-05-28T12:02:24.794Z] + python3 -m coverage xml
[2021-05-28T12:02:27.370Z] [Cobertura] Skipping Cobertura coverage report as build was not SUCCESS or better ...
[2021-05-28T12:02:27.370Z] 
[2021-05-28T12:02:27.829Z] + curl -sLO https://code.jquery.com/jquery-3.3.1.slim.min.js
[2021-05-28T12:02:28.139Z] + curl -sLO https://cdn.jsdelivr.net/npm/htmlson.js@1.0.4/src/htmlson.js
[2021-05-28T12:02:28.435Z] Archiving artifacts
[2021-05-28T12:02:28.673Z] Stage "Building packages" skipped due to earlier failure(s)
[2021-05-28T12:02:28.802Z] Stage "Integration Tests" skipped due to earlier failure(s)
[2021-05-28T12:02:28.926Z] Stage "Benchmarks" skipped due to earlier failure(s)
[2021-05-28T12:02:29.188Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-05-28T12:02:29.237Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-05-28T12:02:29.354Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-05-28T12:02:29.466Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-05-28T12:02:30.667Z] Running on Jenkins in /var/lib/jenkins/workspace/hon_apm-agent-python-mbp_PR-1141
[2021-05-28T12:02:30.994Z] [INFO] getVaultSecret: Getting secrets
[2021-05-28T12:02:31.069Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-05-28T12:02:32.197Z] + chmod 755 generate-build-data.sh
[2021-05-28T12:02:32.197Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1141/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1141/runs/1 FAILURE 1798761
[2021-05-28T12:02:32.197Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1141/runs/1/steps/?limit=10000 -o steps-info.json
[2021-05-28T12:02:37.392Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1141/runs/1/tests/?status=FAILED -o tests-errors.json

🐛 Flaky test report

❕ There are test failures but not known flaky tests.

Expand to view the summary

Test stats 🧪

Test Results
Failed 2
Passed 9420
Skipped 8443
Total 17865

Genuine test errors 2

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

  • Name: Initializing / Test / Python-python-3.8-4 / test_publish_subscribe – tests.instrumentation.asyncio_tests.aioredis_tests
  • Name: Initializing / Test / Python-python-3.7-4 / test_publish_subscribe – tests.instrumentation.asyncio_tests.aioredis_tests

@beniwohli beniwohli merged commit 7f6729e into elastic:master May 28, 2021
@beniwohli beniwohli deleted the stop-testing-httpx-012 branch May 28, 2021 13:30
beniwohli added a commit to beniwohli/apm-agent-python that referenced this pull request Sep 14, 2021
this breaks distributed tracing, and it would be too much
work getting it to work on legacy libraries.
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