NetBSD-Bugs archive

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

misc/48282: Running ATF tests on 6.1.2 in KVM VPS leaves processes running



>Number:         48282
>Category:       misc
>Synopsis:       Running ATF tests on 6.1.2 in KVM VPS leaves processes running
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 06 12:50:01 +0000 2013
>Originator:     Andreas Gustafsson
>Release:        NetBSD 6.1.2 + patches to work around PRs 45671 and 48277
>Organization:
>Environment:
System: NetBSD
Architecture: x86_64
Machine: amd64
>Description:

After working around PRs 45671 and 48277, I now have NetBSD 6.1.2
running on an edis.at KVM VPS.  However, when I run the ATF tests with

   cd /usr/tests
   atf-run | atf-report

a number of failures are reported:

    Failed test cases:
        fs/nfs/t_rquotad:get_nfs_be_1_group, 
fs/nfs/t_rquotad:get_nfs_be_1_user, fs/nfs/t_rquotad:get_nfs_le_1_both, 
fs/vfs/t_renamerace:lfs_renamerace_dirs,
        lib/libc/stdlib/t_strtod:strtold_inf, 
lib/libc/stdlib/t_strtod:strtold_nan, lib/libm/t_infinity:infinity_long_double

    Summary for 500 test programs:
        2970 passed test cases.
        7 failed test cases.
        35 expected failed test cases.
        67 skipped test cases.

The strtold_inf, strtold_nan, and infinity_long_double failures are
known problems and also fail elsewhere (e.g., today's git QEMU), but
the get_nfs_be_1_group, get_nfs_be_1_user, get_nfs_le_1_both, and
lfs_renamerace_dirs failures are unexpected.

Running ps after the tests have finished, it shows a number of
rump_server processes and some NFS related processes still running:

gunvor# ps -glaxww
UID   PID PPID    CPU PRI NI    VSZ  RSS WCHAN   STAT TTY      TIME COMMAND
  0     0    0      0 125  0      0 2380 uvm     DKl  ?     0:08.11 [system]
  0     1    0  10503  83  0  12864 1296 wait    Is   ?     0:00.04 init 
  0    96    1      0  85  0  23268 1544 kqueue  Is   ?     0:00.03 
/usr/libexec/rpc.rquotad 
  0   158    1      0  85  0  23832 1860 kqueue  Ss   ?     0:00.07 
/usr/sbin/syslogd -s 
  0   294    1      0  85  0  12880 1004 kqueue  Is   ?     0:00.00 
/usr/sbin/powerd 
  0   318    1  13685  43  0 178832 7588 parked  Isl  ?     0:07.46 rump_server 
-lrumpvfs -lrumpdev -lrumpnet -lrumpnet_net -lrumpnet_netinet -lrumpnet_local 
-lrumpnet_shmif -lrumpdev_disk -lrumpfs_ffs -lrumpfs_nfs -lrumpfs_nfsserver -d 
key unix://test 
  0   323    1      0  85  0  57304 2856 select  Is   ?     0:00.01 
/usr/sbin/sshd 
  0   383    1      0  85  0  10828 1284 nanoslp Ss   ?     0:00.03 
/usr/sbin/cron 
  0   419    1  16894  43  0 121020 6520 parked  Isl  ?     0:07.25 rump_server 
-lrumpvfs -lrumpnet -lrumpnet_net -lrumpnet_netinet -lrumpnet_shmif 
-lrumpfs_nfs unix://clientsock 
  0   505    1      0  85  0  49088 3852 kqueue  Is   ?     0:00.06 
/usr/libexec/postfix/master 
  0   518    1  10373  43  0  35472 1576 parked  Isl  ?     0:00.01 nfsd -tu 
  0   519    1      0  85  0  14980 1080 kqueue  Is   ?     0:00.00 
/usr/sbin/inetd -l 
  0   534  323      0  85  0  76380 5748 select  Ss   ?     0:01.10 sshd: 
root@pts/0 (sshd)
 12   548  505      0  85  0  49208 3772 kqueue  I    ?     0:00.02 qmgr -l -t 
unix -u 
 12   581  505      0  85  0  49148 3772 kqueue  I    ?     0:00.02 pickup -l 
-t fifo -u 
  0   588    1 156264  38  0 178832 7584 parked  Isl  ?     0:08.52 rump_server 
-lrumpvfs -lrumpdev -lrumpnet -lrumpnet_net -lrumpnet_netinet -lrumpnet_local 
-lrumpnet_shmif -lrumpdev_disk -lrumpfs_ffs -lrumpfs_nfs -lrumpfs_nfsserver -d 
key unix://test 
  0   721    1  12865  43  0 178832 7584 parked  Isl  ?     0:07.89 rump_server 
-lrumpvfs -lrumpdev -lrumpnet -lrumpnet_net -lrumpnet_netinet -lrumpnet_local 
-lrumpnet_shmif -lrumpdev_disk -lrumpfs_ffs -lrumpfs_nfs -lrumpfs_nfsserver -d 
key unix://test 
  0   782    1  23453  42  0 116924 6504 parked  Isl  ?     0:08.25 rump_server 
-lrumpvfs -lrumpnet -lrumpnet_net -lrumpnet_netinet -lrumpnet_shmif 
-lrumpfs_nfs unix://clientsock 
  0   813    1      0  85  0  23340 1552 kqueue  Is   ?     0:00.04 rpcbind 
  0  1360    1      0  85  0  23356 1664 kqueue  Is   ?     0:00.03 mountd 
/rump/etc/exports 
  0 26263    1      0  85  0  23356 1664 kqueue  Is   ?     0:00.03 mountd 
/rump/etc/exports 
  0 26504    1      0  85  0  23268 1544 kqueue  Is   ?     0:00.03 
/usr/libexec/rpc.rquotad 
  0 26754    1  56990  38  0  35472 1576 parked  Isl  ?     0:00.00 nfsd -tu 
  0 26792    1      0  85  0  23268 1544 kqueue  Is   ?     0:00.03 
/usr/libexec/rpc.rquotad 
  0 27042    1      0  85  0  23340 1560 kqueue  Is   ?     0:00.04 rpcbind 
  0 27243    1      0  85  0  23356 1664 kqueue  Is   ?     0:00.03 mountd 
/rump/etc/exports 
  0 28061    1      0  85  0  23340 1556 kqueue  Is   ?     0:00.03 rpcbind 
  0 28308    1 102582  38  0 116924 6504 parked  Isl  ?     0:07.50 rump_server 
-lrumpvfs -lrumpnet -lrumpnet_net -lrumpnet_netinet -lrumpnet_shmif 
-lrumpfs_nfs unix://clientsock 
  0 29519    1  12065  42  0  35472 1576 parked  Isl  ?     0:00.01 nfsd -tu 
  0   562  534      0  85  0  13116 1796 wait    Ss   ttyp0 0:00.06 -sh 
  0  3677  562      0  43  0  12912 1140 -       O+   ttyp0 0:00.00 ps -glaxww 
  0   538    1      0  85  0  12888 1288 ttyraw  Is+  ttyE0 0:00.00 
/usr/libexec/getty Pc console 
  0   444    1      0  85  0  12888 1288 ttyraw  Is+  ttyE1 0:00.00 
/usr/libexec/getty Pc ttyE1 
  0   531    1      0  85  0  12888 1288 ttyraw  Is+  ttyE2 0:00.00 
/usr/libexec/getty Pc ttyE2 
  0   558    1      0  85  0  12888 1288 ttyraw  Is+  ttyE3 0:00.00 
/usr/libexec/getty Pc ttyE3 

This is a newly installed machine that is not configured as an NFS
server or client, so any NFS related processes above are leftovers
from the test, not deliberately started.

I don't know if this is a bug in NetBSD or one in KVM.

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index