[CRIU] ✗ travis-ci: failure for criu: fix leaks detected by coverity scan part 2

Pavel Tikhomirov ptikhomirov at virtuozzo.com
Wed Feb 14 18:52:22 MSK 2018


Same thing happend _without_ my patch - 
https://patchwork.criu.org/series/2266/

====================== Run zdtm/transition/file_aio in h 
=======================
Start test
./file_aio --pidfile=file_aio.pid --outfile=file_aio.out
Run criu dump
=[log]=> dump/zdtm/transition/file_aio/26/1/dump.log
------------------------ grep Error ------------------------
(00.002313) Collected (-1 attempts, 1 in_progress)
(00.002325) Unlock network
(00.002329) Unfreezing tasks into 1
(00.002332) 	Unseizing 26 into 1
(00.002342) Error (criu/cr-dump.c:1819): Dumping FAILED.
------------------------ ERROR OVER ------------------------
############### Test zdtm/transition/file_aio FAIL at CRIU dump 
################
Send the 9 signal to  26
Wait for zdtm/transition/file_aio(26) to die for 0.100000

According to log in file_aio test we are not fast enough to catch all 
children/threads in NR_ATTEMPTS=5, and one of them is still not collected.

As file_aio does not create many processes/threads AFAICS, likely 
someone in collect_children/collect_threads failed(for 5 attempts). But 
it's hard to say for sure without warnings from full log, candidates 
are: compel_interrupt_task, xmalloc, compel_wait_task, 
alloc_pstree_item, xzalloc.

On 02/06/2018 04:43 AM, Andrei Vagin wrote:
> ====================== Run zdtm/transition/file_aio in h =======================
> Start test
> ./file_aio --pidfile=file_aio.pid --outfile=file_aio.out
> Run criu dump
> =[log]=> dump/zdtm/transition/file_aio/26/1/dump.log
> ------------------------ grep Error ------------------------
> (00.001011) Collected (-1 attempts, 1 in_progress)
> (00.001020) Unlock network
> (00.001022) Unfreezing tasks into 1
> (00.001024) 	Unseizing 26 into 1
> (00.001033) Error (criu/cr-dump.c:1819): Dumping FAILED.
> ------------------------ ERROR OVER ------------------------
> ############### Test zdtm/transition/file_aio FAIL at CRIU dump ################
> Send the 9 signal to  26
> Wait for zdtm/transition/file_aio(26) to die for 0.100000
> 
> On Mon, Feb 05, 2018 at 06:23:02AM +0000, Patchwork wrote:
>> == Series Details ==
>>
>> Series: criu: fix leaks detected by coverity scan part 2
>> URL   : https://patchwork.criu.org/series/2261/
>> State : failure
>>
>> == Logs ==
>>
>> For more details see: https://travis-ci.org/criupatchwork/criu/builds/337402057?utm_source=github_status&utm_medium=notification
>> _______________________________________________
>> CRIU mailing list
>> CRIU at openvz.org
>> https://lists.openvz.org/mailman/listinfo/criu

-- 
Best regards, Tikhomirov Pavel
Software Developer, Virtuozzo.


More information about the CRIU mailing list