Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Build fails: Various erros in py37-tracecontext #329

Closed
@Oberon00

Description

@Oberon00

This happens on master since the merge of #291 and all new PRs. I suspect a dependency update to be the cause.

For example https://travis-ci.org/open-telemetry/opentelemetry-python/jobs/623466280:

py37-tracecontext installed: aiohttp==3.6.2,async-timeout==3.0.1,attrs==19.3.0,certifi==2019.11.28,chardet==3.0.4,Click==7.0,Flask==1.1.1,idna==2.8,itsdangerous==1.1.0,Jinja2==2.10.3,MarkupSafe==1.1.1,multidict==4.7.0,requests==2.22.0,urllib3==1.25.7,Werkzeug==0.16.0,yarl==1.4.2
...

test_multiple_requests_with_illegal_traceparent (__main__.AdvancedTest) ... Segmentation fault (core dumped)
ERROR: InvocationError for command /home/travis/build/open-telemetry/opentelemetry-python/scripts/tracecontext-integration-test.sh (exited with code 139))
Note: this might indicate a fatal error signal (139 - 128 = 11: SIGSEGV) (exited with code 139)

Or https://travis-ci.org/open-telemetry/opentelemetry-python/jobs/623458269, where every test fails with:

py37-tracecontext installed: aiohttp==3.6.2,async-timeout==3.0.1,attrs==19.3.0,certifi==2019.11.28,chardet==3.0.4,Click==7.0,Flask==1.1.1,idna==2.8,itsdangerous==1.1.0,Jinja2==2.10.3,MarkupSafe==1.1.1,multidict==4.7.0,requests==2.22.0,urllib3==1.25.7,Werkzeug==0.16.0,yarl==1.4.2
...

test_traceparent_version_0xff (__main__.TraceContextTest) ... Error handling request
Traceback (most recent call last):
  File "/home/travis/build/open-telemetry/opentelemetry-python/.tox/py37-tracecontext/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start
    resp = await task
  File "/home/travis/build/open-telemetry/opentelemetry-python/.tox/py37-tracecontext/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle
    resp = await handler(request)
  File "/home/travis/build/open-telemetry/opentelemetry-python/target/trace-context/test/server.py", line 53, in scope_handler
    async with ClientSession(headers = headers, timeout = self.timeout) as session:
  File "/home/travis/build/open-telemetry/opentelemetry-python/.tox/py37-tracecontext/lib/python3.7/site-packages/aiohttp/client.py", line 268, in __init__
    real_headers = CIMultiDict(headers)  # type: CIMultiDict[str]
TypeError: CIMultiDict keys should be either str or subclasses of str
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7efcde7e8668>
ERROR

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbuild & infraIssues related to build & infrastructure.good first issueGood first issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions