Skip to content

test#12400

Draft
Dreamsorcerer wants to merge 1 commit intomasterfrom
Dreamsorcerer-patch-5
Draft

test#12400
Dreamsorcerer wants to merge 1 commit intomasterfrom
Dreamsorcerer-patch-5

Conversation

@Dreamsorcerer
Copy link
Copy Markdown
Member

No description provided.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 20, 2026

❌ 2 Tests Failed:

Tests completed Failed Passed Skipped
4522 2 4520 40
View the top 1 failed test(s) by shortest run time
tests.test_web_functional::test_content_length_invalid[pyloop]
Stack Traces | 0.133s run time
aiohttp_client = <function aiohttp_client.<locals>.go at 0x7f725b199800>

    #x1B[0m#x1B[94masync#x1B[39;49;00m #x1B[94mdef#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[92mtest_content_length_invalid#x1B[39;49;00m(#x1B[90m#x1B[39;49;00m
        aiohttp_client: AiohttpClient,#x1B[90m#x1B[39;49;00m
    ) -> #x1B[94mNone#x1B[39;49;00m:#x1B[90m#x1B[39;49;00m
        #x1B[94masync#x1B[39;49;00m #x1B[94mdef#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[92mhandler#x1B[39;49;00m(request: web.Request) -> web.Response:#x1B[90m#x1B[39;49;00m
            body = #x1B[94mawait#x1B[39;49;00m request.read()#x1B[90m#x1B[39;49;00m
            #x1B[94mreturn#x1B[39;49;00m web.Response(body=body)#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        app = web.Application()#x1B[90m#x1B[39;49;00m
        app.router.add_post(#x1B[33m"#x1B[39;49;00m#x1B[33m/#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m, handler)#x1B[90m#x1B[39;49;00m
        client = #x1B[94mawait#x1B[39;49;00m aiohttp_client(app)#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
        resp = #x1B[94mawait#x1B[39;49;00m client.post(#x1B[33m"#x1B[39;49;00m#x1B[33m/#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m, data=#x1B[33mb#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m#x1B[33mhello world#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m, headers={CONTENT_LENGTH: #x1B[33m"#x1B[39;49;00m#x1B[33m11#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m})#x1B[90m#x1B[39;49;00m
        #x1B[94massert#x1B[39;49;00m resp.status == #x1B[94m200#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        #x1B[94massert#x1B[39;49;00m #x1B[94mawait#x1B[39;49;00m resp.read() == #x1B[33mb#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m#x1B[33mhello world#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        resp.release()#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
>       #x1B[94mwith#x1B[39;49;00m pytest.raises(#x1B[96mValueError#x1B[39;49;00m, match=#x1B[33m"#x1B[39;49;00m#x1B[33mInvalid Content-Length header#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m):#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[31mE       Failed: DID NOT RAISE <class 'ValueError'>#x1B[0m

aiohttp_client = <function aiohttp_client.<locals>.go at 0x7f725b199800>
app        = <Application 0x7f725c96af00>
client     = <aiohttp.test_utils.TestClient object at 0x7f725b1e38d0>
handler    = <function test_content_length_invalid.<locals>.handler at 0x7f725b19a700>
resp       = <ClientResponse(http://127.0.0.1:41815/) [200 OK]>
<CIMultiDictProxy('Content-Length': '11', 'Content-Type': 'application/octet-stream', 'Date': 'Mon, 20 Apr 2026 13:15:35 GMT', 'Server': 'Python/3.11 aiohttp/4.0.0a2.dev0')>


#x1B[1m#x1B[31mtests/test_web_functional.py#x1B[0m:215: Failed
View the full list of 1 ❄️ flaky test(s)
tests.autobahn.test_autobahn::test_client

Flake rate in main: 4.76% (Passed 20 times, Failed 1 times)

Stack Traces | 56.9s run time
report_dir = PosixPath('.../pytest-of-runner/pytest-0/reports0')
request = <FixtureRequest for <Function test_client>>

    #x1B[0m#x1B[37m@pytest#x1B[39;49;00m.mark.autobahn#x1B[90m#x1B[39;49;00m
    #x1B[94mdef#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[92mtest_client#x1B[39;49;00m(report_dir: Path, request: pytest.FixtureRequest) -> #x1B[94mNone#x1B[39;49;00m:#x1B[90m#x1B[39;49;00m
        client = subprocess.Popen(#x1B[90m#x1B[39;49;00m
            (#x1B[90m#x1B[39;49;00m
                #x1B[33m"#x1B[39;49;00m#x1B[33mwait-for-it#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m,#x1B[90m#x1B[39;49;00m
                #x1B[33m"#x1B[39;49;00m#x1B[33m-s#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m,#x1B[90m#x1B[39;49;00m
                #x1B[33m"#x1B[39;49;00m#x1B[33mlocalhost:9001#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m,#x1B[90m#x1B[39;49;00m
                #x1B[33m"#x1B[39;49;00m#x1B[33m--#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m,#x1B[90m#x1B[39;49;00m
                #x1B[33m"#x1B[39;49;00m#x1B[33mcoverage#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m,#x1B[90m#x1B[39;49;00m
                #x1B[33m"#x1B[39;49;00m#x1B[33mrun#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m,#x1B[90m#x1B[39;49;00m
                #x1B[33m"#x1B[39;49;00m#x1B[33m-a#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m,#x1B[90m#x1B[39;49;00m
                #x1B[33m"#x1B[39;49;00m#x1B[.../autobahn/client/client.py#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m,#x1B[90m#x1B[39;49;00m
            )#x1B[90m#x1B[39;49;00m
        )#x1B[90m#x1B[39;49;00m
        #x1B[94mtry#x1B[39;49;00m:#x1B[90m#x1B[39;49;00m
            autobahn_container = docker.run(#x1B[90m#x1B[39;49;00m
                detach=#x1B[94mTrue#x1B[39;49;00m,#x1B[90m#x1B[39;49;00m
                image=#x1B[33m"#x1B[39;49;00m#x1B[33mautobahn-testsuite#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m,#x1B[90m#x1B[39;49;00m
                name=#x1B[33m"#x1B[39;49;00m#x1B[33mautobahn#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m,#x1B[90m#x1B[39;49;00m
                publish=[(#x1B[94m9001#x1B[39;49;00m, #x1B[94m9001#x1B[39;49;00m)],#x1B[90m#x1B[39;49;00m
                remove=#x1B[94mTrue#x1B[39;49;00m,#x1B[90m#x1B[39;49;00m
                volumes=[#x1B[90m#x1B[39;49;00m
                    (request.path.parent / #x1B[33m"#x1B[39;49;00m#x1B[33mclient#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m, #x1B[33m"#x1B[39;49;00m#x1B[33m/config#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m),#x1B[90m#x1B[39;49;00m
                    (report_dir, #x1B[33m"#x1B[39;49;00m#x1B[33m/reports#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m),#x1B[90m#x1B[39;49;00m
                ],#x1B[90m#x1B[39;49;00m
            )#x1B[90m#x1B[39;49;00m
            client.wait()#x1B[90m#x1B[39;49;00m
        #x1B[94mfinally#x1B[39;49;00m:#x1B[90m#x1B[39;49;00m
            client.terminate()#x1B[90m#x1B[39;49;00m
            client.wait()#x1B[90m#x1B[39;49;00m
            autobahn_container.stop()#x1B[90m#x1B[39;49;00m
    #x1B[90m#x1B[39;49;00m
>       results = get_test_results(report_dir / #x1B[33m"#x1B[39;49;00m#x1B[33mclients#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m, #x1B[33m"#x1B[39;49;00m#x1B[33maiohttp#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m)#x1B[90m#x1B[39;49;00m
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^#x1B[90m#x1B[39;49;00m

autobahn_container = <[NoSuchContainer("The command executed was `.../usr/bin/docker container inspect a109a6955940e47b45537100a13476c25ea6472...955940e47b45537100a13476c25ea64725ccb4ce2cc2c3c4add78d2e62\n'\n") raised in repr()] Container object at 0x7f30d73f02f0>
client     = <Popen: returncode: 1 args: ('wait-for-it', '-s', 'localhost:9001', '--', 'c...>
report_dir = PosixPath('.../pytest-of-runner/pytest-0/reports0')
request    = <FixtureRequest for <Function test_client>>

#x1B[1m#x1B[31mtests/autobahn/test_autobahn.py#x1B[0m:103: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
#x1B[1m#x1B[31mtests/autobahn/test_autobahn.py#x1B[0m:48: in get_test_results
    #x1B[0mresults = json.loads((path / #x1B[33m"#x1B[39;49;00m#x1B[33mindex.json#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m).read_text())[name]#x1B[90m#x1B[39;49;00m
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^#x1B[90m#x1B[39;49;00m
        name       = 'aiohttp'
        path       = PosixPath('.../pytest-of-runner/pytest-0/reports0/clients')
#x1B[1m#x1B[.../hostedtoolcache/Python/3.14.4....../x64/lib/python3.14/pathlib/__init__.py#x1B[0m:787: in read_text
    #x1B[0m#x1B[94mwith#x1B[39;49;00m #x1B[96mself#x1B[39;49;00m.open(mode=#x1B[33m'#x1B[39;49;00m#x1B[33mr#x1B[39;49;00m#x1B[33m'#x1B[39;49;00m, encoding=encoding, errors=errors, newline=newline) #x1B[94mas#x1B[39;49;00m f:#x1B[90m#x1B[39;49;00m
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^#x1B[90m#x1B[39;49;00m
        encoding   = 'locale'
        errors     = None
        newline    = None
        self       = PosixPath('.../pytest-of-runner/pytest-0/reports0/clients/index.json')
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = PosixPath('.../pytest-of-runner/pytest-0/reports0/clients/index.json')
mode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None

    #x1B[0m#x1B[94mdef#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[92mopen#x1B[39;49;00m(#x1B[96mself#x1B[39;49;00m, mode=#x1B[33m'#x1B[39;49;00m#x1B[33mr#x1B[39;49;00m#x1B[33m'#x1B[39;49;00m, buffering=-#x1B[94m1#x1B[39;49;00m, encoding=#x1B[94mNone#x1B[39;49;00m,#x1B[90m#x1B[39;49;00m
             errors=#x1B[94mNone#x1B[39;49;00m, newline=#x1B[94mNone#x1B[39;49;00m):#x1B[90m#x1B[39;49;00m
    #x1B[90m    #x1B[39;49;00m#x1B[33m"""#x1B[39;49;00m
    #x1B[33m    Open the file pointed to by this path and return a file object, as#x1B[39;49;00m
    #x1B[33m    the built-in open() function does.#x1B[39;49;00m
    #x1B[33m    """#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        #x1B[94mif#x1B[39;49;00m #x1B[33m"#x1B[39;49;00m#x1B[33mb#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m #x1B[95mnot#x1B[39;49;00m #x1B[95min#x1B[39;49;00m mode:#x1B[90m#x1B[39;49;00m
            encoding = io.text_encoding(encoding)#x1B[90m#x1B[39;49;00m
>       #x1B[94mreturn#x1B[39;49;00m io.open(#x1B[96mself#x1B[39;49;00m, mode, buffering, encoding, errors, newline)#x1B[90m#x1B[39;49;00m
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[31mE       FileNotFoundError: [Errno 2] No such file or directory: '.../pytest-of-runner/pytest-0/reports0/clients/index.json'#x1B[0m

buffering  = -1
encoding   = 'locale'
errors     = None
mode       = 'r'
newline    = None
self       = PosixPath('.../pytest-of-runner/pytest-0/reports0/clients/index.json')

#x1B[1m#x1B[.../hostedtoolcache/Python/3.14.4....../x64/lib/python3.14/pathlib/__init__.py#x1B[0m:771: FileNotFoundError

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Apr 20, 2026

Merging this PR will not alter performance

✅ 67 untouched benchmarks
⏩ 4 skipped benchmarks1


Comparing Dreamsorcerer-patch-5 (8a8e3b9) with master (24ed3b3)2

Open in CodSpeed

Footnotes

  1. 4 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

  2. No successful run was found on master (3bfd03a) during the generation of this report, so 24ed3b3 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant