1. 04 Dec, 2015 3 commits
  2. 03 Dec, 2015 12 commits
  3. 02 Dec, 2015 1 commit
  4. 30 Nov, 2015 8 commits
  5. 27 Nov, 2015 3 commits
  6. 26 Nov, 2015 10 commits
  7. 25 Nov, 2015 2 commits
    • Andrew Vagin's avatar
      zdtm.py: umount root only if it was mounted · 32452b21
      Andrew Vagin authored
      We get the stack trace if a test failed:
      
      Test output: ================================
      09:11:34.584:     4: PASS
      
       <<< ================================
      Traceback (most recent call last):
        File "zdtm.py", line 922, in <module>
          do_run_test(tinfo[0], tinfo[1], tinfo[2], tinfo[3])
        File "zdtm.py", line 696, in do_run_test
          t.kill()
        File "zdtm.py", line 302, in kill
          self.__flavor.fini()
        File "zdtm.py", line 168, in fini
          subprocess.check_call(["mount", "--make-private", self.root])
        File "/usr/lib64/python2.7/subprocess.py", line 540, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['mount', '--make-private', '/tmp/criu-root-YN1t3X']' returned non-zero exit status 32
      umount: /tmp/criu-root-YN1t3X: not mounted
      
      Cc: Tycho Andersen <tycho.andersen@canonical.com>
      Signed-off-by: 's avatarAndrew Vagin <avagin@virtuozzo.com>
      Acked-by: 's avatarTycho Andersen <tycho.andersen@canonical.com>
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      32452b21
    • Andrew Vagin's avatar
      ptrace: send SIGSTOP to restore the stopped state · 6cc31661
      Andrew Vagin authored
      If a task was in a stopped state before we started to ptrace-seize
      it, this stopped state will be restored by kernel upon detach.
      
      If SIGSTOP was only in a task queue, we need to send it by hands
      again bedore detaching. Otherwise we clean stop from queue (to
      run parasite) and seize will restore task as running.
      
      And, since SIGSTOP doesn't affect states of already stopped tasks,
      we can send it to then safely and not distinguish stopped from
      stop-queued ones.
      
      Reported-by: Mr Jenkins
      Signed-off-by: 's avatarAndrew Vagin <avagin@virtuozzo.com>
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      6cc31661
  8. 23 Nov, 2015 1 commit