test(net): skip only the IPv6 socket checks on a host without IPv6 #2251
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2251"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by zmeizy on 2026-10-09T13:11:28Z.
What
On a host whose kernel has no IPv6,
socket(AF_INET6)fails withEAFNOSUPPORT, soguest_sce_netaborted at its first IPv6 socket inCheckUnspecifiedIpv6and never ran the TCP, UDP, epoll,sceNetSendmsg/sceNetRecvmsg, resolver and NetCtl checks after it.When
sceNetSocketreports guestEAFNOSUPPORT(47) for the IPv6 socket, the test now skips those IPv6 socket checks, runs the rest, and exits with 77, which ctest reports as skipped (SKIP_RETURN_CODE 77, asguest_video_out_wqhd_detectiondoes). The IPv6 address-text checks still run. Hosts with IPv6 run every check as before.Tested
Ubuntu 24.04 container whose kernel has no IPv6 (
/proc/net/if_inet6absent): before,guest_sce_netaborted (Subprocess aborted); after, every other check runs and passes and ctest reports it as Skipped. The IPv6 path cannot be run there; on a host with IPv6 the added branch is not taken, so CI runs the same checks as before. Fullctest --parallel 4 --timeout 120ond70b8998with this change and the two other fixes applied: 513 tests, 0 failures.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt (n/a).mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
https://claude.ai/code/session_01Ha6Tsy62AFUyp9a5Mf7vjA
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T13:13:42Z.
Review: APPROVED
Reviewed the full diff and reran Conventions on the exact head. The skip is limited to the IPv6 socket checks after guest EAFNOSUPPORT (47); IPv6 address text checks and the remaining IPv4, TCP, UDP, resolver, epoll, message, and NetCtl checks still execute. CTest maps only this test's 77 exit to skipped. The PR reports a full 513-test run with this change applied and a reproduction on a host without IPv6. No blocking issues found.
Imported from boykopovar/AnyPS5. Originally posted by popcoder565 on 2026-10-09T15:47:22Z.
Native Windows run, since no Windows results were posted. Setup: Windows 10 (19045), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release. Head
4a2769f2, merged ontomaind70b8998in one build with 38 other PRs that had no Windows run.guest_sce_net. None of them reported skipping a case.No title was run.
🤖 Addressed by Claude Code