[CRIU] cow01 failure on aarch64 (with 64k pages)

Adrian Reber adrian at lisas.de
Fri Jun 15 16:27:39 MSK 2018


On Thu, Jun 14, 2018 at 11:21:15PM -0700, Andrei Vagin wrote:
> On Thu, Jun 14, 2018 at 08:15:53PM +0200, Adrian Reber wrote:
> > On Thu, Jun 14, 2018 at 10:17:23AM -0700, Andrei Vagin wrote:
> > > On Wed, Jun 13, 2018 at 09:31:53PM +0200, Adrian Reber wrote:
> > > > Hello Andrei,
> > > > 
> > > > as you are listed as the cow01 author I am contacting you.
> > > > 
> > > > The cow01 test case is the last test case failing on aarch64 with 64k
> > > > pages. I had a quick look at the source code and it looks like it uses
> > > > the PAGE_SIZE macro everywhere.
> > > > 
> > > > Do you have an idea what might be wrong with the test or criu.
> > > > I have included the zdtm output in this mail. Let me know if I should
> > > > try anything else.
> > > 
> > > Could you check whether this test case passes without C/R or not?
> > 
> > Yes, that works:
> 
> Could you try out the attached patch?

With that patch applied after a 'make clean' 'make' I get:

Start test
Test is SUID
./cow01 --pidfile=cow01.pid --outfile=cow01.out --filename=cow01.test
Run criu dump
=[log]=> dump/zdtm/static/cow01/54/1/dump.log
------------------------ grep Error ------------------------
(00.026518) Pagemap generated: 0 pages (0 lazy) 0 holes
(00.026524) pagemap-cache: filling VMA d4a0000-d4d0000 (192K) [l:d400000 h:d600000]
(00.026550) Pagemap generated: 0 pages (0 lazy) 0 holes
(00.026557) pagemap-cache: filling VMA ffff85970000-ffff86170000 (8192K) [l:ffff85800000 h:ffff85a00000]
(00.026577) Error (criu/pagemap-cache.c:159): pagemap-cache: Can't read 54's pagemap file: No such file or directory
(00.026588) Error (criu/pagemap-cache.c:175): pagemap-cache: Failed to fill cache for 54 (ffff85970000-ffff86170000)
(00.026647) page-pipe: Killing page pipe
(00.026675) ----------------------------------------
(00.026683) Error (criu/mem.c:467): Can't dump page with parasite
(00.027946) Unlock network
(00.027963) Unfreezing tasks into 1
(00.027971) 	Unseizing 54 into 1
(00.027988) 	Unseizing 55 into 1
(00.028003) Error (criu/cr-dump.c:1706): Dumping FAILED.
------------------------ ERROR OVER ------------------------
################### Test zdtm/static/cow01 FAIL at CRIU dump ###################
Send the 9 signal to  54
Wait for zdtm/static/cow01(54) to die for 0.100000
##################################### FAIL #####################################

		Adrian


More information about the CRIU mailing list