AVRTest

5

tests

0

failures

0

ignored

3m36.43s

duration

100%

successful

Tests

Test Method name Duration Result
Размыкание и замыкание АВР Основной ввод check1() 43.613s passed
Переключение на резервный канал и обратно без ошибок сервиса check2() 1m3.50s passed
Размыкание обоих контактов и перевод hw состояния в ошибку check3() 47.123s passed
Одновременное замыкание обоих КА PRIMARY и BACKUP check4() 24.850s passed
Отладка АВР через основной ввод check5() 37.336s passed

Standard output

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


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

10:27:48.075 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Starting AVRTest using Java 17.0.2 with PID 362 (started by root in /builds/yablochkov/mainboard/autotests/autotests1.6)
10:27:48.075 [Test worker] DEBUG c.y.ocpp16.autotest.psmIO.AVRTest - Running with Spring Boot, Spring
10:27:48.075 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - The following 1 profile is active: "test"
10:27:48.076 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Refreshing org.springframework.web.context.support.GenericWebApplicationContext@2358a9f9, started on Fri Jun 26 10:27:48 UTC 2026
10:27:48.127 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'messageSource' bean, using [Empty MessageSource]
10:27:48.127 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - No 'applicationEventMulticaster' bean, using [SimpleApplicationEventMulticaster]
10:27:48.154 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
10:27:48.154 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerAdapter - ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
10:27:48.157 [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:27:48.157 [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:27:48.157 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
10:27:48.157 [Test worker] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - 2 mappings in 'requestMappingHandlerMapping'
10:27:48.158 [Test worker] DEBUG o.s.w.s.h.BeanNameUrlHandlerMapping - Detected 0 mappings in 'beanNameHandlerMapping'
10:27:48.158 [Test worker] TRACE o.s.w.s.f.s.RouterFunctionMapping - 0 RouterFunction(s) in 'routerFunctionMapping'
10:27:48.159 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/webjars/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/webjars/]]
10:27:48.159 [Test worker] TRACE o.s.w.s.h.SimpleUrlHandlerMapping - Mapped [/**] onto ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
10:27:48.159 [Test worker] DEBUG o.s.w.s.h.SimpleUrlHandlerMapping - Patterns [/webjars/**, /**] in 'resourceHandlerMapping'
10:27:48.160 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
10:27:48.160 [Test worker] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice
10:27:48.167 [Test worker] TRACE o.s.w.c.s.GenericWebApplicationContext - Using LifecycleProcessor [org.springframework.context.support.DefaultLifecycleProcessor@11c60dee]
10:27:48.171 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Started AVRTest in 0.11 seconds (process running for 4608.927)
10:27:57.289 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг1 - Перевод сервиса в режим отладки
10:28:02.383 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг2 - Проверка состояния MAINTENANCE от PSM
10:28:14.479 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг3 - Запрашиваем размыкание КА АВР Основного ввода PSM
10:28:15.579 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг4 - Stub RemoteIO получил команду на размыкание
10:28:15.671 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг5 - Размыкаем КА через Stub RemoteIO
10:28:15.765 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг6 - КА разомкнут, состояние от RemoteIO
10:28:15.857 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг7 - КА разомкнут, состояние от PSM
10:28:17.949 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг8 - Запрашиваем замыкание КА PSM
10:28:19.048 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг9 - Stub RemoteIO получил команду на замыкание
10:28:19.141 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг10 - Замыкаем КА через Stub RemoteIO
10:28:19.235 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг11 - КА замкнут, состояние от RemoteIO
10:28:21.331 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг12 - КА замкнут, состояние от PSM
10:28:23.426 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг13 - Выход сервиса из режима отладки
10:28:28.519 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг14 - Сервис в состоянии READY
10:28:40.903 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг1 - Убеждаемся, что состояние сервиса Hardware и Software в Ready и active_power_source=PRIMARY
10:28:50.997 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг2 - Размыкаем АВР Основного ввода через Stub RemoteIO
10:28:51.092 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг3 - Убеждаемся, что состояние сервиса Hardware ERROR, Software Ready и active_power_source=PRIMARY
10:29:01.185 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг4 - Убеждаемся через PSM, что основной и резервный вводы разомкнуты
10:29:03.279 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг5 - Замыкаем АВР Резервного ввода через Stub RemoteIO
10:29:03.373 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг6 - Убеждаемся, что состояние сервиса Hardware и Software в Ready и active_power_source=BACKUP
10:29:13.465 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг7 - Убеждаемся через PSM, что основной ввод разомкнут, а резервный ввод замкнут
10:29:15.559 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг8 - Размыкаем АВР Резервного ввода через Stub RemoteIO
10:29:15.653 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг9 - Убеждаемся, что состояние сервиса Hardware ERROR, Software Ready и active_power_source=PRIMARY
10:29:25.747 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг10 - Убеждаемся через PSM, что основной и резервный вводы разомкнуты
10:29:27.839 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг11 - Замыкаем АВР Основного ввода через Stub RemoteIO
10:29:27.935 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг12 - Убеждаемся, что состояние сервиса Hardware и Software в Ready и active_power_source=PRIMARY
10:29:40.030 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг13 - Убеждаемся через PSM, что основной замкнут, а резервный разомкнут
10:29:44.407 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг1 - Убеждаемся, что состояние сервиса Hardware и Software в Ready и active_power_source=PRIMARY
10:29:54.500 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг2 - Размыкаем АВР Основного ввода через Stub RemoteIO
10:29:54.592 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг3 - Убеждаемся, что состояние сервиса Hardware  ERROR, Software в Ready, active_power_source=PRIMARY и в hw occurences имеется Некорректное состояние АВР
Некорректное состояние Контактор питания преобразователей на АВР
10:30:04.692 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг4 - Убеждаемся, что основной и резервный вводы разомкнуты
10:30:06.786 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг5 - Замыкаем АВР Основного ввода через Stub RemoteIO
10:30:06.880 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг6 - Убеждаемся, что состояние сервиса Hardware  READY, Software в Ready, active_power_source=PRIMARY
10:30:16.974 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг7 - Убеждаемся, что основной замкнут, а резервный разомкнут
10:30:19.068 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг8 - Удаление ошибки
10:30:19.159 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг9 - Убеждаемся, что состояние сервиса Hardware и Software в Ready и active_power_source=PRIMARY
10:30:31.531 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг1 - Замыкаем АВР Резервного ввода через Stub RemoteIO
10:30:31.626 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг2 - Убеждаемся, что состояние сервиса Hardware  ERROR, Software в Ready, active_power_source=PRIMARY и в hw occurences имеется Некорректное состояние АВР
10:30:41.719 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг3 - Размыкаем АВР Основного ввода через Stub RemoteIO
10:30:41.815 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг4 - Убеждаемся через PSM, что основной разомкнут, а резервный замкнут
10:30:43.908 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг5 - Удаление ошибки
10:30:44.002 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг6 - Убеждаемся, что состояние сервиса Hardware и Software в Ready и active_power_source=BACKUP
10:30:56.382 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг1 - Перевод сервиса в режим отладки
10:31:01.476 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг2 - Запрашиваем размыкание Основного АВР PSM
10:31:02.579 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг3 - Через Stub RemoteIO убедиться, что PRIMARY_FEED должен быть разомкнут
10:31:02.673 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг4 - Размыкаем АВР Основного ввода через Stub RemoteIO
10:31:02.768 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг5 - Убедиться в PSM, что PRIMARY и BACKUP FEED считываются как разомкнутые
10:31:04.861 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг6 - Запрашиваем замыкание Основного АВР PSM
10:31:05.964 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг7 - Через Stub RemoteIO убедиться, что АВР Основного ввода должен быть замкнут
10:31:06.057 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг8 - Замыкаем АВР Резервного ввода через Stub RemoteIO
10:31:06.150 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг9 - Убеждаемся, что состояние сервиса Hardware MAINTENANCE, Software в Ready, active_power_source=BACKUP
10:31:16.246 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг10 - Выход сервиса из режима отладки
10:31:21.338 [Test worker] INFO  c.y.ocpp16.autotest.psmIO.AVRTest - Шаг11 - Убеждаемся, что состояние сервиса Hardware READY, Software в Ready, active_power_source=BACKUP, нет HwOccurences
10:31:33.716 [Test worker] DEBUG o.s.w.c.s.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@2358a9f9, started on Fri Jun 26 10:27:48 UTC 2026