checkpoint-restore / criu

Checkpoint/Restore tool
criu.org
Other
2.76k stars 559 forks source link

ERR: vdso01.c:378: Delta is too big #2390

Open avagin opened 2 months ago

avagin commented 2 months ago
2024-04-16T12:49:50.3431949Z ========================= Run zdtm/static/vdso01 in ns =========================
2024-04-16T12:49:50.4155980Z Start test
2024-04-16T12:49:50.4595912Z ./vdso01 --pidfile=vdso01.pid --outfile=vdso01.out
2024-04-16T12:49:50.8682459Z Run criu dump
2024-04-16T12:49:50.8682903Z Forcing 127 fault
2024-04-16T12:49:50.8683298Z Run criu restore
2024-04-16T12:49:50.8683682Z Forcing 127 fault
2024-04-16T12:49:50.8684069Z 1: Old maps lost: set()
2024-04-16T12:49:50.8684945Z 1: New maps appeared: {'2e000-32000 r--p', '32000-34000 r-xp'}
2024-04-16T12:49:50.8685637Z Send the 15 signal to  108
2024-04-16T12:49:50.8686211Z Wait for zdtm/static/vdso01(108) to die for 0.100000
2024-04-16T12:49:50.8687079Z ################# Test zdtm/static/vdso01 FAIL at result check #################
2024-04-16T12:49:50.8687655Z Test output: ================================
2024-04-16T12:49:50.8688050Z 12:49:50.464:     5: Parsing at ef6d6000 ef6d8000
2024-04-16T12:49:50.8688428Z 12:49:50.464:     5: PT_LOAD p_vaddr: 0
2024-04-16T12:49:50.8688880Z 12:49:50.464:     5: nbucket 3 nchain 12 bucket 0xef6d60bc chain 0xef6d60c8
2024-04-16T12:49:50.8689395Z 12:49:50.464:     5: symbol __vdso_clock_gettime offset 1560
2024-04-16T12:49:50.8689837Z 12:49:50.464:     5: symbol __vdso_getcpu offset 1610
2024-04-16T12:49:50.8690273Z 12:49:50.464:     5: symbol __vdso_gettimeofday offset 1510
2024-04-16T12:49:50.8690694Z 12:49:50.464:     5: symbol __vdso_time offset 1520
2024-04-16T12:49:50.8691141Z 12:49:50.464:     5: [vdso] ef6d6000-ef6d8000
2024-04-16T12:49:50.8691651Z 12:49:50.464:     5: clock_gettime: tv_sec 1713271790 vdso_clock_gettime: tv_sec 1713271790
2024-04-16T12:49:50.8692368Z 12:49:50.464:     5: vdso_getcpu: cpu 1 node 0
2024-04-16T12:49:50.8692918Z 12:49:50.464:     5: gettimeofday: tv_sec 1713271790 vdso_gettimeofday: tv_sec 1713271790
2024-04-16T12:49:50.8693471Z 12:49:50.464:     5: time: 1713271790 vdso_time: 1713271790
2024-04-16T12:49:50.8694003Z 12:49:50.763:     5: clock_gettime: tv_sec 1713271790 vdso_clock_gettime: tv_sec 1713271790
2024-04-16T12:49:50.8694525Z 12:49:50.763:     5: vdso_getcpu: cpu 2 node 0
2024-04-16T12:49:50.8695028Z 12:49:50.763:     5: gettimeofday: tv_sec 1713271790 vdso_gettimeofday: tv_sec 1713271790
2024-04-16T12:49:50.8695554Z 12:49:50.763:     5: time: 0 vdso_time: 1713271790
2024-04-16T12:49:50.8696150Z 12:49:50.763:     5: ERR: vdso01.c:378: Delta is too big (errno = 11 (Resource temporarily unavailable))
2024-04-16T12:49:50.8697071Z 12:49:50.763:     5: ERR: vdso01.c:405: Handler error (errno = 11 (Resource temporarily unavailable))
2024-04-16T12:49:50.8698009Z 12:49:50.763:     5: FAIL: vdso01.c:434: Failed to call vdso handlers from symtable after C/R (errno = 11 (Resource temporarily unavailable))

https://github.com/checkpoint-restore/criu/actions/runs/8705585810/job/23876295256?pr=2389

rst0git commented 2 months ago
time: 0 vdso_time: 1713271790

The error message "Delta is too big" appears because, for some reason, t1 = time(NULL) returns 0 after upgrading the base OS from Ubuntu 20.04 to Ubuntu 22.04 (https://github.com/checkpoint-restore/criu/pull/2373):

############### uname -a ###############
Linux fv-az1196-488 6.5.0-1017-azure #17~22.04.1-Ubuntu SMP Sat Mar  9 04:50:38 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

cc: @0x7f454c46

github-actions[bot] commented 1 month ago

A friendly reminder that this issue had no activity for 30 days.