Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
Commitd80cbdd
Fix ThreadedVSOCKSocketStreamTest: if get_cid() returns the hostaddress or the "any" address, use the local communication address(loopback): VMADDR_CID_LOCAL.On Linux 6.9, apparently, the /dev/vsock device is now available butget_cid() returns VMADDR_CID_ANY (-1).(cherry picked from commit45db419)(cherry picked from commite94dbe4)(cherry picked from commitc750061)(cherry picked from commitcbfe302)---Restore the skipUnless removed byGH-119465.This test can only pass on virtual machines, not actual machines.Actual machines see:``` self.cli.connect((cid, VSOCKPORT)) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^OSError: [Errno 19] No such device```Reproduced on (Linux) Ubuntu 24.04.1 running 6.8.0-52-generic.(cherry picked from commit2bd9f9b)Co-authored-by: Victor Stinner <vstinner@python.org>Co-authored-by: Gregory P. Smith <greg@krypto.org>Co-authored-by: Petr Viktorin <encukou@gmail.com>
1 parent8a417ed commitd80cbdd
1 file changed
+12
-5
lines changedLines changed: 12 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
| 42 | + | |
42 | 43 |
| |
43 | 44 |
| |
44 | 45 |
| |
| |||
122 | 123 |
| |
123 | 124 |
| |
124 | 125 |
| |
125 |
| - | |
126 |
| - | |
| 126 | + | |
| 127 | + | |
127 | 128 |
| |
128 | 129 |
| |
129 | 130 |
| |
| |||
485 | 486 |
| |
486 | 487 |
| |
487 | 488 |
| |
488 |
| - | |
489 |
| - | |
| 489 | + | |
| 490 | + | |
490 | 491 |
| |
491 | 492 |
| |
492 | 493 |
| |
| |||
507 | 508 |
| |
508 | 509 |
| |
509 | 510 |
| |
| 511 | + | |
| 512 | + | |
| 513 | + | |
510 | 514 |
| |
511 | 515 |
| |
512 | 516 |
| |
513 |
| - | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
514 | 521 |
| |
515 | 522 |
| |
516 | 523 |
| |
|
0 commit comments
Comments
(0)