ConditionsTest

1

tests

0

failures

0

ignored

29.908s

duration

100%

successful

Tests

Test Method name Duration Result
Set preconditions for Autocharge false preTest1() 29.908s passed

Standard output

10:36:17.063 [Test worker] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [ConditionsTest]: using SpringBootContextLoader
10:36:17.066 [Test worker] DEBUG org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [com.yablochkov.ocpp16.autotest.ocpp16Tests.ConditionsTest]: no resource found for suffixes {-context.xml, Context.groovy}.
10:36:17.096 [Test worker] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using ContextCustomizers for test class [ConditionsTest]: [DisableObservabilityContextCustomizer, PropertyMappingContextCustomizer, Customizer, ImportsContextCustomizer, ExcludeFilterContextCustomizer, DuplicateJsonObjectContextCustomizer, MockitoContextCustomizer, TestRestTemplateContextCustomizer]
10:36:17.226 [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]
10:36:17.229 [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]
10:36:17.231 [Test worker] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners for test class [ConditionsTest]: [ServletTestExecutionListener, DirtiesContextBeforeModesTestExecutionListener, ApplicationEventsTestExecutionListener, MockitoTestExecutionListener, DependencyInjectionTestExecutionListener, DirtiesContextTestExecutionListener, EventPublishingTestExecutionListener, RestDocsTestExecutionListener, MockRestServiceServerResetTestExecutionListener, MockMvcPrintOnlyOnFailureTestExecutionListener, WebDriverTestExecutionListener, MockWebServiceServerTestExecutionListener, ResetMocksTestExecutionListener]
10:36:17.231 [Test worker] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: class [ConditionsTest], class annotated with @DirtiesContext [true] with mode [AFTER_CLASS]
10:36:16,102 |-INFO in ch.qos.logback.classic.LoggerContext[default] - This is logback-classic version ?
10:36:16,117 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
10:36:16,117 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.xml]
10:36:16,119 |-INFO in ch.qos.logback.classic.BasicConfigurator@3dd750ba - Setting up default configuration.
10:36:17,532 |-INFO in ch.qos.logback.core.joran.action.ConversionRuleAction - registering conversion word clr with class [org.springframework.boot.logging.logback.ColorConverter]
10:36:17,532 |-INFO in ch.qos.logback.core.joran.action.ConversionRuleAction - registering conversion word wEx with class [org.springframework.boot.logging.logback.ExtendedWhitespaceThrowableProxyConverter]
10:36:17,536 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - <level> element is deprecated. Near [level] on line 25
10:36:17,536 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - Please use "level" attribute within <logger> or <root> elements instead.
10:36:17,536 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - <level> element is deprecated. Near [level] on line 30
10:36:17,536 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - Please use "level" attribute within <logger> or <root> elements instead.
10:36:17,573 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - Processing appender named [CONSOLE]
10:36:17,573 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
10:36:17,576 |-INFO in ch.qos.logback.core.model.processor.ImplicitModelHandler - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
10:36:17,594 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - Processing appender named [TEST-FILE]
10:36:17,594 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - About to instantiate appender of type [ch.qos.logback.core.FileAppender]
10:36:17,596 |-INFO in ch.qos.logback.core.model.processor.ImplicitModelHandler - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
10:36:17,597 |-INFO in ch.qos.logback.core.FileAppender[TEST-FILE] - File property is set to [LOG_FILE_IS_UNDEFINED]
10:36:17,599 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@7eefaca0 - Propagating DEBUG level on Logger[com.yablochkov] onto the JUL framework
10:36:17,599 |-INFO in ch.qos.logback.classic.model.processor.LevelModelHandler - com.yablochkov level set to DEBUG
10:36:17,599 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@7eefaca0 - Propagating TRACE level on Logger[org.springframework.web.servlet.mvc] onto the JUL framework
10:36:17,599 |-INFO in ch.qos.logback.classic.model.processor.LevelModelHandler - org.springframework.web.servlet.mvc level set to TRACE
10:36:17,599 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [CONSOLE] to Logger[org.springframework.web.servlet.mvc]
10:36:17,599 |-INFO in ch.qos.logback.classic.model.processor.RootLoggerModelHandler - Setting level of ROOT logger to WARN
10:36:17,599 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@7eefaca0 - Propagating WARN level on Logger[ROOT] onto the JUL framework
10:36:17,599 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [TEST-FILE] to Logger[ROOT]
10:36:17,599 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [CONSOLE] to Logger[ROOT]
10:36:17,599 |-INFO in ch.qos.logback.core.model.processor.DefaultProcessor@7d5ef1c3 - End of configuration.
10:36:17,600 |-INFO in org.springframework.boot.logging.logback.SpringBootJoranConfigurator@33eab2e8 - Registering current configuration as safe fallback point


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

10:36:17.715 [Test worker] INFO  c.y.o.a.ocpp16Tests.ConditionsTest - Starting ConditionsTest using Java 17.0.2 with PID 565 (started by root in /builds/yablochkov/mainboard/autotests/autotests1.6)
10:36:17.716 [Test worker] DEBUG c.y.o.a.ocpp16Tests.ConditionsTest - Running with Spring Boot, Spring
10:36:17.717 [Test worker] INFO  c.y.o.a.ocpp16Tests.ConditionsTest - The following 1 profile is active: "test"
10:36:17.941 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Refreshing org.springframework.web.context.support.GenericWebApplicationContext@1169fdfd, started on Fri Jun 26 10:36:17 UTC 2026
10:36:18.537 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'messageSource' bean, using [Empty MessageSource]
10:36:18.538 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'applicationEventMulticaster' bean, using [SimpleApplicationEventMulticaster]
10:36:18.966 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
10:36:18.966 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
10:36:19.047 [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)
10:36:19.047 [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)
10:36:19.050 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
10:36:19.050 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
10:36:19.053 [Test worker] DEBUG o.s.w.s.h.BeanNameUrlHandlerMapping - Detected 0 mappings in 'beanNameHandlerMapping'
10:36:19.055 [Test worker] TRACE o.s.w.s.f.s.RouterFunctionMapping - 0 RouterFunction(s) in 'routerFunctionMapping'
10:36:19.062 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/webjars/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/webjars/]]
10:36:19.063 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
10:36:19.063 [Test worker] DEBUG o.s.w.s.h.SimpleUrlHandlerMapping - Patterns [/webjars/**, /**] in 'resourceHandlerMapping'
10:36:19.068 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
10:36:19.068 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
10:36:19.135 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Using LifecycleProcessor [org.springframework.context.support.DefaultLifecycleProcessor@2abe5132]
10:36:19.148 [Test worker] INFO  c.y.o.a.ocpp16Tests.ConditionsTest - Started ConditionsTest in 1.872 seconds (process running for 3.704)
10:36:25.565 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/changeAvailability?connectorId=0&type=Operative
10:36:25.616 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
10:36:25.756 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
10:36:25.758 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.core.ChangeAvailabilityConfirmation]
10:36:48.402 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/changeConfiguration?key=LocalPreAuthorize&value=false
10:36:48.406 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
10:36:48.469 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
10:36:48.470 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.core.ChangeConfigurationConfirmation]
10:36:48.470 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/changeConfiguration?key=LocalAuthListEnabled&value=false
10:36:48.470 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
10:36:48.518 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
10:36:48.518 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.core.ChangeConfigurationConfirmation]
10:36:48.519 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/changeConfiguration?key=AuthorizationCacheEnabled&value=false
10:36:48.519 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
10:36:48.566 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
10:36:48.566 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.core.ChangeConfigurationConfirmation]
10:36:48.566 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/changeConfiguration?key=ConnectionTimeOut&value=60
10:36:48.566 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
10:36:48.612 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
10:36:48.612 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.core.ChangeConfigurationConfirmation]
10:36:48.614 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/addTagsInfo
10:36:48.617 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
10:36:48.629 [Test worker] DEBUG o.s.web.client.RestTemplate - Writing [AuthorizeConfirmationDto(idTag=111111-Accepted, idTagInfo=IdTagInfo{expiryDate="2026-06-26T20:36:48Z", parentIdTag=1, status=Accepted})] with org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
10:36:48.681 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
IdTagInfo{expiryDate="2026-06-26T20:36:48Z", parentIdTag=1, status=Accepted}
10:36:48.681 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/addTagsInfo
10:36:48.681 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
10:36:48.681 [Test worker] DEBUG o.s.web.client.RestTemplate - Writing [AuthorizeConfirmationDto(idTag=1111112-Accepted, idTagInfo=IdTagInfo{expiryDate="2026-06-26T20:36:48Z", parentIdTag=1, status=Accepted})] with org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
10:36:48.729 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
IdTagInfo{expiryDate="2026-06-26T20:36:48Z", parentIdTag=1, status=Accepted}
10:36:48.730 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/addTagsInfo
10:36:48.730 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
10:36:48.730 [Test worker] DEBUG o.s.web.client.RestTemplate - Writing [AuthorizeConfirmationDto(idTag=211111-Accepted, idTagInfo=IdTagInfo{expiryDate="2026-06-26T20:36:48Z", parentIdTag=2, status=Accepted})] with org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
10:36:48.775 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
IdTagInfo{expiryDate="2026-06-26T20:36:48Z", parentIdTag=2, status=Accepted}
10:36:48.775 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/addTagsInfo
10:36:48.776 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
10:36:48.776 [Test worker] DEBUG o.s.web.client.RestTemplate - Writing [AuthorizeConfirmationDto(idTag=111112-Expired, idTagInfo=IdTagInfo{expiryDate="2026-06-26T20:36:48Z", parentIdTag=1, status=Expired})] with org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
10:36:48.823 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
IdTagInfo{expiryDate="2026-06-26T20:36:48Z", parentIdTag=1, status=Expired}
10:36:48.824 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/addTagsInfo
10:36:48.824 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
10:36:48.824 [Test worker] DEBUG o.s.web.client.RestTemplate - Writing [AuthorizeConfirmationDto(idTag=111113-Blocked, idTagInfo=IdTagInfo{expiryDate="2026-06-26T20:36:48Z", parentIdTag=1, status=Blocked})] with org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
10:36:48.870 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
IdTagInfo{expiryDate="2026-06-26T20:36:48Z", parentIdTag=1, status=Blocked}
10:36:48.870 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/addTagsInfo
10:36:48.871 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
10:36:48.871 [Test worker] DEBUG o.s.web.client.RestTemplate - Writing [AuthorizeConfirmationDto(idTag=111114-ConcurrentTx, idTagInfo=IdTagInfo{expiryDate="2026-06-26T20:36:48Z", parentIdTag=1, status=ConcurrentTx})] with org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
10:36:48.918 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
IdTagInfo{expiryDate="2026-06-26T20:36:48Z", parentIdTag=1, status=ConcurrentTx}
10:36:48.918 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/addTagsInfo
10:36:48.918 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
10:36:48.918 [Test worker] DEBUG o.s.web.client.RestTemplate - Writing [AuthorizeConfirmationDto(idTag=111115-Invalid, idTagInfo=IdTagInfo{expiryDate="2026-06-26T20:36:48Z", parentIdTag=1, status=Invalid})] with org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
10:36:48.965 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
IdTagInfo{expiryDate="2026-06-26T20:36:48Z", parentIdTag=1, status=Invalid}
10:36:48.966 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/addTagsInfo
10:36:48.966 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
10:36:48.966 [Test worker] DEBUG o.s.web.client.RestTemplate - Writing [AuthorizeConfirmationDto(idTag=111116-Invalid, idTagInfo=IdTagInfo{expiryDate="2026-06-26T20:36:48Z", parentIdTag=2, status=Invalid})] with org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
10:36:49.011 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
IdTagInfo{expiryDate="2026-06-26T20:36:48Z", parentIdTag=2, status=Invalid}
10:36:49.015 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
10:36:49.060 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
10:36:49.083 [Test worker] DEBUG o.s.w.c.s.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@1169fdfd, started on Fri Jun 26 10:36:17 UTC 2026