Conditions

1

tests

0

failures

0

ignored

32.358s

duration

100%

successful

Tests

Test Method name Duration Result
Set preconditions for Autocharge true preTest2() 32.358s passed

Standard output

15:59:39.497 [Test worker] DEBUG org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [com.yablochkov.autotest.util.AbstractIntegrationTest]: no resource found for suffixes {-context.xml, Context.groovy}.
15:59:39.556 [Test worker] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using ContextCustomizers for test class [Conditions]: [DisableObservabilityContextCustomizer, PropertyMappingContextCustomizer, Customizer, ExcludeFilterContextCustomizer, DuplicateJsonObjectContextCustomizer, MockitoContextCustomizer, TestRestTemplateContextCustomizer]
15:59:39.802 [Test worker] DEBUG org.springframework.test.context.util.TestContextSpringFactoriesUtils - Skipping candidate TestExecutionListener [org.springframework.test.context.transaction.TransactionalTestExecutionListener] due to a missing dependency. Specify custom TestExecutionListener classes or make the default TestExecutionListener classes and their required dependencies available. Offending class: [org/springframework/transaction/interceptor/TransactionAttributeSource]
15:59:39.807 [Test worker] DEBUG org.springframework.test.context.util.TestContextSpringFactoriesUtils - Skipping candidate TestExecutionListener [org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener] due to a missing dependency. Specify custom TestExecutionListener classes or make the default TestExecutionListener classes and their required dependencies available. Offending class: [org/springframework/transaction/interceptor/TransactionAttribute]
15:59:39.810 [Test worker] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners for test class [Conditions]: [ServletTestExecutionListener, DirtiesContextBeforeModesTestExecutionListener, ApplicationEventsTestExecutionListener, MockitoTestExecutionListener, DependencyInjectionTestExecutionListener, DirtiesContextTestExecutionListener, EventPublishingTestExecutionListener, RestDocsTestExecutionListener, MockRestServiceServerResetTestExecutionListener, MockMvcPrintOnlyOnFailureTestExecutionListener, WebDriverTestExecutionListener, MockWebServiceServerTestExecutionListener, ResetMocksTestExecutionListener]
15:59:39.812 [Test worker] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: class [Conditions], class annotated with @DirtiesContext [true] with mode [AFTER_CLASS]
15:59:37,513 |-INFO in ch.qos.logback.classic.LoggerContext[default] - This is logback-classic version ?
15:59:37,545 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
15:59:37,546 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.xml]
15:59:37,552 |-INFO in ch.qos.logback.classic.BasicConfigurator@3fc1abf - Setting up default configuration.
15:59:40,383 |-INFO in ch.qos.logback.core.joran.action.ConversionRuleAction - registering conversion word clr with class [org.springframework.boot.logging.logback.ColorConverter]
15:59:40,383 |-INFO in ch.qos.logback.core.joran.action.ConversionRuleAction - registering conversion word wEx with class [org.springframework.boot.logging.logback.ExtendedWhitespaceThrowableProxyConverter]
15:59:40,391 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - <level> element is deprecated. Near [level] on line 25
15:59:40,391 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - Please use "level" attribute within <logger> or <root> elements instead.
15:59:40,391 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - <level> element is deprecated. Near [level] on line 30
15:59:40,391 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - Please use "level" attribute within <logger> or <root> elements instead.
15:59:40,467 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - Processing appender named [CONSOLE]
15:59:40,467 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
15:59:40,473 |-INFO in ch.qos.logback.core.model.processor.ImplicitModelHandler - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
15:59:40,508 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - Processing appender named [TEST-FILE]
15:59:40,508 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - About to instantiate appender of type [ch.qos.logback.core.FileAppender]
15:59:40,572 |-INFO in ch.qos.logback.core.model.processor.ImplicitModelHandler - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
15:59:40,573 |-INFO in ch.qos.logback.core.FileAppender[TEST-FILE] - File property is set to [LOG_FILE_IS_UNDEFINED]
15:59:40,577 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@72001c71 - Propagating DEBUG level on Logger[com.yablochkov] onto the JUL framework
15:59:40,578 |-INFO in ch.qos.logback.classic.model.processor.LevelModelHandler - com.yablochkov level set to DEBUG
15:59:40,578 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@72001c71 - Propagating TRACE level on Logger[org.springframework.web.servlet.mvc] onto the JUL framework
15:59:40,578 |-INFO in ch.qos.logback.classic.model.processor.LevelModelHandler - org.springframework.web.servlet.mvc level set to TRACE
15:59:40,578 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [CONSOLE] to Logger[org.springframework.web.servlet.mvc]
15:59:40,578 |-INFO in ch.qos.logback.classic.model.processor.RootLoggerModelHandler - Setting level of ROOT logger to WARN
15:59:40,579 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@72001c71 - Propagating WARN level on Logger[ROOT] onto the JUL framework
15:59:40,579 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [TEST-FILE] to Logger[ROOT]
15:59:40,579 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [CONSOLE] to Logger[ROOT]
15:59:40,579 |-INFO in ch.qos.logback.core.model.processor.DefaultProcessor@e7b0bec - End of configuration.
15:59:40,579 |-INFO in org.springframework.boot.logging.logback.SpringBootJoranConfigurator@1e5aacd9 - Registering current configuration as safe fallback point


  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v3.0.2)

15:59:40.714 [Test worker] INFO  c.y.autotest.ocpp16.Conditions - Starting Conditions using Java 17.0.2 with PID 124 (started by root in /builds/yablochkov/mainboard/autotests/autotests1.6)
15:59:40.716 [Test worker] DEBUG c.y.autotest.ocpp16.Conditions - Running with Spring Boot, Spring
15:59:40.717 [Test worker] INFO  c.y.autotest.ocpp16.Conditions - The following 1 profile is active: "test"
15:59:41.139 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Refreshing org.springframework.web.context.support.GenericWebApplicationContext@10a0d93a, started on Mon Aug 18 15:59:41 UTC 2025
15:59:42.517 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'messageSource' bean, using [Empty MessageSource]
15:59:42.517 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'applicationEventMulticaster' bean, using [SimpleApplicationEventMulticaster]
15:59:43.640 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
15:59:43.640 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
15:59:43.783 [Test worker] TRACE o.s.w.s.m.m.a.RequestMappingHandlerMapping - 
	o.s.b.a.w.s.e.BasicErrorController:
	{ [/error]}: error(HttpServletRequest)
	{ [/error], produces [text/html]}: errorHtml(HttpServletRequest,HttpServletResponse)
15:59:43.783 [Test worker] TRACE o.s.w.s.m.m.a.RequestMappingHandlerMapping - 
	o.s.b.a.w.s.e.BasicErrorController:
	{ [/error]}: error(HttpServletRequest)
	{ [/error], produces [text/html]}: errorHtml(HttpServletRequest,HttpServletResponse)
15:59:43.788 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
15:59:43.788 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
15:59:43.795 [Test worker] DEBUG o.s.w.s.h.BeanNameUrlHandlerMapping - Detected 0 mappings in 'beanNameHandlerMapping'
15:59:43.802 [Test worker] TRACE o.s.w.s.f.s.RouterFunctionMapping - 0 RouterFunction(s) in 'routerFunctionMapping'
15:59:43.818 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/webjars/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/webjars/]]
15:59:43.819 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
15:59:43.820 [Test worker] DEBUG o.s.w.s.h.SimpleUrlHandlerMapping - Patterns [/webjars/**, /**] in 'resourceHandlerMapping'
15:59:43.832 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
15:59:43.832 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
15:59:43.976 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Using LifecycleProcessor [org.springframework.context.support.DefaultLifecycleProcessor@744d0cfb]
15:59:44.004 [Test worker] INFO  c.y.autotest.ocpp16.Conditions - Started Conditions in 4.105 seconds (process running for 7.837)
15:59:52.506 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/changeAvailability?connectorId=0&type=Operative
15:59:52.596 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
15:59:53.100 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
15:59:53.103 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.core.ChangeAvailabilityConfirmation]
16:00:16.157 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/addTagsInfo
16:00:16.164 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
16:00:16.192 [Test worker] DEBUG o.s.web.client.RestTemplate - Writing [AuthorizeConfirmationDto(idTag=ECPS1678143453045Y97, idTagInfo=IdTagInfo{expiryDate="2025-08-19T02:00:16Z", parentIdTag=1, status=Accepted})] with org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
16:00:16.286 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:00:16.293 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
16:00:16.381 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
16:00:16.433 [Test worker] DEBUG o.s.w.c.s.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@10a0d93a, started on Mon Aug 18 15:59:41 UTC 2025