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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:05:09 ] :: [ BEGIN ] :: Running './t_memfd_create memf 1024 gswS &' :: [ 09:05:09 ] :: [ PASS ] :: Command './t_memfd_create memf 1024 gswS &' (Expected 0, got 0) :: [ 09:05:09 ] :: [ BEGIN ] :: Running './t_get_seals /proc/304263/fd/3 > seals' :: [ 09:05:09 ] :: [ PASS ] :: Command './t_get_seals /proc/304263/fd/3 > seals' (Expected 0, got 0) :: [ 09:05:09 ] :: [ BEGIN ] :: Running 'cat ./seals' Existing seals: SEAL GROW WRITE SHRINK :: [ 09:05:09 ] :: [ PASS ] :: Command 'cat ./seals' (Expected 0, got 0) :: [ 09:05:09 ] :: [ PASS ] :: File './seals' should contain 'SEAL GROW WRITE SHRINK' :: [ 09:05:09 ] :: [ BEGIN ] :: Running 'pkill t_memfd_create' :: [ 09:05:09 ] :: [ PASS ] :: Command 'pkill t_memfd_create' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 5 good, 0 bad :: RESULT: PASS (sanity) ** sanity PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: memory/function/memfd_create :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:05:10 ] :: [ LOG ] :: Phases fingerprint: L5rLAvqh :: [ 09:05:10 ] :: [ LOG ] :: Asserts fingerprint: UTc6CYxw Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Phases: 1 good, 0 bad :: OVERALL RESULT: PASS (memory/function/memfd_create) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: TEST PROTOCOL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Test run ID : 13 Package : function beakerlib RPM : beakerlib-1.29.3-2.fc38.noarch Test name : memory/function/memfd_create Test started : 2023-01-30 09:05:08 EST Test finished : 2023-01-30 09:05:10 EST Test duration : 2 seconds Distro : Fedora release 38 (Rawhide) Hostname : kvm-02-guest14.hv2.lab.eng.bos.redhat.com Architecture : unknown CPUs : 1 x Intel Core Processor (Broadwell) RAM size : 3918 MB HDD size : 49.87 GB :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test description :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: PURPOSE: Description: tests for memfd_create syscall. Author: Shu Wang :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: sanity :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:05:09 ] :: [ PASS ] :: Command './t_memfd_create memf 1024 gswS &' (Expected 0, got 0) :: [ 09:05:09 ] :: [ PASS ] :: Command './t_get_seals /proc/304263/fd/3 > seals' (Expected 0, got 0) :: [ 09:05:09 ] :: [ PASS ] :: Command 'cat ./seals' (Expected 0, got 0) :: [ 09:05:09 ] :: [ PASS ] :: File './seals' should contain 'SEAL GROW WRITE SHRINK' :: [ 09:05:09 ] :: [ PASS ] :: Command 'pkill t_memfd_create' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 5 good, 0 bad :: RESULT: PASS (sanity) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: memory/function/memfd_create :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:05:10 ] :: [ LOG ] :: Phases fingerprint: L5rLAvqh :: [ 09:05:10 ] :: [ LOG ] :: Asserts fingerprint: UTc6CYxw :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Phases: 1 good, 0 bad :: OVERALL RESULT: PASS (memory/function/memfd_create)