- 05 Nov, 2015 19 commits
-
-
Tycho Andersen authored
This directory is generated by the install-crit target, so let's .gitignore it and clean it on `make clean`. Signed-off-by:
Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
The restorer prints pointer addresses in error codes Reported-by:
Artem Kuzmitskiy <artem.kuzmitskiy@gmail.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Reported-by:
Artem Kuzmitskiy <artem.kuzmitskiy@gmail.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
It's very inconvenient to read the zdtm.py output with long lines of options. Reported-by:
Andrey Vagin <avagin@odin.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Asked-by:
Andrey Vagin <avagin@odin.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Otherwise make's output appears in logs before zdtm.py's one Reported-by:
Andrey Vagin <avagin@odin.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrew Vagin authored
Signed-off-by:
Andrew Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrew Vagin authored
CRIU sets kernel/sem_next_id to retore semaphores and this sysctl should be set berore semget(). (00.550616) 1: UNS: calling 0x443f70 (15, 1) (00.551077) 1: Error (ipc_ns.c:573): Failed to restore sem id (0 instead of 65536) (00.551251) 1: Error (ipc_ns.c:627): Failed to prepare semaphores set Cc: Cyrill Gorcunov <gorcunov@openvz.org> Cc: Tycho Andersen <tycho.andersen@canonical.com> Reported-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Andrew Vagin <avagin@openvz.org> Acked-by:
Cyrill Gorcunov <gorcunov@openvz.org> Acked-by:
Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrew Vagin authored
CID 84652 (#1 of 1): Resource leak (RESOURCE_LEAK) 6. leaked_handle: Handle variable newfd going out of scope leaks the handle. Signed-off-by:
Andrew Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrew Vagin authored
CID undefined (#1 of 1): Resource leak (RESOURCE_LEAK) 10. leaked_storage: Variable rm going out of scope leaks the storage it points to. Signed-off-by:
Andrew Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Just like we do for the rest of modules. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Pass function name into a helper instead of pointer wich doesn't provide much useful info. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Kir Kolyshkin authored
Was: decode convert criu image from binary type json Now: decode convert criu image from binary type to json Signed-off-by:
Kir Kolyshkin <kir@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Kir Kolyshkin authored
In other similar cases we print option as it appears on the command line, i.e. --option, but not here. Fix it to make it more clear. Was: Error (sk-inet.c:141): Connected TCP socket, consider using tcp-established option. Now: Error (sk-inet.c:141): Connected TCP socket, consider using --tcp-established option. Signed-off-by:
Kir Kolyshkin <kir@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Kir Kolyshkin authored
In a few cases, such as after open() or access() gave an error, using pr_perror() is preferable as it gives us errno. In some cases, use pr_err() instead of pr_msg() -- for consistency. In cases after sys_* calls, errno is not set but is returned and so to use pr_perror() we should assign errno manually. Signed-off-by:
Kir Kolyshkin <kir@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Kir Kolyshkin authored
Signed-off-by:
Kir Kolyshkin <kir@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrew Vagin authored
Signed-off-by:
Andrew Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrew Vagin authored
It's posiable that criu is able to attach to a process and then it becomes a zombie. $ while :; do bash ./zdtm.sh -C --freeze-cgroup /sys/fs/cgroup/freezer/test transition/fork || break; done ... (00.000978) Error (ptrace.c:154): SEIZE 13666: task not stopped after seize Signed-off-by:
Andrew Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 03 Nov, 2015 2 commits
-
-
Pavel Emelyanov authored
First -- set cannot be made out of lists (and maps lists contain lists of pairs) Second -- it is much better to read map diffs in hex, rather than ints (as they would be if repr-ed by default) Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
The zip() trims longest list thus we can lose objects the appeared at tail Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 02 Nov, 2015 1 commit
-
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 30 Oct, 2015 4 commits
-
-
Andrew Vagin authored
Now zdtm.py can construct an report which contains all required inforamtion for investigating a problem. This patch adds support of this functionality to jenkins scripts. Signed-off-by:
Andrew Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrew Vagin authored
It allows to execute zdtm.py not only from the test directory. Signed-off-by:
Andrew Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
This script prepares the cgroups hierarchies that are used by tests to avoid creation of those in parallel with tests, that do not expect them to appear. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
The zdtm.py depends on this stuff. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 29 Oct, 2015 1 commit
-
-
Andrei Vagin authored
We clean up test files from Makefile. The name format for them is testname.XXX.test. Signed-off-by:
Andrew Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 28 Oct, 2015 10 commits
-
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Includes C/R images dir and the zdtm.py logs for one test only. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com> Acked-by:
Andrew Vagin <avagin@odin.com>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
This one got lost in rebase, sorry :) Signed-off-by:
Pavel Emelyanov <xemul@parallels.com> Acked-by:
Andrew Vagin <avagin@odin.com>
-
Pavel Emelyanov authored
After this patch it stops working in zdtm.sh launcher duo to incomplete root constructed. Do we want to fix it? Signed-off-by:
Pavel Emelyanov <xemul@openvz.org> Acked-by:
Andrew Vagin <avagin@odin.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Things added are: 1. /usr directories (links to respective / ones) 2. /sbin dir 3. per-test dependencies that are listed in .desc file as 'deps': [<list>] Signed-off-by:
Pavel Emelyanov <xemul@openvz.org> Acked-by:
Andrew Vagin <avagin@odin.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
fail() saves all files in an archive for further investigations. Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
On loaded jenkins nodes sometimes it takes much more than 4 seconds. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 27 Oct, 2015 3 commits
-
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Kirill Tkhai authored
Add support for save and restore of ip rules. It uses new functionality of iproute which is already in iproute git: http://git.kernel.org/cgit/linux/kernel/git/shemminger/iproute2.git/commit/?id=2f4e171f7df22107b38fddcffa56c1ecb5e73359 v2: Use xstrdup() instead of strdup(). v3: Use open/close instead of helper. v4: Return -1 on empty dump. Signed-off-by:
Kirill Tkhai <ktkhai@odin.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-