Skip to content

pytest: adjust threshold in test_20_11_crazy_pings to better pass on arm64 - #23298

Closed
vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:gha-boringssl-arm64-pytest-adjust
Closed

vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:gha-boringssl-arm64-pytest-adjust

Conversation

@vszakats

@vszakats vszakats commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

Seen with GHA/http3-linux BoringSSL since moving from x64 to arm64:

>       assert (rss1 * 1.2) > rss2, 'bad memory increase'
E       AssertionError: bad memory increase
E       assert (10.15625 * 1.2) > 12.2734375

../../tests/http/test_20_websockets.py:330: AssertionError

Ref: https://github.com/curl/curl/actions/runs/37599901852/job/112721784104?pr=23294#step:32:2093

>       assert (rss1 * 1.2) > rss2, 'bad memory increase'
E       AssertionError: bad memory increase
E       assert (10.16015625 * 1.2) > 12.390625

../../tests/http/test_20_websockets.py:330: AssertionError

Ref: https://github.com/curl/curl/actions/runs/37555944489/job/112582218973#step:32:2093

Follow-up to 82b289c #22574
Follow-up to 849317f #21911

…arm64

Seen with GHA/http3-linux BoringSSL since moving from x64 to arm64:
```
>       assert (rss1 * 1.2) > rss2, 'bad memory increase'
E       AssertionError: bad memory increase
E       assert (10.15625 * 1.2) > 12.2734375

../../tests/http/test_20_websockets.py:330: AssertionError
```
Ref: https://github.com/curl/curl/actions/runs/37599901852/job/112721784104?pr=23294#step:32:2093

```
>       assert (rss1 * 1.2) > rss2, 'bad memory increase'
E       AssertionError: bad memory increase
E       assert (10.16015625 * 1.2) > 12.390625

../../tests/http/test_20_websockets.py:330: AssertionError
```
Ref: https://github.com/curl/curl/actions/runs/37555944489/job/112582218973#step:32:2093
@vszakats
vszakats requested a review from icing October 7, 2026 09:40
@vszakats vszakats closed this in ffc1898 Oct 7, 2026
@vszakats
vszakats deleted the gha-boringssl-arm64-pytest-adjust branch October 7, 2026 13:55
vszakats added a commit to vszakats/curl that referenced this pull request Oct 18, 2026
…arm64 (cont.)

```
>       assert (rss1 * 1.23) > rss2, 'bad memory increase'
E       AssertionError: bad memory increase
E       assert (10.17578125 * 1.23) > 12.578125

../../tests/http/test_20_websockets.py:330: AssertionError
```
Ref: https://github.com/curl/curl/actions/runs/39084177900/job/117547254207?pr=23465#step:32:2151

Follow-up to ffc1898 curl#23298
vszakats added a commit that referenced this pull request Oct 18, 2026
…arm64 (cont.)

To mitigate flaky test failures further, as seen in CI.

```
>       assert (rss1 * 1.23) > rss2, 'bad memory increase'
E       AssertionError: bad memory increase
E       assert (10.17578125 * 1.23) > 12.578125

../../tests/http/test_20_websockets.py:330: AssertionError
```
Ref: https://github.com/curl/curl/actions/runs/39084177900/job/117547254207?pr=23465#step:32:2151

Follow-up to ffc1898 #23298

Closes #23468
vszakats added a commit that referenced this pull request Oct 21, 2026
…arm64 (cont. 2)

To mitigate flaky test failures even further, as seen in CI.

```
E       AssertionError: bad memory increase
E       assert (10.171875 * 1.25) > 12.78125

../../tests/http/test_20_websockets.py:330: AssertionError
```
Ref: https://github.com/curl/curl/actions/runs/39605314251/job/119240169258#step:32:2152

Follow-up to 893d306 #23468 Follow-up to ffc1898 #23298

Closes #23468

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

Development

Successfully merging this pull request may close these issues.

1 participant