{"action":"created","issue":{"url":"https://api.github.com/repos/checkpoint-restore/criu/issues/415","repository_url":"https://api.github.com/repos/checkpoint-restore/criu","labels_url":"https://api.github.com/repos/checkpoint-restore/criu/issues/415/labels{/name}","comments_url":"https://api.github.com/repos/checkpoint-restore/criu/issues/415/comments","events_url":"https://api.github.com/repos/checkpoint-restore/criu/issues/415/events","html_url":"https://github.com/checkpoint-restore/criu/issues/415","id":275717330,"number":415,"title":"Complete aarch64 failure","user":{"login":"adrianreber","id":8724298,"avatar_url":"https://avatars3.githubusercontent.com/u/8724298?v=4","gravatar_id":"","url":"https://api.github.com/users/adrianreber","html_url":"https://github.com/adrianreber","followers_url":"https://api.github.com/users/adrianreber/followers","following_url":"https://api.github.com/users/adrianreber/following{/other_user}","gists_url":"https://api.github.com/users/adrianreber/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianreber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianreber/subscriptions","organizations_url":"https://api.github.com/users/adrianreber/orgs","repos_url":"https://api.github.com/users/adrianreber/repos","events_url":"https://api.github.com/users/adrianreber/events{/privacy}","received_events_url":"https://api.github.com/users/adrianreber/received_events","type":"User","site_admin":false},"labels":[{"id":287404881,"url":"https://api.github.com/repos/checkpoint-restore/criu/labels/kernel","name":"kernel","color":"000000","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":28,"created_at":"2017-11-21T13:46:38Z","updated_at":"2018-03-20T18:16:58Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I am trying to run criu on aarch64 with 4.14 and I think it already worked before. Right now all test cases are failing:\r\n\r\n```\r\n[criu]# criu/criu --version\r\nVersion: 3.5\r\nGitID: v3.5-509-gf18a63b\r\n[criu]# criu/criu check --all\r\nWarn  (criu/cr-check.c:680): Dirty tracking is OFF. Memory snapshot will not work.\r\nWarn  (criu/cr-check.c:1061): Do not have API to map vDSO - will use mremap() to restore vDSO\r\nWarn  (criu/cr-check.c:1029): CRIU built without CONFIG_COMPAT - can't C/R compatible tasks\r\nLooks good but some kernel features are missing\r\nwhich, depending on your process tree, may cause\r\ndump or restore failure.\r\n```\r\n\r\nBut:\r\n\r\n```\r\n========================== Run zdtm/static/poll in h ===========================\r\nStart test\r\n./poll --pidfile=poll.pid --outfile=poll.out\r\nRun criu dump\r\n=[log]=> dump/zdtm/static/poll/24/1/dump.log\r\n------------------------ grep Error ------------------------\r\n(00.014483) Pagemap generated: 0 pages (0 lazy) 0 holes\r\n(00.014487) pagemap-cache: filling VMA 1ccb0000-1cce0000 (192K) [l:1cc00000 h:1ce00000]\r\n(00.014509) Pagemap generated: 0 pages (0 lazy) 0 holes\r\n(00.014514) pagemap-cache: filling VMA ffffab8e0000-ffffaba50000 (1472K) [l:ffffab800000 h:ffffaba00000]\r\n(00.014531) Error (criu/pagemap-cache.c:159): pagemap-cache: Can't read 24's pagemap file: No such file or directory\r\n(00.014537) Error (criu/pagemap-cache.c:175): pagemap-cache: Failed to fill cache for 24 (ffffab8e0000-ffffaba50000)\r\n(00.019010) Pagemap generated: 0 pages (0 lazy) 0 holes\r\n(00.019014) pagemap-cache: filling VMA 1ccb0000-1cce0000 (192K) [l:1cc00000 h:1ce00000]\r\n(00.019036) Pagemap generated: 0 pages (0 lazy) 0 holes\r\n(00.019040) pagemap-cache: filling VMA ffffab8e0000-ffffaba50000 (1472K) [l:ffffab800000 h:ffffaba00000]\r\n(00.019050) Error (criu/pagemap-cache.c:159): pagemap-cache: Can't read 25's pagemap file: No such file or directory\r\n(00.019056) Error (criu/pagemap-cache.c:175): pagemap-cache: Failed to fill cache for 25 (ffffab8e0000-ffffaba50000)\r\n------------------------ ERROR OVER ------------------------\r\nUnable to kill 24: [Errno 3] No such process\r\nRun criu restore\r\n=[log]=> dump/zdtm/static/poll/24/1/restore.log\r\n------------------------ grep Error ------------------------\r\n(00.103484)     24: Search for 0x00ffffaba70000 shmem 0x659e9 0xffffa0e80ae8/24\r\n(00.103487)     25: Search for 0x00ffffaba70000 shmem 0x659e9 0xffffa0e80ae8/24\r\n(00.103494)     25: Waiting for the 659e9 shmem to appear\r\n(00.103567)     24: No pagemap-shmem-416233.img image\r\n(00.103579)     24: Error (criu/shmem.c:559): Can't restore shmem content\r\n(00.103612)     24: Error (criu/mem.c:1208): `- Can't open vma\r\n(00.103675) Error (criu/cr-restore.c:2449): Restoring FAILED.\r\n------------------------ ERROR OVER ------------------------\r\n################## Test zdtm/static/poll FAIL at CRIU restore ##################\r\n##################################### FAIL #####################################\r\n```\r\n\r\nhttps://lisas.de/~adrian/aarch64-dump.log\r\n\r\nUsing today's git checkout.\r\n\r\nLooking at the latest travis logs for aarch64 CRIU is only built but zdtm does not actually run.\r\n\r\nAm I just missing a kernel option or why is CRIU on aarch64 so unhappy for me?"},"comment":{"url":"https://api.github.com/repos/checkpoint-restore/criu/issues/comments/374703577","html_url":"https://github.com/checkpoint-restore/criu/issues/415#issuecomment-374703577","issue_url":"https://api.github.com/repos/checkpoint-restore/criu/issues/415","id":374703577,"user":{"login":"0x7f454c46","id":8302449,"avatar_url":"https://avatars0.githubusercontent.com/u/8302449?v=4","gravatar_id":"","url":"https://api.github.com/users/0x7f454c46","html_url":"https://github.com/0x7f454c46","followers_url":"https://api.github.com/users/0x7f454c46/followers","following_url":"https://api.github.com/users/0x7f454c46/following{/other_user}","gists_url":"https://api.github.com/users/0x7f454c46/gists{/gist_id}","starred_url":"https://api.github.com/users/0x7f454c46/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0x7f454c46/subscriptions","organizations_url":"https://api.github.com/users/0x7f454c46/orgs","repos_url":"https://api.github.com/users/0x7f454c46/repos","events_url":"https://api.github.com/users/0x7f454c46/events{/privacy}","received_events_url":"https://api.github.com/users/0x7f454c46/received_events","type":"User","site_admin":false},"created_at":"2018-03-20T18:16:57Z","updated_at":"2018-03-20T18:16:57Z","author_association":"CONTRIBUTOR","body":"2018-03-20 18:10 GMT+00:00 Dmitry Safonov <0x7f454c46@gmail.com>:\n> 2018-03-20 18:06 GMT+00:00 Dmitry Safonov <0x7f454c46@gmail.com>:\n>> 2018-03-20 16:05 GMT+00:00 Adrian Reber <notifications@github.com>:\n>>>\n>>> @rppt: Thanks, I was able to run the test-suite with only four errors:\n>>>\n>>> ################### 4 TEST(S) FAILED (TOTAL 350/SKIPPED 113)\n>>> ###################\n>>>  * zdtm/static/fd(unknown)\n>>>  * zdtm/static/maps06(unknown)\n>>>  * zdtm/static/cow01(unknown)\n>>>  * zdtm/transition/maps007(unknown)\n>>> ##################################### FAIL\n>>> #####################################\n>>>\n>>> Any ideas how we could handle the page size automatically? Should we try\n>>> to detect the page size with CRIU's feature-check script?\n>>\n>> I wonder if page_size() already works.\n>> It does sysconf(_SC_PAGESIZE), which IMHO should work?\n>\n> BTW, PAGE_IMAGE_SIZE looks to be used only for BUG_ON()..\n> Do we need it by some reason?\n> It looks as it was used for\n> :struct page_entry {\n> :       u64     va;\n> :       u8      data[PAGE_IMAGE_SIZE];\n> :} __packed;\n>\n> But after fd3f33f5d23a it's not used for anything except BUG_ON().\n\nSo what if we define PAGE_SIZE as sysconf(_SC_PAGESIZE) and\nthen use it for everything like PAGE_SHIFT and whatnot?\nIt looks even simpler than I've expected:\nwe have only one build-time BUG_ON which may be deleted as\nI've just suggested and we shouldn't care about run-time BUG_ON:\n [dima criu]$ git grep 'BUG_ON.*PAGE_'\ncriu/cr-restore.c:      BUG_ON(task_args->bootstrap_len & (PAGE_SIZE - 1));\ncriu/crtools.c: BUILD_BUG_ON(PAGE_SIZE != PAGE_IMAGE_SIZE);\n[dima criu]$\n\n-- \n             Dmitry\n"}}
{"actor":{"display_login":"0x7f454c46"}}