1. 25 Mar, 2016 3 commits
    • Sergey Bronnikov's avatar
      zdtm.py: add support of test reports in TAP format · cabafae2
      Sergey Bronnikov authored
      Usually we run CRIU tests automatically using Jenkins CI and it reports status
      as PASS/FAIL for overall testsuite on used environment. You should dig into log
      files to figure out how many tests were failed and skipped. This patch brings
      support of cute reports in TAP (Test Anything Protocol) format.
      
      The sample of report:
      
      TAP version 13
      1..242
      ok 1 - conntracks # SKIP manual run only
      ok 2 - busyloop00
      ok 3 - sleeping00
      ok 4 - pid00
      ok 5 - caps00
      ok 6 - wait00
      
      NOTE: report will be generated only when options --keep-going and --report
      are specified.
      Signed-off-by: 's avatarSergey Bronnikov <sergeyb@openvz.org>
      Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
      cabafae2
    • Sergey Bronnikov's avatar
      zdtm.py: add option --keep-going · 474f2dfc
      Sergey Bronnikov authored
      Introduce an option --keep-going to make ability to run all planned tests and
      ignore failed tests. Also with this option zdtm.py will keep image files and
      output log for each failed test:
      
      [vagrant at fedora test]$ find sergeyb-xxx -maxdepth 3
      sergeyb-xxx
      sergeyb-xxx/zdtm_static_bridge_ns
      sergeyb-xxx/zdtm_static_bridge_ns/images
      sergeyb-xxx/zdtm_static_bridge_ns/images/1
      sergeyb-xxx/zdtm_static_bridge_ns/output
      sergeyb-xxx/zdtm_static_bridge_ns/images.0
      sergeyb-xxx/zdtm_static_bridge_ns/images.0/1
      sergeyb-xxx/zdtm_static_bridge_ns/output.0
      sergeyb-xxx/zdtm_static_deleted_unix_sock_h
      sergeyb-xxx/zdtm_static_deleted_unix_sock_h/output
      sergeyb-xxx/zdtm_static_deleted_unix_sock_h/output.0
      sergeyb-xxx/zdtm_static_deleted_unix_sock_h/output.1
      Signed-off-by: 's avatarSergey Bronnikov <sergeyb@openvz.org>
      Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
      474f2dfc
    • Andrew Vagin's avatar
      netlink: Use nlattr instead of rtattr · bab4e9c9
      Andrew Vagin authored
      because the kernel uses nlattr for these messages.
      Signed-off-by: 's avatarAndrew Vagin <avagin@virtuozzo.com>
      Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
      bab4e9c9
  2. 23 Mar, 2016 6 commits
  3. 21 Mar, 2016 8 commits
  4. 18 Mar, 2016 2 commits
  5. 16 Mar, 2016 21 commits