[Bug 215019] sys/kern/coredump_phnum_test:coredump_phnum is broken (the value it's parsing for isn't correct)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Dec 3 02:14:31 UTC 2016


            Bug ID: 215019
           Summary: sys/kern/coredump_phnum_test:coredump_phnum is broken
                    (the value it's parsing for isn't correct)
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: tests
          Assignee: freebsd-testing at freebsd.org
          Reporter: ngie at FreeBSD.org

Kernel is GENERIC-NODEBUG. No special sysctls or tunables set on my VM:

[ngie at fbsd12 /usr/tests]$ sudo kyua -v
test_suites.FreeBSD.allow_sysctl_side_effects=1 debug
kern.coredump: 1 -> 1
kern.corefile: %N.core -> /tmp/kyua.WvTTRC/2/work/coredump_phnum_helper.core
Executing command [ /usr/tests/sys/kern/coredump_phnum_helper ]
Executing command [ grep Number of program headers: ]
Executing command [ grep -1 program headers ]
Executing command [ grep -A1 ^  \[ 0\]  ]
Executing command [ wc -l ]
kern.coredump: 1 -> 1
kern.corefile: /tmp/kyua.WvTTRC/2/work/coredump_phnum_helper.core -> %N.core
Fail: regexp 65535 \(66169\) not in stdout
  Number of program headers:         65535
Fail: regexp There are 66169 program headers not in stdout
Entry point 0x0
There are 65535 program headers, starting at offset 64

Fail: regexp  0000000000000001 .* 66169  not in stdout
  [ 0] (null)            NULL             0000000000000000  00000000
       0000000000000000  0000000000000000           0     0     0
Fail: regexp 66545 not in stdout
Files left in work directory after failure: coredump_phnum_helper.core,
sys/kern/coredump_phnum_test:coredump_phnum  ->  failed: Test case body
returned a non-ok exit code, but this is not allowed
[ngie at fbsd12 /usr/tests]$ uname -a
FreeBSD fbsd12 12.0-CURRENT FreeBSD 12.0-CURRENT #7 r309448: Fri Dec  2
15:39:37 PST 2016     ngie at fbsd12:/usr/obj/usr/src/svn/sys/GENERIC-NODEBUG 
[ngie at fbsd12 /usr/tests]$ sh -c 'ulimit -a'
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  64
max user processes              (-u)  7578
open files                      (-n)  87516
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-testing mailing list