Skip to content

Merge branch '6.2' into 7.0 #8079

Merge branch '6.2' into 7.0

Merge branch '6.2' into 7.0 #8079

GitHub Actions / Lucee Test Results failed Dec 13, 2024 in 0s

1 fail, 195 skipped, 3 767 pass in 5m 50s

    1 files  ±0  1 487 suites  ±0   5m 50s ⏱️ +34s
3 963 tests ±0  3 767 ✅  - 1  195 💤 ±0  1 ❌ +1 
4 100 runs  ±0  3 869 ✅  - 1  230 💤 ±0  1 ❌ +1 

Results for commit 73e33ef. ± Comparison against earlier commit 42b5a45.

Annotations

Check warning on line 0 in test.general.Recompile

See this annotation in the file changed.

@github-actions github-actions / Lucee Test Results

rewrite CFML template and update mappings along he way (causes new mappings) (test.general.Recompile) failed

test/reports/junit-test-results-7.0.0.77-SNAPSHOT.xml [took 2s]
Raw output
Expected [1] but received [10]

					[{Raw_Trace={system.assertion_cfc$cf$l.udfCall1(/testbox/system/Assertion.cfc:17)}, codePrintPlain={15: 	function fail( message = "", detail = "" ){
16: 		arguments.message = ( len( arguments.message ) ? arguments.message : "A test failure occurred" );
17: 		throw( type = "TestBox.AssertionFailed", message = arguments.message, detail = arguments.detail );
18: 	}
19: 
}, column={0}, line={17}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Assertion.cfc}, id={??}, type={cfml}, codePrintHTML={15: &nbsp;&nbsp;&nbsp;function&nbsp;fail(&nbsp;message&nbsp;=&nbsp;&quot;&quot;,&nbsp;detail&nbsp;=&nbsp;&quot;&quot;&nbsp;){<br>
16: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;arguments.message&nbsp;=&nbsp;(&nbsp;len(&nbsp;arguments.message&nbsp;)&nbsp;?&nbsp;arguments.message&nbsp;:&nbsp;&quot;A&nbsp;test&nbsp;failure&nbsp;occurred&quot;&nbsp;);<br>
<b>17: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;throw(&nbsp;type&nbsp;=&nbsp;&quot;TestBox.AssertionFailed&quot;,&nbsp;message&nbsp;=&nbsp;arguments.message,&nbsp;detail&nbsp;=&nbsp;arguments.detail&nbsp;);</b><br>
18: &nbsp;&nbsp;&nbsp;}<br>
19: <br>
}}, {Raw_Trace={system.assertion_cfc$cf$l.udfCall1(/testbox/system/Assertion.cfc:70)}, codePrintPlain={68: 		);
69: 		// if we reach here, nothing is equal man!
70: 		fail( arguments.message );
71: 	}
72: 
}, column={0}, line={70}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Assertion.cfc}, id={??}, type={cfml}, codePrintHTML={68: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);<br>
69: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;if&nbsp;we&nbsp;reach&nbsp;here,&nbsp;nothing&nbsp;is&nbsp;equal&nbsp;man!<br>
<b>70: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fail(&nbsp;arguments.message&nbsp;);</b><br>
71: &nbsp;&nbsp;&nbsp;}<br>
72: <br>
}}, {Raw_Trace={system.expectation_cfc$cf$1a0.udfCall1(/testbox/system/Expectation.cfc:164)}, codePrintPlain={162: 			variables.assert.isNotEqual( argumentCollection = arguments );
163: 		} else {
164: 			variables.assert.isEqual( argumentCollection = arguments );
165: 		}
166: 		return this;
}, column={0}, line={164}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/Expectation.cfc}, id={??}, type={cfml}, codePrintHTML={162: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;variables.assert.isNotEqual(&nbsp;argumentCollection&nbsp;=&nbsp;arguments&nbsp;);<br>
163: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;else&nbsp;{<br>
<b>164: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;variables.assert.isEqual(&nbsp;argumentCollection&nbsp;=&nbsp;arguments&nbsp;);</b><br>
165: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
166: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;this;<br>
}}, {Raw_Trace={general.recompile_cfc$cf$f2.udfCall(/test/general/Recompile.cfc:77)}, codePrintPlain={75: 					include "javaSettings/test.cfm";
76: 				}
77: 				expect(c).toBe("1");
78: 				sleep(2500); // some os have a not very precise time stamp (i.e. Windows)
79: 				InspectTemplates();
}, column={0}, line={77}, template={/home/runner/work/Lucee/Lucee/test/general/Recompile.cfc}, id={??}, type={cfml}, codePrintHTML={75: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;include&nbsp;&quot;javaSettings/test.cfm&quot;;<br>
76: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
<b>77: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;expect(c).toBe(&quot;1&quot;);</b><br>
78: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sleep(2500);&nbsp;//&nbsp;some&nbsp;os&nbsp;have&nbsp;a&nbsp;not&nbsp;very&nbsp;precise&nbsp;time&nbsp;stamp&nbsp;(i.e.&nbsp;Windows)<br>
79: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;InspectTemplates();<br>
}}, {Raw_Trace={system.basespec_cfc$cf$d.udfCall7(/testbox/system/BaseSpec.cfc:1438)}, codePrintPlain={1436: 	// Around Stub
1437: 	function aroundStub( spec ){
1438: 		spec.body( spec.data );
1439: 	}
1440: 
}, column={0}, line={1438}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/BaseSpec.cfc}, id={??}, type={cfml}, codePrintHTML={1436: &nbsp;&nbsp;&nbsp;//&nbsp;Around&nbsp;Stub<br>
1437: &nbsp;&nbsp;&nbsp;function&nbsp;aroundStub(&nbsp;spec&nbsp;){<br>
<b>1438: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;spec.body(&nbsp;spec.data&nbsp;);</b><br>
1439: &nbsp;&nbsp;&nbsp;}<br>
1440: <br>
}}, {Raw_Trace={system.basespec_cfc$cf$d.udfCall5(/testbox/system/BaseSpec.cfc:1090)}, codePrintPlain={1088: 			return function(){
1089: 				// Execute the body of the spec
1090: 				nextClosure.body( spec = thread.spec, suite = thread.suite, data = nextClosure.data );
1091: 			};
1092: 		}
}, column={0}, line={1090}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/BaseSpec.cfc}, id={??}, type={cfml}, codePrintHTML={1088: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;function(){<br>
1089: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Execute&nbsp;the&nbsp;body&nbsp;of&nbsp;the&nbsp;spec<br>
<b>1090: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nextClosure.body(&nbsp;spec&nbsp;=&nbsp;thread.spec,&nbsp;suite&nbsp;=&nbsp;thread.suite,&nbsp;data&nbsp;=&nbsp;nextClosure.data&nbsp;);</b><br>
1091: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;};<br>
1092: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
}}, {Raw_Trace={system.basespec_cfc$cf$d.udfCall5(/testbox/system/BaseSpec.cfc:1061)}, codePrintPlain={1059: 		);
1060: 		// Run the specs
1061: 		specStack();
1062: 
1063: 		return this;
}, column={0}, line={1061}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/BaseSpec.cfc}, id={??}, type={cfml}, codePrintHTML={1059: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);<br>
1060: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Run&nbsp;the&nbsp;specs<br>
<b>1061: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;specStack();</b><br>
1062: <br>
1063: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;this;<br>
}}, {Raw_Trace={system.basespec_cfc$cf$d.udfCall4(/testbox/system/BaseSpec.cfc:908)}, codePrintPlain={906: 
907: 				try {
908: 					runAroundEachClosures( arguments.suite, arguments.spec );
909: 				} catch ( any e ) {
910: 					rethrow;
}, column={0}, line={908}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/BaseSpec.cfc}, id={??}, type={cfml}, codePrintHTML={906: <br>
907: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try&nbsp;{<br>
<b>908: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;runAroundEachClosures(&nbsp;arguments.suite,&nbsp;arguments.spec&nbsp;);</b><br>
909: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;catch&nbsp;(&nbsp;any&nbsp;e&nbsp;)&nbsp;{<br>
910: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rethrow;<br>
}}, {Raw_Trace={system.runners.bddrunner_cfc$cf$19z.udfCall(/testbox/system/runners/BDDRunner.cfc:222)}, codePrintPlain={220: 						suiteStats=thread.suiteStats,
221: 						runner=this
222: 					);
223: 
224: 					// verify call backs
}, column={0}, line={222}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/runners/BDDRunner.cfc}, id={??}, type={cfml}, codePrintHTML={220: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;suiteStats=thread.suiteStats,<br>
221: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;runner=this<br>
<b>222: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);</b><br>
223: <br>
224: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;verify&nbsp;call&nbsp;backs<br>
}}, {Raw_Trace={system.runners.bddrunner_cfc$cf$19z.udfCall(/testbox/system/runners/BDDRunner.cfc:84)}, codePrintPlain={82: 						testResults=arguments.testResults,
83: 						bundleStats=bundleStats,
84: 						callbacks=arguments.callbacks
85: 					);
86: 
}, column={0}, line={84}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/runners/BDDRunner.cfc}, id={??}, type={cfml}, codePrintHTML={82: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;testResults=arguments.testResults,<br>
83: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bundleStats=bundleStats,<br>
<b>84: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;callbacks=arguments.callbacks</b><br>
85: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);<br>
86: <br>
}}, {Raw_Trace={system.testbox_cfc$cf$19q.udfCall2(/testbox/system/TestBox.cfc:474)}, codePrintPlain={472: 				// Run via BDD Style
473: 				new testbox.system.runners.BDDRunner( options=variables.options, testbox=this )
474: 					.run( target, arguments.testResults, arguments.callbacks );
475: 			}
476: 			else{
}, column={0}, line={474}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={472: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Run&nbsp;via&nbsp;BDD&nbsp;Style<br>
473: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;testbox.system.runners.BDDRunner(&nbsp;options=variables.options,&nbsp;testbox=this&nbsp;)<br>
<b>474: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.run(&nbsp;target,&nbsp;arguments.testResults,&nbsp;arguments.callbacks&nbsp;);</b><br>
475: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>
476: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else{<br>
}}, {Raw_Trace={system.testbox_cfc$cf$19q.udfCall1(/testbox/system/TestBox.cfc:252)}, codePrintPlain={250: 				bundlePath  = thisBundlePath,
251: 				testResults = results,
252: 				callbacks   = arguments.callbacks
253: 			);
254: 
}, column={0}, line={252}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={250: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bundlePath&nbsp;&nbsp;=&nbsp;thisBundlePath,<br>
251: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;testResults&nbsp;=&nbsp;results,<br>
<b>252: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;callbacks&nbsp;&nbsp;&nbsp;=&nbsp;arguments.callbacks</b><br>
253: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);<br>
254: <br>
}}, {Raw_Trace={system.testbox_cfc$cf$19q.udfCall1(/testbox/system/TestBox.cfc:161)}, codePrintPlain={159: 		if( !isNull( arguments.reporter ) ){ variables.reporter = arguments.reporter; }
160: 		// run it and get results
161: 		var results = runRaw( argumentCollection=arguments );
162: 		// store latest results
163: 		variables.result = results;
}, column={0}, line={161}, template={/home/runner/work/Lucee/Lucee/temp/testbox/testbox/system/TestBox.cfc}, id={??}, type={cfml}, codePrintHTML={159: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(&nbsp;!isNull(&nbsp;arguments.reporter&nbsp;)&nbsp;){&nbsp;variables.reporter&nbsp;=&nbsp;arguments.reporter;&nbsp;}<br>
160: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;run&nbsp;it&nbsp;and&nbsp;get&nbsp;results<br>
<b>161: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;results&nbsp;=&nbsp;runRaw(&nbsp;argumentCollection=arguments&nbsp;);</b><br>
162: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;store&nbsp;latest&nbsp;results<br>
163: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;variables.result&nbsp;=&nbsp;results;<br>
}}, {Raw_Trace={_testrunner_cfc$cf$4.udfCall(/test/_testRunner.cfc:294)}, codePrintPlain={292: 	,onSpecEnd 		= function( bundle, testResults, suite, spec ){}*/
293: } // callbacks
294: 			); // report = tb.run
295: 
296: 	 		// get the result
}, column={0}, line={294}, template={/home/runner/work/Lucee/Lucee/test/_testRunner.cfc}, id={??}, type={cfml}, codePrintHTML={292: &nbsp;&nbsp;&nbsp;,onSpecEnd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;function(&nbsp;bundle,&nbsp;testResults,&nbsp;suite,&nbsp;spec&nbsp;){}*/<br>
293: }&nbsp;//&nbsp;callbacks<br>
<b>294: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);&nbsp;//&nbsp;report&nbsp;=&nbsp;tb.run</b><br>
295: <br>
296: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;get&nbsp;the&nbsp;result<br>
}}, {Raw_Trace={run_tests_cfm180$cf$1.call(/test/run-tests.cfm:348)}, codePrintPlain={346: 	systemOutput(NL & "-------------- Start Tests -----------", true);
347: 	silent {
348: 		testResults = new test._testRunner().runTests();
349: 	}
350: 
}, column={0}, line={348}, template={/home/runner/work/Lucee/Lucee/test/run-tests.cfm}, id={??}, type={cfml}, codePrintHTML={346: &nbsp;&nbsp;&nbsp;systemOutput(NL&nbsp;&amp;&nbsp;&quot;--------------&nbsp;Start&nbsp;Tests&nbsp;-----------&quot;,&nbsp;true);<br>
347: &nbsp;&nbsp;&nbsp;silent&nbsp;{<br>
<b>348: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;testResults&nbsp;=&nbsp;new&nbsp;test._testRunner().runTests();</b><br>
349: &nbsp;&nbsp;&nbsp;}<br>
350: <br>
}}]