posix on :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: TEST PROTOCOL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Package : libsemanage Installed : libsemanage-2.7-99.fc28.20180309170801.x86_64 beakerlib RPM : beakerlib-1.17-13.fc28.noarch Test started : 2018-03-12 08:46:38 UTC Test finished : Test duration : Test name : selinux/libsemanage/semanage-seuser-functions Distro : Fedora release 28 (Twenty Eight) Hostname : fedora28 Architecture : x86_64 CPUs : 1 x Intel Core Processor (Skylake, IBRS) RAM size : 984 MB HDD size : 3.87 GB :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test description :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: PURPOSE of /CoreOS/libsemanage/Sanity/semanage-seuser-functions Description: Test semanage_seuser_* functions Author: Jan Zarsky :: [ 08:46:38 ] :: [ WARNING ] :: POSIX mode detected and switched off :: [ 08:46:38 ] :: [ WARNING ] :: POSIX mode detected and switched off :: [ 08:46:38 ] :: [ WARNING ] :: Please fix your test to have /bin/bash shebang :: [ 08:46:38 ] :: [ WARNING ] :: Please fix your test to have /bin/bash shebang :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: libsemanage-2.7-99.fc28.20180309170801.x86_64 :: [ 08:46:39 ] :: [ PASS ] :: Checking for the presence of libsemanage rpm :: [ 08:46:39 ] :: [ PASS ] :: Checking for the presence of libsemanage rpm :: [ 08:46:39 ] :: [ LOG ] :: Package versions: :: [ 08:46:39 ] :: [ LOG ] :: Package versions: :: [ 08:46:39 ] :: [ LOG ] :: libsemanage-2.7-99.fc28.20180309170801.x86_64 :: [ 08:46:39 ] :: [ LOG ] :: libsemanage-2.7-99.fc28.20180309170801.x86_64 libsemanage-devel-2.7-99.fc28.20180309170801.x86_64 :: [ 08:46:39 ] :: [ PASS ] :: Checking for the presence of libsemanage-devel rpm :: [ 08:46:39 ] :: [ PASS ] :: Checking for the presence of libsemanage-devel rpm :: [ 08:46:39 ] :: [ LOG ] :: Package versions: :: [ 08:46:39 ] :: [ LOG ] :: Package versions: :: [ 08:46:39 ] :: [ LOG ] :: libsemanage-devel-2.7-99.fc28.20180309170801.x86_64 :: [ 08:46:39 ] :: [ LOG ] :: libsemanage-devel-2.7-99.fc28.20180309170801.x86_64 glibc-2.27-6.fc28.x86_64 :: [ 08:46:39 ] :: [ PASS ] :: Checking for the presence of glibc rpm :: [ 08:46:39 ] :: [ PASS ] :: Checking for the presence of glibc rpm :: [ 08:46:39 ] :: [ LOG ] :: Package versions: :: [ 08:46:39 ] :: [ LOG ] :: Package versions: :: [ 08:46:39 ] :: [ LOG ] :: glibc-2.27-6.fc28.x86_64 :: [ 08:46:39 ] :: [ LOG ] :: glibc-2.27-6.fc28.x86_64 gcc-8.0.1-0.16.fc28.x86_64 :: [ 08:46:39 ] :: [ PASS ] :: Checking for the presence of gcc rpm :: [ 08:46:39 ] :: [ PASS ] :: Checking for the presence of gcc rpm :: [ 08:46:39 ] :: [ LOG ] :: Package versions: :: [ 08:46:39 ] :: [ LOG ] :: Package versions: :: [ 08:46:39 ] :: [ LOG ] :: gcc-8.0.1-0.16.fc28.x86_64 :: [ 08:46:39 ] :: [ LOG ] :: gcc-8.0.1-0.16.fc28.x86_64 :: [ 08:46:39 ] :: [ BEGIN ] :: Running 'gcc test_clone.c -o test_clone -lsemanage -Wall -Wextra -Werror -std=c99' :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_clone.c -o test_clone -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_clone.c -o test_clone -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:39 ] :: [ BEGIN ] :: Running 'gcc test_compare2.c -o test_compare2 -lsemanage -Wall -Wextra -Werror -std=c99' :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_compare2.c -o test_compare2 -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_compare2.c -o test_compare2 -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:39 ] :: [ BEGIN ] :: Running 'gcc test_compare.c -o test_compare -lsemanage -Wall -Wextra -Werror -std=c99' :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_compare.c -o test_compare -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_compare.c -o test_compare -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:39 ] :: [ BEGIN ] :: Running 'gcc test_count.c -o test_count -lsemanage -Wall -Wextra -Werror -std=c99' :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_count.c -o test_count -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_count.c -o test_count -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:39 ] :: [ BEGIN ] :: Running 'gcc test_count_local.c -o test_count_local -lsemanage -Wall -Wextra -Werror -std=c99' :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_count_local.c -o test_count_local -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_count_local.c -o test_count_local -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:39 ] :: [ BEGIN ] :: Running 'gcc test_create.c -o test_create -lsemanage -Wall -Wextra -Werror -std=c99' :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_create.c -o test_create -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_create.c -o test_create -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:39 ] :: [ BEGIN ] :: Running 'gcc test_del_local.c -o test_del_local -lsemanage -Wall -Wextra -Werror -std=c99' :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_del_local.c -o test_del_local -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_del_local.c -o test_del_local -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:39 ] :: [ BEGIN ] :: Running 'gcc test_exists.c -o test_exists -lsemanage -Wall -Wextra -Werror -std=c99' :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_exists.c -o test_exists -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_exists.c -o test_exists -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:39 ] :: [ BEGIN ] :: Running 'gcc test_exists_local.c -o test_exists_local -lsemanage -Wall -Wextra -Werror -std=c99' :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_exists_local.c -o test_exists_local -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_exists_local.c -o test_exists_local -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:39 ] :: [ BEGIN ] :: Running 'gcc test_get_mlsrange.c -o test_get_mlsrange -lsemanage -Wall -Wextra -Werror -std=c99' :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_get_mlsrange.c -o test_get_mlsrange -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_get_mlsrange.c -o test_get_mlsrange -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:39 ] :: [ BEGIN ] :: Running 'gcc test_get_name.c -o test_get_name -lsemanage -Wall -Wextra -Werror -std=c99' :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_get_name.c -o test_get_name -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_get_name.c -o test_get_name -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ BEGIN ] :: Running 'gcc test_get_sename.c -o test_get_sename -lsemanage -Wall -Wextra -Werror -std=c99' :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_get_sename.c -o test_get_sename -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_get_sename.c -o test_get_sename -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ BEGIN ] :: Running 'gcc test_iterate.c -o test_iterate -lsemanage -Wall -Wextra -Werror -std=c99' :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_iterate.c -o test_iterate -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_iterate.c -o test_iterate -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ BEGIN ] :: Running 'gcc test_key_create.c -o test_key_create -lsemanage -Wall -Wextra -Werror -std=c99' :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_key_create.c -o test_key_create -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_key_create.c -o test_key_create -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ BEGIN ] :: Running 'gcc test_key_extract.c -o test_key_extract -lsemanage -Wall -Wextra -Werror -std=c99' :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_key_extract.c -o test_key_extract -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_key_extract.c -o test_key_extract -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ BEGIN ] :: Running 'gcc test_list.c -o test_list -lsemanage -Wall -Wextra -Werror -std=c99' :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_list.c -o test_list -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_list.c -o test_list -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ BEGIN ] :: Running 'gcc test_modify_local.c -o test_modify_local -lsemanage -Wall -Wextra -Werror -std=c99' :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_modify_local.c -o test_modify_local -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_modify_local.c -o test_modify_local -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ BEGIN ] :: Running 'gcc test_query.c -o test_query -lsemanage -Wall -Wextra -Werror -std=c99' :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_query.c -o test_query -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_query.c -o test_query -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ BEGIN ] :: Running 'gcc test_set_mlsrange.c -o test_set_mlsrange -lsemanage -Wall -Wextra -Werror -std=c99' :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_set_mlsrange.c -o test_set_mlsrange -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_set_mlsrange.c -o test_set_mlsrange -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ BEGIN ] :: Running 'gcc test_set_name.c -o test_set_name -lsemanage -Wall -Wextra -Werror -std=c99' :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_set_name.c -o test_set_name -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_set_name.c -o test_set_name -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ BEGIN ] :: Running 'gcc test_set_sename.c -o test_set_sename -lsemanage -Wall -Wextra -Werror -std=c99' :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_set_sename.c -o test_set_sename -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_set_sename.c -o test_set_sename -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ BEGIN ] :: Running 'cat /var/lib/selinux/targeted/active/seusers' root:unconfined_u:s0-s0:c0.c1023 __default__:unconfined_u:s0-s0:c0.c1023 :: [ 08:46:40 ] :: [ PASS ] :: Command 'cat /var/lib/selinux/targeted/active/seusers' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command 'cat /var/lib/selinux/targeted/active/seusers' (Expected 0, got 0) :: [ 08:46:40 ] :: [ BEGIN ] :: Running '[[ "2" -gt 0 ]]' :: [ 08:46:40 ] :: [ PASS ] :: Command '[[ "2" -gt 0 ]]' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command '[[ "2" -gt 0 ]]' (Expected 0, got 0) :: [ 08:46:40 ] :: [ BEGIN ] :: Running '[[ -n "root __default__ " ]]' :: [ 08:46:40 ] :: [ PASS ] :: Command '[[ -n "root __default__ " ]]' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command '[[ -n "root __default__ " ]]' (Expected 0, got 0) :: [ 08:46:40 ] :: [ BEGIN ] :: Running '[[ -n "root" ]]' :: [ 08:46:40 ] :: [ PASS ] :: Command '[[ -n "root" ]]' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command '[[ -n "root" ]]' (Expected 0, got 0) :: [ 08:46:40 ] :: [ BEGIN ] :: Running '[[ -n "unconfined_u" ]]' :: [ 08:46:40 ] :: [ PASS ] :: Command '[[ -n "unconfined_u" ]]' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command '[[ -n "unconfined_u" ]]' (Expected 0, got 0) :: [ 08:46:40 ] :: [ BEGIN ] :: Running '[[ -n "s0-s0:c0.c1023" ]]' :: [ 08:46:40 ] :: [ PASS ] :: Command '[[ -n "s0-s0:c0.c1023" ]]' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command '[[ -n "s0-s0:c0.c1023" ]]' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Duration: 2s :: Assertions: 31 good, 0 bad :: Assertions: 31 good, 0 bad :: RESULT: PASS :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_key_create, semanage_seuser_key_free :: semanage_seuser_key_create, semanage_seuser_key_free :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:40 ] :: [ BEGIN ] :: Running './test_key_create conn root' semanage_handle_create(): 0x18de280 semanage_connect(0x18de280): 0 semanage_seuser_key_create(0x18de280, root, 0x7fff7d8482f0): 0 semanage_disconnect(0x18de280): 0 semanage_handle_destroy(0x18de280) :: [ 08:46:40 ] :: [ PASS ] :: Command './test_key_create conn root' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command './test_key_create conn root' (Expected 0, got 0) :: [ 08:46:40 ] :: [ BEGIN ] :: Running './test_key_create trans root' semanage_handle_create(): 0x136d280 semanage_connect(0x136d280): 0 semanage_begin_transaction(0x136d280): 0 semanage_seuser_key_create(0x136d280, root, 0x7ffcd73a9080): 0 semanage_commit(0x136d280): 0 semanage_disconnect(0x136d280): 0 semanage_handle_destroy(0x136d280) :: [ 08:46:41 ] :: [ PASS ] :: Command './test_key_create trans root' (Expected 0, got 0) :: [ 08:46:41 ] :: [ PASS ] :: Command './test_key_create trans root' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Duration: 1s :: Assertions: 2 good, 0 bad :: Assertions: 2 good, 0 bad :: RESULT: PASS :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_key_extract :: semanage_seuser_key_extract :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:41 ] :: [ BEGIN ] :: Running './test_key_extract conn first' semanage_handle_create(): 0x2295280 semanage_connect(0x2295280): 0 semanage_seuser_list(0x2295280, 0x7ffc3c94cea0, 0x7ffc3c94ce9c): 9 semanage_seuser_key_extract(0x2295280, 0x22994d0, 0x7ffc3c94cef0): 0 semanage_seuser_compare(0x22994d0, 0x2299590): 0 semanage_disconnect(0x2295280): 0 semanage_handle_destroy(0x2295280) :: [ 08:46:41 ] :: [ PASS ] :: Command './test_key_extract conn first' (Expected 0, got 0) :: [ 08:46:41 ] :: [ PASS ] :: Command './test_key_extract conn first' (Expected 0, got 0) :: [ 08:46:41 ] :: [ BEGIN ] :: Running './test_key_extract trans first' semanage_handle_create(): 0xb9b280 semanage_connect(0xb9b280): 0 semanage_begin_transaction(0xb9b280): 0 semanage_seuser_list(0xb9b280, 0x7ffd8870dbd0, 0x7ffd8870dbcc): 9 semanage_seuser_key_extract(0xb9b280, 0xba81d0, 0x7ffd8870dc20): 0 semanage_seuser_compare(0xba81d0, 0xba7810): 0 semanage_commit(0xb9b280): 0 semanage_disconnect(0xb9b280): 0 semanage_handle_destroy(0xb9b280) :: [ 08:46:41 ] :: [ PASS ] :: Command './test_key_extract trans first' (Expected 0, got 0) :: [ 08:46:41 ] :: [ PASS ] :: Command './test_key_extract trans first' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Duration: 0s :: Assertions: 2 good, 0 bad :: Assertions: 2 good, 0 bad :: RESULT: PASS :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_compare :: semanage_seuser_compare :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:41 ] :: [ BEGIN ] :: Running './test_compare conn root same' semanage_handle_create(): 0x19de280 semanage_connect(0x19de280): 0 semanage_seuser_list(0x19de280, 0x7ffede2dc330, 0x7ffede2dc32c): 9 semanage_seuser_key_create(0x19de280, root, 0x7ffede2dc350): 0 semanage_seuser_compare(0x19e24d0, 0x19e2590): 0 semanage_disconnect(0x19de280): 0 semanage_handle_destroy(0x19de280) :: [ 08:46:41 ] :: [ PASS ] :: Command './test_compare conn root same' (Expected 0, got 0) :: [ 08:46:41 ] :: [ PASS ] :: Command './test_compare conn root same' (Expected 0, got 0) :: [ 08:46:41 ] :: [ BEGIN ] :: Running './test_compare conn nonuser different' semanage_handle_create(): 0x1d09280 semanage_connect(0x1d09280): 0 semanage_seuser_list(0x1d09280, 0x7fffde112cf0, 0x7fffde112cec): 9 semanage_seuser_key_create(0x1d09280, nonuser, 0x7fffde112d10): 0 semanage_seuser_compare(0x1d0d4d0, 0x1d0d590): 4 semanage_disconnect(0x1d09280): 0 semanage_handle_destroy(0x1d09280) :: [ 08:46:41 ] :: [ PASS ] :: Command './test_compare conn nonuser different' (Expected 0, got 0) :: [ 08:46:41 ] :: [ PASS ] :: Command './test_compare conn nonuser different' (Expected 0, got 0) :: [ 08:46:41 ] :: [ BEGIN ] :: Running './test_compare trans root same' semanage_handle_create(): 0x2284280 semanage_connect(0x2284280): 0 semanage_begin_transaction(0x2284280): 0 semanage_seuser_list(0x2284280, 0x7fffb64d6460, 0x7fffb64d645c): 9 semanage_seuser_key_create(0x2284280, root, 0x7fffb64d6480): 0 semanage_seuser_compare(0x22911d0, 0x2290810): 0 semanage_commit(0x2284280): 0 semanage_disconnect(0x2284280): 0 semanage_handle_destroy(0x2284280) :: [ 08:46:41 ] :: [ PASS ] :: Command './test_compare trans root same' (Expected 0, got 0) :: [ 08:46:41 ] :: [ PASS ] :: Command './test_compare trans root same' (Expected 0, got 0) :: [ 08:46:41 ] :: [ BEGIN ] :: Running './test_compare trans nonuser different' semanage_handle_create(): 0x2568280 semanage_connect(0x2568280): 0 semanage_begin_transaction(0x2568280): 0 semanage_seuser_list(0x2568280, 0x7ffd91933e40, 0x7ffd91933e3c): 9 semanage_seuser_key_create(0x2568280, nonuser, 0x7ffd91933e60): 0 semanage_seuser_compare(0x25751d0, 0x2574810): 4 semanage_commit(0x2568280): 0 semanage_disconnect(0x2568280): 0 semanage_handle_destroy(0x2568280) :: [ 08:46:42 ] :: [ PASS ] :: Command './test_compare trans nonuser different' (Expected 0, got 0) :: [ 08:46:42 ] :: [ PASS ] :: Command './test_compare trans nonuser different' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Duration: 1s :: Assertions: 4 good, 0 bad :: Assertions: 4 good, 0 bad :: RESULT: PASS :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_compare2 :: semanage_seuser_compare2 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:42 ] :: [ BEGIN ] :: Running './test_compare2 conn NULL 0' /var/str//testing.sh: line 880: 12580 Segmentation fault (core dumped) ./test_compare2 conn NULL 0 :: [ 08:46:42 ] :: [ PASS ] :: Command './test_compare2 conn NULL 0' (Expected 134,139, got 139) :: [ 08:46:42 ] :: [ PASS ] :: Command './test_compare2 conn NULL 0' (Expected 134,139, got 139) :: [ 08:46:42 ] :: [ BEGIN ] :: Running './test_compare2 conn 0 NULL' /var/str//testing.sh: line 880: 12600 Segmentation fault (core dumped) ./test_compare2 conn 0 NULL :: [ 08:46:42 ] :: [ PASS ] :: Command './test_compare2 conn 0 NULL' (Expected 134,139, got 139) :: [ 08:46:42 ] :: [ PASS ] :: Command './test_compare2 conn 0 NULL' (Expected 134,139, got 139) :: [ 08:46:42 ] :: [ BEGIN ] :: Running './test_compare2 conn NULL NULL' /var/str//testing.sh: line 880: 12628 Segmentation fault (core dumped) ./test_compare2 conn NULL NULL :: [ 08:46:42 ] :: [ PASS ] :: Command './test_compare2 conn NULL NULL' (Expected 134,139, got 139) :: [ 08:46:42 ] :: [ PASS ] :: Command './test_compare2 conn NULL NULL' (Expected 134,139, got 139) :: [ 08:46:42 ] :: [ BEGIN ] :: Running './test_compare2 conn 0 0' semanage_handle_create(): 0x6da280 semanage_connect(0x6da280): 0 semanage_seuser_list(0x6da280, 0x7ffc122be690, 0x7ffc122be68c): 9 semanage_seuser_list(0x6da280, 0x7ffc122be690, 0x7ffc122be68c): 9 semanage_seuser_compare(0x6de4d0, 0x6de5b0): 0 semanage_disconnect(0x6da280): 0 semanage_handle_destroy(0x6da280) :: [ 08:46:42 ] :: [ PASS ] :: Command './test_compare2 conn 0 0' (Expected 0, got 0) :: [ 08:46:42 ] :: [ PASS ] :: Command './test_compare2 conn 0 0' (Expected 0, got 0) :: [ 08:46:42 ] :: [ BEGIN ] :: Running './test_compare2 conn 0 1' semanage_handle_create(): 0xd05280 semanage_connect(0xd05280): 0 semanage_seuser_list(0xd05280, 0x7ffd1844b730, 0x7ffd1844b72c): 9 semanage_seuser_list(0xd05280, 0x7ffd1844b730, 0x7ffd1844b72c): 9 semanage_seuser_compare(0xd094d0, 0xd09630): 19 semanage_disconnect(0xd05280): 0 semanage_handle_destroy(0xd05280) :: [ 08:46:42 ] :: [ PASS ] :: Command './test_compare2 conn 0 1' (Expected 0, got 0) :: [ 08:46:42 ] :: [ PASS ] :: Command './test_compare2 conn 0 1' (Expected 0, got 0) :: [ 08:46:42 ] :: [ BEGIN ] :: Running './test_compare2 trans NULL 0' /var/str//testing.sh: line 880: 12686 Segmentation fault (core dumped) ./test_compare2 trans NULL 0 :: [ 08:46:42 ] :: [ PASS ] :: Command './test_compare2 trans NULL 0' (Expected 134,139, got 139) :: [ 08:46:42 ] :: [ PASS ] :: Command './test_compare2 trans NULL 0' (Expected 134,139, got 139) :: [ 08:46:42 ] :: [ BEGIN ] :: Running './test_compare2 trans 0 NULL' /var/str//testing.sh: line 880: 12710 Segmentation fault (core dumped) ./test_compare2 trans 0 NULL :: [ 08:46:42 ] :: [ PASS ] :: Command './test_compare2 trans 0 NULL' (Expected 134,139, got 139) :: [ 08:46:42 ] :: [ PASS ] :: Command './test_compare2 trans 0 NULL' (Expected 134,139, got 139) :: [ 08:46:42 ] :: [ BEGIN ] :: Running './test_compare2 trans NULL NULL' /var/str//testing.sh: line 880: 12734 Segmentation fault (core dumped) ./test_compare2 trans NULL NULL :: [ 08:46:42 ] :: [ PASS ] :: Command './test_compare2 trans NULL NULL' (Expected 134,139, got 139) :: [ 08:46:42 ] :: [ PASS ] :: Command './test_compare2 trans NULL NULL' (Expected 134,139, got 139) :: [ 08:46:42 ] :: [ BEGIN ] :: Running './test_compare2 trans 0 0' semanage_handle_create(): 0xe8f280 semanage_connect(0xe8f280): 0 semanage_begin_transaction(0xe8f280): 0 semanage_seuser_list(0xe8f280, 0x7ffffb74a640, 0x7ffffb74a63c): 9 semanage_seuser_list(0xe8f280, 0x7ffffb74a640, 0x7ffffb74a63c): 9 semanage_seuser_compare(0xe9b850, 0xe9b550): 0 semanage_commit(0xe8f280): 0 semanage_disconnect(0xe8f280): 0 semanage_handle_destroy(0xe8f280) :: [ 08:46:43 ] :: [ PASS ] :: Command './test_compare2 trans 0 0' (Expected 0, got 0) :: [ 08:46:43 ] :: [ PASS ] :: Command './test_compare2 trans 0 0' (Expected 0, got 0) :: [ 08:46:43 ] :: [ BEGIN ] :: Running './test_compare2 trans 0 1' semanage_handle_create(): 0x146a280 semanage_connect(0x146a280): 0 semanage_begin_transaction(0x146a280): 0 semanage_seuser_list(0x146a280, 0x7ffed0cfa060, 0x7ffed0cfa05c): 9 semanage_seuser_list(0x146a280, 0x7ffed0cfa060, 0x7ffed0cfa05c): 9 semanage_seuser_compare(0x14771d0, 0x1476530): 19 semanage_commit(0x146a280): 0 semanage_disconnect(0x146a280): 0 semanage_handle_destroy(0x146a280) :: [ 08:46:43 ] :: [ PASS ] :: Command './test_compare2 trans 0 1' (Expected 0, got 0) :: [ 08:46:43 ] :: [ PASS ] :: Command './test_compare2 trans 0 1' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Duration: 1s :: Assertions: 10 good, 0 bad :: Assertions: 10 good, 0 bad :: RESULT: PASS :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_count :: semanage_seuser_count :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:43 ] :: [ BEGIN ] :: Running './test_count init' /var/str//testing.sh: line 880: 12824 Segmentation fault (core dumped) ./test_count init :: [ 08:46:43 ] :: [ PASS ] :: Command './test_count init' (Expected 134,139, got 139) :: [ 08:46:43 ] :: [ PASS ] :: Command './test_count init' (Expected 134,139, got 139) :: [ 08:46:43 ] :: [ BEGIN ] :: Running './test_count handle' libsemanage.assert_init: A direct or server connection is needed to use this function - please call the corresponding connect() method libsemanage.enter_ro: could not enter read-only section semanage_seuser_count: Success semanage_handle_create(): 0x25b9280 semanage_seuser_count(0x25b9280, 0x7fffc88a66d0): -1, response: 3364513728 :: [ 08:46:43 ] :: [ PASS ] :: Command './test_count handle' (Expected 1, got 1) :: [ 08:46:43 ] :: [ PASS ] :: Command './test_count handle' (Expected 1, got 1) :: [ 08:46:43 ] :: [ BEGIN ] :: Running './test_count conn 2' semanage_handle_create(): 0xc02280 semanage_connect(0xc02280): 0 semanage_seuser_count(0xc02280, 0x7ffe82242d60): 9, response: 2 semanage_disconnect(0xc02280): 0 semanage_handle_destroy(0xc02280) :: [ 08:46:43 ] :: [ PASS ] :: Command './test_count conn 2' (Expected 0, got 0) :: [ 08:46:43 ] :: [ PASS ] :: Command './test_count conn 2' (Expected 0, got 0) :: [ 08:46:43 ] :: [ BEGIN ] :: Running './test_count trans 2' semanage_handle_create(): 0x145a280 semanage_connect(0x145a280): 0 semanage_begin_transaction(0x145a280): 0 semanage_seuser_count(0x145a280, 0x7ffee1355eb0): 9, response: 2 semanage_commit(0x145a280): 0 semanage_disconnect(0x145a280): 0 semanage_handle_destroy(0x145a280) :: [ 08:46:43 ] :: [ PASS ] :: Command './test_count trans 2' (Expected 0, got 0) :: [ 08:46:43 ] :: [ PASS ] :: Command './test_count trans 2' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Duration: 0s :: Assertions: 4 good, 0 bad :: Assertions: 4 good, 0 bad :: RESULT: PASS :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_list :: semanage_seuser_list :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:43 ] :: [ BEGIN ] :: Running './test_list init' /var/str//testing.sh: line 880: 12934 Segmentation fault (core dumped) ./test_list init :: [ 08:46:43 ] :: [ PASS ] :: Command './test_list init' (Expected 134,139, got 139) :: [ 08:46:43 ] :: [ PASS ] :: Command './test_list init' (Expected 134,139, got 139) :: [ 08:46:43 ] :: [ BEGIN ] :: Running './test_list handle' libsemanage.assert_init: A direct or server connection is needed to use this function - please call the corresponding connect() method libsemanage.enter_ro: could not enter read-only section semanage_seuser_list: Success semanage_handle_create(): 0x6ac280 semanage_seuser_list(0x6ac280, 0x7fff32246f88, 0x7fff32246f84): -1:: [ 08:46:43 ] :: [ PASS ] :: Command './test_list handle' (Expected 1, got 1) :: [ 08:46:43 ] :: [ PASS ] :: Command './test_list handle' (Expected 1, got 1) :: [ 08:46:44 ] :: [ BEGIN ] :: Running './test_list conn 2 root __default__ ' semanage_handle_create(): 0x1e48280 semanage_connect(0x1e48280): 0 semanage_seuser_list(0x1e48280, 0x7ffe0addb7f8, 0x7ffe0addb7f4): 9, count: 2, records: 0x1e4c4d0 (root), 0x1e4c510 (__default__), semanage_disconnect(0x1e48280): 0 semanage_handle_destroy(0x1e48280) :: [ 08:46:44 ] :: [ PASS ] :: Command './test_list conn 2 root __default__ ' (Expected 0, got 0) :: [ 08:46:44 ] :: [ PASS ] :: Command './test_list conn 2 root __default__ ' (Expected 0, got 0) :: [ 08:46:44 ] :: [ BEGIN ] :: Running './test_list trans 2 root __default__ ' semanage_handle_create(): 0xcda280 semanage_connect(0xcda280): 0 semanage_begin_transaction(0xcda280): 0 semanage_seuser_list(0xcda280, 0x7ffc1041aa48, 0x7ffc1041aa44): 9, count: 2, records: 0xce71d0 (root), 0xce7250 (__default__), semanage_commit(0xcda280): 0 semanage_disconnect(0xcda280): 0 semanage_handle_destroy(0xcda280) :: [ 08:46:44 ] :: [ PASS ] :: Command './test_list trans 2 root __default__ ' (Expected 0, got 0) :: [ 08:46:44 ] :: [ PASS ] :: Command './test_list trans 2 root __default__ ' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Duration: 1s :: Assertions: 4 good, 0 bad :: Assertions: 4 good, 0 bad :: RESULT: PASS :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_iterate :: semanage_seuser_iterate :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:44 ] :: [ BEGIN ] :: Running './test_iterate init' /var/str//testing.sh: line 880: 13038 Segmentation fault (core dumped) ./test_iterate init :: [ 08:46:44 ] :: [ PASS ] :: Command './test_iterate init' (Expected 134,139, got 139) :: [ 08:46:44 ] :: [ PASS ] :: Command './test_iterate init' (Expected 134,139, got 139) :: [ 08:46:44 ] :: [ BEGIN ] :: Running './test_iterate handle' libsemanage.assert_init: A direct or server connection is needed to use this function - please call the corresponding connect() method libsemanage.enter_ro: could not enter read-only section semanage_seuser_iterate: Success semanage_handle_create(): 0x2385280 semanage_seuser_iterate(0x2385280, 0x4013ea, (nil)): -1 :: [ 08:46:44 ] :: [ PASS ] :: Command './test_iterate handle' (Expected 1, got 1) :: [ 08:46:44 ] :: [ PASS ] :: Command './test_iterate handle' (Expected 1, got 1) :: [ 08:46:44 ] :: [ BEGIN ] :: Running './test_iterate conn root __default__ ' semanage_handle_create(): 0x1219280 semanage_connect(0x1219280): 0 semanage_seuser_iterate(0x1219280, 0x4013ea, 0x7ffd75ca1d38): 9 semanage_disconnect(0x1219280): 0 semanage_handle_destroy(0x1219280) :: [ 08:46:44 ] :: [ PASS ] :: Command './test_iterate conn root __default__ ' (Expected 0, got 0) :: [ 08:46:44 ] :: [ PASS ] :: Command './test_iterate conn root __default__ ' (Expected 0, got 0) :: [ 08:46:44 ] :: [ BEGIN ] :: Running './test_iterate trans root __default__ ' semanage_handle_create(): 0x1706280 semanage_connect(0x1706280): 0 semanage_begin_transaction(0x1706280): 0 semanage_seuser_iterate(0x1706280, 0x4013ea, 0x7ffea7366d08): 9 semanage_commit(0x1706280): 0 semanage_disconnect(0x1706280): 0 semanage_handle_destroy(0x1706280) :: [ 08:46:44 ] :: [ PASS ] :: Command './test_iterate trans root __default__ ' (Expected 0, got 0) :: [ 08:46:44 ] :: [ PASS ] :: Command './test_iterate trans root __default__ ' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Duration: 0s :: Assertions: 4 good, 0 bad :: Assertions: 4 good, 0 bad :: RESULT: PASS :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_exists :: semanage_seuser_exists :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:44 ] :: [ BEGIN ] :: Running './test_exists conn nonuser 0' semanage_handle_create(): 0x6d9280 semanage_connect(0x6d9280): 0 semanage_seuser_key_create(0x6d9280, nonuser, 0x7ffc47f036d0): 0 semanage_seuser_exists(0x6d9280, 0x6dd490, 0x7ffc47f03708): 9, response: 0 semanage_disconnect(0x6d9280): 0 semanage_handle_destroy(0x6d9280) :: [ 08:46:44 ] :: [ PASS ] :: Command './test_exists conn nonuser 0' (Expected 0, got 0) :: [ 08:46:44 ] :: [ PASS ] :: Command './test_exists conn nonuser 0' (Expected 0, got 0) :: [ 08:46:44 ] :: [ BEGIN ] :: Running './test_exists conn __default__ 1' semanage_handle_create(): 0x21b3280 semanage_connect(0x21b3280): 0 semanage_seuser_key_create(0x21b3280, __default__, 0x7ffc378a5a50): 0 semanage_seuser_exists(0x21b3280, 0x21b7490, 0x7ffc378a5a88): 9, response: 1 semanage_disconnect(0x21b3280): 0 semanage_handle_destroy(0x21b3280) :: [ 08:46:44 ] :: [ PASS ] :: Command './test_exists conn __default__ 1' (Expected 0, got 0) :: [ 08:46:44 ] :: [ PASS ] :: Command './test_exists conn __default__ 1' (Expected 0, got 0) :: [ 08:46:44 ] :: [ BEGIN ] :: Running './test_exists conn root 1' semanage_handle_create(): 0x1c0c280 semanage_connect(0x1c0c280): 0 semanage_seuser_key_create(0x1c0c280, root, 0x7ffd73a6c1d0): 0 semanage_seuser_exists(0x1c0c280, 0x1c10490, 0x7ffd73a6c208): 9, response: 1 semanage_disconnect(0x1c0c280): 0 semanage_handle_destroy(0x1c0c280) :: [ 08:46:44 ] :: [ PASS ] :: Command './test_exists conn root 1' (Expected 0, got 0) :: [ 08:46:44 ] :: [ PASS ] :: Command './test_exists conn root 1' (Expected 0, got 0) :: [ 08:46:44 ] :: [ BEGIN ] :: Running './test_exists trans nonuser 0' semanage_handle_create(): 0x97e280 semanage_connect(0x97e280): 0 semanage_begin_transaction(0x97e280): 0 semanage_seuser_key_create(0x97e280, nonuser, 0x7ffe2dd0f340): 0 semanage_seuser_exists(0x97e280, 0x98b1d0, 0x7ffe2dd0f378): 9, response: 0 semanage_commit(0x97e280): 0 semanage_disconnect(0x97e280): 0 semanage_handle_destroy(0x97e280) :: [ 08:46:45 ] :: [ PASS ] :: Command './test_exists trans nonuser 0' (Expected 0, got 0) :: [ 08:46:45 ] :: [ PASS ] :: Command './test_exists trans nonuser 0' (Expected 0, got 0) :: [ 08:46:45 ] :: [ BEGIN ] :: Running './test_exists trans __default__ 1' semanage_handle_create(): 0xb07280 semanage_connect(0xb07280): 0 semanage_begin_transaction(0xb07280): 0 semanage_seuser_key_create(0xb07280, __default__, 0x7fff1b5f50a0): 0 semanage_seuser_exists(0xb07280, 0xb141d0, 0x7fff1b5f50d8): 9, response: 1 semanage_commit(0xb07280): 0 semanage_disconnect(0xb07280): 0 semanage_handle_destroy(0xb07280) :: [ 08:46:45 ] :: [ PASS ] :: Command './test_exists trans __default__ 1' (Expected 0, got 0) :: [ 08:46:45 ] :: [ PASS ] :: Command './test_exists trans __default__ 1' (Expected 0, got 0) :: [ 08:46:45 ] :: [ BEGIN ] :: Running './test_exists trans root 1' semanage_handle_create(): 0x9f6280 semanage_connect(0x9f6280): 0 semanage_begin_transaction(0x9f6280): 0 semanage_seuser_key_create(0x9f6280, root, 0x7ffce46ecbd0): 0 semanage_seuser_exists(0x9f6280, 0xa031d0, 0x7ffce46ecc08): 9, response: 1 semanage_commit(0x9f6280): 0 semanage_disconnect(0x9f6280): 0 semanage_handle_destroy(0x9f6280) :: [ 08:46:45 ] :: [ PASS ] :: Command './test_exists trans root 1' (Expected 0, got 0) :: [ 08:46:45 ] :: [ PASS ] :: Command './test_exists trans root 1' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Duration: 1s :: Assertions: 6 good, 0 bad :: Assertions: 6 good, 0 bad :: RESULT: PASS :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_query :: semanage_seuser_query :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:45 ] :: [ BEGIN ] :: Running './test_query conn nonuser' libsemanage.dbase_llist_query: could not query record value (No such file or directory). semanage_seuser_query: No such file or directory semanage_handle_create(): 0x14f5280 semanage_connect(0x14f5280): 0 semanage_seuser_key_create(0x14f5280, nonuser, 0x7ffcd41a6840): 0 semanage_seuser_query(0x14f5280, 0x14f9490, 0x7ffcd41a6838): -1, response: (nil) :: [ 08:46:45 ] :: [ PASS ] :: Command './test_query conn nonuser' (Expected 1, got 1) :: [ 08:46:45 ] :: [ PASS ] :: Command './test_query conn nonuser' (Expected 1, got 1) :: [ 08:46:45 ] :: [ BEGIN ] :: Running './test_query conn __default__' semanage_handle_create(): 0x1201280 semanage_connect(0x1201280): 0 semanage_seuser_key_create(0x1201280, __default__, 0x7fff38da3ed0): 0 semanage_seuser_query(0x1201280, 0x1205490, 0x7fff38da3ec8): 9, response: 0x1205510 semanage_seuser_get_name(0x1205510): __default__ semanage_disconnect(0x1201280): 0 semanage_handle_destroy(0x1201280) :: [ 08:46:45 ] :: [ PASS ] :: Command './test_query conn __default__' (Expected 0, got 0) :: [ 08:46:45 ] :: [ PASS ] :: Command './test_query conn __default__' (Expected 0, got 0) :: [ 08:46:45 ] :: [ BEGIN ] :: Running './test_query conn root' semanage_handle_create(): 0x18d5280 semanage_connect(0x18d5280): 0 semanage_seuser_key_create(0x18d5280, root, 0x7fff0a162fc0): 0 semanage_seuser_query(0x18d5280, 0x18d9490, 0x7fff0a162fb8): 9, response: 0x18d9510 semanage_seuser_get_name(0x18d9510): root semanage_disconnect(0x18d5280): 0 semanage_handle_destroy(0x18d5280) :: [ 08:46:45 ] :: [ PASS ] :: Command './test_query conn root' (Expected 0, got 0) :: [ 08:46:45 ] :: [ PASS ] :: Command './test_query conn root' (Expected 0, got 0) :: [ 08:46:45 ] :: [ BEGIN ] :: Running './test_query trans nonuser' libsemanage.dbase_llist_query: could not query record value (No such file or directory). semanage_seuser_query: No such file or directory semanage_handle_create(): 0x12ef280 semanage_connect(0x12ef280): 0 semanage_begin_transaction(0x12ef280): 0 semanage_seuser_key_create(0x12ef280, nonuser, 0x7fff33ab0460): 0 semanage_seuser_query(0x12ef280, 0x12fc1d0, 0x7fff33ab0458): -1, response: (nil) :: [ 08:46:45 ] :: [ PASS ] :: Command './test_query trans nonuser' (Expected 1, got 1) :: [ 08:46:45 ] :: [ PASS ] :: Command './test_query trans nonuser' (Expected 1, got 1) :: [ 08:46:45 ] :: [ BEGIN ] :: Running './test_query trans __default__' semanage_handle_create(): 0x19da280 semanage_connect(0x19da280): 0 semanage_begin_transaction(0x19da280): 0 semanage_seuser_key_create(0x19da280, __default__, 0x7ffcb96475f0): 0 semanage_seuser_query(0x19da280, 0x19e6850, 0x7ffcb96475e8): 9, response: 0x19e6830 semanage_seuser_get_name(0x19e6830): __default__ semanage_commit(0x19da280): 0 semanage_disconnect(0x19da280): 0 semanage_handle_destroy(0x19da280) :: [ 08:46:46 ] :: [ PASS ] :: Command './test_query trans __default__' (Expected 0, got 0) :: [ 08:46:46 ] :: [ PASS ] :: Command './test_query trans __default__' (Expected 0, got 0) :: [ 08:46:46 ] :: [ BEGIN ] :: Running './test_query trans root' semanage_handle_create(): 0x13fa280 semanage_connect(0x13fa280): 0 semanage_begin_transaction(0x13fa280): 0 semanage_seuser_key_create(0x13fa280, root, 0x7ffd03499680): 0 semanage_seuser_query(0x13fa280, 0x14071d0, 0x7ffd03499678): 9, response: 0x1406a20 semanage_seuser_get_name(0x1406a20): root semanage_commit(0x13fa280): 0 semanage_disconnect(0x13fa280): 0 semanage_handle_destroy(0x13fa280) :: [ 08:46:46 ] :: [ PASS ] :: Command './test_query trans root' (Expected 0, got 0) :: [ 08:46:46 ] :: [ PASS ] :: Command './test_query trans root' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Duration: 1s :: Assertions: 6 good, 0 bad :: Assertions: 6 good, 0 bad :: RESULT: PASS :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_get_name :: semanage_seuser_get_name :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:46 ] :: [ BEGIN ] :: Running './test_get_name conn new NULL' semanage_handle_create(): 0xe47280 semanage_connect(0xe47280): 0 semanage_seuser_create(0xe47280, 0xe4b490): 0 semanage_seuser_get_name(0xe4b490): (null) semanage_disconnect(0xe47280): 0 semanage_handle_destroy(0xe47280) :: [ 08:46:46 ] :: [ PASS ] :: Command './test_get_name conn new NULL' (Expected 0, got 0) :: [ 08:46:46 ] :: [ PASS ] :: Command './test_get_name conn new NULL' (Expected 0, got 0) :: [ 08:46:46 ] :: [ BEGIN ] :: Running './test_get_name conn first root' semanage_handle_create(): 0x1998280 semanage_connect(0x1998280): 0 semanage_seuser_list(0x1998280, 0x7ffda5e1c3c0, 0x7ffda5e1c3bc): 9 semanage_seuser_get_name(0x199c4d0): root semanage_disconnect(0x1998280): 0 semanage_handle_destroy(0x1998280) :: [ 08:46:46 ] :: [ PASS ] :: Command './test_get_name conn first root' (Expected 0, got 0) :: [ 08:46:46 ] :: [ PASS ] :: Command './test_get_name conn first root' (Expected 0, got 0) :: [ 08:46:46 ] :: [ BEGIN ] :: Running './test_get_name trans new NULL' semanage_handle_create(): 0xec5280 semanage_connect(0xec5280): 0 semanage_begin_transaction(0xec5280): 0 semanage_seuser_create(0xec5280, 0xed21d0): 0 semanage_seuser_get_name(0xed21d0): (null) semanage_commit(0xec5280): 0 semanage_disconnect(0xec5280): 0 semanage_handle_destroy(0xec5280) :: [ 08:46:46 ] :: [ PASS ] :: Command './test_get_name trans new NULL' (Expected 0, got 0) :: [ 08:46:46 ] :: [ PASS ] :: Command './test_get_name trans new NULL' (Expected 0, got 0) :: [ 08:46:46 ] :: [ BEGIN ] :: Running './test_get_name trans first root' semanage_handle_create(): 0xfde280 semanage_connect(0xfde280): 0 semanage_begin_transaction(0xfde280): 0 semanage_seuser_list(0xfde280, 0x7fffefb68920, 0x7fffefb6891c): 9 semanage_seuser_get_name(0xfeb1d0): root semanage_commit(0xfde280): 0 semanage_disconnect(0xfde280): 0 semanage_handle_destroy(0xfde280) :: [ 08:46:47 ] :: [ PASS ] :: Command './test_get_name trans first root' (Expected 0, got 0) :: [ 08:46:47 ] :: [ PASS ] :: Command './test_get_name trans first root' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Duration: 1s :: Assertions: 4 good, 0 bad :: Assertions: 4 good, 0 bad :: RESULT: PASS :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_set_name :: semanage_seuser_set_name :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:47 ] :: [ BEGIN ] :: Running './test_set_name conn someuser' semanage_handle_create(): 0x1d8d280 semanage_connect(0x1d8d280): 0 semanage_seuser_list(0x1d8d280, 0x7ffd1334d800, 0x7ffd1334d7fc): 9 semanage_seuser_get_name(0x1d914d0): root semanage_seuser_set_name(0x1d8d280, 0x1d914d0, someuser): 0 semanage_seuser_get_name(0x1d914d0): someuser semanage_disconnect(0x1d8d280): 0 semanage_handle_destroy(0x1d8d280) :: [ 08:46:47 ] :: [ PASS ] :: Command './test_set_name conn someuser' (Expected 0, got 0) :: [ 08:46:47 ] :: [ PASS ] :: Command './test_set_name conn someuser' (Expected 0, got 0) :: [ 08:46:47 ] :: [ BEGIN ] :: Running './test_set_name trans someuser' semanage_handle_create(): 0x230c280 semanage_connect(0x230c280): 0 semanage_begin_transaction(0x230c280): 0 semanage_seuser_list(0x230c280, 0x7ffcda859370, 0x7ffcda85936c): 9 semanage_seuser_get_name(0x23191d0): root semanage_seuser_set_name(0x230c280, 0x23191d0, someuser): 0 semanage_seuser_get_name(0x23191d0): someuser semanage_commit(0x230c280): 0 semanage_disconnect(0x230c280): 0 semanage_handle_destroy(0x230c280) :: [ 08:46:47 ] :: [ PASS ] :: Command './test_set_name trans someuser' (Expected 0, got 0) :: [ 08:46:47 ] :: [ PASS ] :: Command './test_set_name trans someuser' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Duration: 0s :: Assertions: 2 good, 0 bad :: Assertions: 2 good, 0 bad :: RESULT: PASS :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_get_sename :: semanage_seuser_get_sename :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:47 ] :: [ BEGIN ] :: Running './test_get_sename conn new NULL' semanage_handle_create(): 0xece280 semanage_connect(0xece280): 0 semanage_seuser_create(0xece280, 0xed2490): 0 semanage_seuser_get_sename(0xed2490): (null) semanage_disconnect(0xece280): 0 semanage_handle_destroy(0xece280) :: [ 08:46:47 ] :: [ PASS ] :: Command './test_get_sename conn new NULL' (Expected 0, got 0) :: [ 08:46:47 ] :: [ PASS ] :: Command './test_get_sename conn new NULL' (Expected 0, got 0) :: [ 08:46:47 ] :: [ BEGIN ] :: Running './test_get_sename conn first unconfined_u' semanage_handle_create(): 0x1306280 semanage_connect(0x1306280): 0 semanage_seuser_list(0x1306280, 0x7ffe47339e80, 0x7ffe47339e7c): 9 semanage_seuser_get_sename(0x130a4d0): unconfined_u semanage_disconnect(0x1306280): 0 semanage_handle_destroy(0x1306280) :: [ 08:46:47 ] :: [ PASS ] :: Command './test_get_sename conn first unconfined_u' (Expected 0, got 0) :: [ 08:46:47 ] :: [ PASS ] :: Command './test_get_sename conn first unconfined_u' (Expected 0, got 0) :: [ 08:46:47 ] :: [ BEGIN ] :: Running './test_get_sename trans new NULL' semanage_handle_create(): 0x2016280 semanage_connect(0x2016280): 0 semanage_begin_transaction(0x2016280): 0 semanage_seuser_create(0x2016280, 0x20231d0): 0 semanage_seuser_get_sename(0x20231d0): (null) semanage_commit(0x2016280): 0 semanage_disconnect(0x2016280): 0 semanage_handle_destroy(0x2016280) :: [ 08:46:47 ] :: [ PASS ] :: Command './test_get_sename trans new NULL' (Expected 0, got 0) :: [ 08:46:47 ] :: [ PASS ] :: Command './test_get_sename trans new NULL' (Expected 0, got 0) :: [ 08:46:47 ] :: [ BEGIN ] :: Running './test_get_sename trans first unconfined_u' semanage_handle_create(): 0x188c280 semanage_connect(0x188c280): 0 semanage_begin_transaction(0x188c280): 0 semanage_seuser_list(0x188c280, 0x7ffde478d850, 0x7ffde478d84c): 9 semanage_seuser_get_sename(0x18991d0): unconfined_u semanage_commit(0x188c280): 0 semanage_disconnect(0x188c280): 0 semanage_handle_destroy(0x188c280) :: [ 08:46:48 ] :: [ PASS ] :: Command './test_get_sename trans first unconfined_u' (Expected 0, got 0) :: [ 08:46:48 ] :: [ PASS ] :: Command './test_get_sename trans first unconfined_u' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Duration: 1s :: Assertions: 4 good, 0 bad :: Assertions: 4 good, 0 bad :: RESULT: PASS :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_set_sename :: semanage_seuser_set_sename :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:48 ] :: [ BEGIN ] :: Running './test_set_sename conn someuser_u' semanage_handle_create(): 0x117d280 semanage_connect(0x117d280): 0 semanage_seuser_list(0x117d280, 0x7ffcbe2aca40, 0x7ffcbe2aca3c): 9 semanage_seuser_get_sename(0x11814d0): unconfined_u semanage_seuser_set_sename(0x117d280, 0x11814d0, someuser_u): 0 semanage_seuser_get_sename(0x11814d0): someuser_u semanage_disconnect(0x117d280): 0 semanage_handle_destroy(0x117d280) :: [ 08:46:48 ] :: [ PASS ] :: Command './test_set_sename conn someuser_u' (Expected 0, got 0) :: [ 08:46:48 ] :: [ PASS ] :: Command './test_set_sename conn someuser_u' (Expected 0, got 0) :: [ 08:46:48 ] :: [ BEGIN ] :: Running './test_set_sename trans someuser_u' semanage_handle_create(): 0x1d95280 semanage_connect(0x1d95280): 0 semanage_begin_transaction(0x1d95280): 0 semanage_seuser_list(0x1d95280, 0x7ffc561ba940, 0x7ffc561ba93c): 9 semanage_seuser_get_sename(0x1da21d0): unconfined_u semanage_seuser_set_sename(0x1d95280, 0x1da21d0, someuser_u): 0 semanage_seuser_get_sename(0x1da21d0): someuser_u semanage_commit(0x1d95280): 0 semanage_disconnect(0x1d95280): 0 semanage_handle_destroy(0x1d95280) :: [ 08:46:48 ] :: [ PASS ] :: Command './test_set_sename trans someuser_u' (Expected 0, got 0) :: [ 08:46:48 ] :: [ PASS ] :: Command './test_set_sename trans someuser_u' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Duration: 0s :: Assertions: 2 good, 0 bad :: Assertions: 2 good, 0 bad :: RESULT: PASS :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_get_mlsrange :: semanage_seuser_get_mlsrange :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:48 ] :: [ BEGIN ] :: Running './test_get_mlsrange conn new NULL' semanage_handle_create(): 0x99b280 semanage_connect(0x99b280): 0 semanage_seuser_create(0x99b280, 0x99f490): 0 semanage_seuser_get_mlsrange(0x99f490): (null) semanage_disconnect(0x99b280): 0 semanage_handle_destroy(0x99b280) :: [ 08:46:48 ] :: [ PASS ] :: Command './test_get_mlsrange conn new NULL' (Expected 0, got 0) :: [ 08:46:48 ] :: [ PASS ] :: Command './test_get_mlsrange conn new NULL' (Expected 0, got 0) :: [ 08:46:48 ] :: [ BEGIN ] :: Running './test_get_mlsrange conn first s0-s0:c0.c1023' semanage_handle_create(): 0x632280 semanage_connect(0x632280): 0 semanage_seuser_list(0x632280, 0x7ffea60ced30, 0x7ffea60ced2c): 9 semanage_seuser_get_mlsrange(0x6364d0): s0-s0:c0.c1023 semanage_disconnect(0x632280): 0 semanage_handle_destroy(0x632280) :: [ 08:46:48 ] :: [ PASS ] :: Command './test_get_mlsrange conn first s0-s0:c0.c1023' (Expected 0, got 0) :: [ 08:46:48 ] :: [ PASS ] :: Command './test_get_mlsrange conn first s0-s0:c0.c1023' (Expected 0, got 0) :: [ 08:46:48 ] :: [ BEGIN ] :: Running './test_get_mlsrange trans new NULL' semanage_handle_create(): 0xca8280 semanage_connect(0xca8280): 0 semanage_begin_transaction(0xca8280): 0 semanage_seuser_create(0xca8280, 0xcb51d0): 0 semanage_seuser_get_mlsrange(0xcb51d0): (null) semanage_commit(0xca8280): 0 semanage_disconnect(0xca8280): 0 semanage_handle_destroy(0xca8280) :: [ 08:46:48 ] :: [ PASS ] :: Command './test_get_mlsrange trans new NULL' (Expected 0, got 0) :: [ 08:46:48 ] :: [ PASS ] :: Command './test_get_mlsrange trans new NULL' (Expected 0, got 0) :: [ 08:46:48 ] :: [ BEGIN ] :: Running './test_get_mlsrange trans first s0-s0:c0.c1023' semanage_handle_create(): 0x1153280 semanage_connect(0x1153280): 0 semanage_begin_transaction(0x1153280): 0 semanage_seuser_list(0x1153280, 0x7ffc33c38ab0, 0x7ffc33c38aac): 9 semanage_seuser_get_mlsrange(0x11601d0): s0-s0:c0.c1023 semanage_commit(0x1153280): 0 semanage_disconnect(0x1153280): 0 semanage_handle_destroy(0x1153280) :: [ 08:46:49 ] :: [ PASS ] :: Command './test_get_mlsrange trans first s0-s0:c0.c1023' (Expected 0, got 0) :: [ 08:46:49 ] :: [ PASS ] :: Command './test_get_mlsrange trans first s0-s0:c0.c1023' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Duration: 1s :: Assertions: 4 good, 0 bad :: Assertions: 4 good, 0 bad :: RESULT: PASS :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_set_mlsrange :: semanage_seuser_set_mlsrange :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:49 ] :: [ BEGIN ] :: Running './test_set_mlsrange conn c0-s1:c0.c42' semanage_handle_create(): 0x223f280 semanage_connect(0x223f280): 0 semanage_seuser_list(0x223f280, 0x7ffdd0f09750, 0x7ffdd0f0974c): 9 semanage_seuser_get_mlsrange(0x22434d0): s0-s0:c0.c1023 semanage_seuser_set_mlsrange(0x223f280, 0x22434d0, c0-s1:c0.c42): 0 semanage_seuser_get_mlsrange(0x22434d0): c0-s1:c0.c42 semanage_disconnect(0x223f280): 0 semanage_handle_destroy(0x223f280) :: [ 08:46:49 ] :: [ PASS ] :: Command './test_set_mlsrange conn c0-s1:c0.c42' (Expected 0, got 0) :: [ 08:46:49 ] :: [ PASS ] :: Command './test_set_mlsrange conn c0-s1:c0.c42' (Expected 0, got 0) :: [ 08:46:49 ] :: [ BEGIN ] :: Running './test_set_mlsrange trans c0-s1:c0.c42' semanage_handle_create(): 0x12df280 semanage_connect(0x12df280): 0 semanage_begin_transaction(0x12df280): 0 semanage_seuser_list(0x12df280, 0x7fff070e9540, 0x7fff070e953c): 9 semanage_seuser_get_mlsrange(0x12ec1d0): s0-s0:c0.c1023 semanage_seuser_set_mlsrange(0x12df280, 0x12ec1d0, c0-s1:c0.c42): 0 semanage_seuser_get_mlsrange(0x12ec1d0): c0-s1:c0.c42 semanage_commit(0x12df280): 0 semanage_disconnect(0x12df280): 0 semanage_handle_destroy(0x12df280) :: [ 08:46:49 ] :: [ PASS ] :: Command './test_set_mlsrange trans c0-s1:c0.c42' (Expected 0, got 0) :: [ 08:46:49 ] :: [ PASS ] :: Command './test_set_mlsrange trans c0-s1:c0.c42' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Duration: 0s :: Assertions: 2 good, 0 bad :: Assertions: 2 good, 0 bad :: RESULT: PASS :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_clone :: semanage_seuser_clone :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:49 ] :: [ BEGIN ] :: Running './test_clone conn first' semanage_handle_create(): 0x98a280 semanage_connect(0x98a280): 0 semanage_seuser_list(0x98a280, 0x7ffeb0183040, 0x7ffeb018303c): 9 semanage_seuser_clone(0x98e4d0, 0x98e590): 0 semanage_disconnect(0x98a280): 0 semanage_handle_destroy(0x98a280) :: [ 08:46:49 ] :: [ PASS ] :: Command './test_clone conn first' (Expected 0, got 0) :: [ 08:46:49 ] :: [ PASS ] :: Command './test_clone conn first' (Expected 0, got 0) :: [ 08:46:49 ] :: [ BEGIN ] :: Running './test_clone trans first' semanage_handle_create(): 0x1c50280 semanage_connect(0x1c50280): 0 semanage_begin_transaction(0x1c50280): 0 semanage_seuser_list(0x1c50280, 0x7ffdf0a0dd40, 0x7ffdf0a0dd3c): 9 semanage_seuser_clone(0x1c5d1d0, 0x1c5c810): 0 semanage_commit(0x1c50280): 0 semanage_disconnect(0x1c50280): 0 semanage_handle_destroy(0x1c50280) :: [ 08:46:49 ] :: [ PASS ] :: Command './test_clone trans first' (Expected 0, got 0) :: [ 08:46:49 ] :: [ PASS ] :: Command './test_clone trans first' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Duration: 0s :: Assertions: 2 good, 0 bad :: Assertions: 2 good, 0 bad :: RESULT: PASS :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_create :: semanage_seuser_create :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:49 ] :: [ BEGIN ] :: Running './test_create conn' semanage_handle_create(): 0x1cf8280 semanage_connect(0x1cf8280): 0 semanage_seuser_create(0x1cf8280, 0x1cfc490): 0 semanage_disconnect(0x1cf8280): 0 semanage_handle_destroy(0x1cf8280) :: [ 08:46:49 ] :: [ PASS ] :: Command './test_create conn' (Expected 0, got 0) :: [ 08:46:49 ] :: [ PASS ] :: Command './test_create conn' (Expected 0, got 0) :: [ 08:46:49 ] :: [ BEGIN ] :: Running './test_create trans' semanage_handle_create(): 0xcf4280 semanage_connect(0xcf4280): 0 semanage_begin_transaction(0xcf4280): 0 semanage_seuser_create(0xcf4280, 0xd011d0): 0 semanage_commit(0xcf4280): 0 semanage_disconnect(0xcf4280): 0 semanage_handle_destroy(0xcf4280) :: [ 08:46:50 ] :: [ PASS ] :: Command './test_create trans' (Expected 0, got 0) :: [ 08:46:50 ] :: [ PASS ] :: Command './test_create trans' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Duration: 1s :: Assertions: 2 good, 0 bad :: Assertions: 2 good, 0 bad :: RESULT: PASS :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_modify_local :: semanage_seuser_modify_local :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:50 ] :: [ BEGIN ] :: Running './test_modify_local trans first' semanage_commit: No such file or directory semanage_handle_create(): 0xc1d280 semanage_connect(0xc1d280): 0 semanage_begin_transaction(0xc1d280): 0 semanage_seuser_list(0xc1d280, 0x7ffdf70c4850, 0x7ffdf70c484c): 9 semanage_seuser_key_extract(0xc1d280, 0xc2a1d0, 0x7ffdf70c48b0): 0 semanage_seuser_modify_local(0xc2a1d0, 0xc29810, 0xc2a1d0): 0 semanage_seuser_list_local(0xc1d280, 0x7ffdf70c48a8, 0x7ffdf70c48a4): 9 semanage_commit(0xc1d280): 10 :: [ 08:46:52 ] :: [ FAIL ] :: Command './test_modify_local trans first' (Expected 0, got 2) :: [ 08:46:52 ] :: [ FAIL ] :: Command './test_modify_local trans first' (Expected 0, got 2) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Duration: 2s :: Assertions: 0 good, 1 bad :: Assertions: 0 good, 1 bad :: RESULT: FAIL :: RESULT: FAIL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_del_local :: semanage_seuser_del_local :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:52 ] :: [ BEGIN ] :: Running './test_del_local trans first first' semanage_commit: No such file or directory semanage_handle_create(): 0xecf280 semanage_connect(0xecf280): 0 semanage_begin_transaction(0xecf280): 0 semanage_seuser_list(0xecf280, 0x7ffc1bccf3e0, 0x7ffc1bccf3dc): 10 semanage_seuser_key_extract(0xecf280, 0xedc200, 0x7ffc1bccf400): 0 semanage_seuser_modify_local(0xedc200, 0xedb870, 0xedc200): 0 semanage_seuser_list(0xecf280, 0x7ffc1bccf3e0, 0x7ffc1bccf3dc): 10 semanage_seuser_key_extract(0xecf280, 0xed4a20, 0x7ffc1bccf448): 0 semanage_seuser_del_local(0xedc200, 0x3591580): 0 semanage_seuser_list_local(0xecf280, 0x7ffc1bccf440, 0x7ffc1bccf43c): 10 semanage_commit(0xecf280): 11 :: [ 08:46:54 ] :: [ FAIL ] :: Command './test_del_local trans first first' (Expected 0, got 2) :: [ 08:46:54 ] :: [ FAIL ] :: Command './test_del_local trans first first' (Expected 0, got 2) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Duration: 2s :: Assertions: 0 good, 1 bad :: Assertions: 0 good, 1 bad :: RESULT: FAIL :: RESULT: FAIL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_exists_local :: semanage_seuser_exists_local :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:55 ] :: [ BEGIN ] :: Running './test_exists_local trans first first 1' semanage_commit: No such file or directory semanage_handle_create(): 0xbb4280 semanage_connect(0xbb4280): 0 semanage_begin_transaction(0xbb4280): 0 semanage_seuser_list(0xbb4280, 0x7fffa3370e60, 0x7fffa3370e5c): 11 semanage_seuser_list(0xbb4280, 0x7fffa3370e60, 0x7fffa3370e5c): 11 semanage_seuser_key_extract(0xbb4280, 0xbc1200, 0x7fffa3370e80): 0 semanage_seuser_modify_local(0xbc1200, 0xbc0cb0, 0xbc1200): 0 semanage_seuser_key_extract(0xbb4280, 0xbc0890, 0x7fffa3370eb8): 0 semanage_seuser_exists_local(0xbb4280, 0xbc6060, 0x7fffa3370eb4): 11 semanage_seuser_key_extract(0xbb4280, 0xbc1200, 0x7fffa3370e80): 0 semanage_seuser_del_local(0xbc1200, 0xbc0630): 0 semanage_commit(0xbb4280): 12 :: [ 08:46:58 ] :: [ FAIL ] :: Command './test_exists_local trans first first 1' (Expected 0, got 2) :: [ 08:46:58 ] :: [ FAIL ] :: Command './test_exists_local trans first first 1' (Expected 0, got 2) :: [ 08:46:58 ] :: [ BEGIN ] :: Running './test_exists_local trans first second 0' semanage_commit: No such file or directory semanage_handle_create(): 0xeb5280 semanage_connect(0xeb5280): 0 semanage_begin_transaction(0xeb5280): 0 semanage_seuser_list(0xeb5280, 0x7ffd14fa47a0, 0x7ffd14fa479c): 12 semanage_seuser_list(0xeb5280, 0x7ffd14fa47a0, 0x7ffd14fa479c): 12 semanage_seuser_key_extract(0xeb5280, 0xec2200, 0x7ffd14fa47c0): 0 semanage_seuser_modify_local(0xec2200, 0xec1cb0, 0xec2200): 0 semanage_seuser_key_extract(0xeb5280, 0xec1c30, 0x7ffd14fa47f8): 0 semanage_seuser_exists_local(0xeb5280, 0xec7060, 0x7ffd14fa47f4): 12 semanage_seuser_key_extract(0xeb5280, 0xec2200, 0x7ffd14fa47c0): 0 semanage_seuser_del_local(0xec2200, 0xec1630): 0 semanage_commit(0xeb5280): 13 :: [ 08:47:00 ] :: [ FAIL ] :: Command './test_exists_local trans first second 0' (Expected 0, got 2) :: [ 08:47:00 ] :: [ FAIL ] :: Command './test_exists_local trans first second 0' (Expected 0, got 2) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 5s :: Duration: 5s :: Assertions: 0 good, 2 bad :: Assertions: 0 good, 2 bad :: RESULT: FAIL :: RESULT: FAIL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_count_local :: semanage_seuser_count_local :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:47:00 ] :: [ BEGIN ] :: Running './test_count_local trans 1' semanage_commit: No such file or directory semanage_handle_create(): 0x2100280 semanage_connect(0x2100280): 0 semanage_begin_transaction(0x2100280): 0 semanage_seuser_list(0x2100280, 0x7ffe0a05af90, 0x7ffe0a05af8c): 13 semanage_seuser_key_extract(0x2100280, 0x210d200, 0x7ffe0a05af90): 0 semanage_seuser_modify_local(0x210d200, 0x210c870, 0x210d200): 0 semanage_seuser_count_local(0x2100280, 0x7ffe0a05afcc): 13, response: 1 semanage_seuser_key_extract(0x2100280, 0x210d200, 0x7ffe0a05af90): 0 semanage_seuser_del_local(0x210d200, 0x2105a20): 0 semanage_commit(0x2100280): 14 :: [ 08:47:02 ] :: [ FAIL ] :: Command './test_count_local trans 1' (Expected 0, got 2) :: [ 08:47:02 ] :: [ FAIL ] :: Command './test_count_local trans 1' (Expected 0, got 2) :: [ 08:47:02 ] :: [ BEGIN ] :: Running './test_count_local trans 2' semanage_commit: No such file or directory semanage_handle_create(): 0x11c6280 semanage_connect(0x11c6280): 0 semanage_begin_transaction(0x11c6280): 0 semanage_seuser_list(0x11c6280, 0x7ffea9222660, 0x7ffea922265c): 14 semanage_seuser_key_extract(0x11c6280, 0x11d3200, 0x7ffea9222660): 0 semanage_seuser_modify_local(0x11d3200, 0x11d2870, 0x11d3200): 0 semanage_seuser_list(0x11c6280, 0x7ffea9222660, 0x7ffea922265c): 14 semanage_seuser_key_extract(0x11c6280, 0x3888600, 0x7ffea9222660): 0 semanage_seuser_modify_local(0x3888600, 0x3888580, 0x3888600): 0 semanage_seuser_count_local(0x11c6280, 0x7ffea922269c): 14, response: 2 semanage_seuser_key_extract(0x11c6280, 0x3888600, 0x7ffea9222660): 0 semanage_seuser_del_local(0x3888600, 0x11cb6f0): 0 semanage_commit(0x11c6280): 15 :: [ 08:47:04 ] :: [ FAIL ] :: Command './test_count_local trans 2' (Expected 0, got 2) :: [ 08:47:04 ] :: [ FAIL ] :: Command './test_count_local trans 2' (Expected 0, got 2) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 4s :: Duration: 4s :: Assertions: 0 good, 2 bad :: Assertions: 0 good, 2 bad :: RESULT: FAIL :: RESULT: FAIL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:47:04 ] :: [ BEGIN ] :: Running 'rm -f test_clone test_compare test_compare2 test_count test_count_local test_create test_del_local test_exists test_exists_local test_get_mlsrange test_get_name test_get_sename test_iterate test_key_create test_key_extract test_list test_modify_local test_query test_set_mlsrange test_set_name test_set_sename ' :: [ 08:47:04 ] :: [ PASS ] :: Command 'rm -f test_clone test_compare test_compare2 test_count test_count_local test_create test_del_local test_exists test_exists_local test_get_mlsrange test_get_name test_get_sename test_iterate test_key_create test_key_extract test_list test_modify_local test_query test_set_mlsrange test_set_name test_set_sename ' (Expected 0, got 0) :: [ 08:47:04 ] :: [ PASS ] :: Command 'rm -f test_clone test_compare test_compare2 test_count test_count_local test_create test_del_local test_exists test_exists_local test_get_mlsrange test_get_name test_get_sename test_iterate test_key_create test_key_extract test_list test_modify_local test_query test_set_mlsrange test_set_name test_set_sename ' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Duration: 0s :: Assertions: 1 good, 0 bad :: Assertions: 1 good, 0 bad :: RESULT: PASS :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: TEST PROTOCOL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Package : libsemanage Installed : libsemanage-2.7-99.fc28.20180309170801.x86_64 beakerlib RPM : beakerlib-1.17-13.fc28.noarch Test started : 2018-03-12 08:46:38 UTC Test finished : 2018-03-12 08:47:04 UTC (still running) Test duration : 26 seconds Test name : selinux/libsemanage/semanage-seuser-functions Distro : Fedora release 28 (Twenty Eight) Hostname : fedora28 Architecture : x86_64 CPUs : 1 x Intel Core Processor (Skylake, IBRS) RAM size : 984 MB HDD size : 3.87 GB :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test description :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: PURPOSE of /CoreOS/libsemanage/Sanity/semanage-seuser-functions Description: Test semanage_seuser_* functions Author: Jan Zarsky :: [ 08:46:38 ] :: [ WARNING ] :: POSIX mode detected and switched off :: [ 08:46:38 ] :: [ WARNING ] :: Please fix your test to have /bin/bash shebang :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:39 ] :: [ PASS ] :: Checking for the presence of libsemanage rpm :: [ 08:46:39 ] :: [ LOG ] :: Package versions: :: [ 08:46:39 ] :: [ LOG ] :: libsemanage-2.7-99.fc28.20180309170801.x86_64 :: [ 08:46:39 ] :: [ PASS ] :: Checking for the presence of libsemanage-devel rpm :: [ 08:46:39 ] :: [ LOG ] :: Package versions: :: [ 08:46:39 ] :: [ LOG ] :: libsemanage-devel-2.7-99.fc28.20180309170801.x86_64 :: [ 08:46:39 ] :: [ PASS ] :: Checking for the presence of glibc rpm :: [ 08:46:39 ] :: [ LOG ] :: Package versions: :: [ 08:46:39 ] :: [ LOG ] :: glibc-2.27-6.fc28.x86_64 :: [ 08:46:39 ] :: [ PASS ] :: Checking for the presence of gcc rpm :: [ 08:46:39 ] :: [ LOG ] :: Package versions: :: [ 08:46:39 ] :: [ LOG ] :: gcc-8.0.1-0.16.fc28.x86_64 :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_clone.c -o test_clone -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_compare2.c -o test_compare2 -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_compare.c -o test_compare -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_count.c -o test_count -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_count_local.c -o test_count_local -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_create.c -o test_create -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_del_local.c -o test_del_local -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_exists.c -o test_exists -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_exists_local.c -o test_exists_local -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:39 ] :: [ PASS ] :: Command 'gcc test_get_mlsrange.c -o test_get_mlsrange -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_get_name.c -o test_get_name -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_get_sename.c -o test_get_sename -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_iterate.c -o test_iterate -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_key_create.c -o test_key_create -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_key_extract.c -o test_key_extract -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_list.c -o test_list -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_modify_local.c -o test_modify_local -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_query.c -o test_query -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_set_mlsrange.c -o test_set_mlsrange -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_set_name.c -o test_set_name -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command 'gcc test_set_sename.c -o test_set_sename -lsemanage -Wall -Wextra -Werror -std=c99' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command 'cat /var/lib/selinux/targeted/active/seusers' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command '[[ "2" -gt 0 ]]' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command '[[ -n "root __default__ " ]]' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command '[[ -n "root" ]]' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command '[[ -n "unconfined_u" ]]' (Expected 0, got 0) :: [ 08:46:40 ] :: [ PASS ] :: Command '[[ -n "s0-s0:c0.c1023" ]]' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Assertions: 31 good, 0 bad :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_key_create, semanage_seuser_key_free :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:40 ] :: [ PASS ] :: Command './test_key_create conn root' (Expected 0, got 0) :: [ 08:46:41 ] :: [ PASS ] :: Command './test_key_create trans root' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 2 good, 0 bad :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_key_extract :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:41 ] :: [ PASS ] :: Command './test_key_extract conn first' (Expected 0, got 0) :: [ 08:46:41 ] :: [ PASS ] :: Command './test_key_extract trans first' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 2 good, 0 bad :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_compare :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:41 ] :: [ PASS ] :: Command './test_compare conn root same' (Expected 0, got 0) :: [ 08:46:41 ] :: [ PASS ] :: Command './test_compare conn nonuser different' (Expected 0, got 0) :: [ 08:46:41 ] :: [ PASS ] :: Command './test_compare trans root same' (Expected 0, got 0) :: [ 08:46:42 ] :: [ PASS ] :: Command './test_compare trans nonuser different' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 4 good, 0 bad :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_compare2 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:42 ] :: [ PASS ] :: Command './test_compare2 conn NULL 0' (Expected 134,139, got 139) :: [ 08:46:42 ] :: [ PASS ] :: Command './test_compare2 conn 0 NULL' (Expected 134,139, got 139) :: [ 08:46:42 ] :: [ PASS ] :: Command './test_compare2 conn NULL NULL' (Expected 134,139, got 139) :: [ 08:46:42 ] :: [ PASS ] :: Command './test_compare2 conn 0 0' (Expected 0, got 0) :: [ 08:46:42 ] :: [ PASS ] :: Command './test_compare2 conn 0 1' (Expected 0, got 0) :: [ 08:46:42 ] :: [ PASS ] :: Command './test_compare2 trans NULL 0' (Expected 134,139, got 139) :: [ 08:46:42 ] :: [ PASS ] :: Command './test_compare2 trans 0 NULL' (Expected 134,139, got 139) :: [ 08:46:42 ] :: [ PASS ] :: Command './test_compare2 trans NULL NULL' (Expected 134,139, got 139) :: [ 08:46:43 ] :: [ PASS ] :: Command './test_compare2 trans 0 0' (Expected 0, got 0) :: [ 08:46:43 ] :: [ PASS ] :: Command './test_compare2 trans 0 1' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 10 good, 0 bad :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_count :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:43 ] :: [ PASS ] :: Command './test_count init' (Expected 134,139, got 139) :: [ 08:46:43 ] :: [ PASS ] :: Command './test_count handle' (Expected 1, got 1) :: [ 08:46:43 ] :: [ PASS ] :: Command './test_count conn 2' (Expected 0, got 0) :: [ 08:46:43 ] :: [ PASS ] :: Command './test_count trans 2' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 4 good, 0 bad :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_list :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:43 ] :: [ PASS ] :: Command './test_list init' (Expected 134,139, got 139) :: [ 08:46:43 ] :: [ PASS ] :: Command './test_list handle' (Expected 1, got 1) :: [ 08:46:44 ] :: [ PASS ] :: Command './test_list conn 2 root __default__ ' (Expected 0, got 0) :: [ 08:46:44 ] :: [ PASS ] :: Command './test_list trans 2 root __default__ ' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 4 good, 0 bad :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_iterate :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:44 ] :: [ PASS ] :: Command './test_iterate init' (Expected 134,139, got 139) :: [ 08:46:44 ] :: [ PASS ] :: Command './test_iterate handle' (Expected 1, got 1) :: [ 08:46:44 ] :: [ PASS ] :: Command './test_iterate conn root __default__ ' (Expected 0, got 0) :: [ 08:46:44 ] :: [ PASS ] :: Command './test_iterate trans root __default__ ' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 4 good, 0 bad :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_exists :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:44 ] :: [ PASS ] :: Command './test_exists conn nonuser 0' (Expected 0, got 0) :: [ 08:46:44 ] :: [ PASS ] :: Command './test_exists conn __default__ 1' (Expected 0, got 0) :: [ 08:46:44 ] :: [ PASS ] :: Command './test_exists conn root 1' (Expected 0, got 0) :: [ 08:46:45 ] :: [ PASS ] :: Command './test_exists trans nonuser 0' (Expected 0, got 0) :: [ 08:46:45 ] :: [ PASS ] :: Command './test_exists trans __default__ 1' (Expected 0, got 0) :: [ 08:46:45 ] :: [ PASS ] :: Command './test_exists trans root 1' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 6 good, 0 bad :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_query :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:45 ] :: [ PASS ] :: Command './test_query conn nonuser' (Expected 1, got 1) :: [ 08:46:45 ] :: [ PASS ] :: Command './test_query conn __default__' (Expected 0, got 0) :: [ 08:46:45 ] :: [ PASS ] :: Command './test_query conn root' (Expected 0, got 0) :: [ 08:46:45 ] :: [ PASS ] :: Command './test_query trans nonuser' (Expected 1, got 1) :: [ 08:46:46 ] :: [ PASS ] :: Command './test_query trans __default__' (Expected 0, got 0) :: [ 08:46:46 ] :: [ PASS ] :: Command './test_query trans root' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 6 good, 0 bad :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_get_name :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:46 ] :: [ PASS ] :: Command './test_get_name conn new NULL' (Expected 0, got 0) :: [ 08:46:46 ] :: [ PASS ] :: Command './test_get_name conn first root' (Expected 0, got 0) :: [ 08:46:46 ] :: [ PASS ] :: Command './test_get_name trans new NULL' (Expected 0, got 0) :: [ 08:46:47 ] :: [ PASS ] :: Command './test_get_name trans first root' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 4 good, 0 bad :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_set_name :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:47 ] :: [ PASS ] :: Command './test_set_name conn someuser' (Expected 0, got 0) :: [ 08:46:47 ] :: [ PASS ] :: Command './test_set_name trans someuser' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 2 good, 0 bad :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_get_sename :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:47 ] :: [ PASS ] :: Command './test_get_sename conn new NULL' (Expected 0, got 0) :: [ 08:46:47 ] :: [ PASS ] :: Command './test_get_sename conn first unconfined_u' (Expected 0, got 0) :: [ 08:46:47 ] :: [ PASS ] :: Command './test_get_sename trans new NULL' (Expected 0, got 0) :: [ 08:46:48 ] :: [ PASS ] :: Command './test_get_sename trans first unconfined_u' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 4 good, 0 bad :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_set_sename :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:48 ] :: [ PASS ] :: Command './test_set_sename conn someuser_u' (Expected 0, got 0) :: [ 08:46:48 ] :: [ PASS ] :: Command './test_set_sename trans someuser_u' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 2 good, 0 bad :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_get_mlsrange :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:48 ] :: [ PASS ] :: Command './test_get_mlsrange conn new NULL' (Expected 0, got 0) :: [ 08:46:48 ] :: [ PASS ] :: Command './test_get_mlsrange conn first s0-s0:c0.c1023' (Expected 0, got 0) :: [ 08:46:48 ] :: [ PASS ] :: Command './test_get_mlsrange trans new NULL' (Expected 0, got 0) :: [ 08:46:49 ] :: [ PASS ] :: Command './test_get_mlsrange trans first s0-s0:c0.c1023' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 4 good, 0 bad :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_set_mlsrange :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:49 ] :: [ PASS ] :: Command './test_set_mlsrange conn c0-s1:c0.c42' (Expected 0, got 0) :: [ 08:46:49 ] :: [ PASS ] :: Command './test_set_mlsrange trans c0-s1:c0.c42' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 2 good, 0 bad :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_clone :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:49 ] :: [ PASS ] :: Command './test_clone conn first' (Expected 0, got 0) :: [ 08:46:49 ] :: [ PASS ] :: Command './test_clone trans first' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 2 good, 0 bad :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_create :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:49 ] :: [ PASS ] :: Command './test_create conn' (Expected 0, got 0) :: [ 08:46:50 ] :: [ PASS ] :: Command './test_create trans' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 2 good, 0 bad :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_modify_local :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:52 ] :: [ FAIL ] :: Command './test_modify_local trans first' (Expected 0, got 2) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Assertions: 0 good, 1 bad :: RESULT: FAIL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_del_local :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:54 ] :: [ FAIL ] :: Command './test_del_local trans first first' (Expected 0, got 2) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Assertions: 0 good, 1 bad :: RESULT: FAIL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_exists_local :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:46:58 ] :: [ FAIL ] :: Command './test_exists_local trans first first 1' (Expected 0, got 2) :: [ 08:47:00 ] :: [ FAIL ] :: Command './test_exists_local trans first second 0' (Expected 0, got 2) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 5s :: Assertions: 0 good, 2 bad :: RESULT: FAIL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: semanage_seuser_count_local :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:47:02 ] :: [ FAIL ] :: Command './test_count_local trans 1' (Expected 0, got 2) :: [ 08:47:04 ] :: [ FAIL ] :: Command './test_count_local trans 2' (Expected 0, got 2) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 4s :: Assertions: 0 good, 2 bad :: RESULT: FAIL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:47:04 ] :: [ PASS ] :: Command 'rm -f test_clone test_compare test_compare2 test_count test_count_local test_create test_del_local test_exists test_exists_local test_get_mlsrange test_get_name test_get_sename test_iterate test_key_create test_key_extract test_list test_modify_local test_query test_set_mlsrange test_set_name test_set_sename ' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 1 good, 0 bad :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: selinux/libsemanage/semanage-seuser-functions :: selinux/libsemanage/semanage-seuser-functions :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 08:47:04 ] :: [ LOG ] :: JOURNAL XML: /var/tmp/beakerlib-OkLRgPt/journal.xml :: [ 08:47:04 ] :: [ LOG ] :: JOURNAL XML: /var/tmp/beakerlib-OkLRgPt/journal.xml :: [ 08:47:04 ] :: [ LOG ] :: JOURNAL TXT: /var/tmp/beakerlib-OkLRgPt/journal.txt :: [ 08:47:04 ] :: [ LOG ] :: JOURNAL TXT: /var/tmp/beakerlib-OkLRgPt/journal.txt :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 26s :: Duration: 26s :: Phases: 19 good, 4 bad :: Phases: 19 good, 4 bad :: OVERALL RESULT: FAIL :: OVERALL RESULT: FAIL