Skip to content

Conversation

@dulinriley
Copy link
Contributor

@dulinriley dulinriley commented Nov 21, 2025

Summary:
Python tests on github failing with:

pyo3_runtime.PanicException: called `Result::unwrap()` on an `Err` value:
Server(Listen(Tcp([::1]:0),
Os { code: 99, kind: AddrNotAvailable, message: "Cannot assign requested address" }))

It is caused by the default transport for tests changing from unix -> tcp.
It's not clear what caused this change, but probably a new test was added that changed
the pytest-split groups.

Make sure test_config.py resets to the default state when it is done.

Differential Revision: D87664159

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 21, 2025
@meta-codesync
Copy link

meta-codesync bot commented Nov 21, 2025

@dulinriley has exported this pull request. If you are a Meta employee, you can view the originating Diff in D87664159.

dulinriley added a commit to dulinriley/monarch that referenced this pull request Nov 21, 2025
Summary:

Python tests on github failing with:
```
pyo3_runtime.PanicException: called `Result::unwrap()` on an `Err` value:
Server(Listen(Tcp([::1]:0),
Os { code: 99, kind: AddrNotAvailable, message: "Cannot assign requested address" }))
```
This is coming from a previous change,
meta-pytorch@e9e2030,
which re-enabled metrics which were accidentally disabled for a while.

Turn them back off for Github CI in the meantime.

Reviewed By: rusch95

Differential Revision: D87664159
dulinriley added a commit to dulinriley/monarch that referenced this pull request Nov 21, 2025
Summary:

Python tests on github failing with:
```
pyo3_runtime.PanicException: called `Result::unwrap()` on an `Err` value:
Server(Listen(Tcp([::1]:0),
Os { code: 99, kind: AddrNotAvailable, message: "Cannot assign requested address" }))
```
This is coming from a previous change,
meta-pytorch@e9e2030,
which re-enabled metrics which were accidentally disabled for a while.

Turn them back off for Github CI in the meantime.

Reviewed By: rusch95

Differential Revision: D87664159
dulinriley added a commit to dulinriley/monarch that referenced this pull request Nov 22, 2025
Summary:

Python tests on github failing with:
```
pyo3_runtime.PanicException: called `Result::unwrap()` on an `Err` value:
Server(Listen(Tcp([::1]:0),
Os { code: 99, kind: AddrNotAvailable, message: "Cannot assign requested address" }))
```
It is caused by the default transport for tests changing from unix -> tcp.
It's not clear what caused this change, but probably a new test was added that changed
the pytest-split groups.

Make sure test_config.py resets to the default state when it is done.

Differential Revision: D87664159
@dulinriley dulinriley changed the title Disable OTEL metrics in Github CI Fix leftover configuration from test_config.py Nov 22, 2025
dulinriley added a commit to dulinriley/monarch that referenced this pull request Nov 24, 2025
Summary:

Python tests on github failing with:
```
pyo3_runtime.PanicException: called `Result::unwrap()` on an `Err` value:
Server(Listen(Tcp([::1]:0),
Os { code: 99, kind: AddrNotAvailable, message: "Cannot assign requested address" }))
```
It is caused by the default transport for tests changing from unix -> tcp.
It's not clear what caused this change, but probably a new test was added that changed
the pytest-split groups.

Make sure test_config.py resets to the default state when it is done.

Reviewed By: rusch95

Differential Revision: D87664159
dulinriley added a commit to dulinriley/monarch that referenced this pull request Nov 24, 2025
Summary:

Python tests on github failing with:
```
pyo3_runtime.PanicException: called `Result::unwrap()` on an `Err` value:
Server(Listen(Tcp([::1]:0),
Os { code: 99, kind: AddrNotAvailable, message: "Cannot assign requested address" }))
```
It is caused by the default transport for tests changing from unix -> tcp.
It's not clear what caused this change, but probably a new test was added that changed
the pytest-split groups.

Make sure test_config.py resets to the default state when it is done.

Reviewed By: rusch95

Differential Revision: D87664159
dulinriley added a commit to dulinriley/monarch that referenced this pull request Nov 24, 2025
Summary:

Python tests on github failing with:
```
pyo3_runtime.PanicException: called `Result::unwrap()` on an `Err` value:
Server(Listen(Tcp([::1]:0),
Os { code: 99, kind: AddrNotAvailable, message: "Cannot assign requested address" }))
```
It is caused by the default transport for tests changing from unix -> tcp.
It's not clear what caused this change, but probably a new test was added that changed
the pytest-split groups.

Make sure test_config.py resets to the default state when it is done.

Reviewed By: rusch95

Differential Revision: D87664159
Summary:

Python tests on github failing with:
```
pyo3_runtime.PanicException: called `Result::unwrap()` on an `Err` value:
Server(Listen(Tcp([::1]:0),
Os { code: 99, kind: AddrNotAvailable, message: "Cannot assign requested address" }))
```
It is caused by the default transport for tests changing from unix -> tcp.
It's not clear what caused this change, but probably a new test was added that changed
the pytest-split groups.

Make sure test_config.py resets to the default state when it is done.

Reviewed By: rusch95, shayne-fletcher

Differential Revision: D87664159
@meta-codesync
Copy link

meta-codesync bot commented Nov 24, 2025

This pull request has been merged in 6b22037.

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

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants