Failed
logicmoo.pfc.test.sanity_base.ATTVAR_08.logicmoo.pfc.test.sanity_base.ATTVAR_08@Test_0002_Line_0000__sk_in_1_in_user: user:(sk_in(In_Sk),get_attr(In_Sk,sk,Attr_SKF_666),Attr_SKF_666=='SKF-666') (from logicmoo.pfc.test.sanity_base.logicmoo.pfc.test.sanity_base.ATTVAR_08)
Error Message
failure = "failure=info((why_was_true(user:(\\+ (sk_in(_112298),get_attr(_112298,sk,_112320),_112320=='SKF-666'))),nop(ftrace(user:(sk_in(_112298),get_attr(_112298,sk,_112320),_112320=='SKF-666')))))\nno_proof_for(\\+ (sk_in(In_Sk),get_attr(In_Sk,sk,Attr_SKF_666),Attr_SKF_666=='SKF-666')).\n\nno_proof_for(\\+ (sk_in(In_Sk),get_attr(In_Sk,sk,Attr_SKF_666),Attr_SKF_666=='SKF-666')).\n\nno_proof_for(\\+ (sk_in(In_Sk),get_attr(In_Sk,sk,Attr_SKF_666),Attr_SKF_666=='SKF-666')).\n\n". failure = [].
Standard Error
name=Test_0002_Line_0000__sk_in_1_in_user JUNIT_CLASSNAME='logicmoo.pfc.test.sanity_base.ATTVAR_08'. JUNIT_CMD='timeout --foreground --preserve-status -s SIGKILL -k 10s 10s swipl -x /var/lib/jenkins/workspace/logicmoo_workspace/bin/lmoo-clif -t "[\'attvar_08.pfc\']"'. (cd /var/lib/jenkins/workspace/logicmoo_workspace/packs_sys/pfc/t/sanity_base ; timeout --foreground --preserve-status -s SIGKILL -k 10s 10s swipl -x /var/lib/jenkins/workspace/logicmoo_workspace/bin/lmoo-clif -t "['attvar_08.pfc']") ``` %~ init_phase(after_load) %~ init_phase(restore_state) % %~ init_why(after_boot,program) %~ after_boot. %~ Dont forget to ?- logicmoo_i_cyc_xform. running('/var/lib/jenkins/workspace/logicmoo_workspace/packs_sys/pfc/t/sanity_base/attvar_08.pfc'), %~ this_test_might_need( :-( use_module( library(logicmoo_plarkc)))) %~ /var/lib/jenkins/.local/share/swi-prolog/pack/logicmoo_utils/prolog/logicmoo_test_header.pl:98 %~ message_hook( %~ error( permission_error(redefine,module,logicmoo_test), %~ context(module/2,'Already loaded from /root/.local/share/swi-prolog/pack/logicmoo_utils/prolog/logicmoo_test.pl')), %~ error, %~ [ '~q/~w: '-[module,2], %~ 'No permission to ~w ~w `~p\''-[redefine,module,logicmoo_test], %~ ' (~w)'-['Already loaded from /root/.local/share/swi-prolog/pack/logicmoo_utils/prolog/logicmoo_test.pl']]) %~ source_location('/var/lib/jenkins/.local/share/swi-prolog/pack/logicmoo_utils/prolog/logicmoo_test_header.pl',98) module/2: No permission to redefine module `logicmoo_test' (Already loaded from /root/.local/share/swi-prolog/pack/logicmoo_utils/prolog/logicmoo_test.pl) ERROR: /var/lib/jenkins/.local/share/swi-prolog/pack/logicmoo_utils/prolog/logicmoo_test_header.pl:98: ERROR: module/2: No permission to redefine module `logicmoo_test' (Already loaded from /root/.local/share/swi-prolog/pack/logicmoo_utils/prolog/logicmoo_test.pl) :- debug_logicmoo(_). /*~ ~*/ :- nodebug_logicmoo(http(_)). /*~ ~*/ :- debug_logicmoo(logicmoo(_)). % :- mpred_trace_exec. /*~ ~*/ % :- mpred_trace_exec. :- expects_dialect(pfc). /*~ ~*/ :- dynamic(sk_in/1). % :- process_this_script. /*~ ~*/ % :- process_this_script. :- if( \+ current_module(attvar_reader)). :- use_module(library(logicmoo/attvar_reader)). /*~ ~*/ :- endif. :- read_attvars(true). /*~ %~ install_attvar_expander(user) ~*/ :- set_prolog_flag(assert_attvars,true). /*~ ~*/ sk_in(fl(X,Y,X,Y)). /*~ ~*/ sk_in(avar([vn='ExIn',sk='SKF-666'])). /*~ ~*/ sk_in(_DUNNO). /*~ ~*/ :- must((findall(Ex,(clause_u(sk_in(Ex),_,_),wdmsg(sk_in(Ex))),L),length(L,THREE),THREE=3)). /*~ %~ ?-( mpred_test( "Test_0001_Line_0000__sk_in_1_in_user", %~ user : ( findall( Ex, %~ clause_u(sk_in(Ex),Sk_in,U),wdmsg(sk_in(Ex)), %~ L) , %~ length(L,THREE) , %~ THREE=3))). failure=info((why_was_true(user:(\+ (findall(_9542,(clause_u(sk_in(_9542),_9564,_9586),wdmsg(sk_in(_9542))),_9608),length(_9608,_9630),_9630=3))),nop(ftrace(user:(findall(_9542,(clause_u(sk_in(_9542),_9564,_9586),wdmsg(sk_in(_9542))),_9608),length(_9608,_9630),_9630=3))))) no_proof_for(\+ (findall(In,(clause_u(sk_in(In),Sk_in5,U8),wdmsg(sk_in(In))),Findall_Length),length(Findall_Length,Length10),Length10=3)). no_proof_for(\+ (findall(In,(clause_u(sk_in(In),Sk_in5,U8),wdmsg(sk_in(In))),Findall_Length),length(Findall_Length,Length10),Length10=3)). no_proof_for(\+ (findall(In,(clause_u(sk_in(In),Sk_in5,U8),wdmsg(sk_in(In))),Findall_Length),length(Findall_Length,Length10),Length10=3)). name='logicmoo.pfc.test.sanity_base.ATTVAR_08-Test_0001_Line_0000__sk_in_1_in_user'. JUNIT_CLASSNAME='logicmoo.pfc.test.sanity_base.ATTVAR_08'. JUNIT_CMD='timeout --foreground --preserve-status -s SIGKILL -k 10s 10s swipl -x /var/lib/jenkins/workspace/logicmoo_workspace/bin/lmoo-clif -t "[\'attvar_08.pfc\']"'. % 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_ATTVAR_08_Test_0001_Line_0000_sk_in_1_in_user-junit.xml ~*/ :- listing([pt/2,sk_in/1]). /*~ %~ skipped( listing( [ pt/2, %~ sk_in/1])) ~*/ :- must((sk_in(FOUND),get_attr(FOUND,sk,What),What=='SKF-666')),dmsg(fOUND=FOUND). % ISSUE: https://github.com/logicmoo/logicmoo_workspace/issues/376 % EDIT: https://github.com/logicmoo/logicmoo_workspace/edit/master/packs_sys/pfc/t/sanity_base/attvar_08.pfc % JENKINS: https://jenkins.logicmoo.org/job/logicmoo_workspace/lastBuild/t goal=user:(sk_in(_148500),get_attr(_148500,sk,_148514),_148514=='SKF-666'). time=0.0006744861602783203. failure=failure=info((why_was_true(user:(\+ (sk_in(_112298),get_attr(_112298,sk,_112320),_112320=='SKF-666'))),nop(ftrace(user:(sk_in(_112298),get_attr(_112298,sk,_112320),_112320=='SKF-666'))))) no_proof_for(\+ (sk_in(In_Sk),get_attr(In_Sk,sk,Attr_SKF_666),Attr_SKF_666=='SKF-666')). no_proof_for(\+ (sk_in(In_Sk),get_attr(In_Sk,sk,Attr_SKF_666),Attr_SKF_666=='SKF-666')). no_proof_for(\+ (sk_in(In_Sk),get_attr(In_Sk,sk,Attr_SKF_666),Attr_SKF_666=='SKF-666')). result=failure.