ProfilesTest

6

tests

0

failures

4

ignored

0.368s

duration

100%

successful

Ignored tests

ResetLocalManager

Throttling_High

Throttling_Low

Restriction of current

Tests

Test Method name Duration Result
GetProfile after clearing profile check1() 0.260s passed
Get current profile - day-day2-night check2() 0.108s passed
ResetLocalManager check3() - ignored
Throttling_High check4() - ignored
Throttling_Low check5() - ignored
Restriction of current check6() - ignored

Standard output

15:18:01,871 |-INFO in ch.qos.logback.core.joran.action.ConversionRuleAction - registering conversion word clr with class [org.springframework.boot.logging.logback.ColorConverter]
15:18:01,871 |-INFO in ch.qos.logback.core.joran.action.ConversionRuleAction - registering conversion word wEx with class [org.springframework.boot.logging.logback.ExtendedWhitespaceThrowableProxyConverter]
15:18:01,871 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - <level> element is deprecated. Near [level] on line 25
15:18:01,871 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - Please use "level" attribute within <logger> or <root> elements instead.
15:18:01,871 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - <level> element is deprecated. Near [level] on line 30
15:18:01,871 |-WARN in ch.qos.logback.classic.joran.action.LevelAction - Please use "level" attribute within <logger> or <root> elements instead.
15:18:01,872 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - Processing appender named [CONSOLE]
15:18:01,872 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
15:18:01,872 |-INFO in ch.qos.logback.core.model.processor.ImplicitModelHandler - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
15:18:01,872 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - Processing appender named [TEST-FILE]
15:18:01,872 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - About to instantiate appender of type [ch.qos.logback.core.FileAppender]
15:18:01,872 |-INFO in ch.qos.logback.core.model.processor.ImplicitModelHandler - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
15:18:01,872 |-INFO in ch.qos.logback.core.FileAppender[TEST-FILE] - File property is set to [LOG_FILE_IS_UNDEFINED]
15:18:01,872 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@365b1eb5 - Propagating DEBUG level on Logger[com.yablochkov] onto the JUL framework
15:18:01,872 |-INFO in ch.qos.logback.classic.model.processor.LevelModelHandler - com.yablochkov level set to DEBUG
15:18:01,873 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@365b1eb5 - Propagating TRACE level on Logger[org.springframework.web.servlet.mvc] onto the JUL framework
15:18:01,873 |-INFO in ch.qos.logback.classic.model.processor.LevelModelHandler - org.springframework.web.servlet.mvc level set to TRACE
15:18:01,873 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [CONSOLE] to Logger[org.springframework.web.servlet.mvc]
15:18:01,873 |-INFO in ch.qos.logback.classic.model.processor.RootLoggerModelHandler - Setting level of ROOT logger to WARN
15:18:01,873 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@365b1eb5 - Propagating WARN level on Logger[ROOT] onto the JUL framework
15:18:01,873 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [TEST-FILE] to Logger[ROOT]
15:18:01,873 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [CONSOLE] to Logger[ROOT]
15:18:01,873 |-INFO in ch.qos.logback.core.model.processor.DefaultProcessor@25a5d43a - End of configuration.
15:18:01,873 |-INFO in org.springframework.boot.logging.logback.SpringBootJoranConfigurator@22678487 - Registering current configuration as safe fallback point


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

15:18:01.874 [Test worker] INFO  c.y.autotest.settings.ProfilesTest - Starting ProfilesTest using Java 17.0.2 with PID 365 (started by root in /builds/yablochkov/mainboard/autotests/autotests1.6)
15:18:01.875 [Test worker] DEBUG c.y.autotest.settings.ProfilesTest - Running with Spring Boot, Spring
15:18:01.875 [Test worker] INFO  c.y.autotest.settings.ProfilesTest - The following 1 profile is active: "test"
15:18:01.875 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Refreshing org.springframework.web.context.support.GenericWebApplicationContext@512e737, started on Thu Mar 19 15:18:01 UTC 2026
15:18:01.917 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'messageSource' bean, using [Empty MessageSource]
15:18:01.917 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'applicationEventMulticaster' bean, using [SimpleApplicationEventMulticaster]
15:18:01.940 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
15:18:01.940 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
15:18:01.943 [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:18:01.943 [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:18:01.943 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
15:18:01.943 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
15:18:01.944 [Test worker] DEBUG o.s.w.s.h.BeanNameUrlHandlerMapping - Detected 0 mappings in 'beanNameHandlerMapping'
15:18:01.944 [Test worker] TRACE o.s.w.s.f.s.RouterFunctionMapping - 0 RouterFunction(s) in 'routerFunctionMapping'
15:18:01.945 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/webjars/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/webjars/]]
15:18:01.945 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
15:18:01.945 [Test worker] DEBUG o.s.w.s.h.SimpleUrlHandlerMapping - Patterns [/webjars/**, /**] in 'resourceHandlerMapping'
15:18:01.946 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
15:18:01.946 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
15:18:01.953 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Using LifecycleProcessor [org.springframework.context.support.DefaultLifecycleProcessor@68db2d5c]
15:18:01.956 [Test worker] INFO  c.y.autotest.settings.ProfilesTest - Started ProfilesTest in 0.095 seconds (process running for 4960.808)
15:18:01.959 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP POST http://172.24.0.219:8080/clearChargingProfile
15:18:01.960 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
15:18:02.090 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
15:18:02.090 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.smartcharging.ClearChargingProfileConfirmation]
[{"chargingProfileId":2,"connectorsRestrictions":[{"connectorId":0,"maxPower":30000,"maxCurrent":200,"maxVoltage":1000,"maxBattery":100},{"connectorId":6,"maxPower":10000,"maxCurrent":200,"maxVoltage":1000,"maxBattery":100},{"connectorId":5,"maxPower":10000,"maxCurrent":200,"maxVoltage":1000,"maxBattery":100},{"connectorId":4,"maxPower":30000,"maxCurrent":200,"maxVoltage":1000,"maxBattery":100},{"connectorId":3,"maxPower":10000,"maxCurrent":200,"maxVoltage":1000,"maxBattery":100},{"connectorId":2,"maxPower":19000,"maxCurrent":200,"maxVoltage":1000,"maxBattery":100},{"connectorId":1,"maxPower":18000,"maxCurrent":200,"maxVoltage":1000,"maxBattery":100}],"maxEv":null,"startDateTime":"11:30:37","duration":40,"mode":"ONE"}]
15:18:02.332 [Test worker] DEBUG o.s.w.c.s.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@512e737, started on Thu Mar 19 15:18:01 UTC 2026