shivansh/smoketestsuite

System reboots on running the tests in Normal mode

Closed this issue · 1 comments

Run in 'batch mode' ? [y/N] N

           Utility | Progress
         ----------+-----------
        fingerd(8) | 5/5
          talkd(8) | 0/0
         rbootd(8) | 3/3
           ftpd(8) | 26/26
        rlogind(8) | 4/4
    rpc.rquotad(8) | 0/0
     rpc.rwalld(8) | 1/1
      bootptest(8) | 3/3
    revnetgroup(8) | 2/2
     rpc.rstatd(8) | 0/0
      addr2line(1) | 11/11
             nm(1) | 41/41
        strings(1) | 7/7
        cxxfilt(1) | 6/6
          mtree(8) | 34/34
          bmake(1) | 0/0
        smbutil(1) | 1/1
         loader(8) | 0/0
         pxeldr(8) | 0/0
        zfsboot(8) | 0/0
        gptboot(8) | 0/0
           init(8) | 0/0
           ping(8) | 30/30
     fdisk_pc98(8) | 10/10
        rcorder(8) | 2/2
         comsat(8) | 0/0
   mount_cd9660(8) | 9/9
        hastctl(8) | 5/5
       sunlabel(8) | 9/9
           clri(8) | 0/0
       shutdown(8) | 6/6
          pfctl(8) | 67/67
      adjkerntz(8) | 2/2
    conscontrol(8) | 0/0
           ipfw(8) | 14/14
       bsdlabel(8) | 0/0
           natd(8) | 31/31
    nvmecontrol(8) | 0/0
          devfs(8) | 2/2
         nfsiod(8) | 1/1
          route(8) | 7/7
         bootpd(8) | 6/6
  mount_unionfs(8) | 2/2
         swapon(8) | 7/7
        elfcopy(1) | 15/15
          mknod(8) | 0/0
     zfsbootcfg(8) | 0/0
        rtquery(8) | 8/8
         ggatel(8) | 6/6
         ggated(8) | 8/8
         ggatec(8) | 11/11
          dmesg(8) | 4/4
         umount(8) | 8/8
       savecore(8) | 8/8
       ldconfig(8) | 10/10
           fsdb(8) | 3/3
            md5(1) | 7/7
        badsect(8) | 0/0
         dumpfs(8) | 0/0
      kldunload(8) | 4/4
   fsck_msdosfs(8) | 6/6
         dumpon(8) | 0/0
    newfs_msdos(8) | 23/23
            ddb(8) | 0/0
        fsirand(8) | 3/3
     rpc.sprayd(8) | 0/0
sh: Syntax error: Unterminated quoted string
sh: Syntax error: Unterminated quoted string
 etherswitchcfg(8) | 3/3
     comcontrol(8) | 0/0
        kldload(8) | 3/3
        nos-tun(8) | 0/0
      mount_nfs(8) | 26/26
          fdisk(8) | 13/13
        restore(8) | 17/17
    recoverdisk(1) | 4/4
          unvis(1) | 4/4
          ping6(8) | 31/31
  mount_msdosfs(8) | 12/12
        openssl(1) | 0/0
         crypto(1) | 0/0
         gencat(1) | 0/0
          lsvfs(1) | 1/1
         ktrace(1) | 9/9
       procstat(1) | 15/15
           from(1) | 3/3
             nl(1) | 11/11
        elfdump(1) | 16/16
            tip(1) | 2/2
           size(1) | 12/12
          truss(1) | 11/11
Connection to localhost closed by remote host.
Connection to localhost closed.

To test whether some specific utilities like truss or rpc.sprayd were causing the issue, I removed them from the utils_list. But even then this problem persists.

Your system is being rebooted because of shutdown -r being run ; and since batch mode required sudo, there was no problem in running this (maybe you can confirm this too by removing shutdown from the list).
The batch mode is proving to be extremely dangerous, I guess it's about time it was taken down until I figure out an alternative for automating the test installation process (this was an experimental feature anyway).