Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-8613

test-framework defect: child processes of a test is not killed when parent is killed( on timeout)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Low Priority
    • Major
    • None
    • Lustre 2.8.0
    • None
    • 3
    • 9223372036854775807

    Description

      sanity_test_71 is run for demonstration purpose...

      ............
      27083 pts/1    Ss     0:00  \_ bash
      27096 pts/1    S      0:00  |   \_ sudo -s
      27097 pts/1    S      0:00  |       \_ /bin/bash
      22126 pts/1    S+     0:00  |           \_ sh sanity.sh      <<<  sanity_test_suite
      23480 pts/1    S+     0:00  |               \_ sh sanity.sh      <<< test_71
      23506 pts/1    S+     0:00  |               |   \_ sh rundbench -C -D /mnt/lustre/d71.sanity 2
      23530 pts/1    S+     0:00  |               |       \_ dbench -c client.txt 2
      23533 pts/1    R+     0:04  |               |           \_ dbench -c client.txt 2
      23534 pts/1    R+     0:04  |               |           \_ dbench -c client.txt 2
      23481 pts/1    S+     0:00  |               \_ tee -i /tmp/test_logs/1473851944/sanity.test_71.test_log.ashish-102.log
      .........
      [root@ashish-102 tests]# kill -15 22126
      .........
      23480 pts/1    S      0:00 sh sanity.sh    <<< test_71
      23506 pts/1    S      0:00  \_ sh rundbench -C -D /mnt/lustre/d71.sanity 2
      23530 pts/1    S      0:00      \_ dbench -c client.txt 2
      23533 pts/1    R      0:30          \_ dbench -c client.txt 2
      23534 pts/1    R      0:30          \_ dbench -c client.txt 2
      23481 pts/1    S      0:00 tee -i /tmp/test_logs/1473851944/sanity.test_71.test_log.ashish-102.log
      ........
      [root@ashish-102 tests]# kill -15 23480
      ........
      23481 pts/1    S      0:00 tee -i /tmp/test_logs/1473851944/sanity.test_71.test_log.ashish-102.log
      23506 pts/1    S      0:00 sh rundbench -C -D /mnt/lustre/d71.sanity 2
      23530 pts/1    S      0:00  \_ dbench -c client.txt 2
      23533 pts/1    R      0:53      \_ dbench -c client.txt 2
      23534 pts/1    R      0:53      \_ dbench -c client.txt 2
      

      test-framework does not handle child processes of the tests when the parent is terminated or killed.

      Attachments

        Activity

          People

            wc-triage WC Triage
            ashish.maurya Ashish Maurya (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: