use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh t_memfd_create.c: In function ‘main’: t_memfd_create.c:74:13: warning: implicit declaration of function ‘fcntl’ [-Wimplicit-function-declaration] 74 | if (fcntl(fd, F_ADD_SEALS, seals) == -1) | ^~~~~ t_get_seals.c: In function ‘main’: t_get_seals.c:20:10: warning: implicit declaration of function ‘open’; did you mean ‘popen’? [-Wimplicit-function-declaration] 20 | fd = open(argv[1], O_RDWR); | ^~~~ | popen t_get_seals.c:24:13: warning: implicit declaration of function ‘fcntl’ [-Wimplicit-function-declaration] 24 | seals = fcntl(fd, F_GET_SEALS); | ^~~~~ :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: sanity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:42:56 ] :: [ BEGIN ] :: Running './t_memfd_create memf 1024 gswS &' :: [ 19:42:56 ] :: [ PASS ] :: Command './t_memfd_create memf 1024 gswS &' (Expected 0, got 0) :: [ 19:42:56 ] :: [ BEGIN ] :: Running './t_get_seals /proc/184522/fd/3 > seals' :: [ 19:42:56 ] :: [ PASS ] :: Command './t_get_seals /proc/184522/fd/3 > seals' (Expected 0, got 0) :: [ 19:42:57 ] :: [ BEGIN ] :: Running 'cat ./seals' Existing seals: SEAL GROW WRITE SHRINK :: [ 19:42:57 ] :: [ PASS ] :: Command 'cat ./seals' (Expected 0, got 0) :: [ 19:42:57 ] :: [ PASS ] :: File './seals' should contain 'SEAL GROW WRITE SHRINK' :: [ 19:42:58 ] :: [ BEGIN ] :: Running 'pkill t_memfd_create' :: [ 19:42:59 ] :: [ PASS ] :: Command 'pkill t_memfd_create' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 5s :: Assertions: 5 good, 0 bad :: RESULT: PASS (sanity) ** sanity PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: memory/function/memfd_create :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:43:07 ] :: [ LOG ] :: Phases fingerprint: L5rLAvqh :: [ 19:43:07 ] :: [ LOG ] :: Asserts fingerprint: UTc6CYxw Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 15s :: Phases: 1 good, 0 bad :: OVERALL RESULT: PASS (memory/function/memfd_create) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: TEST PROTOCOL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Test run ID : 11 Package : function beakerlib RPM : beakerlib-1.29.3-2.fc38.noarch Test name : memory/function/memfd_create Test started : 2023-02-04 19:42:51 EST Test finished : 2023-02-04 19:43:06 EST Test duration : 16 seconds Distro : Fedora release 38 (Rawhide) Hostname : hpe-sl4545g7-01.hpe2.lab.eng.bos.redhat.com Architecture : unknown CPUs : 16 x AMD Opteron(tm) Processor 4274 HE RAM size : 27956 MB HDD size : 2794.35 GB :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test description :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: PURPOSE: Description: tests for memfd_create syscall. Author: Shu Wang :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: sanity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:42:56 ] :: [ PASS ] :: Command './t_memfd_create memf 1024 gswS &' (Expected 0, got 0) :: [ 19:42:56 ] :: [ PASS ] :: Command './t_get_seals /proc/184522/fd/3 > seals' (Expected 0, got 0) :: [ 19:42:57 ] :: [ PASS ] :: Command 'cat ./seals' (Expected 0, got 0) :: [ 19:42:57 ] :: [ PASS ] :: File './seals' should contain 'SEAL GROW WRITE SHRINK' :: [ 19:42:59 ] :: [ PASS ] :: Command 'pkill t_memfd_create' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 5s :: Assertions: 5 good, 0 bad :: RESULT: PASS (sanity) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: memory/function/memfd_create :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:43:07 ] :: [ LOG ] :: Phases fingerprint: L5rLAvqh :: [ 19:43:07 ] :: [ LOG ] :: Asserts fingerprint: UTc6CYxw :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 15s :: Phases: 1 good, 0 bad :: OVERALL RESULT: PASS (memory/function/memfd_create)