s390x: failing coretests/tests/net
Open
Nobody has claimed this yet.
C-bug
needs-triage
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
On s390x there are test failures related to parsing of IPV4 addresses:
2026-06-18T00:03:40.1452832Z Running tests/lib.rs (/checkout/obj/build/s390x-unknown-linux-gnu/stage3-codegen/s390x-unknown-linux-gnu/debug/deps/coretests-d2ee8cb4a10c0b62)
2026-06-18T00:03:40.1566728Z
2026-06-18T00:03:40.1568825Z running 2714 tests
2026-06-18T00:03:41.2284668Z ...........i.........i................................................................. 87/2714
2026-06-18T00:03:42.7921023Z ....................................................................................... 174/2714
2026-06-18T00:03:44.0264069Z ....................................................................................... 261/2714
2026-06-18T00:03:45.1198998Z ....................................................................................... 348/2714
2026-06-18T00:03:46.2816639Z ....................................................................................... 435/2714
2026-06-18T00:03:47.3599973Z .....................................................i................................. 522/2714
2026-06-18T00:03:48.4889584Z ....................................................................................... 609/2714
2026-06-18T00:03:49.3726377Z ....................................................................................... 696/2714
2026-06-18T00:03:50.3162095Z ........................................................................ 768/2714
2026-06-18T00:03:50.3196606Z net::ip_addr::test_from_str_ipv4 --- FAILED
2026-06-18T00:03:50.3392398Z .. 771/2714
2026-06-18T00:03:50.3393563Z net::ip_addr::test_from_str_ipv4_in_ipv6 --- FAILED
2026-06-18T00:03:50.5114991Z .......... 782/2714
2026-06-18T00:03:50.5116774Z net::ip_addr::ipv4_properties --- FAILED
2026-06-18T00:03:50.9524786Z ..................................... 820/2714
2026-06-18T00:03:50.9539144Z net::parser::parse_ipv4 --- FAILED
2026-06-18T00:03:52.3098953Z ....................................................................................... 908/2714
2026-06-18T00:03:53.5546570Z ....................................................................................... 995/2714
2026-06-18T00:03:54.4482367Z ....................................................................................... 1082/2714
2026-06-18T00:03:55.7198861Z ....................................................................................... 1169/2714
2026-06-18T00:03:57.4060464Z ....................................................................................... 1256/2714
2026-06-18T00:03:58.4169149Z ....................................................................................... 1343/2714
2026-06-18T00:03:59.8957095Z ....................................................................................... 1430/2714
2026-06-18T00:04:01.4573941Z ....................................................................................... 1517/2714
2026-06-18T00:04:03.4558029Z ................................................ii..................................... 1604/2714
2026-06-18T00:04:04.4760565Z ....................................................................................... 1691/2714
2026-06-18T00:04:05.5908607Z ....................................................................................... 1778/2714
2026-06-18T00:04:06.7764786Z ....................................................................................... 1865/2714
2026-06-18T00:04:07.9140692Z ....................................................................................... 1952/2714
2026-06-18T00:04:08.9552647Z ....................................................................................... 2039/2714
2026-06-18T00:04:10.1703799Z ....................................................................................... 2126/2714
2026-06-18T00:04:11.4944806Z ....................................................................................... 2213/2714
2026-06-18T00:04:12.5794285Z ....................................................................................... 2300/2714
2026-06-18T00:04:13.5538648Z ....................................................................................... 2387/2714
2026-06-18T00:04:16.2021793Z .............................................i......................................... 2474/2714
2026-06-18T00:04:17.4494296Z ....................................................................................... 2561/2714
2026-06-18T00:04:18.1321931Z ....................................................................................... 2648/2714
2026-06-18T00:04:24.0755214Z ..................................................................
2026-06-18T00:04:24.0757004Z failures:
2026-06-18T00:04:24.0762933Z
2026-06-18T00:04:24.0763727Z ---- net::ip_addr::test_from_str_ipv4 stdout ----
2026-06-18T00:04:24.0765848Z ---- net::ip_addr::test_from_str_ipv4 stderr ----
2026-06-18T00:04:24.0766991Z
2026-06-18T00:04:24.0767728Z thread 'main' (295097) panicked at coretests/tests/net/ip_addr.rs:10:5:
2026-06-18T00:04:24.0769567Z assertion `left == right` failed
2026-06-18T00:04:24.0775584Z left: Ok(127.0.0.1)
2026-06-18T00:04:24.0776334Z right: Ok(0.0.0.127)
2026-06-18T00:04:24.0777044Z stack backtrace:
2026-06-18T00:04:24.0777729Z 0: __rustc::rust_begin_unwind
2026-06-18T00:04:24.0778597Z 1: core::panicking::panic_fmt
2026-06-18T00:04:24.0779530Z 2: core::panicking::assert_failed_inner
2026-06-18T00:04:24.0783348Z 3: core::panicking::assert_failed::<core::result::Result<core::net::ip_addr::Ipv4Addr, core::net::parser::AddrParseError>, core::result::Result<core::net::ip_addr::Ipv4Addr, core::net::parser::AddrParseError>>
2026-06-18T00:04:24.0789803Z at /checkout/obj/build/s390x-unknown-linux-gnu/stage2-codegen/cg_clif/build/sysroot_tests/library/core/src/panicking.rs:394:5
2026-06-18T00:04:24.0794299Z 4: coretests::net::ip_addr::test_from_str_ipv4
2026-06-18T00:04:24.0796433Z at ./tests/net/ip_addr.rs:10:5
2026-06-18T00:04:24.0799550Z 5: coretests::net::ip_addr::test_from_str_ipv4::{closure#0}
2026-06-18T00:04:24.0800899Z at ./tests/net/ip_addr.rs:9:24
2026-06-18T00:04:24.0802872Z 6: <coretests::net::ip_addr::test_from_str_ipv4::{closure#0} as core::ops::function::FnOnce<()>>::call_once
2026-06-18T00:04:24.0806450Z at /checkout/obj/build/s390x-unknown-linux-gnu/stage2-codegen/cg_clif/build/sysroot_tests/library/core/src/ops/function.rs:250:5
2026-06-18T00:04:24.0809967Z note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
2026-06-18T00:04:24.0811421Z
2026-06-18T00:04:24.0812115Z ---- net::ip_addr::test_from_str_ipv4_in_ipv6 stdout ----
2026-06-18T00:04:24.0813567Z ---- net::ip_addr::test_from_str_ipv4_in_ipv6 stderr ----
2026-06-18T00:04:24.0814700Z
2026-06-18T00:04:24.0815444Z thread 'main' (295099) panicked at coretests/tests/net/ip_addr.rs:81:5:
2026-06-18T00:04:24.0816929Z assertion `left == right` failed
2026-06-18T00:04:24.0817779Z left: None
2026-06-18T00:04:24.0818405Z right: Some(0.0.1.1)
2026-06-18T00:04:24.0819462Z stack backtrace:
2026-06-18T00:04:24.0820968Z 0: __rustc::rust_begin_unwind
2026-06-18T00:04:24.0822068Z 1: core::panicking::panic_fmt
2026-06-18T00:04:24.0824122Z 2: core::panicking::assert_failed_inner
2026-06-18T00:04:24.0826589Z 3: core::panicking::assert_failed::<core::option::Option<core::net::ip_addr::Ipv4Addr>, core::option::Option<core::net::ip_addr::Ipv4Addr>>
2026-06-18T00:04:24.0830554Z at /checkout/obj/build/s390x-unknown-linux-gnu/stage2-codegen/cg_clif/build/sysroot_tests/library/core/src/panicking.rs:394:5
2026-06-18T00:04:24.0833301Z 4: coretests::net::ip_addr::test_from_str_ipv4_in_ipv6
2026-06-18T00:04:24.0834672Z at ./tests/net/ip_addr.rs:81:5
2026-06-18T00:04:24.0836025Z 5: coretests::net::ip_addr::test_from_str_ipv4_in_ipv6::{closure#0}
2026-06-18T00:04:24.0837408Z at ./tests/net/ip_addr.rs:67:32
2026-06-18T00:04:24.0839411Z 6: <coretests::net::ip_addr::test_from_str_ipv4_in_ipv6::{closure#0} as core::ops::function::FnOnce<()>>::call_once
2026-06-18T00:04:24.0842997Z at /checkout/obj/build/s390x-unknown-linux-gnu/stage2-codegen/cg_clif/build/sysroot_tests/library/core/src/ops/function.rs:250:5
2026-06-18T00:04:24.0846159Z note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
2026-06-18T00:04:24.0847543Z
2026-06-18T00:04:24.0847953Z ---- net::ip_addr::ipv4_properties stdout ----
2026-06-18T00:04:24.0849126Z ---- net::ip_addr::ipv4_properties stderr ----
2026-06-18T00:04:24.0849920Z
2026-06-18T00:04:24.0850634Z thread 'main' (295071) panicked at coretests/tests/net/ip_addr.rs:441:5:
2026-06-18T00:04:24.0852437Z assertion `left == right` failed
2026-06-18T00:04:24.0853741Z left: "0.0.0.1"
2026-06-18T00:04:24.0854400Z right: "0.0.0.0"
2026-06-18T00:04:24.0855033Z stack backtrace:
2026-06-18T00:04:24.0855753Z 0: __rustc::rust_begin_unwind
2026-06-18T00:04:24.0884390Z 1: core::panicking::panic_fmt
2026-06-18T00:04:24.0885462Z 2: core::panicking::assert_failed_inner
2026-06-18T00:04:24.0890507Z 3: core::panicking::assert_failed::<&str, alloc::string::String>
2026-06-18T00:04:24.0894225Z at /checkout/obj/build/s390x-unknown-linux-gnu/stage2-codegen/cg_clif/build/sysroot_tests/library/core/src/panicking.rs:394:5
2026-06-18T00:04:24.0897445Z 4: coretests::net::ip_addr::ipv4_properties
2026-06-18T00:04:24.0899205Z at ./tests/net/ip_addr.rs:346:13
2026-06-18T00:04:24.0902221Z 5: coretests::net::ip_addr::ipv4_properties::{closure#0}
2026-06-18T00:04:24.0919419Z at ./tests/net/ip_addr.rs:338:21
2026-06-18T00:04:24.0949938Z 6: <coretests::net::ip_addr::ipv4_properties::{closure#0} as core::ops::function::FnOnce<()>>::call_once
2026-06-18T00:04:24.1032706Z at /checkout/obj/build/s390x-unknown-linux-gnu/stage2-codegen/cg_clif/build/sysroot_tests/library/core/src/ops/function.rs:250:5
2026-06-18T00:04:24.1058589Z note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
2026-06-18T00:04:24.1069532Z
2026-06-18T00:04:24.1070402Z ---- net::parser::parse_ipv4 stdout ----
2026-06-18T00:04:24.1080490Z ---- net::parser::parse_ipv4 stderr ----
2026-06-18T00:04:24.1086705Z
2026-06-18T00:04:24.1095360Z thread 'main' (295119) panicked at coretests/tests/net/parser.rs:27:5:
2026-06-18T00:04:24.1098944Z assertion `left == right` failed
2026-06-18T00:04:24.1100609Z left: 0.0.0.192
2026-06-18T00:04:24.1101835Z right: 192.168.0.1
2026-06-18T00:04:24.1110483Z stack backtrace:
2026-06-18T00:04:24.1113547Z 0: __rustc::rust_begin_unwind
2026-06-18T00:04:24.1117926Z 1: core::panicking::panic_fmt
2026-06-18T00:04:24.1127394Z 2: core::panicking::assert_failed_inner
2026-06-18T00:04:24.1134802Z 3: core::panicking::assert_failed::<core::net::ip_addr::Ipv4Addr, core::net::ip_addr::Ipv4Addr>
2026-06-18T00:04:24.1150413Z at /checkout/obj/build/s390x-unknown-linux-gnu/stage2-codegen/cg_clif/build/sysroot_tests/library/core/src/panicking.rs:394:5
2026-06-18T00:04:24.1156295Z 4: coretests::net::parser::parse_ipv4
2026-06-18T00:04:24.1162266Z at ./tests/net/parser.rs:27:5
2026-06-18T00:04:24.1164926Z 5: coretests::net::parser::parse_ipv4::{closure#0}
2026-06-18T00:04:24.1167362Z at ./tests/net/parser.rs:25:16
2026-06-18T00:04:24.1173084Z 6: <coretests::net::parser::parse_ipv4::{closure#0} as core::ops::function::FnOnce<()>>::call_once
2026-06-18T00:04:24.1178596Z at /checkout/obj/build/s390x-unknown-linux-gnu/stage2-codegen/cg_clif/build/sysroot_tests/library/core/src/ops/function.rs:250:5
2026-06-18T00:04:24.1219319Z note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
2026-06-18T00:04:24.1221598Z
2026-06-18T00:04:24.1221634Z
2026-06-18T00:04:24.1222215Z failures:
2026-06-18T00:04:24.1223522Z net::ip_addr::ipv4_properties
2026-06-18T00:04:24.1225425Z net::ip_addr::test_from_str_ipv4
2026-06-18T00:04:24.1226927Z net::ip_addr::test_from_str_ipv4_in_ipv6
2026-06-18T00:04:24.1228273Z net::parser::parse_ipv4
2026-06-18T00:04:24.1229057Z
2026-06-18T00:04:24.1230708Z test result: FAILED. 2704 passed; 4 failed; 6 ignored; 0 measured; 0 filtered out; finished in 43.91s
See here for the full log output, or here for the GitHub action. This is based on an experiment using a self-hosted GitHub runner for testing s390x.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with coretests/tests/net/ip_addr.rs and coretests/tests/net/parser.rs, focusing on the failing IPv4 parsing and property tests shown in the report. Reproduce the coretests net failures on s390x, then trace the relevant IPv4 parsing behavior. Done means the listed tests pass on s390x without changing their expected results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100