{"push_id":1217425235,"size":10,"distinct_size":10,"ref":"refs/heads/cr-gc","head":"a785b29db84336bc338dedebf6ffe2d9eb16ec3f","before":"69d7d8c370e02cc7b61bec656d436f144a72aa5b","commits":[{"sha":"11ba65845005d47a90e5fbf6597104f5561529fd","author":{"name":"Eugene Batalov","email":"b5b8d4da1cb3d2e279bc1abae99c02913b34baeb@gmail.com"},"message":"gc: implement link remaps deletion\n\nWe reuse minimal subset of criu restore command logic sufficient\nto locate all the link remaps in all ps tree mnt namespaces.\nNo ps tree processes are created but all the ps tree mnt\nnamespaces and mountpoints are created. After creation of ps\ntree mnt namespaces each link remap is deleted in its namespace.\n\nSigned-off-by: Eugene Batalov <eabatalov89@gmail.com>","distinct":true,"url":"https://api.github.com/repos/eabatalov/criu/commits/11ba65845005d47a90e5fbf6597104f5561529fd"},{"sha":"66dd2d634fe77747e11b15566ca7a1c51132ba42","author":{"name":"Eugene Batalov","email":"b5b8d4da1cb3d2e279bc1abae99c02913b34baeb@gmail.com"},"message":"gc: implement link remaps show\n\nSigned-off-by: Eugene Batalov <eabatalov89@gmail.com>","distinct":true,"url":"https://api.github.com/repos/eabatalov/criu/commits/66dd2d634fe77747e11b15566ca7a1c51132ba42"},{"sha":"f1126779ba97f58fe3fb4d93b5bc820a49de3536","author":{"name":"Eugene Batalov","email":"b5b8d4da1cb3d2e279bc1abae99c02913b34baeb@gmail.com"},"message":"gc: implement unlocking of tcp connections\n\nThe logic is the same as on criu restore.\n\nFirst we read ps tree dump to get information about all its\ntcp connections. If ps tree shares net ns with host then\nwe simply run iptables to unlock all ps tree tcp connections.\nIf ps tree has unshared net ns then we do nothing because we know\nthat this net ns is already destroyed with its ps tree and all\nincoming ps tree TCP packets are just dropped (no destination tcp stack\nexists).\n\nSigned-off-by: Eugene Batalov <eabatalov89@gmail.com>","distinct":true,"url":"https://api.github.com/repos/eabatalov/criu/commits/f1126779ba97f58fe3fb4d93b5bc820a49de3536"},{"sha":"2b756eb93c1512f0a0b3c4abd4558be362cc988f","author":{"name":"Eugene Batalov","email":"b5b8d4da1cb3d2e279bc1abae99c02913b34baeb@gmail.com"},"message":"gc: implement locked tcp connections show\n\nSigned-off-by: Eugene Batalov <eabatalov89@gmail.com>","distinct":true,"url":"https://api.github.com/repos/eabatalov/criu/commits/2b756eb93c1512f0a0b3c4abd4558be362cc988f"},{"sha":"8d9c311747c017a932b6a9e34a947b9e78584148","author":{"name":"Eugene Batalov","email":"b5b8d4da1cb3d2e279bc1abae99c02913b34baeb@gmail.com"},"message":"zdtm: implement capturing of criu action stdout and stderr\n\nThis is needed to analyze output of criu gc --show.\nAlso this feature is generic and can be used in other cases.\n\nSigned-off-by: Eugene Batalov <eabatalov89@gmail.com>","distinct":true,"url":"https://api.github.com/repos/eabatalov/criu/commits/8d9c311747c017a932b6a9e34a947b9e78584148"},{"sha":"83e41a79265330df34be588a1cd8bfe5894b760e","author":{"name":"Eugene Batalov","email":"b5b8d4da1cb3d2e279bc1abae99c02913b34baeb@gmail.com"},"message":"zdtm: implement capturing of test hooks stdout and stderr\n\nUsing this feature hooks can return arbitrary data\nto zdtm.py. This will be used in gc tests to tell\nzdtm.py what garbage should be found by criu gc --show.\n\nAlso added function run_hook for cases when test hook always\nshould exist. This is needed for gc tests too.\n\nAlso this 2 features are generic and can be used in other cases.\n\nSigned-off-by: Eugene Batalov <eabatalov89@gmail.com>","distinct":true,"url":"https://api.github.com/repos/eabatalov/criu/commits/83e41a79265330df34be588a1cd8bfe5894b760e"},{"sha":"4d4d40323c4bad7b63a8e7a31f5e886ed0a6f943","author":{"name":"Eugene Batalov","email":"b5b8d4da1cb3d2e279bc1abae99c02913b34baeb@gmail.com"},"message":"zdtm: extract cr and state checking logic into function\n\nWe're going to make this place more complicated so it's a good time\nto simplify it using extract method refactoring.\n\nSigned-off-by: Eugene Batalov <eabatalov89@gmail.com>","distinct":true,"url":"https://api.github.com/repos/eabatalov/criu/commits/4d4d40323c4bad7b63a8e7a31f5e886ed0a6f943"},{"sha":"f2546a1cc09292e30bf0de7d158360092fb42a7e","author":{"name":"Eugene Batalov","email":"b5b8d4da1cb3d2e279bc1abae99c02913b34baeb@gmail.com"},"message":"zdtm: implement criu gc tests\n\nNew --gc option was added to zdtm.py.\nIt implements the following test running logic:\n1. Run zdtm test ps tree, dump it, kill it (standard steps)\n2. Run criu gc --show and compare its output with\n   expected output known by test hook of this zdtm test.\n3. Run criu gc and check its return code to be 0.\n\nSteps 2 and 3 are created for criu gc testing.\nIf criu gc --show finds all the expected garbage\nand criu gc cleans up it successfully then criu gc\nworks ok and test is passed.\n\nThis is the simplest feasible way to test criu gc.\nWhy? There are 3 ways to check that garbage is deleted after dump:\n1. Do check in ps tree that we left running after dump.\n   We can't leave ps tree running after dump because criu\n   gc should work only when ps tree is killed after dump.\n   Doing gc with running ps tree is a more complicated and\n   not needed use case.\n2. Do check in restored ps tree. But we can't restore after gc\n   was performed.\n3. Run new instance of this zdtm test ps tree and do check in it.\n   We'll need to run this ps tree in the same environment as dumped ps\n   tree. There is no such feature in zdtm.py. Its implementation and\n   maintanance is complicated. Moreover it is probably not needed for\n   any other use case in the future.\n\ngc test hooks are implemented in this patch too. Hooks tell\nzdtm.py about valid garbage generated by gc test in form\nof regular expressions that should match output of criu gc --show.\n\nSigned-off-by: Eugene Batalov <eabatalov89@gmail.com>","distinct":true,"url":"https://api.github.com/repos/eabatalov/criu/commits/f2546a1cc09292e30bf0de7d158360092fb42a7e"},{"sha":"850f55dde90a1ea554bf2edaf7fc44d90cb8933b","author":{"name":"Eugene Batalov","email":"b5b8d4da1cb3d2e279bc1abae99c02913b34baeb@gmail.com"},"message":"jenkins: add script to run all gc aware tests\n\nThe set of tests that we run here covers criu gc command\nbehavior well.\n\nSigned-off-by: Eugene Batalov <eabatalov89@gmail.com>","distinct":true,"url":"https://api.github.com/repos/eabatalov/criu/commits/850f55dde90a1ea554bf2edaf7fc44d90cb8933b"},{"sha":"a785b29db84336bc338dedebf6ffe2d9eb16ec3f","author":{"name":"Eugene Batalov","email":"b5b8d4da1cb3d2e279bc1abae99c02913b34baeb@gmail.com"},"message":"zdtm: add host flavor to unlink_regular00 test\n\nunlink_regular00 test is failing now. But when it is fixed\nwe need to run it in host flavor too.\nThis is needed to test criu gc with ps tree that\nshares its mnt ns with host. We don't test such case now.\n\nSigned-off-by: Eugene Batalov <eabatalov89@gmail.com>","distinct":true,"url":"https://api.github.com/repos/eabatalov/criu/commits/a785b29db84336bc338dedebf6ffe2d9eb16ec3f"}]}
{"actor":{"display_login":"eabatalov"}}