2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-25 19:38:38 +00:00

8 Commits

Author SHA1 Message Date
Andrei Vagin
e2bb525d62 test: make crit-recode.py python2/python3 compatible
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
2018-06-08 09:54:22 +03:00
Andrei Vagin
cd79f7b6e5 test: import pycriu by its right name
Otherwise one library will be imported twice by two different names: py
and pycriu, because pycriu is used in the library.

https://github.com/checkpoint-restore/criu/issues/495
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
2018-06-08 09:54:22 +03:00
Andrew Vagin
be663b002d test/crit-recode: skip images with zero size
Now we have many tests with the crfail flags. When criu dump fails,
criu may create image files, but doesn't fill them.

Reported-by: Mr Jenkins
Signed-off-by: Andrew Vagin <avagin@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2016-06-28 13:12:26 +03:00
Andrew Vagin
877558fc8c test/crit-recode: skip rule-%d.img
These images are generated by the ip tool.

Signed-off-by: Andrew Vagin <avagin@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2016-06-28 13:12:26 +03:00
Pavel Emelyanov
3bf5c88126 jenkins: Fix crit-recode's pycriu new module name
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2016-02-25 15:39:57 +03:00
Ivan Shapovalov
7f0643f9c3 treewide: specify 'python2' instead of 'python' in shebangs of python scripts
Signed-off-by: Ivan Shapovalov <intelfx@intelfx.name>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2016-02-20 14:11:49 +03:00
Pavel Emelyanov
3606e755ce crit: Do not recode new netns-ct/-exp images
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2016-02-08 13:07:05 +03:00
Pavel Emelyanov
3825c3e5d4 crit: Speed up jenkins test ~60 times
Running crit tool 4 times per test (decode, encode, decode --pretty
and encode back again) is way too slow. The majority of time, as
it turned out, goes on python load and arguments parsing. The en-
and de-coding works pretty fast.

So doing re-code logic in one python script for ALL images is way
way faster -- ~1 hour vs ~1 minute on my box.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2015-12-11 16:36:05 +03:00