Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Dec 2016 02:14:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-testing@freebsd.org
Subject:   [Bug 215019] sys/kern/coredump_phnum_test:coredump_phnum is broken (the value it's parsing for isn't correct)
Message-ID:  <bug-215019-32464@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215019

            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@freebsd.org
          Reporter: ngie@FreeBSD.org

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

[ngie@fbsd12 /usr/tests]$ sudo kyua -v
test_suites.FreeBSD.allow_sysctl_side_effects=3D1 debug
sys/kern/coredump_phnum_test:coredump_phnum=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20
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
   66546
Files left in work directory after failure: coredump_phnum_helper.core,
coredump_phnum_restore_state.sh
sys/kern/coredump_phnum_test:coredump_phnum  ->  failed: Test case body
returned a non-ok exit code, but this is not allowed
[ngie@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@fbsd12:/usr/obj/usr/src/svn/sys/GENERIC-NODEBUG=
=20
amd64
[ngie@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

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



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