NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/49008: rump (or atf) doesn't properly report KASSERT()

>Number:         49008
>Category:       kern
>Synopsis:       rump (or atf) doesn't properly report KASSERT()
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 17 10:50:00 +0000 2014
>Originator:     Manuel Bouyer
>Release:        NetBSD 6.99.44
System: NetBSD test1 6.99.44 NetBSD 6.99.44 (XEN3PAE_DOMU) #4: Thu Jul 17 
11:59:48 CEST 2014  
Architecture: i386
Machine: i386
        I've been pointed out that some MPLS tests are failing since a commit
        of mine:

        notice that stderr only has
Fail: incorrect exit status: 2, expected: 0
PING ( 64 data bytes
---- PING Statistics----
4 packets transmitted, 0 packets received, 100.0% packet loss 
rump.halt: init failed: No such file or directory

        To debug this I setup 4 Xen guests to reproduce the setup of this
        test. Then the problem became immediatly obvious:
test2# panic: kernel diagnostic assertion "KERNEL_LOCKED_P()" failed: file 
"/dsk/l1/misc/bouyer/HEAD/src/sys/net/if_ethersubr.c", line 215

        I guess the second rump server of the test did panic and exit, but
        this message was not inclued in the test output.

        revert if_mpls.c 1.16 and run atf in tests/net/mpls.
        Notice that the tests fails without usefull messages.

Home | Main Index | Thread Index | Old Index