GetDiagnosticsTest

2

tests

0

failures

0

ignored

2m56.42s

duration

100%

successful

Tests

Test Method name Duration Result
DiagnosticsStatusNotification with status Uploaded check1() 1m33.25s passed
DiagnosticsStatusNotification with status UploadFailed check2() 1m23.17s passed

Standard output

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


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

14:21:08.605 [Test worker] INFO  c.y.a.ocpp16.GetDiagnosticsTest - Starting GetDiagnosticsTest using Java 17.0.2 with PID 360 (started by root in /builds/yablochkov/mainboard/autotests/autotests1.6)
14:21:08.605 [Test worker] DEBUG c.y.a.ocpp16.GetDiagnosticsTest - Running with Spring Boot, Spring
14:21:08.605 [Test worker] INFO  c.y.a.ocpp16.GetDiagnosticsTest - The following 1 profile is active: "test"
14:21:08.608 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Refreshing org.springframework.web.context.support.GenericWebApplicationContext@366ed5c7, started on Thu Dec 25 14:21:08 UTC 2025
14:21:08.682 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'messageSource' bean, using [Empty MessageSource]
14:21:08.682 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'applicationEventMulticaster' bean, using [SimpleApplicationEventMulticaster]
14:21:08.741 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
14:21:08.741 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
14:21:08.746 [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)
14:21:08.746 [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)
14:21:08.747 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
14:21:08.747 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
14:21:08.749 [Test worker] DEBUG o.s.w.s.h.BeanNameUrlHandlerMapping - Detected 0 mappings in 'beanNameHandlerMapping'
14:21:08.749 [Test worker] TRACE o.s.w.s.f.s.RouterFunctionMapping - 0 RouterFunction(s) in 'routerFunctionMapping'
14:21:08.750 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/webjars/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/webjars/]]
14:21:08.750 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
14:21:08.751 [Test worker] DEBUG o.s.w.s.h.SimpleUrlHandlerMapping - Patterns [/webjars/**, /**] in 'resourceHandlerMapping'
14:21:08.752 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
14:21:08.752 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
14:21:08.766 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Using LifecycleProcessor [org.springframework.context.support.DefaultLifecycleProcessor@455d026d]
14:21:08.768 [Test worker] INFO  c.y.a.ocpp16.GetDiagnosticsTest - Started GetDiagnosticsTest in 0.193 seconds (process running for 85.372)
14:21:08.773 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
14:21:08.904 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
14:21:08.905 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/getDiagnostics?location=ftp://ftp:soaThia7Oo7r@192.168.4.101
14:21:08.911 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
14:21:08.991 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
14:21:08.991 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.firmware.GetDiagnosticsConfirmation]
GetDiagnosticsConfirmation{fileName=Diagnostic_yabl-200-lab-001_1766672468962.log, isValid=true}
14:22:18.996 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
14:22:18.997 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
14:22:19.130 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
14:22:19.130 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
size2
14:22:41.952 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
14:22:42.020 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
14:22:42.024 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
14:22:42.091 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
14:22:42.091 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/getDiagnostics?location=http://172.24.0.219:11111/upload
14:22:42.091 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
14:22:42.161 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
14:22:42.161 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.firmware.GetDiagnosticsConfirmation]
14:23:42.162 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
14:23:42.163 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
14:23:42.294 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
14:23:42.295 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
14:24:05.119 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
14:24:05.186 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
14:24:05.194 [Test worker] DEBUG o.s.w.c.s.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@366ed5c7, started on Thu Dec 25 14:21:08 UTC 2025