GetDiagnosticsTest

2

tests

0

failures

0

ignored

2m56.12s

duration

100%

successful

Tests

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

Standard output

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


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

10:34:29.187 [Test worker] INFO  c.y.o.a.o.GetDiagnosticsTest - Starting GetDiagnosticsTest using Java 17.0.2 with PID 221 (started by root in /builds/yablochkov/mainboard/autotests/autotests1.6)
10:34:29.188 [Test worker] DEBUG c.y.o.a.o.GetDiagnosticsTest - Running with Spring Boot, Spring
10:34:29.188 [Test worker] INFO  c.y.o.a.o.GetDiagnosticsTest - The following 1 profile is active: "test"
10:34:29.189 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Refreshing org.springframework.web.context.support.GenericWebApplicationContext@2818d9d7, started on Tue Jul 07 10:34:29 UTC 2026
10:34:29.270 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'messageSource' bean, using [Empty MessageSource]
10:34:29.270 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'applicationEventMulticaster' bean, using [SimpleApplicationEventMulticaster]
10:34:29.308 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
10:34:29.308 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
10:34:29.313 [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:34:29.313 [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:34:29.313 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
10:34:29.313 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
10:34:29.315 [Test worker] DEBUG o.s.w.s.h.BeanNameUrlHandlerMapping - Detected 0 mappings in 'beanNameHandlerMapping'
10:34:29.315 [Test worker] TRACE o.s.w.s.f.s.RouterFunctionMapping - 0 RouterFunction(s) in 'routerFunctionMapping'
10:34:29.316 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/webjars/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/webjars/]]
10:34:29.316 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
10:34:29.316 [Test worker] DEBUG o.s.w.s.h.SimpleUrlHandlerMapping - Patterns [/webjars/**, /**] in 'resourceHandlerMapping'
10:34:29.317 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
10:34:29.317 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
10:34:29.328 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Using LifecycleProcessor [org.springframework.context.support.DefaultLifecycleProcessor@1cae5759]
10:34:29.330 [Test worker] INFO  c.y.o.a.o.GetDiagnosticsTest - Started GetDiagnosticsTest in 0.17 seconds (process running for 873.373)
10:34:29.333 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
10:34:29.435 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
10:34:29.437 [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
10:34:29.443 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
10:34:29.551 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
10:34:29.551 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.firmware.GetDiagnosticsConfirmation]
GetDiagnosticsConfirmation{fileName=Diagnostic_yabl-200-lab-001_1783420469493.log, isValid=true}
10:35:39.562 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
10:35:39.563 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
10:35:39.668 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
10:35:39.668 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
size2
10:36:02.398 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
10:36:02.452 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
10:36:02.457 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
10:36:02.509 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
10:36:02.509 [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
10:36:02.510 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
10:36:02.565 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
10:36:02.566 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [eu.chargetime.ocpp.model.firmware.GetDiagnosticsConfirmation]
10:37:02.566 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP GET http://172.24.0.219:8080/requests
10:37:02.567 [Test worker] DEBUG o.s.web.client.RestTemplate - Accept=[application/json, application/xml, text/xml, application/*+json, application/*+xml]
10:37:02.671 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
10:37:02.671 [Test worker] DEBUG o.s.web.client.RestTemplate - Reading to [java.util.List<eu.chargetime.ocpp.model.Request>]
10:37:25.400 [Test worker] DEBUG o.s.web.client.RestTemplate - HTTP DELETE http://172.24.0.219:8080/requests
10:37:25.454 [Test worker] DEBUG o.s.web.client.RestTemplate - Response 200 OK
10:37:25.459 [Test worker] DEBUG o.s.w.c.s.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@2818d9d7, started on Tue Jul 07 10:34:29 UTC 2026