==>(B Building on incineroar(B ==>(B Checking for remote environment...(B ==>(B Syncing package to remote host...(B sending incremental file list created directory packages/python-urllib3-future ./ .SRCINFO 1,435B 100% 0B/s 0:00:00 1,435B 100% 0B/s 0:00:00 (xfr#1, to-chk=9/11) .nvchecker.toml 64B 100% 64.0KB/s 0:00:00 64B 100% 64.0KB/s 0:00:00 (xfr#2, to-chk=8/11) LICENSE 646B 100% 646KB/s 0:00:00 646B 100% 646KB/s 0:00:00 (xfr#3, to-chk=7/11) PKGBUILD 2,027B 100% 2.03MB/s 0:00:00 2,027B 100% 2.03MB/s 0:00:00 (xfr#4, to-chk=6/11) REUSE.toml 588B 100% 588KB/s 0:00:00 588B 100% 588KB/s 0:00:00 (xfr#5, to-chk=5/11) python-socks-v3.patch 8,068B 100% 8.07MB/s 0:00:00 8,068B 100% 8.07MB/s 0:00:00 (xfr#6, to-chk=4/11) python-urllib3-future-2.25.905-1.log 896B 100% 896KB/s 0:00:00 896B 100% 896KB/s 0:00:00 (xfr#7, to-chk=3/11) LICENSES/ LICENSES/0BSD.txt -> ../LICENSE LICENSES/MIT.txt 1,078B 100% 1.08MB/s 0:00:00 1,078B 100% 1.08MB/s 0:00:00 (xfr#8, to-chk=0/11) sent 6,216 bytes received 239 bytes 2,582.00 bytes/sec total size is 14,125 speedup is 2.19 ==>(B Running pkgctl build --arch riscv64 on remote host...(B ==> WARNING:(B invalid architecture: riscv64(B ==>(B Updating pacman database cache(B [?25l:: Synchronizing package databases... core downloading... extra downloading... multilib downloading... [?25h==>(B Building python-urllib3-future(B  ->(B repo: extra(B  ->(B arch: riscv64(B  ->(B worker: felix-4(B ==>(B Building python-urllib3-future for [extra] (riscv64)(B ]3008;start=6cdea7f5eb0d4d32bbb85a9c3eaa4ca4;user=felix;hostname=incineroar.felixc.at;machineid=b8179be86cd84316830be5a3f0032261;bootid=d1559f7c562443f4b7582cb4e180059c;pid=585264;pidfdid=577087;comm=sudo;targetuser=root;type=session\Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file. ]3008;start=d700eb23901347fe94af645d8341797f;user=root;hostname=incineroar.felixc.at;machineid=b8179be86cd84316830be5a3f0032261;bootid=d1559f7c562443f4b7582cb4e180059c;pid=585308;pidfdid=588263;comm=systemd-nspawn;container=arch-nspawn-585308;type=container\]11;?\]2;🔵 Container arch-nspawn-585308 on incineroar.felixc.at\[?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h[!p]104\[?7h]3008;end=d700eb23901347fe94af645d8341797f\==>(B Building in chroot for [extra] (riscv64)...(B ==>(B Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix-4]...(Bdone(B ]3008;start=0a91ed1abb5e40fabaa105ac09861a6f;user=root;hostname=incineroar.felixc.at;machineid=b8179be86cd84316830be5a3f0032261;bootid=d1559f7c562443f4b7582cb4e180059c;pid=585611;pidfdid=583737;comm=sudo;targetuser=felix;type=session\==>(B Making package: python-urllib3-future 2.25.905-1 (Sat Nov 7 01:41:56 2026)(B ==>(B Retrieving sources...(B  ->(B Cloning urllib3.future git repo...(B Cloning into bare repository '/var/cache/pacman/src/urllib3.future'... remote: Enumerating objects: 33659, done. remote: Counting objects: 0% (1/297) remote: Counting objects: 1% (3/297) remote: Counting objects: 2% (6/297) remote: Counting objects: 3% (9/297) remote: Counting objects: 4% (12/297) remote: Counting objects: 5% (15/297) remote: Counting objects: 6% (18/297) remote: Counting objects: 7% (21/297) remote: Counting objects: 8% (24/297) remote: Counting objects: 9% (27/297) remote: Counting objects: 10% (30/297) remote: Counting objects: 11% (33/297) remote: Counting objects: 12% (36/297) remote: Counting objects: 13% (39/297) remote: Counting objects: 14% (42/297) remote: Counting objects: 15% (45/297) remote: Counting objects: 16% (48/297) remote: Counting objects: 17% (51/297) remote: Counting objects: 18% (54/297) remote: Counting objects: 19% (57/297) remote: Counting objects: 20% (60/297) remote: Counting objects: 21% (63/297) remote: Counting objects: 22% (66/297) remote: Counting objects: 23% (69/297) remote: Counting objects: 24% (72/297) remote: Counting objects: 25% (75/297) remote: Counting objects: 26% (78/297) remote: Counting objects: 27% (81/297) remote: Counting objects: 28% (84/297) remote: Counting objects: 29% (87/297) remote: Counting objects: 30% (90/297) remote: Counting objects: 31% (93/297) remote: Counting objects: 32% (96/297) remote: Counting objects: 33% (99/297) remote: Counting objects: 34% (101/297) remote: Counting objects: 35% (104/297) remote: Counting objects: 36% (107/297) remote: Counting objects: 37% (110/297) remote: Counting objects: 38% (113/297) remote: Counting objects: 39% (116/297) remote: Counting objects: 40% (119/297) remote: Counting objects: 41% (122/297) remote: Counting objects: 42% (125/297) remote: Counting objects: 43% (128/297) remote: Counting objects: 44% (131/297) remote: Counting objects: 45% (134/297) remote: Counting objects: 46% (137/297) remote: Counting objects: 47% (140/297) remote: Counting objects: 48% (143/297) remote: Counting objects: 49% (146/297) remote: Counting objects: 50% (149/297) remote: Counting objects: 51% (152/297) remote: Counting objects: 52% (155/297) remote: Counting objects: 53% (158/297) remote: Counting objects: 54% (161/297) remote: Counting objects: 55% (164/297) remote: Counting objects: 56% (167/297) remote: Counting objects: 57% (170/297) remote: Counting objects: 58% (173/297) remote: Counting objects: 59% (176/297) remote: Counting objects: 60% (179/297) remote: Counting objects: 61% (182/297) remote: Counting objects: 62% (185/297) remote: Counting objects: 63% (188/297) remote: Counting objects: 64% (191/297) remote: Counting objects: 65% (194/297) remote: Counting objects: 66% (197/297) remote: Counting objects: 67% (199/297) remote: Counting objects: 68% (202/297) remote: Counting objects: 69% (205/297) remote: Counting objects: 70% (208/297) remote: Counting objects: 71% (211/297) remote: Counting objects: 72% (214/297) remote: Counting objects: 73% (217/297) remote: Counting objects: 74% (220/297) remote: Counting objects: 75% (223/297) remote: Counting objects: 76% (226/297) remote: Counting objects: 77% (229/297) remote: Counting objects: 78% (232/297) remote: Counting objects: 79% (235/297) remote: Counting objects: 80% (238/297) remote: Counting objects: 81% (241/297) remote: Counting objects: 82% (244/297) remote: Counting objects: 83% (247/297) remote: Counting objects: 84% (250/297) remote: Counting objects: 85% (253/297) remote: Counting objects: 86% (256/297) remote: Counting objects: 87% (259/297) remote: Counting objects: 88% (262/297) remote: Counting objects: 89% (265/297) remote: Counting objects: 90% (268/297) remote: Counting objects: 91% (271/297) remote: Counting objects: 92% (274/297) remote: Counting objects: 93% (277/297) remote: Counting objects: 94% (280/297) remote: Counting objects: 95% (283/297) remote: Counting objects: 96% (286/297) remote: Counting objects: 97% (289/297) remote: Counting objects: 98% (292/297) remote: Counting objects: 99% (295/297) remote: Counting objects: 100% (297/297) remote: Counting objects: 100% (297/297), done. remote: Compressing objects: 3% (1/28) remote: Compressing objects: 7% (2/28) remote: Compressing objects: 10% (3/28) remote: Compressing objects: 14% (4/28) remote: Compressing objects: 17% (5/28) remote: Compressing objects: 21% (6/28) remote: Compressing objects: 25% (7/28) remote: Compressing objects: 28% (8/28) remote: Compressing objects: 32% (9/28) remote: Compressing objects: 35% (10/28) remote: Compressing objects: 39% (11/28) remote: Compressing objects: 42% (12/28) remote: Compressing objects: 46% (13/28) remote: Compressing objects: 50% (14/28) remote: Compressing objects: 53% (15/28) remote: Compressing objects: 57% (16/28) remote: Compressing objects: 60% (17/28) remote: Compressing objects: 64% (18/28) remote: Compressing objects: 67% (19/28) remote: Compressing objects: 71% (20/28) remote: Compressing objects: 75% (21/28) remote: Compressing objects: 78% (22/28) remote: Compressing objects: 82% (23/28) remote: Compressing objects: 85% (24/28) remote: Compressing objects: 89% (25/28) remote: Compressing objects: 92% (26/28) remote: Compressing objects: 96% (27/28) remote: Compressing objects: 100% (28/28) remote: Compressing objects: 100% (28/28), done. Receiving objects: 0% (1/33659) Receiving objects: 1% (337/33659) Receiving objects: 2% (674/33659) Receiving objects: 3% (1010/33659) Receiving objects: 4% (1347/33659) Receiving objects: 5% (1683/33659), 704.00 KiB | 1.25 MiB/s Receiving objects: 6% (2020/33659), 704.00 KiB | 1.25 MiB/s Receiving objects: 7% (2357/33659), 704.00 KiB | 1.25 MiB/s Receiving objects: 8% (2693/33659), 704.00 KiB | 1.25 MiB/s Receiving objects: 9% (3030/33659), 704.00 KiB | 1.25 MiB/s Receiving objects: 10% (3366/33659), 704.00 KiB | 1.25 MiB/s Receiving objects: 11% (3703/33659), 704.00 KiB | 1.25 MiB/s Receiving objects: 12% (4040/33659), 704.00 KiB | 1.25 MiB/s Receiving objects: 12% (4159/33659), 704.00 KiB | 1.25 MiB/s Receiving objects: 13% (4376/33659), 704.00 KiB | 1.25 MiB/s Receiving objects: 14% (4713/33659), 704.00 KiB | 1.25 MiB/s Receiving objects: 15% (5049/33659), 1.98 MiB | 1.89 MiB/s Receiving objects: 16% (5386/33659), 1.98 MiB | 1.89 MiB/s Receiving objects: 17% (5723/33659), 1.98 MiB | 1.89 MiB/s Receiving objects: 18% (6059/33659), 1.98 MiB | 1.89 MiB/s Receiving objects: 19% (6396/33659), 1.98 MiB | 1.89 MiB/s Receiving objects: 20% (6732/33659), 1.98 MiB | 1.89 MiB/s Receiving objects: 21% (7069/33659), 1.98 MiB | 1.89 MiB/s Receiving objects: 22% (7405/33659), 1.98 MiB | 1.89 MiB/s Receiving objects: 23% (7742/33659), 1.98 MiB | 1.89 MiB/s Receiving objects: 24% (8079/33659), 1.98 MiB | 1.89 MiB/s Receiving objects: 25% (8415/33659), 1.98 MiB | 1.89 MiB/s Receiving objects: 26% (8752/33659), 1.98 MiB | 1.89 MiB/s Receiving objects: 27% (9088/33659), 1.98 MiB | 1.89 MiB/s Receiving objects: 28% (9425/33659), 1.98 MiB | 1.89 MiB/s Receiving objects: 29% (9762/33659), 1.98 MiB | 1.89 MiB/s Receiving objects: 30% (10098/33659), 1.98 MiB | 1.89 MiB/s Receiving objects: 31% (10435/33659), 1.98 MiB | 1.89 MiB/s Receiving objects: 32% (10771/33659), 1.98 MiB | 1.89 MiB/s Receiving objects: 33% (11108/33659), 1.98 MiB | 1.89 MiB/s Receiving objects: 34% (11445/33659), 1.98 MiB | 1.89 MiB/s Receiving objects: 35% (11781/33659), 1.98 MiB | 1.89 MiB/s Receiving objects: 36% (12118/33659), 1.98 MiB | 1.89 MiB/s Receiving objects: 37% (12454/33659), 1.98 MiB | 1.89 MiB/s Receiving objects: 38% (12791/33659), 1.98 MiB | 1.89 MiB/s Receiving objects: 39% (13128/33659), 1.98 MiB | 1.89 MiB/s Receiving objects: 40% (13464/33659), 5.05 MiB | 3.28 MiB/s Receiving objects: 41% (13801/33659), 5.05 MiB | 3.28 MiB/s Receiving objects: 42% (14137/33659), 5.05 MiB | 3.28 MiB/s Receiving objects: 43% (14474/33659), 5.05 MiB | 3.28 MiB/s Receiving objects: 44% (14810/33659), 5.05 MiB | 3.28 MiB/s Receiving objects: 45% (15147/33659), 5.05 MiB | 3.28 MiB/s Receiving objects: 46% (15484/33659), 5.05 MiB | 3.28 MiB/s Receiving objects: 47% (15820/33659), 5.05 MiB | 3.28 MiB/s Receiving objects: 48% (16157/33659), 5.05 MiB | 3.28 MiB/s Receiving objects: 49% (16493/33659), 5.05 MiB | 3.28 MiB/s Receiving objects: 50% (16830/33659), 5.05 MiB | 3.28 MiB/s Receiving objects: 51% (17167/33659), 5.05 MiB | 3.28 MiB/s Receiving objects: 52% (17503/33659), 5.05 MiB | 3.28 MiB/s Receiving objects: 53% (17840/33659), 5.05 MiB | 3.28 MiB/s Receiving objects: 54% (18176/33659), 5.05 MiB | 3.28 MiB/s Receiving objects: 55% (18513/33659), 5.05 MiB | 3.28 MiB/s Receiving objects: 56% (18850/33659), 5.05 MiB | 3.28 MiB/s Receiving objects: 57% (19186/33659), 5.05 MiB | 3.28 MiB/s Receiving objects: 58% (19523/33659), 5.05 MiB | 3.28 MiB/s Receiving objects: 59% (19859/33659), 5.05 MiB | 3.28 MiB/s Receiving objects: 60% (20196/33659), 5.05 MiB | 3.28 MiB/s Receiving objects: 61% (20532/33659), 5.05 MiB | 3.28 MiB/s Receiving objects: 62% (20869/33659), 5.05 MiB | 3.28 MiB/s Receiving objects: 63% (21206/33659), 5.05 MiB | 3.28 MiB/s Receiving objects: 63% (21528/33659), 5.05 MiB | 3.28 MiB/s Receiving objects: 64% (21542/33659), 5.05 MiB | 3.28 MiB/s Receiving objects: 65% (21879/33659), 5.05 MiB | 3.28 MiB/s Receiving objects: 66% (22215/33659), 5.05 MiB | 3.28 MiB/s Receiving objects: 67% (22552/33659), 5.05 MiB | 3.28 MiB/s Receiving objects: 68% (22889/33659), 7.52 MiB | 3.68 MiB/s Receiving objects: 69% (23225/33659), 7.52 MiB | 3.68 MiB/s Receiving objects: 70% (23562/33659), 7.52 MiB | 3.68 MiB/s Receiving objects: 71% (23898/33659), 7.52 MiB | 3.68 MiB/s Receiving objects: 72% (24235/33659), 7.52 MiB | 3.68 MiB/s Receiving objects: 73% (24572/33659), 7.52 MiB | 3.68 MiB/s Receiving objects: 74% (24908/33659), 7.52 MiB | 3.68 MiB/s Receiving objects: 75% (25245/33659), 7.52 MiB | 3.68 MiB/s Receiving objects: 76% (25581/33659), 7.52 MiB | 3.68 MiB/s Receiving objects: 77% (25918/33659), 7.52 MiB | 3.68 MiB/s Receiving objects: 78% (26255/33659), 7.52 MiB | 3.68 MiB/s Receiving objects: 79% (26591/33659), 7.52 MiB | 3.68 MiB/s Receiving objects: 80% (26928/33659), 7.52 MiB | 3.68 MiB/s Receiving objects: 81% (27264/33659), 7.52 MiB | 3.68 MiB/s Receiving objects: 82% (27601/33659), 7.52 MiB | 3.68 MiB/s Receiving objects: 83% (27937/33659), 10.46 MiB | 4.10 MiB/s Receiving objects: 84% (28274/33659), 10.46 MiB | 4.10 MiB/s Receiving objects: 85% (28611/33659), 10.46 MiB | 4.10 MiB/s Receiving objects: 86% (28947/33659), 10.46 MiB | 4.10 MiB/s Receiving objects: 87% (29284/33659), 10.46 MiB | 4.10 MiB/s Receiving objects: 88% (29620/33659), 10.46 MiB | 4.10 MiB/s Receiving objects: 89% (29957/33659), 10.46 MiB | 4.10 MiB/s Receiving objects: 90% (30294/33659), 10.46 MiB | 4.10 MiB/s Receiving objects: 91% (30630/33659), 10.46 MiB | 4.10 MiB/s Receiving objects: 92% (30967/33659), 10.46 MiB | 4.10 MiB/s Receiving objects: 93% (31303/33659), 10.46 MiB | 4.10 MiB/s Receiving objects: 94% (31640/33659), 10.46 MiB | 4.10 MiB/s Receiving objects: 95% (31977/33659), 10.46 MiB | 4.10 MiB/s Receiving objects: 96% (32313/33659), 10.46 MiB | 4.10 MiB/s Receiving objects: 96% (32432/33659), 10.46 MiB | 4.10 MiB/s Receiving objects: 97% (32650/33659), 10.46 MiB | 4.10 MiB/s Receiving objects: 98% (32986/33659), 12.71 MiB | 4.16 MiB/s Receiving objects: 99% (33323/33659), 12.71 MiB | 4.16 MiB/s remote: Total 33659 (delta 278), reused 269 (delta 269), pack-reused 33362 (from 3) Receiving objects: 100% (33659/33659), 12.71 MiB | 4.16 MiB/s Receiving objects: 100% (33659/33659), 12.96 MiB | 3.94 MiB/s, done. Resolving deltas: 0% (0/23809) Resolving deltas: 1% (239/23809) Resolving deltas: 2% (477/23809) Resolving deltas: 3% (715/23809) Resolving deltas: 4% (953/23809) Resolving deltas: 5% (1191/23809) Resolving deltas: 6% (1429/23809) Resolving deltas: 7% (1667/23809) Resolving deltas: 8% (1905/23809) Resolving deltas: 9% (2143/23809) Resolving deltas: 10% (2381/23809) Resolving deltas: 11% (2619/23809) Resolving deltas: 12% (2858/23809) Resolving deltas: 13% (3096/23809) Resolving deltas: 13% (3276/23809) Resolving deltas: 14% (3334/23809) Resolving deltas: 15% (3572/23809) Resolving deltas: 16% (3810/23809) Resolving deltas: 17% (4048/23809) Resolving deltas: 18% (4286/23809) Resolving deltas: 19% (4524/23809) Resolving deltas: 20% (4762/23809) Resolving deltas: 21% (5000/23809) Resolving deltas: 22% (5238/23809) Resolving deltas: 23% (5477/23809) Resolving deltas: 24% (5715/23809) Resolving deltas: 25% (5953/23809) Resolving deltas: 26% (6191/23809) Resolving deltas: 27% (6429/23809) Resolving deltas: 28% (6667/23809) Resolving deltas: 29% (6905/23809) Resolving deltas: 30% (7143/23809) Resolving deltas: 31% (7381/23809) Resolving deltas: 32% (7619/23809) Resolving deltas: 32% (7823/23809) Resolving deltas: 33% (7857/23809) Resolving deltas: 34% (8096/23809) Resolving deltas: 35% (8334/23809) Resolving deltas: 36% (8572/23809) Resolving deltas: 37% (8810/23809) Resolving deltas: 38% (9048/23809) Resolving deltas: 39% (9286/23809) Resolving deltas: 40% (9524/23809) Resolving deltas: 41% (9762/23809) Resolving deltas: 42% (10000/23809) Resolving deltas: 43% (10238/23809) Resolving deltas: 44% (10476/23809) Resolving deltas: 45% (10715/23809) Resolving deltas: 46% (10953/23809) Resolving deltas: 47% (11191/23809) Resolving deltas: 48% (11429/23809) Resolving deltas: 49% (11667/23809) Resolving deltas: 50% (11905/23809) Resolving deltas: 51% (12143/23809) Resolving deltas: 52% (12381/23809) Resolving deltas: 53% (12619/23809) Resolving deltas: 54% (12857/23809) Resolving deltas: 55% (13095/23809) Resolving deltas: 56% (13334/23809) Resolving deltas: 57% (13572/23809) Resolving deltas: 58% (13810/23809) Resolving deltas: 59% (14048/23809) Resolving deltas: 60% (14286/23809) Resolving deltas: 61% (14524/23809) Resolving deltas: 62% (14762/23809) Resolving deltas: 63% (15000/23809) Resolving deltas: 64% (15238/23809) Resolving deltas: 65% (15476/23809) Resolving deltas: 66% (15714/23809) Resolving deltas: 67% (15953/23809) Resolving deltas: 68% (16191/23809) Resolving deltas: 69% (16429/23809) Resolving deltas: 70% (16667/23809) Resolving deltas: 70% (16761/23809) Resolving deltas: 71% (16905/23809) Resolving deltas: 72% (17143/23809) Resolving deltas: 73% (17381/23809) Resolving deltas: 74% (17619/23809) Resolving deltas: 75% (17857/23809) Resolving deltas: 76% (18095/23809) Resolving deltas: 77% (18333/23809) Resolving deltas: 78% (18572/23809) Resolving deltas: 79% (18810/23809) Resolving deltas: 80% (19048/23809) Resolving deltas: 81% (19286/23809) Resolving deltas: 82% (19524/23809) Resolving deltas: 83% (19762/23809) Resolving deltas: 84% (20000/23809) Resolving deltas: 85% (20238/23809) Resolving deltas: 85% (20376/23809) Resolving deltas: 86% (20476/23809) Resolving deltas: 87% (20714/23809) Resolving deltas: 88% (20952/23809) Resolving deltas: 89% (21191/23809) Resolving deltas: 90% (21429/23809) Resolving deltas: 91% (21667/23809) Resolving deltas: 92% (21905/23809) Resolving deltas: 93% (22143/23809) Resolving deltas: 94% (22381/23809) Resolving deltas: 95% (22619/23809) Resolving deltas: 96% (22857/23809) Resolving deltas: 97% (23095/23809) Resolving deltas: 98% (23333/23809) Resolving deltas: 99% (23571/23809) Resolving deltas: 100% (23809/23809) Resolving deltas: 100% (23809/23809), done.  ->(B Found python-socks-v3.patch(B ==>(B Validating source files with sha256sums...(B urllib3.future ... Passed python-socks-v3.patch ... Passed ]3008;end=0a91ed1abb5e40fabaa105ac09861a6f\Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file. ]3008;start=7a50ae30523742c1a8c3a65351b9b381;user=root;hostname=incineroar.felixc.at;machineid=b8179be86cd84316830be5a3f0032261;bootid=d1559f7c562443f4b7582cb4e180059c;pid=586583;pidfdid=584023;comm=systemd-nspawn;container=makechrootpkg-python-urllib3-future.build.585285;type=container\]11;?\]2;🔵 Container makechrootpkg-python-urllib3-future.build.585285 on incineroar.felixc.at\]3008;start=f9e56b068abc41a7ae3ff07891af66fe;user=root;hostname=makechrootpkg-python-urllib3-future.build.585285;machineid=35cc9668bf234be48b9ada4229ce1342;bootid=9eda20804f824d6ea93030b5a3742e79;pid=14;pidfdid=581519;comm=sudo;targetuser=builduser;type=session\==>(B Making package: python-urllib3-future 2.25.905-1 (Fri Nov 6 17:43:07 2026)(B ==>(B Checking runtime dependencies...(B ==>(B Installing missing dependencies...(B ]3008;start=86939df1f10e42a4980a2d6958ea9d4d;user=builduser;hostname=makechrootpkg-python-urllib3-future.build.585285;machineid=35cc9668bf234be48b9ada4229ce1342;bootid=9eda20804f824d6ea93030b5a3742e79;pid=888;pidfdid=590041;comm=sudo;targetuser=root;type=session\[?25lresolving dependencies... looking for conflicting packages... Package (3) New Version Net Change Download Size extra/python-h11 0.16.0-2 0.29 MiB extra/python-jh2 5.0.15-1 1.96 MiB 0.40 MiB extra/python-qh3 2.1.0-1 5.57 MiB 1.83 MiB Total Download Size: 2.23 MiB Total Installed Size: 7.82 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-qh3-2.1.0-1-riscv64 downloading... python-jh2-5.0.15-1-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-h11... installing python-jh2... installing python-qh3... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... [?25h]3008;end=86939df1f10e42a4980a2d6958ea9d4d\==>(B Checking buildtime dependencies...(B ==>(B Installing missing dependencies...(B ]3008;start=e67b5ebe7d4a41ebab04e6ac72c17c83;user=builduser;hostname=makechrootpkg-python-urllib3-future.build.585285;machineid=35cc9668bf234be48b9ada4229ce1342;bootid=9eda20804f824d6ea93030b5a3742e79;pid=939;pidfdid=584254;comm=sudo;targetuser=root;type=session\[?25lresolving dependencies... looking for conflicting packages... Package (36) New Version Net Change Download Size extra/perl-error 0.17031-1 0.04 MiB extra/perl-mailtools 2.22-3 0.10 MiB extra/perl-timedate 2.35-1 0.15 MiB extra/python-caio 0.12.10-1 0.35 MiB 0.07 MiB extra/python-cffi 2.1.1-1 1.41 MiB extra/python-editables 0.6-1 0.04 MiB extra/python-iniconfig 2.3.0-1 0.07 MiB extra/python-packaging 26.3-1 1.58 MiB extra/python-pathspec 1.1.1-1 0.47 MiB extra/python-pluggy 1.7.0-1 0.28 MiB extra/python-pycparser 3.12-1 0.90 MiB extra/python-pygments 2.21.0-1 15.59 MiB extra/python-pyopenssl 26.4.0-1 0.72 MiB extra/python-pyproject-hooks 1.3.3-1 0.11 MiB extra/python-tomlkit 0.15.2-1 0.85 MiB extra/python-trove-classifiers 2026.9.21.13-1 0.16 MiB extra/zlib-ng 2.3.3-1 0.23 MiB extra/git 2.56.0-1 32.07 MiB extra/python-aiofile 3.12.3-1 0.18 MiB 0.04 MiB core/python-brotli 1.2.1-1 0.88 MiB 0.39 MiB extra/python-build 1.6.1-1 0.33 MiB extra/python-coverage 7.17.2-1 2.31 MiB 0.41 MiB extra/python-cryptography 50.0.2-1 6.50 MiB extra/python-hatchling 1.32.4-1 1.11 MiB extra/python-idna 3.20-1 0.68 MiB extra/python-installer 1.1.0-1 0.21 MiB extra/python-pytest 1:9.2.0-1 5.21 MiB extra/python-pytest-asyncio 1.4.1-1 0.17 MiB extra/python-pytest-rerunfailures 16.7-1 0.24 MiB extra/python-pytest-timeout 2.5.0-1 0.09 MiB extra/python-python-socks 3.1.1-1 0.47 MiB 0.07 MiB extra/python-tornado 6.6.0-1 7.26 MiB 1.03 MiB extra/python-trustme 1.3.0-1 0.10 MiB 0.03 MiB extra/python-websockets 17.2-1 2.50 MiB extra/python-wsproto 1.3.2-1 0.28 MiB extra/python-zstandard 0.25.0-3 1.45 MiB Total Download Size: 2.04 MiB Total Installed Size: 85.07 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-tornado-6.6.0-1-riscv64 downloading... python-coverage-7.17.2-1-riscv64 downloading... python-brotli-1.2.1-1-riscv64 downloading... python-caio-0.12.10-1-riscv64 downloading... python-python-socks-3.1.1-1-any downloading... python-aiofile-3.12.3-1-any downloading... python-trustme-1.3.0-1-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing zlib-ng... installing git... Optional dependencies for git git-zsh-completion: upstream zsh completion tk: gitk and git gui openssh: ssh transport and crypto man: show help with `git command --help` perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-cgi: gitweb (web interface) support python: git svn & git p4 [installed] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] less: the default pager for git installing python-packaging... installing python-pyproject-hooks... installing python-build... Optional dependencies for python-build python-pip: to use as the Python package installer (default) python-uv: to use as the Python package installer python-virtualenv: to use virtualenv for build isolation installing python-editables... installing python-pathspec... Optional dependencies for python-pathspec python-google-re2: re2 backend installing python-pluggy... installing python-tomlkit... installing python-trove-classifiers... installing python-hatchling... installing python-installer... installing python-caio... installing python-aiofile... installing python-brotli... installing python-coverage... installing python-pycparser... installing python-cffi... Optional dependencies for python-cffi python-setuptools: "limited api" version checking in cffi.setuptools_ext installing python-cryptography... installing python-idna... installing python-iniconfig... installing python-pygments... installing python-pytest... installing python-pytest-asyncio... installing python-pytest-rerunfailures... Optional dependencies for python-pytest-rerunfailures python-pytest-xdist: for recovering from crashes installing python-pytest-timeout... installing python-python-socks... Optional dependencies for python-python-socks python-anyio: anyio support python-curio: curio support python-trio: trio support installing python-tornado... Optional dependencies for python-tornado python-pycurl: for tornado.curl_httpclient python-twisted: for tornado.platform.twisted installing python-pyopenssl... installing python-trustme... installing python-websockets... Optional dependencies for python-websockets python-trio: trio backend support python-werkzeug: routing support installing python-wsproto... installing python-zstandard... Optional dependencies for python-zstandard python-cffi [installed] :: Running post-transaction hooks... (1/4) Creating system user accounts... Creating group 'git' with GID 968. Creating user 'git' (git daemon user) with UID 968 and GID 968. (2/4) Reloading system manager configuration... Skipped: Current root is not booted. (3/4) Arming ConditionNeedsUpdate... (4/4) Checking for old perl modules... WARNING: '/usr/lib/perl5/5.42' contains data from at least 1 packages which will NOT be used by the installed perl interpreter. -> Run the following command to get a list of affected packages: pacman -Qqo '/usr/lib/perl5/5.42' [?25h]3008;end=e67b5ebe7d4a41ebab04e6ac72c17c83\==>(B Retrieving sources...(B  ->(B Found python-socks-v3.patch(B ==> WARNING:(B Skipping all source file integrity checks.(B ==>(B Extracting sources...(B  ->(B Creating working copy of urllib3.future git repo...(B Cloning into 'urllib3.future'... done. Switched to a new branch 'makepkg' ==>(B Starting prepare()...(B patching file pyproject.toml patching file src/urllib3/contrib/_socks_override.py patching file src/urllib3/contrib/socks.py ==>(B Starting build()...(B * Getting build dependencies for wheel... * Building wheel... Successfully built urllib3_future-2.25.905-py3-none-any.whl ==>(B Starting check()...(B ============================= test session starts ============================== platform linux -- Python 3.14.9, pytest-9.2.0, pluggy-1.7.0 rootdir: /build/python-urllib3-future/src/urllib3.future configfile: pyproject.toml plugins: asyncio-1.4.1, rerunfailures-16.7, timeout-2.4.0 asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=function, asyncio_default_test_loop_scope=function collected 7338 items ci/test_isolation.py ....... [ 0%] test/asynchronous/test_connection.py ... [ 0%] test/asynchronous/test_connectionpool.py ............................... [ 0%] ........................................................................ [ 1%] ........................................................................ [ 2%] ........................................................... [ 3%] test/asynchronous/test_informational.py .. [ 3%] test/asynchronous/test_poolmanager.py .................................. [ 3%] ........................................................................ [ 4%] ............ssss.. [ 5%] test/asynchronous/test_response.py ..................................... [ 5%] ......................................sss............................... [ 6%] ........................ [ 6%] test/asynchronous/test_retry.py .. [ 6%] test/asynchronous/test_ssl.py .... [ 6%] test/asynchronous/test_traffic_police.py ............................... [ 7%] ....................................................... [ 8%] test/asynchronous/test_util.py .... [ 8%] test/contrib/asynchronous/test_resolver.py ............................. [ 8%] ........................................................................ [ 9%] ................................RRRF..............................RRRF.. [ 10%] ........................................................................ [ 11%] ........................................................................ [ 12%] ........................................................................ [ 13%] ........................................................................ [ 14%] ............................. [ 14%] test/contrib/asynchronous/test_socks.py ................................ [ 15%] .................................................. [ 15%] test/contrib/asynchronous/test_ssa.py .................................. [ 16%] ................................... [ 16%] test/contrib/asynchronous/test_websocket_fragmentation.py .... [ 16%] test/contrib/hface/test_stream_matrix.py ...... [ 16%] test/contrib/test_resolver.py .......................................... [ 17%] ........................................................................ [ 18%] ....................RRRF..............................RRRF.............. [ 19%] ........................................................................ [ 20%] ........................................................................ [ 21%] ........................................................................ [ 22%] ........................................................................ [ 23%] .................................... [ 23%] test/contrib/test_socks.py ............................................. [ 24%] ........................................... [ 25%] test/contrib/test_ssa.py ......... [ 25%] test/contrib/test_sse.py .......... [ 25%] test/contrib/test_websocket_fragmentation.py .... [ 25%] test/test_collections.py ............................................ [ 25%] test/test_compatibility.py . [ 25%] test/test_connection.py .......................................... [ 26%] test/test_connectionpool.py ............................................ [ 27%] ........................................................................ [ 28%] ........................................................................ [ 29%] ........................................................................ [ 30%] ............................................... [ 30%] test/test_exceptions.py ................. [ 30%] test/test_fields.py ..................... [ 31%] test/test_filepost.py ......... [ 31%] test/test_grouped_dict.py ........................................... [ 31%] test/test_informational.py .. [ 31%] test/test_no_ssl.py .. [ 31%] test/test_no_zlib.py ... [ 32%] test/test_poolmanager.py ............................................... [ 32%] ...................................................ssss.. [ 33%] test/test_proxymanager.py .............................................. [ 34%] ............... [ 34%] test/test_response.py .................................................. [ 34%] .....................................................sss................ [ 35%] .......................... [ 36%] test/test_retry.py ..................................................... [ 37%] .............. [ 37%] test/test_ssl.py .................ss.................................... [ 37%] ...ss...ss... [ 38%] test/test_ssltransport.py ............... [ 38%] test/test_traffic_police.py ............................................ [ 38%] .................................... [ 39%] test/test_util.py ...................................................... [ 40%] ........................................................................ [ 41%] ........................................................................ [ 42%] ........................................................................ [ 43%] ........................................................................ [ 44%] ........................................................................ [ 45%] ........................................................................ [ 46%] ........................................................................ [ 47%] ........................................................................ [ 48%] ........................................................................ [ 48%] ........................................................................ [ 49%] ........................................................................ [ 50%] ........................................................................ [ 51%] ........................................................................ [ 52%] ........................................................................ [ 53%] ........................................................................ [ 54%] ............................................................sss...sss... [ 55%] ........................................................................ [ 56%] ........................... [ 57%] test/test_wait.py ............. [ 57%] test/with_dummyserver/asynchronous/test_chunked_transfer.py ............ [ 57%] . [ 57%] test/with_dummyserver/asynchronous/test_connection.py .. [ 57%] test/with_dummyserver/asynchronous/test_connectionpool.py .............. [ 57%] ........................................................................ [ 58%] ........................................................................ [ 59%] ........................................................................ [ 60%] ............................ [ 61%] test/with_dummyserver/asynchronous/test_happy_eyeballs.py .............. [ 61%] . [ 61%] test/with_dummyserver/asynchronous/test_https.py ssssssssssssssss.ssssss [ 61%] sss.sss.ssss..ssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 62%] sssssssssssssssssssssssssssssssssssssssssssssssss....................... [ 63%] .........................................................s.............. [ 64%] ............................ [ 64%] test/with_dummyserver/asynchronous/test_poolmanager.py ................. [ 65%] ................................................... [ 65%] test/with_dummyserver/asynchronous/test_protolevel.py .................. [ 66%] ................................................ [ 66%] test/with_dummyserver/asynchronous/test_proxy_poolmanager.py ........... [ 66%] ......................................................... [ 67%] test/with_dummyserver/asynchronous/test_socketlevel.py .FFF............. [ 67%] ........................................................................ [ 68%] ........................................................................ [ 69%] ........... [ 70%] test/with_dummyserver/asynchronous/test_websocket_full_duplex.py ....... [ 70%] ........................................................................ [ 71%] ........................................................................ [ 72%] ...............ss.s.s... [ 72%] test/with_dummyserver/test_chunked_transfer.py ................ [ 72%] test/with_dummyserver/test_connection.py .......... [ 72%] test/with_dummyserver/test_connectionpool.py ........................... [ 73%] ........................................................................ [ 74%] ........................................................................ [ 75%] ........................................................................ [ 76%] ........ [ 76%] test/with_dummyserver/test_happy_eyeballs.py ................... [ 76%] test/with_dummyserver/test_https.py s..ssssssssssssssssss.sssssssss.ssss [ 76%] .ssss..sssssssssss.sssssssssssssssssssssssssssssssssssssssssssssssssssss [ 77%] sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss......... [ 78%] ........................................................................ [ 79%] ..............s................s............................ [ 80%] test/with_dummyserver/test_no_ssl.py .. [ 80%] test/with_dummyserver/test_poolmanager.py .............................. [ 81%] ..................................... [ 81%] test/with_dummyserver/test_protolevel.py ............................... [ 82%] ............................................. [ 82%] test/with_dummyserver/test_proxy_poolmanager.py ........................ [ 83%] ............................................... [ 83%] test/with_dummyserver/test_socketlevel.py .............................. [ 84%] ........................................................................ [ 85%] ...........................................s............................ [ 86%] ..............................................................s.s.s..... [ 87%] ........................................................................ [ 87%] .. [ 88%] test/with_dummyserver/test_websocket_full_duplex.py .................... [ 88%] ........................................................................ [ 89%] ....................................................................ss.. [ 90%] ....... [ 90%] test/with_traefik/asynchronous/test_conn_info.py sss [ 90%] test/with_traefik/asynchronous/test_connection.py ssssssssssssssssssssss [ 90%] s [ 90%] test/with_traefik/asynchronous/test_connection_multiplexed.py ssss [ 90%] test/with_traefik/asynchronous/test_connectionpool_multiplexed.py ssssss [ 90%] ssssssssssssssssssssssssssssssss [ 91%] test/with_traefik/asynchronous/test_poolmanager_multiplexed.py sssssssss [ 91%] sssssssssssssssssssssssssssssssssssssssssssss [ 92%] test/with_traefik/asynchronous/test_protolevel.py ssssssssssssssssssssss [ 92%] sssssssssssssssssssssssssssssssssssssssssssssss [ 92%] test/with_traefik/asynchronous/test_proxy.py sssssss [ 93%] test/with_traefik/asynchronous/test_send_data.py sssssssssssssssssssssss [ 93%] ssssssssssssssssssssssssssssssss [ 93%] test/with_traefik/asynchronous/test_stream.py ssssssssssssssssssssssssss [ 94%] [ 94%] test/with_traefik/asynchronous/test_svn.py sssssssssssssssssss [ 94%] test/with_traefik/asynchronous/test_webextensions.py sssssssssssssssssss [ 94%] sssssssssssss [ 94%] test/with_traefik/test_conn_info.py ssss [ 94%] test/with_traefik/test_connection.py sssssssssssssssssssssss [ 95%] test/with_traefik/test_connection_multiplexed.py ssss [ 95%] test/with_traefik/test_connectionpool_multiplexed.py sssssssssssssssssss [ 95%] sssssssssssss [ 95%] test/with_traefik/test_poolmanager_multiplexed.py ssssssssssssssssssssss [ 96%] sssssssssssssssssssssssssssssss [ 96%] test/with_traefik/test_protolevel.py sssssssssssssssssssssssssssssssssss [ 96%] sssssssssssssssssssssssssssssssssss [ 97%] test/with_traefik/test_proxy.py sssssss [ 97%] test/with_traefik/test_send_data.py ssssssssssssssssssssssssssssssssssss [ 97%] ssssssssssssssss [ 98%] test/with_traefik/test_stream.py ssssssssssssssssssssssssssssss [ 98%] test/with_traefik/test_svn.py ssssssssssssssssss [ 98%] test/with_traefik/test_thread_safety.py ssssssssssssssssssssssssssssssss [ 99%] ssssssssssssssssssssssssss [ 99%] test/with_traefik/test_webextensions.py sssssssssssssssssssssssssss [100%] =================================== FAILURES =================================== ______________ test_short_endurance_sprint[dou://one.one.one.one] ______________ dns_url = 'dou://one.one.one.one' @requires_network() @pytest.mark.parametrize( "dns_url", [ "doh+google://default/?timeout=1", "doh+cloudflare://", _DOQ_PARAM, "dot://one.one.one.one", "dou://one.one.one.one", ], ) @pytest.mark.asyncio async def test_short_endurance_sprint(dns_url: str) -> None: resolver = AsyncResolverDescription.from_url(dns_url).new() for host in [ "www.google.com", "www.google.fr", "www.cloudflare.com", "youtube.com", ]: for addr_type in [socket.AF_UNSPEC, socket.AF_INET, socket.AF_INET6]: res = await resolver.getaddrinfo( host, 443, addr_type, socket.SOCK_STREAM, ) assert len(res) if addr_type == socket.AF_UNSPEC: > assert any(_[0] == socket.AF_INET6 for _ in res) E assert False E + where False = any(. at 0x3fa0f7bd30>) test/contrib/asynchronous/test_resolver.py:1033: AssertionError ------------------------------ Captured log setup ------------------------------ DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector ------------------------------ Captured log setup ------------------------------ DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector ------------------------------ Captured log setup ------------------------------ DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector ------------------------------ Captured log setup ------------------------------ DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector ______________ test_ipv6_always_preferred[dou://one.one.one.one] _______________ dns_url = 'dou://one.one.one.one' @requires_network() @pytest.mark.parametrize( "dns_url", [ "doh+google://", "doh+cloudflare://", _DOQ_PARAM, "dot://one.one.one.one", "dou://one.one.one.one", ], ) @pytest.mark.asyncio async def test_ipv6_always_preferred(dns_url: str) -> None: """Our resolvers must place IPV6 address in the beginning of returned list.""" resolver = AsyncResolverDescription.from_url(dns_url).new() inet_classes = [] res = await resolver.getaddrinfo( "www.cloudflare.com", 443, socket.AF_UNSPEC, socket.SOCK_STREAM, ) for r in res: if r[0] not in inet_classes: inet_classes.append(r[0]) > assert inet_classes[0] == socket.AF_INET6 E assert == E + where = socket.AF_INET6 test/contrib/asynchronous/test_resolver.py:1257: AssertionError ------------------------------ Captured log setup ------------------------------ DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector ------------------------------ Captured log setup ------------------------------ DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector ------------------------------ Captured log setup ------------------------------ DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector ------------------------------ Captured log setup ------------------------------ DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector ______________ test_short_endurance_sprint[dou://one.one.one.one] ______________ dns_url = 'dou://one.one.one.one' @requires_network() @pytest.mark.parametrize( "dns_url", [ "doh+google://", "doh+cloudflare://", _DOQ_PARAM, "dot://one.one.one.one", "dou://one.one.one.one", ], ) def test_short_endurance_sprint(dns_url: str) -> None: resolver = ResolverDescription.from_url(dns_url).new() for host in [ "www.google.com", "www.google.fr", "www.cloudflare.com", "youtube.com", ]: for addr_type in [socket.AF_UNSPEC, socket.AF_INET, socket.AF_INET6]: res = resolver.getaddrinfo( host, 443, addr_type, socket.SOCK_STREAM, ) assert len(res) if addr_type == socket.AF_UNSPEC: > assert any(_[0] == socket.AF_INET6 for _ in res) E assert False E + where False = any(. at 0x3f9fdfc450>) test/contrib/test_resolver.py:967: AssertionError ______________ test_ipv6_always_preferred[dou://one.one.one.one] _______________ dns_url = 'dou://one.one.one.one' @requires_network() @pytest.mark.parametrize( "dns_url", [ "doh+google://", "doh+cloudflare://", _DOQ_PARAM, "dot://one.one.one.one", "dou://one.one.one.one", ], ) def test_ipv6_always_preferred(dns_url: str) -> None: """Our resolvers must place IPV6 address in the beginning of returned list.""" resolver = ResolverDescription.from_url(dns_url).new() inet_classes = [] res = resolver.getaddrinfo( "www.cloudflare.com", 443, socket.AF_UNSPEC, socket.SOCK_STREAM, ) for r in res: if r[0] not in inet_classes: inet_classes.append(r[0]) > assert inet_classes[0] == socket.AF_INET6 E assert == E + where = socket.AF_INET6 test/contrib/test_resolver.py:1205: AssertionError ____ TestSSL.test_requesting_large_resources_via_ssl[2147483648-True-None] _____ self = async def _new_conn(self) -> AsyncSocket: # type: ignore[override] """Establish a socket connection and set nodelay settings on it. :return: New socket connection. """ await super()._new_conn() backup_timeout: float | None = -1.0 # we want to purposely mitigate the following scenario: # "A server yield its support for HTTP/2 or HTTP/3 through Alt-Svc, but # it cannot connect to the alt-svc, thus confusing the end-user on why it # waits forever for the 2nd request." if ( self._max_tolerable_delay_for_upgrade is not None and self.socket_kind != socket.SOCK_DGRAM ): backup_timeout = self.timeout self.timeout = self._max_tolerable_delay_for_upgrade try: > sock = await self._resolver.create_connection( (self._dns_host, self.port or self.default_port), self.timeout, source_address=self.source_address, socket_options=self.socket_options, socket_kind=self.socket_kind, quic_upgrade_via_dns_rr=self.scheme == "https" and HttpVersion.h3 not in self._disabled_svn and self.socket_kind != socket.SOCK_DGRAM, timing_hook=lambda _: setattr(self, "_connect_timings", _), ech_config_hook=lambda _: setattr(self, "_ech_config", _), default_socket_family=self._socket_family, ) test-env/lib/python3.14/site-packages/urllib3_future/_async/connection.py:224: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/urllib3_future/contrib/resolver/_async/protocols.py:242: in create_connection raise err test-env/lib/python3.14/site-packages/urllib3_future/contrib/resolver/_async/protocols.py:207: in create_connection await sock.connect(sa) test-env/lib/python3.14/site-packages/urllib3_future/contrib/ssa/__init__.py:309: in connect await asyncio.get_running_loop().sock_connect(self._sock, addr) /usr/lib/python3.14/asyncio/selector_events.py:643: in sock_connect return await fut ^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_UnixSelectorEventLoop running=False closed=False debug=False> fut = None, sock = address = ('127.0.0.1', 39043) def _sock_connect_cb(self, fut, sock, address): if fut.done(): return try: err = sock.getsockopt(socket.SOL_SOCKET, socket.SO_ERROR) if err != 0: # Jump to any except clause below. > raise OSError(err, f'Connect call failed {address}') E ConnectionRefusedError: [Errno 111] Connect call failed ('127.0.0.1', 39043) /usr/lib/python3.14/asyncio/selector_events.py:683: ConnectionRefusedError The above exception was the direct cause of the following exception: self = content_length = 2147483648, preload_content = True, read_amt = None @pytest.mark.parametrize( "content_length,preload_content,read_amt", [ pytest.param(8193, False, 2**31, id="oversized-read-small-body"), *[ pytest.param( 2**31, preload_content, read_amt, marks=pytest.mark.skipif( os.environ.get("CI") is not None, reason="Run the 2 GiB cases in test_ssl_large_resources", ), ) for preload_content, read_amt in ( (True, None), (False, None), (False, 2**31), ) ], ], ) async def test_requesting_large_resources_via_ssl( self, content_length: int, preload_content: bool, read_amt: int | None ) -> None: # Async counterpart of TestSSL.test_requesting_large_resources_via_ssl. # A small body with an oversized read also exercises the Python <3.10 guard. context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER) context.load_cert_chain(DEFAULT_CERTS["certfile"], DEFAULT_CERTS["keyfile"]) def socket_handler(listener: socket.socket) -> None: listener.settimeout(30) with listener.accept()[0] as sock: sock.settimeout(30) with context.wrap_socket(sock, server_side=True) as ssl_sock: with ssl_sock.makefile("rb") as requests: for length in (content_length, 5): while True: line = requests.readline() if not line: return # The client may close after a failed assertion. if line == b"\r\n": break ssl_sock.sendall( b"HTTP/1.1 200 OK\r\nContent-Type: application/octet-stream\r\n" + f"Content-Length: {length}\r\n\r\n".encode() ) # Reuse a small chunk instead of allocating another large body. chunk = b"Hello" if length == 5 else b"x" * 65536 for offset in range(0, length, len(chunk)): ssl_sock.sendall( chunk[: min(len(chunk), length - offset)] ) self._start_server(socket_handler) async with AsyncHTTPSConnectionPool( self.host, self.port, ca_certs=DEFAULT_CA, retries=False, timeout=30 ) as pool: response = await pool.request("GET", "/", preload_content=preload_content) assert response.status == 200 if not preload_content: assert await response.read(0) == b"" data = ( await response.data if preload_content else await response.read(read_amt) ) assert len(data) == content_length assert data.count(b"x") == content_length del data buffer = bytearray(b"untouched") assert await response.readinto(buffer) == 0 assert buffer == b"untouched" > response = await pool.request("GET", "/again") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/with_dummyserver/asynchronous/test_socketlevel.py:132: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/urllib3_future/_request_methods.py:479: in request return await self.request_encode_url( test-env/lib/python3.14/site-packages/urllib3_future/_request_methods.py:540: in request_encode_url return await self.urlopen(method, url, **extra_kw) # type: ignore[no-any-return] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/urllib3_future/_async/connectionpool.py:1989: in urlopen retries = retries.increment( test-env/lib/python3.14/site-packages/urllib3_future/util/retry.py:515: in increment raise reraise(type(error), error, _stacktrace) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/urllib3_future/util/util.py:40: in reraise raise value test-env/lib/python3.14/site-packages/urllib3_future/_async/connectionpool.py:1904: in urlopen response = await self._make_request( # type: ignore[call-overload,misc] test-env/lib/python3.14/site-packages/urllib3_future/_async/connectionpool.py:1374: in _make_request raise new_e test-env/lib/python3.14/site-packages/urllib3_future/_async/connectionpool.py:1350: in _make_request await self._validate_conn(conn) test-env/lib/python3.14/site-packages/urllib3_future/_async/connectionpool.py:2610: in _validate_conn await super()._validate_conn(conn) test-env/lib/python3.14/site-packages/urllib3_future/_async/connectionpool.py:847: in _validate_conn await conn.connect() test-env/lib/python3.14/site-packages/urllib3_future/_async/connection.py:825: in connect self.sock = sock = await self._new_conn() ^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = async def _new_conn(self) -> AsyncSocket: # type: ignore[override] """Establish a socket connection and set nodelay settings on it. :return: New socket connection. """ await super()._new_conn() backup_timeout: float | None = -1.0 # we want to purposely mitigate the following scenario: # "A server yield its support for HTTP/2 or HTTP/3 through Alt-Svc, but # it cannot connect to the alt-svc, thus confusing the end-user on why it # waits forever for the 2nd request." if ( self._max_tolerable_delay_for_upgrade is not None and self.socket_kind != socket.SOCK_DGRAM ): backup_timeout = self.timeout self.timeout = self._max_tolerable_delay_for_upgrade try: sock = await self._resolver.create_connection( (self._dns_host, self.port or self.default_port), self.timeout, source_address=self.source_address, socket_options=self.socket_options, socket_kind=self.socket_kind, quic_upgrade_via_dns_rr=self.scheme == "https" and HttpVersion.h3 not in self._disabled_svn and self.socket_kind != socket.SOCK_DGRAM, timing_hook=lambda _: setattr(self, "_connect_timings", _), ech_config_hook=lambda _: setattr(self, "_ech_config", _), default_socket_family=self._socket_family, ) except socket.gaierror as e: raise NameResolutionError(self.host, self, e) from e except SocketTimeout as e: raise ConnectTimeoutError( self, f"Connection to {self.host} timed out. (connect timeout={self.timeout})", ) from e except OSError as e: > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e E urllib3_future.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connect call failed ('127.0.0.1', 39043) test-env/lib/python3.14/site-packages/urllib3_future/_async/connection.py:246: NewConnectionError ------------------------------ Captured log setup ------------------------------ DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector ------------------------------ Captured log call ------------------------------- DEBUG urllib3_future._async.connectionpool:connectionpool.py:2323 Starting new HTTPS connection (1): localhost:39043 DEBUG urllib3_future._async.connectionpool:connectionpool.py:1556 https://localhost:39043 "GET / HTTP/1.1" 200 0 DEBUG urllib3_future._async.connectionpool:connectionpool.py:756 Resetting dropped connection: localhost ____ TestSSL.test_requesting_large_resources_via_ssl[2147483648-False-None] ____ self = async def _new_conn(self) -> AsyncSocket: # type: ignore[override] """Establish a socket connection and set nodelay settings on it. :return: New socket connection. """ await super()._new_conn() backup_timeout: float | None = -1.0 # we want to purposely mitigate the following scenario: # "A server yield its support for HTTP/2 or HTTP/3 through Alt-Svc, but # it cannot connect to the alt-svc, thus confusing the end-user on why it # waits forever for the 2nd request." if ( self._max_tolerable_delay_for_upgrade is not None and self.socket_kind != socket.SOCK_DGRAM ): backup_timeout = self.timeout self.timeout = self._max_tolerable_delay_for_upgrade try: > sock = await self._resolver.create_connection( (self._dns_host, self.port or self.default_port), self.timeout, source_address=self.source_address, socket_options=self.socket_options, socket_kind=self.socket_kind, quic_upgrade_via_dns_rr=self.scheme == "https" and HttpVersion.h3 not in self._disabled_svn and self.socket_kind != socket.SOCK_DGRAM, timing_hook=lambda _: setattr(self, "_connect_timings", _), ech_config_hook=lambda _: setattr(self, "_ech_config", _), default_socket_family=self._socket_family, ) test-env/lib/python3.14/site-packages/urllib3_future/_async/connection.py:224: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/urllib3_future/contrib/resolver/_async/protocols.py:242: in create_connection raise err test-env/lib/python3.14/site-packages/urllib3_future/contrib/resolver/_async/protocols.py:207: in create_connection await sock.connect(sa) test-env/lib/python3.14/site-packages/urllib3_future/contrib/ssa/__init__.py:309: in connect await asyncio.get_running_loop().sock_connect(self._sock, addr) /usr/lib/python3.14/asyncio/selector_events.py:643: in sock_connect return await fut ^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_UnixSelectorEventLoop running=False closed=False debug=False> fut = None, sock = address = ('127.0.0.1', 42459) def _sock_connect_cb(self, fut, sock, address): if fut.done(): return try: err = sock.getsockopt(socket.SOL_SOCKET, socket.SO_ERROR) if err != 0: # Jump to any except clause below. > raise OSError(err, f'Connect call failed {address}') E ConnectionRefusedError: [Errno 111] Connect call failed ('127.0.0.1', 42459) /usr/lib/python3.14/asyncio/selector_events.py:683: ConnectionRefusedError The above exception was the direct cause of the following exception: self = content_length = 2147483648, preload_content = False, read_amt = None @pytest.mark.parametrize( "content_length,preload_content,read_amt", [ pytest.param(8193, False, 2**31, id="oversized-read-small-body"), *[ pytest.param( 2**31, preload_content, read_amt, marks=pytest.mark.skipif( os.environ.get("CI") is not None, reason="Run the 2 GiB cases in test_ssl_large_resources", ), ) for preload_content, read_amt in ( (True, None), (False, None), (False, 2**31), ) ], ], ) async def test_requesting_large_resources_via_ssl( self, content_length: int, preload_content: bool, read_amt: int | None ) -> None: # Async counterpart of TestSSL.test_requesting_large_resources_via_ssl. # A small body with an oversized read also exercises the Python <3.10 guard. context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER) context.load_cert_chain(DEFAULT_CERTS["certfile"], DEFAULT_CERTS["keyfile"]) def socket_handler(listener: socket.socket) -> None: listener.settimeout(30) with listener.accept()[0] as sock: sock.settimeout(30) with context.wrap_socket(sock, server_side=True) as ssl_sock: with ssl_sock.makefile("rb") as requests: for length in (content_length, 5): while True: line = requests.readline() if not line: return # The client may close after a failed assertion. if line == b"\r\n": break ssl_sock.sendall( b"HTTP/1.1 200 OK\r\nContent-Type: application/octet-stream\r\n" + f"Content-Length: {length}\r\n\r\n".encode() ) # Reuse a small chunk instead of allocating another large body. chunk = b"Hello" if length == 5 else b"x" * 65536 for offset in range(0, length, len(chunk)): ssl_sock.sendall( chunk[: min(len(chunk), length - offset)] ) self._start_server(socket_handler) async with AsyncHTTPSConnectionPool( self.host, self.port, ca_certs=DEFAULT_CA, retries=False, timeout=30 ) as pool: response = await pool.request("GET", "/", preload_content=preload_content) assert response.status == 200 if not preload_content: assert await response.read(0) == b"" data = ( await response.data if preload_content else await response.read(read_amt) ) assert len(data) == content_length assert data.count(b"x") == content_length del data buffer = bytearray(b"untouched") assert await response.readinto(buffer) == 0 assert buffer == b"untouched" > response = await pool.request("GET", "/again") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/with_dummyserver/asynchronous/test_socketlevel.py:132: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/urllib3_future/_request_methods.py:479: in request return await self.request_encode_url( test-env/lib/python3.14/site-packages/urllib3_future/_request_methods.py:540: in request_encode_url return await self.urlopen(method, url, **extra_kw) # type: ignore[no-any-return] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/urllib3_future/_async/connectionpool.py:1989: in urlopen retries = retries.increment( test-env/lib/python3.14/site-packages/urllib3_future/util/retry.py:515: in increment raise reraise(type(error), error, _stacktrace) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/urllib3_future/util/util.py:40: in reraise raise value test-env/lib/python3.14/site-packages/urllib3_future/_async/connectionpool.py:1904: in urlopen response = await self._make_request( # type: ignore[call-overload,misc] test-env/lib/python3.14/site-packages/urllib3_future/_async/connectionpool.py:1374: in _make_request raise new_e test-env/lib/python3.14/site-packages/urllib3_future/_async/connectionpool.py:1350: in _make_request await self._validate_conn(conn) test-env/lib/python3.14/site-packages/urllib3_future/_async/connectionpool.py:2610: in _validate_conn await super()._validate_conn(conn) test-env/lib/python3.14/site-packages/urllib3_future/_async/connectionpool.py:847: in _validate_conn await conn.connect() test-env/lib/python3.14/site-packages/urllib3_future/_async/connection.py:825: in connect self.sock = sock = await self._new_conn() ^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = async def _new_conn(self) -> AsyncSocket: # type: ignore[override] """Establish a socket connection and set nodelay settings on it. :return: New socket connection. """ await super()._new_conn() backup_timeout: float | None = -1.0 # we want to purposely mitigate the following scenario: # "A server yield its support for HTTP/2 or HTTP/3 through Alt-Svc, but # it cannot connect to the alt-svc, thus confusing the end-user on why it # waits forever for the 2nd request." if ( self._max_tolerable_delay_for_upgrade is not None and self.socket_kind != socket.SOCK_DGRAM ): backup_timeout = self.timeout self.timeout = self._max_tolerable_delay_for_upgrade try: sock = await self._resolver.create_connection( (self._dns_host, self.port or self.default_port), self.timeout, source_address=self.source_address, socket_options=self.socket_options, socket_kind=self.socket_kind, quic_upgrade_via_dns_rr=self.scheme == "https" and HttpVersion.h3 not in self._disabled_svn and self.socket_kind != socket.SOCK_DGRAM, timing_hook=lambda _: setattr(self, "_connect_timings", _), ech_config_hook=lambda _: setattr(self, "_ech_config", _), default_socket_family=self._socket_family, ) except socket.gaierror as e: raise NameResolutionError(self.host, self, e) from e except SocketTimeout as e: raise ConnectTimeoutError( self, f"Connection to {self.host} timed out. (connect timeout={self.timeout})", ) from e except OSError as e: > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e E urllib3_future.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connect call failed ('127.0.0.1', 42459) test-env/lib/python3.14/site-packages/urllib3_future/_async/connection.py:246: NewConnectionError ------------------------------ Captured log setup ------------------------------ DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector ------------------------------ Captured log call ------------------------------- DEBUG urllib3_future._async.connectionpool:connectionpool.py:2323 Starting new HTTPS connection (1): localhost:42459 DEBUG urllib3_future._async.connectionpool:connectionpool.py:1556 https://localhost:42459 "GET / HTTP/1.1" 200 2147483648 DEBUG urllib3_future._async.connectionpool:connectionpool.py:756 Resetting dropped connection: localhost _ TestSSL.test_requesting_large_resources_via_ssl[2147483648-False-2147483648] _ self = async def _new_conn(self) -> AsyncSocket: # type: ignore[override] """Establish a socket connection and set nodelay settings on it. :return: New socket connection. """ await super()._new_conn() backup_timeout: float | None = -1.0 # we want to purposely mitigate the following scenario: # "A server yield its support for HTTP/2 or HTTP/3 through Alt-Svc, but # it cannot connect to the alt-svc, thus confusing the end-user on why it # waits forever for the 2nd request." if ( self._max_tolerable_delay_for_upgrade is not None and self.socket_kind != socket.SOCK_DGRAM ): backup_timeout = self.timeout self.timeout = self._max_tolerable_delay_for_upgrade try: > sock = await self._resolver.create_connection( (self._dns_host, self.port or self.default_port), self.timeout, source_address=self.source_address, socket_options=self.socket_options, socket_kind=self.socket_kind, quic_upgrade_via_dns_rr=self.scheme == "https" and HttpVersion.h3 not in self._disabled_svn and self.socket_kind != socket.SOCK_DGRAM, timing_hook=lambda _: setattr(self, "_connect_timings", _), ech_config_hook=lambda _: setattr(self, "_ech_config", _), default_socket_family=self._socket_family, ) test-env/lib/python3.14/site-packages/urllib3_future/_async/connection.py:224: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/urllib3_future/contrib/resolver/_async/protocols.py:242: in create_connection raise err test-env/lib/python3.14/site-packages/urllib3_future/contrib/resolver/_async/protocols.py:207: in create_connection await sock.connect(sa) test-env/lib/python3.14/site-packages/urllib3_future/contrib/ssa/__init__.py:309: in connect await asyncio.get_running_loop().sock_connect(self._sock, addr) /usr/lib/python3.14/asyncio/selector_events.py:643: in sock_connect return await fut ^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_UnixSelectorEventLoop running=False closed=False debug=False> fut = None, sock = address = ('127.0.0.1', 45061) def _sock_connect_cb(self, fut, sock, address): if fut.done(): return try: err = sock.getsockopt(socket.SOL_SOCKET, socket.SO_ERROR) if err != 0: # Jump to any except clause below. > raise OSError(err, f'Connect call failed {address}') E ConnectionRefusedError: [Errno 111] Connect call failed ('127.0.0.1', 45061) /usr/lib/python3.14/asyncio/selector_events.py:683: ConnectionRefusedError The above exception was the direct cause of the following exception: self = content_length = 2147483648, preload_content = False, read_amt = 2147483648 @pytest.mark.parametrize( "content_length,preload_content,read_amt", [ pytest.param(8193, False, 2**31, id="oversized-read-small-body"), *[ pytest.param( 2**31, preload_content, read_amt, marks=pytest.mark.skipif( os.environ.get("CI") is not None, reason="Run the 2 GiB cases in test_ssl_large_resources", ), ) for preload_content, read_amt in ( (True, None), (False, None), (False, 2**31), ) ], ], ) async def test_requesting_large_resources_via_ssl( self, content_length: int, preload_content: bool, read_amt: int | None ) -> None: # Async counterpart of TestSSL.test_requesting_large_resources_via_ssl. # A small body with an oversized read also exercises the Python <3.10 guard. context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER) context.load_cert_chain(DEFAULT_CERTS["certfile"], DEFAULT_CERTS["keyfile"]) def socket_handler(listener: socket.socket) -> None: listener.settimeout(30) with listener.accept()[0] as sock: sock.settimeout(30) with context.wrap_socket(sock, server_side=True) as ssl_sock: with ssl_sock.makefile("rb") as requests: for length in (content_length, 5): while True: line = requests.readline() if not line: return # The client may close after a failed assertion. if line == b"\r\n": break ssl_sock.sendall( b"HTTP/1.1 200 OK\r\nContent-Type: application/octet-stream\r\n" + f"Content-Length: {length}\r\n\r\n".encode() ) # Reuse a small chunk instead of allocating another large body. chunk = b"Hello" if length == 5 else b"x" * 65536 for offset in range(0, length, len(chunk)): ssl_sock.sendall( chunk[: min(len(chunk), length - offset)] ) self._start_server(socket_handler) async with AsyncHTTPSConnectionPool( self.host, self.port, ca_certs=DEFAULT_CA, retries=False, timeout=30 ) as pool: response = await pool.request("GET", "/", preload_content=preload_content) assert response.status == 200 if not preload_content: assert await response.read(0) == b"" data = ( await response.data if preload_content else await response.read(read_amt) ) assert len(data) == content_length assert data.count(b"x") == content_length del data buffer = bytearray(b"untouched") assert await response.readinto(buffer) == 0 assert buffer == b"untouched" > response = await pool.request("GET", "/again") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test/with_dummyserver/asynchronous/test_socketlevel.py:132: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/urllib3_future/_request_methods.py:479: in request return await self.request_encode_url( test-env/lib/python3.14/site-packages/urllib3_future/_request_methods.py:540: in request_encode_url return await self.urlopen(method, url, **extra_kw) # type: ignore[no-any-return] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/urllib3_future/_async/connectionpool.py:1989: in urlopen retries = retries.increment( test-env/lib/python3.14/site-packages/urllib3_future/util/retry.py:515: in increment raise reraise(type(error), error, _stacktrace) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/urllib3_future/util/util.py:40: in reraise raise value test-env/lib/python3.14/site-packages/urllib3_future/_async/connectionpool.py:1904: in urlopen response = await self._make_request( # type: ignore[call-overload,misc] test-env/lib/python3.14/site-packages/urllib3_future/_async/connectionpool.py:1374: in _make_request raise new_e test-env/lib/python3.14/site-packages/urllib3_future/_async/connectionpool.py:1350: in _make_request await self._validate_conn(conn) test-env/lib/python3.14/site-packages/urllib3_future/_async/connectionpool.py:2610: in _validate_conn await super()._validate_conn(conn) test-env/lib/python3.14/site-packages/urllib3_future/_async/connectionpool.py:847: in _validate_conn await conn.connect() test-env/lib/python3.14/site-packages/urllib3_future/_async/connection.py:825: in connect self.sock = sock = await self._new_conn() ^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = async def _new_conn(self) -> AsyncSocket: # type: ignore[override] """Establish a socket connection and set nodelay settings on it. :return: New socket connection. """ await super()._new_conn() backup_timeout: float | None = -1.0 # we want to purposely mitigate the following scenario: # "A server yield its support for HTTP/2 or HTTP/3 through Alt-Svc, but # it cannot connect to the alt-svc, thus confusing the end-user on why it # waits forever for the 2nd request." if ( self._max_tolerable_delay_for_upgrade is not None and self.socket_kind != socket.SOCK_DGRAM ): backup_timeout = self.timeout self.timeout = self._max_tolerable_delay_for_upgrade try: sock = await self._resolver.create_connection( (self._dns_host, self.port or self.default_port), self.timeout, source_address=self.source_address, socket_options=self.socket_options, socket_kind=self.socket_kind, quic_upgrade_via_dns_rr=self.scheme == "https" and HttpVersion.h3 not in self._disabled_svn and self.socket_kind != socket.SOCK_DGRAM, timing_hook=lambda _: setattr(self, "_connect_timings", _), ech_config_hook=lambda _: setattr(self, "_ech_config", _), default_socket_family=self._socket_family, ) except socket.gaierror as e: raise NameResolutionError(self.host, self, e) from e except SocketTimeout as e: raise ConnectTimeoutError( self, f"Connection to {self.host} timed out. (connect timeout={self.timeout})", ) from e except OSError as e: > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e E urllib3_future.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connect call failed ('127.0.0.1', 45061) test-env/lib/python3.14/site-packages/urllib3_future/_async/connection.py:246: NewConnectionError ------------------------------ Captured log setup ------------------------------ DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector ------------------------------ Captured log call ------------------------------- DEBUG urllib3_future._async.connectionpool:connectionpool.py:2323 Starting new HTTPS connection (1): localhost:45061 DEBUG urllib3_future._async.connectionpool:connectionpool.py:1556 https://localhost:45061 "GET / HTTP/1.1" 200 2147483648 DEBUG urllib3_future._async.connectionpool:connectionpool.py:756 Resetting dropped connection: localhost =============================== warnings summary =============================== test/contrib/asynchronous/test_resolver.py::test_ipv4_passthrough[1.1.1.1-doq://dns.adguard-dns.com/?timeout=5&cert_reqs=0] /usr/lib/python3.14/asyncio/locks.py:19: ResourceWarning: unclosed async def __aexit__(self, exc_type, exc, tb): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. test/contrib/asynchronous/test_resolver.py::test_ipv4_passthrough[1.1.1.1-doq://dns.adguard-dns.com/?timeout=5&cert_reqs=0] /usr/lib/python3.14/asyncio/locks.py:19: ResourceWarning: unclosed async def __aexit__(self, exc_type, exc, tb): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. test/contrib/asynchronous/test_resolver.py::test_ipv4_passthrough[1.1.1.1-doq://dns.adguard-dns.com/?timeout=5&cert_reqs=0] /usr/lib/python3.14/asyncio/locks.py:19: ResourceWarning: unclosed async def __aexit__(self, exc_type, exc, tb): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. test/contrib/asynchronous/test_resolver.py::test_ipv4_passthrough[1.1.1.1-doq://dns.adguard-dns.com/?timeout=5&cert_reqs=0] /usr/lib/python3.14/asyncio/locks.py:19: ResourceWarning: unclosed async def __aexit__(self, exc_type, exc, tb): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. test/contrib/asynchronous/test_resolver.py::test_ipv4_passthrough[1.1.1.1-doq://dns.adguard-dns.com/?timeout=5&cert_reqs=0] /usr/lib/python3.14/asyncio/locks.py:19: ResourceWarning: unclosed async def __aexit__(self, exc_type, exc, tb): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. test/contrib/asynchronous/test_resolver.py::test_ipv4_passthrough[1.1.1.1-doq://dns.adguard-dns.com/?timeout=5&cert_reqs=0] /usr/lib/python3.14/asyncio/locks.py:19: ResourceWarning: unclosed async def __aexit__(self, exc_type, exc, tb): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. test/contrib/asynchronous/test_resolver.py::test_ipv4_passthrough[1.1.1.1-doq://dns.adguard-dns.com/?timeout=5&cert_reqs=0] /usr/lib/python3.14/asyncio/locks.py:19: ResourceWarning: unclosed async def __aexit__(self, exc_type, exc, tb): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. test/contrib/asynchronous/test_resolver.py::test_ipv4_passthrough[1.1.1.1-doq://dns.adguard-dns.com/?timeout=5&cert_reqs=0] /usr/lib/python3.14/asyncio/locks.py:19: ResourceWarning: unclosed async def __aexit__(self, exc_type, exc, tb): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. test/contrib/test_resolver.py::test_doh_rfc8484[doh+cloudflare://default?rfc8484=true&timeout=5] /build/python-urllib3-future/src/urllib3.future/test-env/lib/python3.14/site-packages/urllib3_future/contrib/hface/_stream_matrix.py:46: ResourceWarning: unclosed self._matrix[matrix_idx] = deque() Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. test/contrib/test_resolver.py::test_doh_rfc8484[doh+cloudflare://default?rfc8484=true&timeout=5] /build/python-urllib3-future/src/urllib3.future/test-env/lib/python3.14/site-packages/urllib3_future/contrib/hface/_stream_matrix.py:46: ResourceWarning: unclosed self._matrix[matrix_idx] = deque() Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. test/contrib/test_resolver.py::test_doh_rfc8484[doh+cloudflare://default?rfc8484=true&timeout=5] /build/python-urllib3-future/src/urllib3.future/test-env/lib/python3.14/site-packages/urllib3_future/contrib/hface/_stream_matrix.py:46: ResourceWarning: unclosed self._matrix[matrix_idx] = deque() Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. test/contrib/test_resolver.py::test_doh_rfc8484[doh+cloudflare://default?rfc8484=true&timeout=5] /build/python-urllib3-future/src/urllib3.future/test-env/lib/python3.14/site-packages/urllib3_future/contrib/hface/_stream_matrix.py:46: ResourceWarning: unclosed self._matrix[matrix_idx] = deque() Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. test/contrib/test_resolver.py::test_doh_local_errors[dns_https_server5-True-DNS returned an error] /usr/lib/python3.14/site-packages/tornado/httpserver.py:200: ResourceWarning: unclosed self._connections: set[HTTP1ServerConnection] = set() Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. test/contrib/test_resolver.py::test_doh_local_errors[dns_https_server5-True-DNS returned an error] /usr/lib/python3.14/site-packages/tornado/httpserver.py:200: ResourceWarning: unclosed self._connections: set[HTTP1ServerConnection] = set() Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. test/contrib/test_resolver.py::test_doh_local_errors[dns_https_server5-True-DNS returned an error] /usr/lib/python3.14/site-packages/tornado/httpserver.py:200: ResourceWarning: unclosed self._connections: set[HTTP1ServerConnection] = set() Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. test/contrib/test_resolver.py::test_doh_local_errors[dns_https_server5-True-DNS returned an error] /usr/lib/python3.14/site-packages/tornado/httpserver.py:200: ResourceWarning: unclosed self._connections: set[HTTP1ServerConnection] = set() Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. test/with_dummyserver/test_connectionpool.py::TestRedirectPoolSize::test_pool_size_redirect /build/python-urllib3-future/src/urllib3.future/dummyserver/server.py:239: ResourceWarning: unclosed continue Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. test/with_dummyserver/test_connectionpool.py::TestRedirectPoolSize::test_pool_size_redirect /build/python-urllib3-future/src/urllib3.future/dummyserver/server.py:239: ResourceWarning: unclosed continue Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. test/with_dummyserver/test_websocket_full_duplex.py::test_read_deadline_includes_reacquiring_connection[fast-tls] /usr/lib/python3.14/concurrent/futures/thread.py:112: ResourceWarning: unclosed executor = executor_reference() Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED test/contrib/asynchronous/test_resolver.py::test_short_endurance_sprint[dou://one.one.one.one] FAILED test/contrib/asynchronous/test_resolver.py::test_ipv6_always_preferred[dou://one.one.one.one] FAILED test/contrib/test_resolver.py::test_short_endurance_sprint[dou://one.one.one.one] FAILED test/contrib/test_resolver.py::test_ipv6_always_preferred[dou://one.one.one.one] FAILED test/with_dummyserver/asynchronous/test_socketlevel.py::TestSSL::test_requesting_large_resources_via_ssl[2147483648-True-None] FAILED test/with_dummyserver/asynchronous/test_socketlevel.py::TestSSL::test_requesting_large_resources_via_ssl[2147483648-False-None] FAILED test/with_dummyserver/asynchronous/test_socketlevel.py::TestSSL::test_requesting_large_resources_via_ssl[2147483648-False-2147483648] =========================== skipped tests by reason ============================ SKIPPED [708] Test requires Traefik server (HTTP/2 over TCP and HTTP/3 over QUIC) SKIPPED [105] Test requires TLSv1 SKIPPED [105] Test requires TLSv1.1 SKIPPED [92] Skipping base test class SKIPPED [8] Test requires rtls/utls for ECH at TCP level SKIPPED [6] third-party `zstandard` decompressobj does not support max_length; bomb-prevention requires stdlib `compression.zstd` SKIPPED [4] only run if a brotli library is absent SKIPPED [4] wsproto assertion contract SKIPPED [3] urllib3 uses Content-Length in this case SKIPPED [2] Requires an alternative TLS backend SKIPPED [2] only run if a python-zstandard library is not installed SKIPPED [2] set ciphers test for TLSv1.2 only SKIPPED [2] direct shutdown belongs to the synchronous socket path SKIPPED [1] rtls is not installed SKIPPED [1] utls is not installed SKIPPED [1] rtls backend is not installed SKIPPED [1] utls backend is not installed SKIPPED [1] ssl.PROTOCOL_TLSv1_3 isn't available SKIPPED [1] Test requires a non-stdlib ssl backend (rtls/utls) = 7 failed, 6282 passed, 1049 skipped, 19 warnings, 12 rerun in 3016.38s (0:50:16) = ==> ERROR:(B A failure occurred in check().(B  Aborting...(B ]3008;end=f9e56b068abc41a7ae3ff07891af66fe\[!p]104\[?7h]3008;end=7a50ae30523742c1a8c3a65351b9b381\==> ERROR:(B Build failed, check /var/lib/archbuild/extra-riscv64/felix-4/build(B [?12l[?25h[?12l[?25h]3008;end=6cdea7f5eb0d4d32bbb85a9c3eaa4ca4\[?12l[?25hreceiving incremental file list python-urllib3-future-2.25.905-1-riscv64-build.log python-urllib3-future-2.25.905-1-riscv64-check.log python-urllib3-future-2.25.905-1-riscv64-prepare.log sent 81 bytes received 7,724 bytes 5,203.33 bytes/sec total size is 69,764 speedup is 8.94