'). 0m49m0m21m0m % init.pl:2353: (13)$0m2m94m49m14m[system]0m49m0m0m0m#0m1m91m49m16m '$sig_atomic'(setup_call_cleanup(with_mutex('$load_file','$mt_start_load'('* https://logicmoo.org:2082/gitlab/logicmoo/logicmoo_workspace/-/edit/master/packs_sys/pfc/t/sanity_base/mt_03a.pl ',(0x55e71b6a6b00),[expand(false),expand(true)])),'$mt_do_load'((0x55e71b6a6b00),'mt_03a.pl','* https://logicmoo.org:2082/gitlab/logicmoo/logicmoo_workspace/-/edit/master/packs_sys/pfc/t/sanity_base/mt_03a.pl ',user,[expand(false),expand(true)]),'$mt_end_load'((0x55e71b6a6b00)))). 0m49m0m21m0m0m2m97m40m16m no(clause) 0m49m0m0m0m (14)$0m2m94m49m14m[system]0m49m0m0m0m0m0m97m40m13m '$c_call_prolog'. 0m49m0m0m0m0m2m97m40m16m no(clause) 0m49m0m0m0m (16)$0m2m94m49m14m[system]0m49m0m0m0m#0m2m94m49m14m setup_call_catcher_cleanup(system:with_mutex('$load_file','$mt_start_load'('* https://logicmoo.org:2082/gitlab/logicmoo/logicmoo_workspace/-/edit/master/packs_sys/pfc/t/sanity_base/mt_03a.pl ',(0x55e71b6a6b00),[expand(false),expand(true)])),system:'$mt_do_load'((0x55e71b6a6b00),'mt_03a.pl','* https://logicmoo.org:2082/gitlab/logicmoo/logicmoo_workspace/-/edit/master/packs_sys/pfc/t/sanity_base/mt_03a.pl ',user,[expand(false),expand(true)]),A,system:'$mt_end_load'((0x55e71b6a6b00))). 0m49m0m0m0m % init.pl:646: (18)$0m2m94m49m14m[system]0m49m0m0m0m#0m2m92m49m10m '$qdo_load_file'('mt_03a.pl','* https://logicmoo.org:2082/gitlab/logicmoo/logicmoo_workspace/-/edit/master/packs_sys/pfc/t/sanity_base/mt_03a.pl ',user,[expand(false),expand(true)]). 0m49m0m0m0m % init.pl:2546: (21)$0m2m94m49m14m[system]0m49m0m0m0m#0m0m96m49m12m '$do_load_file_2'('mt_03a.pl','* https://logicmoo.org:2082/gitlab/logicmoo/logicmoo_workspace/-/edit/master/packs_sys/pfc/t/sanity_base/mt_03a.pl ',user,compiled,[expand(false),expand(true)]). 0m49m0m0m0m % init.pl:2592: (25)$0m2m94m49m14m[system]0m49m0m0m0m#0m2m94m49m14m setup_call_catcher_cleanup(system:'$start_consult'('* https://logicmoo.org:2082/gitlab/logicmoo/logicmoo_workspace/-/edit/master/packs_sys/pfc/t/sanity_base/mt_03a.pl ',1632225607.2610815),system:'$load_file'('* https://logicmoo.org:2082/gitlab/logicmoo/logicmoo_workspace/-/edit/master/packs_sys/pfc/t/sanity_base/mt_03a.pl ','* https://logicmoo.org:2082/gitlab/logicmoo/logicmoo_workspace/-/edit/master/packs_sys/pfc/t/sanity_base/mt_03a.pl ',A,[expand(false),expand(true)]),B,system:'$end_consult'('* https://logicmoo.org:2082/gitlab/logicmoo/logicmoo_workspace/-/edit/master/packs_sys/pfc/t/sanity_base/mt_03a.pl ',lexstate(202,swi),user)). 0m49m0m0m0m % init.pl:646: (26)$0m2m94m49m14m[system]0m49m0m0m0m#0m1m91m49m16m '$load_file'('* https://logicmoo.org:2082/gitlab/logicmoo/logicmoo_workspace/-/edit/master/packs_sys/pfc/t/sanity_base/mt_03a.pl ','* https://logicmoo.org:2082/gitlab/logicmoo/logicmoo_workspace/-/edit/master/packs_sys/pfc/t/sanity_base/mt_03a.pl ',A,[expand(false),expand(true)]). 0m49m0m21m0m % init.pl:3007: (27)$0m2m94m49m14m[system]0m49m0m0m0m#0m2m37m40m15m '$compile_term'((:-clause_u(modA:codeB,A)),B,'* https://logicmoo.org:2082/gitlab/logicmoo/logicmoo_workspace/-/edit/master/packs_sys/pfc/t/sanity_base/mt_03a.pl '). 0m49m39m0m0m % init.pl:3074: (28)$0m2m94m49m14m[system]0m49m0m0m0m#0m2m37m40m15m '$compile_term'((:-clause_u(modA:codeB,A)),B,'* https://logicmoo.org:2082/gitlab/logicmoo/logicmoo_workspace/-/edit/master/packs_sys/pfc/t/sanity_base/mt_03a.pl ',-). 0m49m39m0m0m % init.pl:3084: (29)$0m2m94m49m14m[system]0m49m0m0m0m#0m1m33m49m12m '$execute_directive'(clause_u(modA:codeB,A),'* https://logicmoo.org:2082/gitlab/logicmoo/logicmoo_workspace/-/edit/master/packs_sys/pfc/t/sanity_base/mt_03a.pl '). 0m49m39m21m0m % init.pl:3549: (30)$0m2m94m49m14m[system]0m49m0m0m0m#0m2m93m49m13m '$execute_directive_2'(clause_u(modA:codeB,A),'* https://logicmoo.org:2082/gitlab/logicmoo/logicmoo_workspace/-/edit/master/packs_sys/pfc/t/sanity_base/mt_03a.pl '). 0m49m0m0m0m % init.pl:3571: (31)$0m2m94m49m14m[system]0m49m0m0m0m#0m1m93m49m10m '$execute_directive_3'(clause_u(modA:codeB,A)). 0m49m0m21m0m % init.pl:3574: (32)$0m2m94m49m14m[system]0m49m0m0m0m#0m2m94m49m14m catch(myMt:clause_u(modA:codeB,A),error(B,C),system:'$exception_in_directive'(error(B,C))). 0m49m0m0m0m % init.pl:546: (33)0m2m94m49m16m[myMt]0m49m0m0m0m#0m1m92m49m14m pfc_lib:clause_u(modA:codeB,A). 0m49m0m21m0m % mpred_core.pl:4331: (34)$0m2m94m49m16m[myMt]0m49m0m0m0m0m1m92m49m14m pfc_lib:log_failure(failed_mpred_test(clause_u(modA:codeB,A))). 0m49m0m21m0m % mpred_core.pl:4209: (35)$0m2m94m49m17m[rtrace]0m49m0m0m0m0m2m94m49m16m rtrace:quietly(myMt:(log_lines(red,failure+failed_mpred_test(clause_u(modA:codeB,A))),maybe_mpred_break(failed_mpred_test(clause_u(modA:codeB,A))),log_failure_red)). 0m49m0m0m0m % rtrace.pl:217: (36)$0m2m94m49m16m[myMt]0m49m0m0m0m0m2m94m49m16m ''(myMt:(log_lines(red,failure+failed_mpred_test(clause_u(modA:codeB,A))),maybe_mpred_break(failed_mpred_test(clause_u(modA:codeB,A))),log_failure_red)). 0m49m0m0m0m0m2m97m40m16m no(clause) 0m49m0m0m0m (37)0m2m94m49m16m[myMt]0m49m0m0m0m0m1m92m49m14m pfc_lib:maybe_mpred_break(failed_mpred_test(clause_u(modA:codeB,A))). 0m49m0m21m0m % mpred_core.pl:4229: (38)$0m2m94m49m16m[myMt]0m49m0m0m0m0m0m91m49m10m pfc_lib:break_ex. 0m49m0m0m0m % mpred_core.pl:4226: (39)$0m2m94m49m17m[rtrace]0m49m0m0m0m0m2m94m49m16m rtrace:quietly(myMt:(log_failure_red,dumpST,log_failure_red)). 0m49m0m0m0m % rtrace.pl:217: (40)$0m2m94m49m16m[myMt]0m49m0m0m0m0m2m94m49m16m ''(myMt:(log_failure_red,dumpST,log_failure_red)). 0m49m0m0m0m0m2m97m40m16m no(clause) 0m49m0m0m0m (41)0m2m94m49m16m[myMt]0m49m0m0m0m0m0m95m49m16m dumpst:dumpST. 0m49m0m0m0m % dumpst.pl:150: %~ FILE: * https://logicmoo.org:2082/gitlab/logicmoo/logicmoo_workspace/-/edit/master/packs_sys/pfc/t/sanity_base/mt_03a.pl#L56 31msmart_format("%%%%%%%%%%%%%%%%%%%%%%%%%%% (~w) ~w %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n",[red,failure]) 39m %~ DUMP_BREAK/0 %~ message_hook(unhandled_exception(abort),error,['Unhandled exception: ','~p'-[abort]]) Unhandled exception: abort ERROR: Unhandled exception: abort ~*/ /*~ ~*/ /* % % PFC is codeA language extension for prolog. % % It adds codeA new type of module inheritance % % Dec 13, 2035 % Douglas Miles */ % was_module(header_sane,[]). :- include(library(logicmoo_test_header)). %:- add_import_module(header_sane,baseKB,end). /*~ running(-), %~ reload_of_test_header. %~ %~ Reset DB complete for myMt %~ %~ Reset DB complete for myMt %~ this_test_might_need( :-( expects_dialect(pfc))) %~ this_test_might_need( :-( use_module( library(logicmoo_plarkc)))) ~*/ %:- add_import_module(header_sane,baseKB,end). :- set_defaultAssertMt(myMt). /*~ ~*/ :- expects_dialect(pfc). /*~ ~*/ :- mpred_trace_exec. /*~ ~*/ mtHybrid(modA). /*~ No source location!? %~ message_hook( %~ error( %~ permission_error(redefine,imported_procedure,baseKB:mtHybrid/1), %~ context(system:'$record_clause'/3,Context_Kw)), %~ error, %~ [ 'No permission to ~w ~w `~p\'' - [ redefine, %~ imported_procedure, %~ baseKB : mtHybrid/1]]) No permission to redefine imported_procedure `baseKB:(mtHybrid/1)' ERROR: No permission to redefine imported_procedure `baseKB:(mtHybrid/1)' ~*/ mtProlog(modB). /*~ No source location!? %~ message_hook( %~ error( %~ permission_error(redefine,imported_procedure,baseKB:mtProlog/1), %~ context(system:'$record_clause'/3,Context_Kw)), %~ error, %~ [ 'No permission to ~w ~w `~p\'' - [ redefine, %~ imported_procedure, %~ baseKB : mtProlog/1]]) No permission to redefine imported_procedure `baseKB:(mtProlog/1)' ERROR: No permission to redefine imported_procedure `baseKB:(mtProlog/1)' ~*/ modA: (codeA:- printAll('$current_source_module'(_M)),codeB). /*~ No source location!? ~*/ modB: (codeB). %:- \+ modA:codeA. /*~ No source location!? ~*/ %:- \+ modA:codeA. genlMt(modA,modB). % before test, to make sure codeA was not accdently defined in modB /*~ ~*/ % before test, to make sure codeA was not accdently defined in modB :- sanity(\+ module_clause(modB:codeA,_)). /*~ %~ /var/lib/jenkins/workspace/logicmoo_workspace/packs_sys/pfc/t/sanity_base/mt_03a.pl:37 %~ ?-( mpred_test( "Test_0006_Line_0000__naf_CodeA_in_modB_in_myMt", %~ myMt : \+( module_clause(modB:codeA,Clause_Kw)))). passed=info(why_was_true(myMt:(\+module_clause(modB:codeA,_94532)))) no_proof_for(\+module_clause(modB:codeA,Clause_Kw2)). no_proof_for(\+module_clause(modB:codeA,Clause_Kw2)). no_proof_for(\+module_clause(modB:codeA,Clause_Kw2)). name='logicmoo.pfc.test.sanity_base.MT_03A-Test_0006_Line_0000__naf_CodeA_in_modB_in_myMt'. JUNIT_CLASSNAME='logicmoo.pfc.test.sanity_base.MT_03A'. JUNIT_CMD='timeout --foreground --preserve-status -s SIGKILL -k 10s 10s swipl -x /var/lib/jenkins/workspace/logicmoo_workspace/bin/lmoo-clif -t "[\'mt_03a.pl\']"'. % saving_junit: /var/lib/jenkins/workspace/logicmoo_workspace/test_results/jenkins/Report-logicmoo-pfc-test-sanity_base-vSTARv0vSTARvvDOTvvSTARv-2-1--grep-2-i-WARN-ERROR-_file-00-fail-pass--Units-Logicmoo_pfc_test_sanity_base_MT_03A_Test_0006_Line_0000_naf_CodeA_in_modB_in_myMt-junit.xml ~*/ :- sanity(\+ module_clause(modA:codeB,_)). /*~ %~ ?-( mpred_test( "Test_0007_Line_0000__naf_CodeB_in_modA_in_myMt", %~ myMt : \+( module_clause(modA:codeB,Clause_Kw)))). passed=info(why_was_true(myMt:(\+module_clause(modA:codeB,_222754)))) no_proof_for(\+module_clause(modA:codeB,Clause_Kw2)). no_proof_for(\+module_clause(modA:codeB,Clause_Kw2)). no_proof_for(\+module_clause(modA:codeB,Clause_Kw2)). name='logicmoo.pfc.test.sanity_base.MT_03A-Test_0007_Line_0000__naf_CodeB_in_modA_in_myMt'. JUNIT_CLASSNAME='logicmoo.pfc.test.sanity_base.MT_03A'. JUNIT_CMD='timeout --foreground --preserve-status -s SIGKILL -k 10s 10s swipl -x /var/lib/jenkins/workspace/logicmoo_workspace/bin/lmoo-clif -t "[\'mt_03a.pl\']"'. % saving_junit: /var/lib/jenkins/workspace/logicmoo_workspace/test_results/jenkins/Report-logicmoo-pfc-test-sanity_base-vSTARv0vSTARvvDOTvvSTARv-2-1--grep-2-i-WARN-ERROR-_file-00-fail-pass--Units-Logicmoo_pfc_test_sanity_base_MT_03A_Test_0007_ goal=myMt:clause_u(modB:codeB,_191648). time=0.00012683868408203125. passed=passed=info(why_was_true(myMt:clause_u(modB:codeB,true))) no_proof_for(clause_u(modB:codeB,true)). no_proof_for(clause_u(modB:codeB,true)). no_proof_for(clause_u(modB:codeB,true)). result=passed. ]]>