Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2026 15:29:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        testing@FreeBSD.org
Subject:   [Bug 293296] lib/libc/string/strnlen_test:strnlen_size_max test failing on riscv64 in CI
Message-ID:  <bug-293296-32464@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293296

            Bug ID: 293296
           Summary: lib/libc/string/strnlen_test:strnlen_size_max test
                    failing on riscv64 in CI
           Product: Base System
           Version: 16.0-CURRENT
          Hardware: riscv
               URL: https://ci.freebsd.org/view/Test/job/FreeBSD-main-risc
                    v64-test/16514/testReport/lib.libc.string/strnlen_test
                    /strnlen_size_max/
                OS: Any
            Status: New
          Keywords: regression
          Severity: Affects Only Me
          Priority: ---
         Component: tests
          Assignee: fuz@FreeBSD.org
          Reporter: siva@FreeBSD.org
                CC: emaste@freebsd.org, testing@FreeBSD.org

The 'lib/libc/string/strnlen_test:strnlen_size_max' test is failing on riscv64
in CI:


lib/libc/string/strnlen_test:strnlen_size_max
Result:     failed: returned incorrect len (SIZE_MAX)

Standard error: 
align =  1, maxlen = 18446744073709551615, len = 0

I have reproduced this error using Bricoler to run riscv64 using QEMU:

$ bricoler run freebsd-src-regression-suite --param freebsd-src:url=/usr/src
--param freebsd-src:branch= --param freebsd-src-build:machine=riscv/riscv64
--param freebsd-src-regression-suite:hypervisor=qemu --param
freebsd-src-regression-suite:memory=4096 --param
freebsd-src-regression-suite:ncpus=2 --param
freebsd-src-regression-suite:parallelism=1 --param
freebsd-src-regression-suite:tests='lib/libc/string/strnlen_test:strnlen_size_max'

strajabot@ added the tests in
https://cgit.freebsd.org/src/commit/?id=7bedae81adaff4b4d291ba1f650b5b915ce207bf
(lib/libc/tests/string: add test for strnlen()), but there is no Bugzilla
account associated with them.

fuz@ since you reviewed and approved the changes in
https://reviews.freebsd.org/D46275. Please triage as necessary.

CC += emaste@ as another mentor.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-293296-32464>