ConditionsTest

1

tests

0

failures

0

ignored

29.902s

duration

100%

successful

Tests

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

Standard output

22:09:31.899 [Test worker] INFO com.epam.reportportal.service.Launch - Rerun: false
22:09:32.155 [rp-io-3] DEBUG com.epam.reportportal.utils.SubscriptionUtils - Launch start successfully completed
22:09:32.169 [rp-io-7] DEBUG com.epam.reportportal.utils.SubscriptionUtils - Start root test item [SUITE] 'ConditionsTest' successfully completed
22:09:32.213 [Test worker] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [ConditionsTest]: using SpringBootContextLoader
22:09:32.214 [Test worker] DEBUG org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [com.yablochkov.ocpp16.autotest.ocpp16.ConditionsTest]: no resource found for suffixes {-context.xml, Context.groovy}.
22:09:32.241 [Test worker] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using ContextCustomizers for test class [ConditionsTest]: [DisableObservabilityContextCustomizer, PropertyMappingContextCustomizer, Customizer, ImportsContextCustomizer, ExcludeFilterContextCustomizer, DuplicateJsonObjectContextCustomizer, MockitoContextCustomizer, TestRestTemplateContextCustomizer]
22:09:32.369 [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]
22:09:32.372 [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]
22:09:32.373 [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]
22:09:32.374 [Test worker] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: class [ConditionsTest], class annotated with @DirtiesContext [true] with mode [AFTER_CLASS]
22:09:30,638 |-INFO in ch.qos.logback.classic.LoggerContext[default] - This is logback-classic version ?
22:09:30,652 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
22:09:30,653 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.xml]
22:09:30,655 |-INFO in ch.qos.logback.classic.BasicConfigurator@6d8096ee - Setting up default configuration.
22:09:32,664 |-INFO in ch.qos.logback.core.joran.action.ConversionRuleAction - registering conversion word clr with class [org.springframework.boot.logging.logback.ColorConverter]
22:09:32,664 |-INFO in ch.qos.logback.core.joran.action.ConversionRuleAction - registering conversion word wEx with class [org.springframework.boot.logging.logback.ExtendedWhitespaceThrowableProxyConverter]
22:09:32,668 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - <level> element is deprecated. Near [level] on line 25
22:09:32,668 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - Please use "level" attribute within <logger> or <root> elements instead.
22:09:32,668 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - <level> element is deprecated. Near [level] on line 30
22:09:32,668 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - Please use "level" attribute within <logger> or <root> elements instead.
22:09:32,709 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - Processing appender named [CONSOLE]
22:09:32,709 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
22:09:32,712 |-INFO in ch.qos.logback.core.model.processor.ImplicitModelHandler - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
22:09:32,732 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - Processing appender named [TEST-FILE]
22:09:32,732 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - About to instantiate appender of type [ch.qos.logback.core.FileAppender]
22:09:32,734 |-INFO in ch.qos.logback.core.model.processor.ImplicitModelHandler - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
22:09:32,735 |-INFO in ch.qos.logback.core.FileAppender[TEST-FILE] - File property is set to [LOG_FILE_IS_UNDEFINED]
22:09:32,736 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@35d8ba22 - Propagating DEBUG level on Logger[com.yablochkov] onto the JUL framework
22:09:32,737 |-INFO in ch.qos.logback.classic.model.processor.LevelModelHandler - com.yablochkov level set to DEBUG
22:09:32,737 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@35d8ba22 - Propagating TRACE level on Logger[org.springframework.web.servlet.mvc] onto the JUL framework
22:09:32,737 |-INFO in ch.qos.logback.classic.model.processor.LevelModelHandler - org.springframework.web.servlet.mvc level set to TRACE
22:09:32,737 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [CONSOLE] to Logger[org.springframework.web.servlet.mvc]
22:09:32,737 |-INFO in ch.qos.logback.classic.model.processor.RootLoggerModelHandler - Setting level of ROOT logger to WARN
22:09:32,737 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@35d8ba22 - Propagating WARN level on Logger[ROOT] onto the JUL framework
22:09:32,737 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [TEST-FILE] to Logger[ROOT]
22:09:32,737 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [CONSOLE] to Logger[ROOT]
22:09:32,737 |-INFO in ch.qos.logback.core.model.processor.DefaultProcessor@3fc051ce - End of configuration.
22:09:32,737 |-INFO in org.springframework.boot.logging.logback.SpringBootJoranConfigurator@3c5bb37d - Registering current configuration as safe fallback point


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

22:09:32.848 [Test worker] INFO  c.y.o.autotest.ocpp16.ConditionsTest - Starting ConditionsTest using Java 17.0.2 with PID 637 (started by root in /builds/yablochkov/mainboard/autotests)
22:09:32.849 [Test worker] DEBUG c.y.o.autotest.ocpp16.ConditionsTest - Running with Spring Boot, Spring
22:09:32.850 [Test worker] INFO  c.y.o.autotest.ocpp16.ConditionsTest - The following 1 profile is active: "test"
22:09:33.078 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Refreshing org.springframework.web.context.support.GenericWebApplicationContext@478cc5f1, started on Wed Apr 22 22:09:33 UTC 2026
22:09:33.681 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'messageSource' bean, using [Empty MessageSource]
22:09:33.682 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'applicationEventMulticaster' bean, using [SimpleApplicationEventMulticaster]
22:09:34.022 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
22:09:34.022 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
22:09:34.108 [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)
22:09:34.108 [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)
22:09:34.111 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
22:09:34.111 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
22:09:34.113 [Test worker] DEBUG o.s.w.s.h.BeanNameUrlHandlerMapping - Detected 0 mappings in 'beanNameHandlerMapping'
22:09:34.117 [Test worker] TRACE o.s.w.s.f.s.RouterFunctionMapping - 0 RouterFunction(s) in 'routerFunctionMapping'
22:09:34.124 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/webjars/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/webjars/]]
22:09:34.124 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
22:09:34.124 [Test worker] DEBUG o.s.w.s.h.SimpleUrlHandlerMapping - Patterns [/webjars/**, /**] in 'resourceHandlerMapping'
22:09:34.129 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
22:09:34.129 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
22:09:34.190 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Using LifecycleProcessor [org.springframework.context.support.DefaultLifecycleProcessor@7b80be13]
22:09:34.202 [Test worker] INFO  c.y.o.autotest.ocpp16.ConditionsTest - Started ConditionsTest in 1.786 seconds (process running for 4.192)
22:09:40.557 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/changeAvailability?connectorId=0&type=Operative
22:09:40.568 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
22:09:40.723 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
22:09:40.725 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.core.ChangeAvailabilityConfirmation]
22:10:03.384 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/changeConfiguration?key=LocalPreAuthorize&value=false
22:10:03.387 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
22:10:03.449 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
22:10:03.449 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.core.ChangeConfigurationConfirmation]
22:10:03.450 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/changeConfiguration?key=LocalAuthListEnabled&value=false
22:10:03.450 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
22:10:03.508 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
22:10:03.508 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.core.ChangeConfigurationConfirmation]
22:10:03.508 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/changeConfiguration?key=AuthorizationCacheEnabled&value=false
22:10:03.509 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
22:10:03.561 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
22:10:03.561 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.core.ChangeConfigurationConfirmation]
22:10:03.562 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/changeConfiguration?key=ConnectionTimeOut&value=60
22:10:03.562 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
22:10:03.613 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
22:10:03.613 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.core.ChangeConfigurationConfirmation]
22:10:03.627 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/addTagsInfo
22:10:03.630 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
22:10:03.636 [Test worker] DEBUG o.s.web.client.RestTemplate - Writing [AuthorizeConfirmationDto(idTag=111111-Accepted, idTagInfo=IdTagInfo{expiryDate="2026-04-23T08:10:03Z", parentIdTag=1, status=Accepted})] with org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
22:10:03.699 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
IdTagInfo{expiryDate="2026-04-23T08:10:03Z", parentIdTag=1, status=Accepted}
22:10:03.699 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/addTagsInfo
22:10:03.699 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
22:10:03.700 [Test worker] DEBUG o.s.web.client.RestTemplate - Writing [AuthorizeConfirmationDto(idTag=1111112-Accepted, idTagInfo=IdTagInfo{expiryDate="2026-04-23T08:10:03Z", parentIdTag=1, status=Accepted})] with org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
22:10:03.750 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
IdTagInfo{expiryDate="2026-04-23T08:10:03Z", parentIdTag=1, status=Accepted}
22:10:03.750 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/addTagsInfo
22:10:03.750 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
22:10:03.750 [Test worker] DEBUG o.s.web.client.RestTemplate - Writing [AuthorizeConfirmationDto(idTag=211111-Accepted, idTagInfo=IdTagInfo{expiryDate="2026-04-23T08:10:03Z", parentIdTag=2, status=Accepted})] with org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
22:10:03.800 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
IdTagInfo{expiryDate="2026-04-23T08:10:03Z", parentIdTag=2, status=Accepted}
22:10:03.800 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/addTagsInfo
22:10:03.800 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
22:10:03.801 [Test worker] DEBUG o.s.web.client.RestTemplate - Writing [AuthorizeConfirmationDto(idTag=111112-Expired, idTagInfo=IdTagInfo{expiryDate="2026-04-23T08:10:03Z", parentIdTag=1, status=Expired})] with org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
22:10:03.850 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
IdTagInfo{expiryDate="2026-04-23T08:10:03Z", parentIdTag=1, status=Expired}
22:10:03.851 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/addTagsInfo
22:10:03.851 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
22:10:03.851 [Test worker] DEBUG o.s.web.client.RestTemplate - Writing [AuthorizeConfirmationDto(idTag=111113-Blocked, idTagInfo=IdTagInfo{expiryDate="2026-04-23T08:10:03Z", parentIdTag=1, status=Blocked})] with org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
22:10:03.901 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
IdTagInfo{expiryDate="2026-04-23T08:10:03Z", parentIdTag=1, status=Blocked}
22:10:03.902 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/addTagsInfo
22:10:03.902 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
22:10:03.902 [Test worker] DEBUG o.s.web.client.RestTemplate - Writing [AuthorizeConfirmationDto(idTag=111114-ConcurrentTx, idTagInfo=IdTagInfo{expiryDate="2026-04-23T08:10:03Z", parentIdTag=1, status=ConcurrentTx})] with org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
22:10:03.953 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
IdTagInfo{expiryDate="2026-04-23T08:10:03Z", parentIdTag=1, status=ConcurrentTx}
22:10:03.953 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/addTagsInfo
22:10:03.953 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
22:10:03.953 [Test worker] DEBUG o.s.web.client.RestTemplate - Writing [AuthorizeConfirmationDto(idTag=111115-Invalid, idTagInfo=IdTagInfo{expiryDate="2026-04-23T08:10:03Z", parentIdTag=1, status=Invalid})] with org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
22:10:04.003 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
IdTagInfo{expiryDate="2026-04-23T08:10:03Z", parentIdTag=1, status=Invalid}
22:10:04.004 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/addTagsInfo
22:10:04.004 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
22:10:04.004 [Test worker] DEBUG o.s.web.client.RestTemplate - Writing [AuthorizeConfirmationDto(idTag=111116-Invalid, idTagInfo=IdTagInfo{expiryDate="2026-04-23T08:10:03Z", parentIdTag=2, status=Invalid})] with org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
22:10:04.053 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
IdTagInfo{expiryDate="2026-04-23T08:10:03Z", parentIdTag=2, status=Invalid}
22:10:04.056 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
22:10:04.105 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
22:10:04.132 [Test worker] DEBUG o.s.w.c.s.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@478cc5f1, started on Wed Apr 22 22:09:33 UTC 2026