+ /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.5.0/bin/mvn clean deploy
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Scheduler 1.14.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ appng-scheduler ---
[INFO] Deleting /var/lib/jenkins/workspace/appNG_Scheduler/target
[INFO]
[INFO] --- openapi-generator-maven-plugin:5.3.0:generate (rest-api) @ appng-scheduler ---
[INFO] Generating with dryRun=false
[INFO] Output directory (/var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/openapi) does not exist, or is inaccessible. No file (.openapi-generator-ignore) will be evaluated.
[INFO] OpenAPI Generator: spring (server)
[INFO] Generator 'spring' is considered stable.
[INFO] ----------------------------------
[WARNING] java8 option has been deprecated as it's set to true by default (JDK7 support has been deprecated)
[INFO] Set base package to invoker package (org.appng.scheduler.openapi.invoke)
[INFO] Environment variable JAVA_POST_PROCESS_FILE not defined so the Java code may not be properly formatted. To define it, try 'export JAVA_POST_PROCESS_FILE="/usr/local/bin/clang-format -i"' (Linux/Mac)
[INFO] NOTE: To enable file post-processing, 'enablePostProcessFile' must be set to `true` (--enable-post-process-file for CLI).
[INFO] Processing operation getJobState
[INFO] Processing operation getJobs
[INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/openapi/src/main/java/org/appng/scheduler/openapi/model/Job.java
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/openapi/src/main/java/org/appng/scheduler/openapi/model/JobRecord.java
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/openapi/src/main/java/org/appng/scheduler/openapi/model/JobState.java
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/openapi/src/main/java/org/appng/scheduler/openapi/model/Jobs.java
[INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/openapi/src/main/java/org/appng/scheduler/openapi/JobStateApi.java
[INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/openapi/pom.xml
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/openapi/README.md
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/openapi/src/main/java/org/appng/scheduler/openapi/ApiUtil.java
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/openapi/.openapi-generator-ignore
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/openapi/.openapi-generator/VERSION
[INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/openapi/.openapi-generator/FILES
################################################################################
# Thanks for using OpenAPI Generator. #
# Please consider donation to help us maintain this project 🙏 #
# https://opencollective.com/openapi_generator/donate #
################################################################################
[INFO]
[INFO] --- build-helper-maven-plugin:3.0.0:add-source (default) @ appng-scheduler ---
[INFO] Source directory: /var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/constants added.
[INFO] Source directory: /var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/openapi/src/main/java added.
[INFO]
[INFO] --- appng-maven-plugin:1.23.0:generateApplicationConstants (applicationConstants) @ appng-scheduler ---
[INFO] generate application constants for [/var/lib/jenkins/workspace/appNG_Scheduler/application-home/application.xml, org.appng.application.scheduler.PropertyConstants, /var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/constants]
[INFO]
[INFO] --- appng-maven-plugin:1.23.0:generateMessageConstants (messageConstants) @ appng-scheduler ---
[INFO] generate message constants for [/var/lib/jenkins/workspace/appNG_Scheduler/application-home/dictionary/messages-scheduler.properties, org.appng.application.scheduler.MessageConstants, /var/lib/jenkins/workspace/appNG_Scheduler/target/generated-sources/constants]
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ appng-scheduler ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ appng-scheduler ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 32 source files to /var/lib/jenkins/workspace/appNG_Scheduler/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ appng-scheduler ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 21 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ appng-scheduler ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 8 source files to /var/lib/jenkins/workspace/appNG_Scheduler/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M3:test (default-test) @ appng-scheduler ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.appng.application.scheduler.SchedulingTest
2022-01-14 15:49:51,394 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2022-01-14 15:49:51,414 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@14d3bc22, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@12d4bf7e, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@4c1d9d4b, org.springframework.test.context.support.DirtiesContextTestExecutionListener@7b227d8d, org.springframework.test.context.transaction.TransactionalTestExecutionListener@7219ec67, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@45018215]
2022-01-14 15:49:52,178 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-01-14 15:49:52,440 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-01-14 15:49:52,566 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-01-14 15:49:52,589 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test.xml]
2022-01-14 15:49:52,610 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'jobExecutionRecordRepository' with a different definition: replacing [Root bean: class [org.appng.persistence.repository.SearchRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Generic bean: class [org.mockito.Mockito]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=mock; initMethodName=null; destroyMethodName=null; defined in class path resource [beans-test.xml]]
2022-01-14 15:49:52,615 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@49b0b76: startup date [Fri Jan 14 15:49:52 CET 2022]; root of context hierarchy
2022-01-14 15:49:53,128 WARN [main] org.springframework.context.annotation.ConfigurationClassEnhancer: @Bean method ApplicationTestConfig.CustomScopeConfigurer is non-static and returns an object assignable to Spring's BeanFactoryPostProcessor interface. This will result in a failure to process annotations such as @Autowired, @Resource and @PostConstruct within the method's declaring @Configuration class. Add the 'static' modifier to this method to avoid these container lifecycle issues; see @Bean javadoc for complete details.
2022-01-14 15:49:53,153 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
Jan 14, 2022 3:49:53 PM ch.sla.jdbcperflogger.Logger info
INFO: Using config file jdbcperflogger-fallback.xml
2022-01-14 15:49:53,818 INFO [HSQLDB Server @66b72664] hsqldb.db.HSQLDB7E5911017E.ENGINE: Checkpoint start
2022-01-14 15:49:53,818 INFO [HSQLDB Server @66b72664] hsqldb.db.HSQLDB7E5911017E.ENGINE: checkpointClose start
2022-01-14 15:49:53,874 INFO [HSQLDB Server @66b72664] hsqldb.db.HSQLDB7E5911017E.ENGINE: checkpointClose synched
2022-01-14 15:49:53,900 INFO [HSQLDB Server @66b72664] hsqldb.db.HSQLDB7E5911017E.ENGINE: checkpointClose script done
2022-01-14 15:49:53,984 INFO [HSQLDB Server @66b72664] hsqldb.db.HSQLDB7E5911017E.ENGINE: checkpointClose end
2022-01-14 15:49:53,985 INFO [HSQLDB Server @66b72664] hsqldb.db.HSQLDB7E5911017E.ENGINE: Checkpoint end - txts: 1
2022-01-14 15:49:54,185 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-01-14 15:49:54,215 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2022-01-14 15:49:54,299 INFO [main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.32.Final
2022-01-14 15:49:54,515 INFO [main] org.hibernate.annotations.common.Version: HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
2022-01-14 15:49:55,023 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2022-01-14 15:49:55,107 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2022-01-14 15:49:55,815 INFO [main] org.hibernate.validator.internal.util.Version: HV000001: Hibernate Validator 6.2.0.Final
2022-01-14 15:49:57,662 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2022-01-14 15:49:57,679 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-01-14 15:49:57,951 INFO [main] org.quartz.impl.StdSchedulerFactory: Using default implementation for ThreadExecutor
2022-01-14 15:49:57,974 INFO [main] org.quartz.core.SchedulerSignalerImpl: Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
2022-01-14 15:49:57,974 INFO [main] org.quartz.core.QuartzScheduler: Quartz Scheduler v.2.3.2 created.
2022-01-14 15:49:57,990 INFO [main] org.springframework.scheduling.quartz.LocalDataSourceJobStore: JobStoreCMT initialized.
2022-01-14 15:49:57,992 INFO [main] org.quartz.core.QuartzScheduler: Scheduler meta-data: Quartz Scheduler (v2.3.2) 'Scheduler_localhost' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 3 threads.
Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is not clustered.
2022-01-14 15:49:57,992 INFO [main] org.quartz.impl.StdSchedulerFactory: Quartz scheduler 'Scheduler_localhost' initialized from an externally provided properties instance.
2022-01-14 15:49:57,992 INFO [main] org.quartz.impl.StdSchedulerFactory: Quartz scheduler version: 2.3.2
2022-01-14 15:49:57,992 INFO [main] org.quartz.core.QuartzScheduler: JobFactory set to: org.appng.application.scheduler.quartz.SpringQuartzSchedulerFactory@51813065
2022-01-14 15:49:58,252 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@49b0b76: startup date [Fri Jan 14 15:49:52 CET 2022]; root of context hierarchy
2022-01-14 15:49:59,276 INFO [main] org.springframework.aop.framework.CglibAopProxy: Method [org.appng.core.service.MigrationService$MigrationStatus org.appng.core.service.DatabaseService.migrateApplication(java.io.File,org.appng.core.domain.SiteApplication,java.lang.String)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2022-01-14 15:49:59,277 INFO [main] org.springframework.aop.framework.CglibAopProxy: Method [org.appng.core.service.MigrationService$MigrationStatus org.appng.core.service.DatabaseService.dropDataBaseAndUser(org.appng.core.domain.DatabaseConnection)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2022-01-14 15:49:59,432 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [org/quartz/impl/jdbcjobstore/tables_hsqldb.sql]
2022-01-14 15:49:59,444 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [org/quartz/impl/jdbcjobstore/tables_hsqldb.sql] in 12 ms.
2022-01-14 15:49:59,520 INFO [main] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping: Mapped "{[/jobState/list],methods=[GET],produces=[application/json]}" onto public org.springframework.http.ResponseEntity<org.appng.scheduler.openapi.model.Jobs> org.appng.application.scheduler.service.JobStateRestController.getJobs(java.lang.Boolean,java.lang.Boolean,java.lang.Boolean)
2022-01-14 15:49:59,522 INFO [main] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping: Mapped "{[/jobState/{application}/{job}],methods=[GET],produces=[application/json]}" onto public org.springframework.http.ResponseEntity<org.appng.scheduler.openapi.model.JobState> org.appng.application.scheduler.service.JobStateRestController.getJobState(java.lang.String,java.lang.String,java.lang.Integer,java.lang.Boolean)
2022-01-14 15:49:59,523 INFO [main] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping: Mapped "{[/jobRecords],methods=[GET],produces=[application/json;charset=UTF-8]}" onto public org.springframework.http.ResponseEntity<java.util.List<org.appng.application.scheduler.model.JobRecord>> org.appng.application.scheduler.service.RecordsRestController.getJobRecords(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.Integer,java.util.List<java.lang.String>,org.appng.api.model.Application,org.appng.api.model.Site)
2022-01-14 15:49:59,547 INFO [main] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping: Mapped "{[/jobState/list],methods=[GET],produces=[application/json]}" onto public org.springframework.http.ResponseEntity<org.appng.scheduler.openapi.model.Jobs> org.appng.application.scheduler.service.JobStateRestController.getJobs(java.lang.Boolean,java.lang.Boolean,java.lang.Boolean)
2022-01-14 15:49:59,548 INFO [main] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping: Mapped "{[/jobState/{application}/{job}],methods=[GET],produces=[application/json]}" onto public org.springframework.http.ResponseEntity<org.appng.scheduler.openapi.model.JobState> org.appng.application.scheduler.service.JobStateRestController.getJobState(java.lang.String,java.lang.String,java.lang.Integer,java.lang.Boolean)
2022-01-14 15:49:59,549 INFO [main] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping: Mapped "{[/jobRecords],methods=[GET],produces=[application/json;charset=UTF-8]}" onto public org.springframework.http.ResponseEntity<java.util.List<org.appng.application.scheduler.model.JobRecord>> org.appng.application.scheduler.service.RecordsRestController.getJobRecords(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.Integer,java.util.List<java.lang.String>,org.appng.api.model.Application,org.appng.api.model.Site)
2022-01-14 15:50:00,326 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-01-14 15:50:00,402 INFO [main] org.appng.application.scheduler.SchedulerUtils: Created job: localhost.appng-scheduler_longRunningJob
2022-01-14 15:50:00,435 INFO [main] org.appng.application.scheduler.SchedulerUtils: Created trigger 'localhost.appng-scheduler_longRunningJob-crontrigger-787610762' for job 'localhost.appng-scheduler_longRunningJob' with expression '0 0/10 * 1/1 * ? *'
2022-01-14 15:50:00,439 INFO [main] org.appng.application.scheduler.SchedulerUtils: Created job: localhost.appng-scheduler_indexJob
2022-01-14 15:50:00,442 INFO [main] org.appng.application.scheduler.SchedulerUtils: Created job: localhost.appng-scheduler_houseKeepingJob
2022-01-14 15:50:00,446 INFO [main] org.springframework.scheduling.quartz.LocalDataSourceJobStore: Freed 0 triggers from 'acquired' / 'blocked' state.
2022-01-14 15:50:00,448 INFO [main] org.springframework.scheduling.quartz.LocalDataSourceJobStore: Recovering 0 jobs that were in-progress at the time of the last shut-down.
2022-01-14 15:50:00,449 INFO [main] org.springframework.scheduling.quartz.LocalDataSourceJobStore: Recovery complete.
2022-01-14 15:50:00,449 INFO [main] org.springframework.scheduling.quartz.LocalDataSourceJobStore: Removed 0 'complete' triggers.
2022-01-14 15:50:00,449 INFO [main] org.springframework.scheduling.quartz.LocalDataSourceJobStore: Removed 0 stale fired job entries.
2022-01-14 15:50:00,451 INFO [main] org.quartz.core.QuartzScheduler: Scheduler Scheduler_localhost_$_NON_CLUSTERED started.
2022-01-14 15:50:00,578 INFO [main] org.appng.application.scheduler.SchedulerUtils: Created job: localhost.appng-scheduler_mytestjob
2022-01-14 15:50:00,601 INFO [main] org.appng.application.scheduler.SchedulerUtils: Created trigger 'localhost.appng-scheduler_mytestjob-crontrigger-604893842' for job 'localhost.appng-scheduler_mytestjob' with expression '0 0/10 * * * ? 2042'
2022-01-14 15:50:00,613 ERROR [Scheduler_localhost] org.quartz.core.ErrorLogger : An error occured instantiating job to be executed. job= 'localhost.appng-scheduler_longRunningJob'
org.quartz.SchedulerException: Job instantiation failed [See nested exception: java.lang.ClassCastException: org.springframework.context.support.GenericApplicationContext cannot be cast to org.appng.core.model.ApplicationContext]
at org.springframework.scheduling.quartz.AdaptableJobFactory.newJob(AdaptableJobFactory.java:45)
at org.quartz.core.JobRunShell.initialize(JobRunShell.java:127)
at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:392)
Caused by: java.lang.ClassCastException: org.springframework.context.support.GenericApplicationContext cannot be cast to org.appng.core.model.ApplicationContext
at org.appng.application.scheduler.quartz.SpringQuartzSchedulerFactory.createJobInstance(SpringQuartzSchedulerFactory.java:68)
at org.appng.application.scheduler.quartz.SpringQuartzSchedulerFactory.createJobInstance(SpringQuartzSchedulerFactory.java:53)
at org.springframework.scheduling.quartz.AdaptableJobFactory.newJob(AdaptableJobFactory.java:41)
... 2 more
2022-01-14 15:50:00,618 INFO [Scheduler_localhost] org.springframework.scheduling.quartz.LocalDataSourceJobStore: All triggers of Job localhost.appng-scheduler_longRunningJob-crontrigger-787610762 set to ERROR state.
2022-01-14 15:50:02,244 INFO [main] org.appng.application.scheduler.SchedulerUtils: Created job: localhost.appng-scheduler_anotherJob
2022-01-14 15:50:02,284 INFO [main] org.appng.application.scheduler.SchedulerUtils: Created trigger 'localhost.appng-scheduler_anotherJob-crontrigger-1251438918' for job 'localhost.appng-scheduler_anotherJob' with expression '0 0/20 * * * ? 2042'
2022-01-14 15:50:02,504 INFO [main] org.quartz.core.QuartzScheduler: Scheduler Scheduler_localhost_$_NON_CLUSTERED started.
2022-01-14 15:50:02,544 INFO [main] org.appng.application.scheduler.SchedulerUtils: Deleted job: localhost.appng-scheduler_mytestjob
2022-01-14 15:50:02,615 INFO [main] org.quartz.core.QuartzScheduler: Scheduler Scheduler_localhost_$_NON_CLUSTERED started.
2022-01-14 15:50:02,631 INFO [main] org.appng.application.scheduler.SchedulerUtils: Created trigger 'localhost.appng-scheduler_indexJob-crontrigger-112774596' for job 'localhost.appng-scheduler_indexJob' with expression '0 0/5 * * * ? 2042'
2022-01-14 15:50:02,773 INFO [main] org.quartz.core.QuartzScheduler: Scheduler Scheduler_localhost_$_NON_CLUSTERED started.
2022-01-14 15:50:02,944 INFO [main] org.quartz.core.QuartzScheduler: Scheduler Scheduler_localhost_$_NON_CLUSTERED started.
2022-01-14 15:50:03,178 INFO [main] org.quartz.core.QuartzScheduler: Scheduler Scheduler_localhost_$_NON_CLUSTERED started.
2022-01-14 15:50:03,188 INFO [main] org.appng.application.scheduler.SchedulerUtils: Created trigger 'localhost.simpletrigger-533657337' for job 'org.appng.application.scheduler.job.IndexJob' with start time 'Fri Jan 14 15:50:03 CET 2022'
2022-01-14 15:50:03,224 ERROR [Scheduler_localhost] org.quartz.core.ErrorLogger : An error occured instantiating job to be executed. job= 'localhost.appng-scheduler_indexJob'
org.quartz.SchedulerException: Job instantiation failed [See nested exception: java.lang.ClassCastException: org.springframework.context.support.GenericApplicationContext cannot be cast to org.appng.core.model.ApplicationContext]
at org.springframework.scheduling.quartz.AdaptableJobFactory.newJob(AdaptableJobFactory.java:45)
at org.quartz.core.JobRunShell.initialize(JobRunShell.java:127)
at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:392)
Caused by: java.lang.ClassCastException: org.springframework.context.support.GenericApplicationContext cannot be cast to org.appng.core.model.ApplicationContext
at org.appng.application.scheduler.quartz.SpringQuartzSchedulerFactory.createJobInstance(SpringQuartzSchedulerFactory.java:68)
at org.appng.application.scheduler.quartz.SpringQuartzSchedulerFactory.createJobInstance(SpringQuartzSchedulerFactory.java:53)
at org.springframework.scheduling.quartz.AdaptableJobFactory.newJob(AdaptableJobFactory.java:41)
... 2 more
2022-01-14 15:50:03,225 INFO [Scheduler_localhost] org.springframework.scheduling.quartz.LocalDataSourceJobStore: All triggers of Job localhost.simpletrigger-533657337 set to ERROR state.
2022-01-14 15:50:03,275 INFO [main] org.quartz.core.QuartzScheduler: Scheduler Scheduler_localhost_$_NON_CLUSTERED started.
2022-01-14 15:50:03,293 INFO [main] org.appng.application.scheduler.SchedulerUtils: Deleted trigger 'localhost.appng-scheduler_indexJob-crontrigger-112774596' for job 'localhost.appng-scheduler_indexJob' with expression '0 0/5 * * * ? 2042'
2022-01-14 15:50:03,333 INFO [main] org.quartz.core.QuartzScheduler: Scheduler Scheduler_localhost_$_NON_CLUSTERED started.
2022-01-14 15:50:03,376 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@49b0b76: startup date [Fri Jan 14 15:49:52 CET 2022]; root of context hierarchy
2022-01-14 15:50:03,379 INFO [main] org.springframework.context.support.DefaultLifecycleProcessor: Stopping beans in phase 2147483647
2022-01-14 15:50:03,380 INFO [main] org.quartz.core.QuartzScheduler: Scheduler Scheduler_localhost_$_NON_CLUSTERED paused.
2022-01-14 15:50:03,384 INFO [main] org.springframework.scheduling.quartz.SchedulerFactoryBean: Shutting down Quartz Scheduler
2022-01-14 15:50:03,384 INFO [main] org.quartz.core.QuartzScheduler: Scheduler Scheduler_localhost_$_NON_CLUSTERED shutting down.
2022-01-14 15:50:03,385 INFO [main] org.quartz.core.QuartzScheduler: Scheduler Scheduler_localhost_$_NON_CLUSTERED paused.
2022-01-14 15:50:03,386 INFO [main] org.quartz.core.QuartzScheduler: Scheduler Scheduler_localhost_$_NON_CLUSTERED shutdown complete.
2022-01-14 15:50:03,386 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2022-01-14 15:50:03,386 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2022-01-14 15:50:03,675 INFO [HSQLDB Connection @3447724] hsqldb.db.HSQLDB7E5911017E.ENGINE: Database closed
[ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 12.835 s <<< FAILURE! - in org.appng.application.scheduler.SchedulingTest
[ERROR] testShowJobs(org.appng.application.scheduler.SchedulingTest) Time elapsed: 0.261 s <<< FAILURE!
junit.framework.AssertionFailedError:
XML does not match control XML
org.custommonkey.xmlunit.Diff
[different] Expected presence of child nodes to be 'false' but was 'true' - comparing <value...> at /data[1]/resultset[1]/result[4]/field[6]/value[1] to <value...> at /data[1]/resultset[1]/result[4]/field[6]/value[1]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<data xmlns="http://www.appng.org/schema/platform">
<resultset chunk="0" chunkname="jobs" chunksize="25" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="0" hits="4">
<result>
<field name="name" type="text">
<value>appng-scheduler_anotherJob</value>
</field>
<field name="origin" type="text">
<value>appng-scheduler</value>
</field>
<field name="beanName" type="text">
<value>indexJob</value>
</field>
<field name="cronExpression" type="text">
<value>0 0/20 * * * ? 2042</value>
</field>
<field name="nextFireTime" type="date">
<value>2042-01-01 00:00:00</value>
</field>
<field name="previousFireTime" type="date">
<value></value>
</field>
<field name="stateName" type="image">
<value>Scheduled</value>
<icon type="class">led_green</icon>
</field>
<linkpanel id="schedule" location="inline">
<link id="unschedule" mode="intern" target="/jobs?form_action=unschedule&id=appng-scheduler_anotherJob">
<label id="unschedule">Deactivate</label>
<icon>unschedule</icon>
</link>
</linkpanel>
<linkpanel id="actions" location="inline">
<link id="update" mode="intern" target="/jobs/update/appng-scheduler_anotherJob#tab_update" default="true">
<label id="update">Update</label>
<icon>edit</icon>
</link>
<link id="start" mode="intern" target="/jobs?form_action=start&id=appng-scheduler_anotherJob">
<label id="start">Start</label>
<icon>start</icon>
</link>
<link id="delete" mode="intern" target="/jobs?form_action=delete&id=appng-scheduler_anotherJob">
<label id="delete">Delete</label>
<icon>delete</icon>
<confirmation id="confirm.delete.job" params="#{name}">Do you really want to delete the job "appng-scheduler_anotherJob"?</confirmation>
</link>
</linkpanel>
</result>
<result>
<field name="name" type="text">
<value>appng-scheduler_houseKeepingJob</value>
</field>
<field name="origin" type="text">
<value>appng-scheduler</value>
</field>
<field name="beanName" type="text">
<value>houseKeepingJob</value>
</field>
<field name="cronExpression" type="text">
<value>0 0/5 * * * ? 2042</value>
</field>
<field name="nextFireTime" type="date">
<value></value>
</field>
<field name="previousFireTime" type="date">
<value></value>
</field>
<field name="stateName" type="image">
<value>Available</value>
<icon type="class">led_green</icon>
</field>
<linkpanel id="schedule" location="inline">
<link id="schedule" mode="intern" target="/jobs?form_action=schedule&id=appng-scheduler_houseKeepingJob">
<label id="schedule">Activate</label>
<icon>schedule</icon>
</link>
</linkpanel>
<linkpanel id="actions" location="inline">
<link id="update" mode="intern" target="/jobs/update/appng-scheduler_houseKeepingJob#tab_update" default="true">
<label id="update">Update</label>
<icon>edit</icon>
</link>
<link id="start" mode="intern" target="/jobs?form_action=start&id=appng-scheduler_houseKeepingJob">
<label id="start">Start</label>
<icon>start</icon>
</link>
<link id="delete" mode="intern" target="/jobs?form_action=delete&id=appng-scheduler_houseKeepingJob">
<label id="delete">Delete</label>
<icon>delete</icon>
<confirmation id="confirm.delete.job" params="#{name}">Do you really want to delete the job "appng-scheduler_houseKeepingJob"?</confirmation>
</link>
</linkpanel>
</result>
<result>
<field name="name" type="text">
<value>appng-scheduler_indexJob</value>
</field>
<field name="origin" type="text">
<value>appng-scheduler</value>
</field>
<field name="beanName" type="text">
<value>indexJob</value>
</field>
<field name="cronExpression" type="text">
<value>0 0/5 * * * ? 2042</value>
</field>
<field name="nextFireTime" type="date">
<value>2042-01-01 00:00:00</value>
</field>
<field name="previousFireTime" type="date">
<value></value>
</field>
<field name="stateName" type="image">
<value>Scheduled</value>
<icon type="class">led_green</icon>
</field>
<linkpanel id="schedule" location="inline">
<link id="unschedule" mode="intern" target="/jobs?form_action=unschedule&id=appng-scheduler_indexJob">
<label id="unschedule">Deactivate</label>
<icon>unschedule</icon>
</link>
</linkpanel>
<linkpanel id="actions" location="inline">
<link id="update" mode="intern" target="/jobs/update/appng-scheduler_indexJob#tab_update" default="true">
<label id="update">Update</label>
<icon>edit</icon>
</link>
<link id="start" mode="intern" target="/jobs?form_action=start&id=appng-scheduler_indexJob">
<label id="start">Start</label>
<icon>start</icon>
</link>
<link id="delete" mode="intern" target="/jobs?form_action=delete&id=appng-scheduler_indexJob">
<label id="delete">Delete</label>
<icon>delete</icon>
<confirmation id="confirm.delete.job" params="#{name}">Do you really want to delete the job "appng-scheduler_indexJob"?</confirmation>
</link>
</linkpanel>
</result>
<result>
<field name="name" type="text">
<value>appng-scheduler_longRunningJob</value>
</field>
<field name="origin" type="text">
<value>appng-scheduler</value>
</field>
<field name="beanName" type="text">
<value>longRunningJob</value>
</field>
<field name="cronExpression" type="text">
<value>0 0/10 * 1/1 * ? *</value>
</field>
<field name="nextFireTime" type="date">
<value>2022-01-14 16:00:00</value>
</field>
<field name="previousFireTime" type="date">
<value>2022-01-14 15:50:00</value>
</field>
<field name="stateName" type="image">
<value>Scheduled</value>
<icon type="class">led_green</icon>
</field>
<linkpanel id="schedule" location="inline">
<link id="unschedule" mode="intern" target="/jobs?form_action=unschedule&id=appng-scheduler_longRunningJob">
<label id="unschedule">Deactivate</label>
<icon>unschedule</icon>
</link>
</linkpanel>
<linkpanel id="actions" location="inline">
<link id="update" mode="intern" target="/jobs/update/appng-scheduler_longRunningJob#tab_update" default="true">
<label id="update">Update</label>
<icon>edit</icon>
</link>
<link id="start" mode="intern" target="/jobs?form_action=start&id=appng-scheduler_longRunningJob">
<label id="start">Start</label>
<icon>start</icon>
</link>
<link id="delete" mode="intern" target="/jobs?form_action=delete&id=appng-scheduler_longRunningJob">
<label id="delete">Delete</label>
<icon>delete</icon>
<confirmation id="confirm.delete.job" params="#{name}">Do you really want to delete the job "appng-scheduler_longRunningJob"?</confirmation>
</link>
</linkpanel>
</result>
</resultset>
</data>
, org.custommonkey.xmlunit.Diff
[different] Expected presence of child nodes to be 'false' but was 'true' - comparing <value...> at /data[1]/resultset[1]/result[4]/field[6]/value[1] to <value...> at /data[1]/resultset[1]/result[4]/field[6]/value[1]
at org.appng.application.scheduler.SchedulingTest.testShowJobs(SchedulingTest.java:141)
[INFO] Running org.appng.application.scheduler.service.JobStateRestControllerTest
2022-01-14 15:50:03,904 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2022-01-14 15:50:03,904 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@37e9d191, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@53a3ccc, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@27ca8a5a, org.springframework.test.context.support.DirtiesContextTestExecutionListener@62604ed4, org.springframework.test.context.transaction.TransactionalTestExecutionListener@1bfc6e50, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@4f74edbf]
2022-01-14 15:50:03,916 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-01-14 15:50:03,981 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-01-14 15:50:04,040 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-01-14 15:50:04,055 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test-core.xml]
2022-01-14 15:50:04,067 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'server' with a different definition: replacing [Generic bean: class [org.appng.testsupport.persistence.HsqlServerFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=init; destroyMethodName=destroy; defined in class path resource [org/appng/testsupport/application-testcontext-jpa.xml]] with [Generic bean: class [java.lang.Object]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=true; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [beans-test-core.xml]]
2022-01-14 15:50:04,068 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'datasource' with a different definition: replacing [Generic bean: class [org.springframework.jdbc.datasource.DriverManagerDataSource]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [org/appng/testsupport/application-testcontext-jpa.xml]] with [Generic bean: class [org.springframework.jdbc.datasource.DriverManagerDataSource]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [beans-test-core.xml]]
2022-01-14 15:50:04,069 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@3c1f2651: startup date [Fri Jan 14 15:50:04 CET 2022]; root of context hierarchy
2022-01-14 15:50:04,110 WARN [main] org.springframework.context.annotation.ConfigurationClassEnhancer: @Bean method ApplicationTestConfig.CustomScopeConfigurer is non-static and returns an object assignable to Spring's BeanFactoryPostProcessor interface. This will result in a failure to process annotations such as @Autowired, @Resource and @PostConstruct within the method's declaring @Configuration class. Add the 'static' modifier to this method to avoid these container lifecycle issues; see @Bean javadoc for complete details.
2022-01-14 15:50:04,113 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-01-14 15:50:04,141 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-01-14 15:50:04,141 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2022-01-14 15:50:04,308 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2022-01-14 15:50:04,315 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2022-01-14 15:50:04,671 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2022-01-14 15:50:04,671 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-01-14 15:50:04,690 INFO [main] org.quartz.impl.StdSchedulerFactory: Using default implementation for ThreadExecutor
2022-01-14 15:50:04,699 INFO [main] org.quartz.core.SchedulerSignalerImpl: Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
2022-01-14 15:50:04,700 INFO [main] org.quartz.core.QuartzScheduler: Quartz Scheduler v.2.3.2 created.
2022-01-14 15:50:04,700 INFO [main] org.springframework.scheduling.quartz.LocalDataSourceJobStore: JobStoreCMT initialized.
2022-01-14 15:50:04,700 INFO [main] org.quartz.core.QuartzScheduler: Scheduler meta-data: Quartz Scheduler (v2.3.2) 'Scheduler_localhost' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 3 threads.
Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is not clustered.
2022-01-14 15:50:04,700 INFO [main] org.quartz.impl.StdSchedulerFactory: Quartz scheduler 'Scheduler_localhost' initialized from an externally provided properties instance.
2022-01-14 15:50:04,701 INFO [main] org.quartz.impl.StdSchedulerFactory: Quartz scheduler version: 2.3.2
2022-01-14 15:50:04,701 INFO [main] org.quartz.core.QuartzScheduler: JobFactory set to: org.appng.application.scheduler.quartz.SpringQuartzSchedulerFactory@5dcbdcb9
2022-01-14 15:50:04,909 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@3c1f2651: startup date [Fri Jan 14 15:50:04 CET 2022]; root of context hierarchy
2022-01-14 15:50:05,268 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [org/quartz/impl/jdbcjobstore/tables_hsqldb.sql]
2022-01-14 15:50:05,276 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [org/quartz/impl/jdbcjobstore/tables_hsqldb.sql] in 8 ms.
2022-01-14 15:50:05,281 INFO [main] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping: Mapped "{[/jobState/list],methods=[GET],produces=[application/json]}" onto public org.springframework.http.ResponseEntity<org.appng.scheduler.openapi.model.Jobs> org.appng.application.scheduler.service.JobStateRestController.getJobs(java.lang.Boolean,java.lang.Boolean,java.lang.Boolean)
2022-01-14 15:50:05,282 INFO [main] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping: Mapped "{[/jobState/{application}/{job}],methods=[GET],produces=[application/json]}" onto public org.springframework.http.ResponseEntity<org.appng.scheduler.openapi.model.JobState> org.appng.application.scheduler.service.JobStateRestController.getJobState(java.lang.String,java.lang.String,java.lang.Integer,java.lang.Boolean)
2022-01-14 15:50:05,282 INFO [main] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping: Mapped "{[/jobRecords],methods=[GET],produces=[application/json;charset=UTF-8]}" onto public org.springframework.http.ResponseEntity<java.util.List<org.appng.application.scheduler.model.JobRecord>> org.appng.application.scheduler.service.RecordsRestController.getJobRecords(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.Integer,java.util.List<java.lang.String>,org.appng.api.model.Application,org.appng.api.model.Site)
2022-01-14 15:50:05,287 INFO [main] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping: Mapped "{[/jobState/list],methods=[GET],produces=[application/json]}" onto public org.springframework.http.ResponseEntity<org.appng.scheduler.openapi.model.Jobs> org.appng.application.scheduler.service.JobStateRestController.getJobs(java.lang.Boolean,java.lang.Boolean,java.lang.Boolean)
2022-01-14 15:50:05,287 INFO [main] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping: Mapped "{[/jobState/{application}/{job}],methods=[GET],produces=[application/json]}" onto public org.springframework.http.ResponseEntity<org.appng.scheduler.openapi.model.JobState> org.appng.application.scheduler.service.JobStateRestController.getJobState(java.lang.String,java.lang.String,java.lang.Integer,java.lang.Boolean)
2022-01-14 15:50:05,288 INFO [main] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping: Mapped "{[/jobRecords],methods=[GET],produces=[application/json;charset=UTF-8]}" onto public org.springframework.http.ResponseEntity<java.util.List<org.appng.application.scheduler.model.JobRecord>> org.appng.application.scheduler.service.RecordsRestController.getJobRecords(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.Integer,java.util.List<java.lang.String>,org.appng.api.model.Application,org.appng.api.model.Site)
2022-01-14 15:50:05,374 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-01-14 15:50:05,492 INFO [main] org.springframework.test.web.servlet.setup.StandaloneMockMvcBuilder$StaticRequestMappingHandlerMapping: Mapped "{[/jobState/list],methods=[GET],produces=[application/json]}" onto public org.springframework.http.ResponseEntity<org.appng.scheduler.openapi.model.Jobs> org.appng.application.scheduler.service.JobStateRestController.getJobs(java.lang.Boolean,java.lang.Boolean,java.lang.Boolean)
2022-01-14 15:50:05,493 INFO [main] org.springframework.test.web.servlet.setup.StandaloneMockMvcBuilder$StaticRequestMappingHandlerMapping: Mapped "{[/jobState/{application}/{job}],methods=[GET],produces=[application/json]}" onto public org.springframework.http.ResponseEntity<org.appng.scheduler.openapi.model.JobState> org.appng.application.scheduler.service.JobStateRestController.getJobState(java.lang.String,java.lang.String,java.lang.Integer,java.lang.Boolean)
2022-01-14 15:50:05,592 INFO [main] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter: Looking for @ControllerAdvice: org.springframework.test.web.servlet.setup.StubWebApplicationContext@1502cd38
2022-01-14 15:50:05,667 INFO [main] org.springframework.mock.web.MockServletContext: Initializing Spring FrameworkServlet ''
2022-01-14 15:50:05,673 INFO [main] org.springframework.test.web.servlet.TestDispatcherServlet: FrameworkServlet '': initialization started
2022-01-14 15:50:05,677 INFO [main] org.springframework.test.web.servlet.TestDispatcherServlet: FrameworkServlet '': initialization completed in 3 ms
2022-01-14 15:50:05,693 INFO [main] org.appng.application.scheduler.SchedulerUtils: Created job: appng.appng-scheduler_longRunningJob
2022-01-14 15:50:05,704 INFO [main] org.appng.application.scheduler.SchedulerUtils: Created trigger 'appng.appng-scheduler_longRunningJob-crontrigger-982374553' for job 'appng.appng-scheduler_longRunningJob' with expression '0 0/10 * 1/1 * ? *'
2022-01-14 15:50:05,710 INFO [main] org.appng.application.scheduler.SchedulerUtils: Created job: appng.appng-scheduler_indexJob
2022-01-14 15:50:05,712 INFO [main] org.appng.application.scheduler.SchedulerUtils: Created job: appng.appng-scheduler_houseKeepingJob
2022-01-14 15:50:05,713 INFO [main] org.springframework.scheduling.quartz.LocalDataSourceJobStore: Freed 0 triggers from 'acquired' / 'blocked' state.
2022-01-14 15:50:05,714 INFO [main] org.springframework.scheduling.quartz.LocalDataSourceJobStore: Recovering 0 jobs that were in-progress at the time of the last shut-down.
2022-01-14 15:50:05,714 INFO [main] org.springframework.scheduling.quartz.LocalDataSourceJobStore: Recovery complete.
2022-01-14 15:50:05,714 INFO [main] org.springframework.scheduling.quartz.LocalDataSourceJobStore: Removed 0 'complete' triggers.
2022-01-14 15:50:05,714 INFO [main] org.springframework.scheduling.quartz.LocalDataSourceJobStore: Removed 0 stale fired job entries.
2022-01-14 15:50:05,714 INFO [main] org.quartz.core.QuartzScheduler: Scheduler Scheduler_localhost_$_NON_CLUSTERED started.
2022-01-14 15:50:06,039 INFO [main] org.springframework.test.web.servlet.setup.StandaloneMockMvcBuilder$StaticRequestMappingHandlerMapping: Mapped "{[/jobState/list],methods=[GET],produces=[application/json]}" onto public org.springframework.http.ResponseEntity<org.appng.scheduler.openapi.model.Jobs> org.appng.application.scheduler.service.JobStateRestController.getJobs(java.lang.Boolean,java.lang.Boolean,java.lang.Boolean)
2022-01-14 15:50:06,040 INFO [main] org.springframework.test.web.servlet.setup.StandaloneMockMvcBuilder$StaticRequestMappingHandlerMapping: Mapped "{[/jobState/{application}/{job}],methods=[GET],produces=[application/json]}" onto public org.springframework.http.ResponseEntity<org.appng.scheduler.openapi.model.JobState> org.appng.application.scheduler.service.JobStateRestController.getJobState(java.lang.String,java.lang.String,java.lang.Integer,java.lang.Boolean)
2022-01-14 15:50:06,054 INFO [main] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter: Looking for @ControllerAdvice: org.springframework.test.web.servlet.setup.StubWebApplicationContext@4f042c70
2022-01-14 15:50:06,061 INFO [main] org.springframework.mock.web.MockServletContext: Initializing Spring FrameworkServlet ''
2022-01-14 15:50:06,061 INFO [main] org.springframework.test.web.servlet.TestDispatcherServlet: FrameworkServlet '': initialization started
2022-01-14 15:50:06,061 INFO [main] org.springframework.test.web.servlet.TestDispatcherServlet: FrameworkServlet '': initialization completed in 0 ms
2022-01-14 15:50:06,070 INFO [main] org.quartz.core.QuartzScheduler: Scheduler Scheduler_localhost_$_NON_CLUSTERED started.
2022-01-14 15:50:06,107 INFO [main] org.springframework.test.web.servlet.setup.StandaloneMockMvcBuilder$StaticRequestMappingHandlerMapping: Mapped "{[/jobState/list],methods=[GET],produces=[application/json]}" onto public org.springframework.http.ResponseEntity<org.appng.scheduler.openapi.model.Jobs> org.appng.application.scheduler.service.JobStateRestController.getJobs(java.lang.Boolean,java.lang.Boolean,java.lang.Boolean)
2022-01-14 15:50:06,107 INFO [main] org.springframework.test.web.servlet.setup.StandaloneMockMvcBuilder$StaticRequestMappingHandlerMapping: Mapped "{[/jobState/{application}/{job}],methods=[GET],produces=[application/json]}" onto public org.springframework.http.ResponseEntity<org.appng.scheduler.openapi.model.JobState> org.appng.application.scheduler.service.JobStateRestController.getJobState(java.lang.String,java.lang.String,java.lang.Integer,java.lang.Boolean)
2022-01-14 15:50:06,122 INFO [main] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter: Looking for @ControllerAdvice: org.springframework.test.web.servlet.setup.StubWebApplicationContext@4e0b9055
2022-01-14 15:50:06,128 INFO [main] org.springframework.mock.web.MockServletContext: Initializing Spring FrameworkServlet ''
2022-01-14 15:50:06,128 INFO [main] org.springframework.test.web.servlet.TestDispatcherServlet: FrameworkServlet '': initialization started
2022-01-14 15:50:06,128 INFO [main] org.springframework.test.web.servlet.TestDispatcherServlet: FrameworkServlet '': initialization completed in 0 ms
2022-01-14 15:50:06,136 INFO [main] org.quartz.core.QuartzScheduler: Scheduler Scheduler_localhost_$_NON_CLUSTERED started.
2022-01-14 15:50:06,161 INFO [main] org.springframework.test.web.servlet.setup.StandaloneMockMvcBuilder$StaticRequestMappingHandlerMapping: Mapped "{[/jobState/list],methods=[GET],produces=[application/json]}" onto public org.springframework.http.ResponseEntity<org.appng.scheduler.openapi.model.Jobs> org.appng.application.scheduler.service.JobStateRestController.getJobs(java.lang.Boolean,java.lang.Boolean,java.lang.Boolean)
2022-01-14 15:50:06,161 INFO [main] org.springframework.test.web.servlet.setup.StandaloneMockMvcBuilder$StaticRequestMappingHandlerMapping: Mapped "{[/jobState/{application}/{job}],methods=[GET],produces=[application/json]}" onto public org.springframework.http.ResponseEntity<org.appng.scheduler.openapi.model.JobState> org.appng.application.scheduler.service.JobStateRestController.getJobState(java.lang.String,java.lang.String,java.lang.Integer,java.lang.Boolean)
2022-01-14 15:50:06,175 INFO [main] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter: Looking for @ControllerAdvice: org.springframework.test.web.servlet.setup.StubWebApplicationContext@2d739a6f
2022-01-14 15:50:06,181 INFO [main] org.springframework.mock.web.MockServletContext: Initializing Spring FrameworkServlet ''
2022-01-14 15:50:06,181 INFO [main] org.springframework.test.web.servlet.TestDispatcherServlet: FrameworkServlet '': initialization started
2022-01-14 15:50:06,181 INFO [main] org.springframework.test.web.servlet.TestDispatcherServlet: FrameworkServlet '': initialization completed in 0 ms
2022-01-14 15:50:06,190 INFO [main] org.quartz.core.QuartzScheduler: Scheduler Scheduler_localhost_$_NON_CLUSTERED started.
2022-01-14 15:50:06,205 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@3c1f2651: startup date [Fri Jan 14 15:50:04 CET 2022]; root of context hierarchy
2022-01-14 15:50:06,206 INFO [main] org.springframework.context.support.DefaultLifecycleProcessor: Stopping beans in phase 2147483647
2022-01-14 15:50:06,206 INFO [main] org.quartz.core.QuartzScheduler: Scheduler Scheduler_localhost_$_NON_CLUSTERED paused.
2022-01-14 15:50:06,209 INFO [main] org.springframework.scheduling.quartz.SchedulerFactoryBean: Shutting down Quartz Scheduler
2022-01-14 15:50:06,209 INFO [main] org.quartz.core.QuartzScheduler: Scheduler Scheduler_localhost_$_NON_CLUSTERED shutting down.
2022-01-14 15:50:06,209 INFO [main] org.quartz.core.QuartzScheduler: Scheduler Scheduler_localhost_$_NON_CLUSTERED paused.
2022-01-14 15:50:06,210 INFO [main] org.quartz.core.QuartzScheduler: Scheduler Scheduler_localhost_$_NON_CLUSTERED shutdown complete.
2022-01-14 15:50:06,210 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2022-01-14 15:50:06,210 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.302 s - in org.appng.application.scheduler.service.JobStateRestControllerTest
[INFO] Running org.appng.application.scheduler.DriverDelegateWrapperTest
2022-01-14 15:50:06,235 INFO [main] org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory: Starting embedded database: url='jdbc:hsqldb:mem:testdb', username='sa'
2022-01-14 15:50:06,247 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/init_quartz_tables.sql]
2022-01-14 15:50:06,253 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/init_quartz_tables.sql] in 6 ms.
2022-01-14 15:50:06,257 INFO [main] org.quartz.impl.jdbcjobstore.JobStoreTX: Using thread monitor-based data access locking (synchronization).
2022-01-14 15:50:06,257 INFO [main] org.quartz.impl.jdbcjobstore.JobStoreTX: JobStoreTX initialized.
2022-01-14 15:50:06,258 INFO [main] org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory: Starting embedded database: url='jdbc:hsqldb:mem:testdb', username='sa'
2022-01-14 15:50:06,258 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [sql/init_quartz_tables.sql]
2022-01-14 15:50:06,266 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [sql/init_quartz_tables.sql] in 8 ms.
2022-01-14 15:50:06,266 INFO [main] org.quartz.impl.jdbcjobstore.JobStoreTX: Using thread monitor-based data access locking (synchronization).
2022-01-14 15:50:06,266 INFO [main] org.quartz.impl.jdbcjobstore.JobStoreTX: JobStoreTX initialized.
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 s - in org.appng.application.scheduler.DriverDelegateWrapperTest
[INFO] Running org.appng.application.scheduler.business.TestJobRecordings
2022-01-14 15:50:06,278 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2022-01-14 15:50:06,279 INFO [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@31201bf6, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@4159113f, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@3333b099, org.springframework.test.context.support.DirtiesContextTestExecutionListener@281e2637, org.springframework.test.context.transaction.TransactionalTestExecutionListener@19507769, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@10095d95]
2022-01-14 15:50:06,284 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:application-home/beans.xml]
2022-01-14 15:50:06,316 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-core.xml]
2022-01-14 15:50:06,355 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2022-01-14 15:50:06,366 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [beans-test-core.xml]
2022-01-14 15:50:06,390 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'server' with a different definition: replacing [Generic bean: class [org.appng.testsupport.persistence.HsqlServerFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=init; destroyMethodName=destroy; defined in class path resource [org/appng/testsupport/application-testcontext-jpa.xml]] with [Generic bean: class [java.lang.Object]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=true; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [beans-test-core.xml]]
2022-01-14 15:50:06,394 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Overriding bean definition for bean 'datasource' with a different definition: replacing [Generic bean: class [org.springframework.jdbc.datasource.DriverManagerDataSource]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [org/appng/testsupport/application-testcontext-jpa.xml]] with [Generic bean: class [org.springframework.jdbc.datasource.DriverManagerDataSource]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [beans-test-core.xml]]
2022-01-14 15:50:06,394 INFO [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@3e909075: startup date [Fri Jan 14 15:50:06 CET 2022]; root of context hierarchy
2022-01-14 15:50:06,449 WARN [main] org.springframework.context.annotation.ConfigurationClassEnhancer: @Bean method ApplicationTestConfig.CustomScopeConfigurer is non-static and returns an object assignable to Spring's BeanFactoryPostProcessor interface. This will result in a failure to process annotations such as @Autowired, @Resource and @PostConstruct within the method's declaring @Configuration class. Add the 'static' modifier to this method to avoid these container lifecycle issues; see @Bean javadoc for complete details.
2022-01-14 15:50:06,450 INFO [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-01-14 15:50:06,475 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2022-01-14 15:50:06,476 INFO [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2022-01-14 15:50:06,548 INFO [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2022-01-14 15:50:06,554 INFO [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2022-01-14 15:50:07,002 INFO [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2022-01-14 15:50:07,004 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-01-14 15:50:07,026 INFO [main] org.quartz.impl.StdSchedulerFactory: Using default implementation for ThreadExecutor
2022-01-14 15:50:07,031 INFO [main] org.quartz.core.SchedulerSignalerImpl: Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
2022-01-14 15:50:07,032 INFO [main] org.quartz.core.QuartzScheduler: Quartz Scheduler v.2.3.2 created.
2022-01-14 15:50:07,032 INFO [main] org.springframework.scheduling.quartz.LocalDataSourceJobStore: JobStoreCMT initialized.
2022-01-14 15:50:07,032 INFO [main] org.quartz.core.QuartzScheduler: Scheduler meta-data: Quartz Scheduler (v2.3.2) 'Scheduler_localhost' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 3 threads.
Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is not clustered.
2022-01-14 15:50:07,032 INFO [main] org.quartz.impl.StdSchedulerFactory: Quartz scheduler 'Scheduler_localhost' initialized from an externally provided properties instance.
2022-01-14 15:50:07,032 INFO [main] org.quartz.impl.StdSchedulerFactory: Quartz scheduler version: 2.3.2
2022-01-14 15:50:07,032 INFO [main] org.quartz.core.QuartzScheduler: JobFactory set to: org.appng.application.scheduler.quartz.SpringQuartzSchedulerFactory@747d4d9a
2022-01-14 15:50:07,260 INFO [main] org.appng.core.domain.PlatformEventListener: Using application context org.springframework.context.support.GenericApplicationContext@3e909075: startup date [Fri Jan 14 15:50:06 CET 2022]; root of context hierarchy
2022-01-14 15:50:07,648 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executing SQL script from class path resource [org/quartz/impl/jdbcjobstore/tables_hsqldb.sql]
2022-01-14 15:50:07,657 INFO [main] org.springframework.jdbc.datasource.init.ScriptUtils: Executed SQL script from class path resource [org/quartz/impl/jdbcjobstore/tables_hsqldb.sql] in 9 ms.
2022-01-14 15:50:07,663 INFO [main] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping: Mapped "{[/jobState/list],methods=[GET],produces=[application/json]}" onto public org.springframework.http.ResponseEntity<org.appng.scheduler.openapi.model.Jobs> org.appng.application.scheduler.service.JobStateRestController.getJobs(java.lang.Boolean,java.lang.Boolean,java.lang.Boolean)
2022-01-14 15:50:07,664 INFO [main] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping: Mapped "{[/jobState/{application}/{job}],methods=[GET],produces=[application/json]}" onto public org.springframework.http.ResponseEntity<org.appng.scheduler.openapi.model.JobState> org.appng.application.scheduler.service.JobStateRestController.getJobState(java.lang.String,java.lang.String,java.lang.Integer,java.lang.Boolean)
2022-01-14 15:50:07,664 INFO [main] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping: Mapped "{[/jobRecords],methods=[GET],produces=[application/json;charset=UTF-8]}" onto public org.springframework.http.ResponseEntity<java.util.List<org.appng.application.scheduler.model.JobRecord>> org.appng.application.scheduler.service.RecordsRestController.getJobRecords(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.Integer,java.util.List<java.lang.String>,org.appng.api.model.Application,org.appng.api.model.Site)
2022-01-14 15:50:07,667 INFO [main] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping: Mapped "{[/jobState/list],methods=[GET],produces=[application/json]}" onto public org.springframework.http.ResponseEntity<org.appng.scheduler.openapi.model.Jobs> org.appng.application.scheduler.service.JobStateRestController.getJobs(java.lang.Boolean,java.lang.Boolean,java.lang.Boolean)
2022-01-14 15:50:07,667 INFO [main] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping: Mapped "{[/jobState/{application}/{job}],methods=[GET],produces=[application/json]}" onto public org.springframework.http.ResponseEntity<org.appng.scheduler.openapi.model.JobState> org.appng.application.scheduler.service.JobStateRestController.getJobState(java.lang.String,java.lang.String,java.lang.Integer,java.lang.Boolean)
2022-01-14 15:50:07,668 INFO [main] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping: Mapped "{[/jobRecords],methods=[GET],produces=[application/json;charset=UTF-8]}" onto public org.springframework.http.ResponseEntity<java.util.List<org.appng.application.scheduler.model.JobRecord>> org.appng.application.scheduler.service.RecordsRestController.getJobRecords(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.Integer,java.util.List<java.lang.String>,org.appng.api.model.Application,org.appng.api.model.Site)
2022-01-14 15:50:07,734 WARN [main] org.appng.api.support.RequestFactoryBean: invalid value for platform property 'uploadDir', folder 'null/target/uploads' does not exist!
2022-01-14 15:50:07,946 INFO [main] org.appng.application.scheduler.SchedulerUtils: Created job: localhost.appng-scheduler_longRunningJob
2022-01-14 15:50:07,951 INFO [main] org.appng.application.scheduler.SchedulerUtils: Created trigger 'localhost.appng-scheduler_longRunningJob-crontrigger-1430836676' for job 'localhost.appng-scheduler_longRunningJob' with expression '0 0/10 * 1/1 * ? *'
2022-01-14 15:50:07,952 INFO [main] org.appng.application.scheduler.SchedulerUtils: Created job: localhost.appng-scheduler_indexJob
2022-01-14 15:50:07,954 INFO [main] org.appng.application.scheduler.SchedulerUtils: Created job: localhost.appng-scheduler_houseKeepingJob
2022-01-14 15:50:07,954 INFO [main] org.springframework.scheduling.quartz.LocalDataSourceJobStore: Freed 0 triggers from 'acquired' / 'blocked' state.
2022-01-14 15:50:07,955 INFO [main] org.springframework.scheduling.quartz.LocalDataSourceJobStore: Recovering 0 jobs that were in-progress at the time of the last shut-down.
2022-01-14 15:50:07,955 INFO [main] org.springframework.scheduling.quartz.LocalDataSourceJobStore: Recovery complete.
2022-01-14 15:50:07,956 INFO [main] org.springframework.scheduling.quartz.LocalDataSourceJobStore: Removed 0 'complete' triggers.
2022-01-14 15:50:07,957 INFO [main] org.springframework.scheduling.quartz.LocalDataSourceJobStore: Removed 0 stale fired job entries.
2022-01-14 15:50:07,959 INFO [main] org.quartz.core.QuartzScheduler: Scheduler Scheduler_localhost_$_NON_CLUSTERED started.
2022-01-14 15:50:07,988 INFO [main] org.springframework.context.support.GenericApplicationContext: Closing org.springframework.context.support.GenericApplicationContext@3e909075: startup date [Fri Jan 14 15:50:06 CET 2022]; root of context hierarchy
2022-01-14 15:50:07,988 INFO [main] org.springframework.context.support.DefaultLifecycleProcessor: Stopping beans in phase 2147483647
2022-01-14 15:50:07,988 INFO [main] org.quartz.core.QuartzScheduler: Scheduler Scheduler_localhost_$_NON_CLUSTERED paused.
2022-01-14 15:50:07,990 INFO [main] org.springframework.scheduling.quartz.SchedulerFactoryBean: Shutting down Quartz Scheduler
2022-01-14 15:50:07,990 INFO [main] org.quartz.core.QuartzScheduler: Scheduler Scheduler_localhost_$_NON_CLUSTERED shutting down.
2022-01-14 15:50:07,991 INFO [main] org.quartz.core.QuartzScheduler: Scheduler Scheduler_localhost_$_NON_CLUSTERED paused.
2022-01-14 15:50:07,992 INFO [main] org.quartz.core.QuartzScheduler: Scheduler Scheduler_localhost_$_NON_CLUSTERED shutdown complete.
2022-01-14 15:50:07,992 INFO [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit 'default'
2022-01-14 15:50:07,993 INFO [main] org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl: HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.721 s - in org.appng.application.scheduler.business.TestJobRecordings
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] SchedulingTest.testShowJobs:141->TestBase.validate:529 XML does not match control XML
org.custommonkey.xmlunit.Diff
[different] Expected presence of child nodes to be 'false' but was 'true' - comparing <value...> at /data[1]/resultset[1]/result[4]/field[6]/value[1] to <value...> at /data[1]/resultset[1]/result[4]/field[6]/value[1]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<data xmlns="http://www.appng.org/schema/platform">
<resultset chunk="0" chunkname="jobs" chunksize="25" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="0" hits="4">
<result>
<field name="name" type="text">
<value>appng-scheduler_anotherJob</value>
</field>
<field name="origin" type="text">
<value>appng-scheduler</value>
</field>
<field name="beanName" type="text">
<value>indexJob</value>
</field>
<field name="cronExpression" type="text">
<value>0 0/20 * * * ? 2042</value>
</field>
<field name="nextFireTime" type="date">
<value>2042-01-01 00:00:00</value>
</field>
<field name="previousFireTime" type="date">
<value></value>
</field>
<field name="stateName" type="image">
<value>Scheduled</value>
<icon type="class">led_green</icon>
</field>
<linkpanel id="schedule" location="inline">
<link id="unschedule" mode="intern" target="/jobs?form_action=unschedule&id=appng-scheduler_anotherJob">
<label id="unschedule">Deactivate</label>
<icon>unschedule</icon>
</link>
</linkpanel>
<linkpanel id="actions" location="inline">
<link id="update" mode="intern" target="/jobs/update/appng-scheduler_anotherJob#tab_update" default="true">
<label id="update">Update</label>
<icon>edit</icon>
</link>
<link id="start" mode="intern" target="/jobs?form_action=start&id=appng-scheduler_anotherJob">
<label id="start">Start</label>
<icon>start</icon>
</link>
<link id="delete" mode="intern" target="/jobs?form_action=delete&id=appng-scheduler_anotherJob">
<label id="delete">Delete</label>
<icon>delete</icon>
<confirmation id="confirm.delete.job" params="#{name}">Do you really want to delete the job "appng-scheduler_anotherJob"?</confirmation>
</link>
</linkpanel>
</result>
<result>
<field name="name" type="text">
<value>appng-scheduler_houseKeepingJob</value>
</field>
<field name="origin" type="text">
<value>appng-scheduler</value>
</field>
<field name="beanName" type="text">
<value>houseKeepingJob</value>
</field>
<field name="cronExpression" type="text">
<value>0 0/5 * * * ? 2042</value>
</field>
<field name="nextFireTime" type="date">
<value></value>
</field>
<field name="previousFireTime" type="date">
<value></value>
</field>
<field name="stateName" type="image">
<value>Available</value>
<icon type="class">led_green</icon>
</field>
<linkpanel id="schedule" location="inline">
<link id="schedule" mode="intern" target="/jobs?form_action=schedule&id=appng-scheduler_houseKeepingJob">
<label id="schedule">Activate</label>
<icon>schedule</icon>
</link>
</linkpanel>
<linkpanel id="actions" location="inline">
<link id="update" mode="intern" target="/jobs/update/appng-scheduler_houseKeepingJob#tab_update" default="true">
<label id="update">Update</label>
<icon>edit</icon>
</link>
<link id="start" mode="intern" target="/jobs?form_action=start&id=appng-scheduler_houseKeepingJob">
<label id="start">Start</label>
<icon>start</icon>
</link>
<link id="delete" mode="intern" target="/jobs?form_action=delete&id=appng-scheduler_houseKeepingJob">
<label id="delete">Delete</label>
<icon>delete</icon>
<confirmation id="confirm.delete.job" params="#{name}">Do you really want to delete the job "appng-scheduler_houseKeepingJob"?</confirmation>
</link>
</linkpanel>
</result>
<result>
<field name="name" type="text">
<value>appng-scheduler_indexJob</value>
</field>
<field name="origin" type="text">
<value>appng-scheduler</value>
</field>
<field name="beanName" type="text">
<value>indexJob</value>
</field>
<field name="cronExpression" type="text">
<value>0 0/5 * * * ? 2042</value>
</field>
<field name="nextFireTime" type="date">
<value>2042-01-01 00:00:00</value>
</field>
<field name="previousFireTime" type="date">
<value></value>
</field>
<field name="stateName" type="image">
<value>Scheduled</value>
<icon type="class">led_green</icon>
</field>
<linkpanel id="schedule" location="inline">
<link id="unschedule" mode="intern" target="/jobs?form_action=unschedule&id=appng-scheduler_indexJob">
<label id="unschedule">Deactivate</label>
<icon>unschedule</icon>
</link>
</linkpanel>
<linkpanel id="actions" location="inline">
<link id="update" mode="intern" target="/jobs/update/appng-scheduler_indexJob#tab_update" default="true">
<label id="update">Update</label>
<icon>edit</icon>
</link>
<link id="start" mode="intern" target="/jobs?form_action=start&id=appng-scheduler_indexJob">
<label id="start">Start</label>
<icon>start</icon>
</link>
<link id="delete" mode="intern" target="/jobs?form_action=delete&id=appng-scheduler_indexJob">
<label id="delete">Delete</label>
<icon>delete</icon>
<confirmation id="confirm.delete.job" params="#{name}">Do you really want to delete the job "appng-scheduler_indexJob"?</confirmation>
</link>
</linkpanel>
</result>
<result>
<field name="name" type="text">
<value>appng-scheduler_longRunningJob</value>
</field>
<field name="origin" type="text">
<value>appng-scheduler</value>
</field>
<field name="beanName" type="text">
<value>longRunningJob</value>
</field>
<field name="cronExpression" type="text">
<value>0 0/10 * 1/1 * ? *</value>
</field>
<field name="nextFireTime" type="date">
<value>2022-01-14 16:00:00</value>
</field>
<field name="previousFireTime" type="date">
<value>2022-01-14 15:50:00</value>
</field>
<field name="stateName" type="image">
<value>Scheduled</value>
<icon type="class">led_green</icon>
</field>
<linkpanel id="schedule" location="inline">
<link id="unschedule" mode="intern" target="/jobs?form_action=unschedule&id=appng-scheduler_longRunningJob">
<label id="unschedule">Deactivate</label>
<icon>unschedule</icon>
</link>
</linkpanel>
<linkpanel id="actions" location="inline">
<link id="update" mode="intern" target="/jobs/update/appng-scheduler_longRunningJob#tab_update" default="true">
<label id="update">Update</label>
<icon>edit</icon>
</link>
<link id="start" mode="intern" target="/jobs?form_action=start&id=appng-scheduler_longRunningJob">
<label id="start">Start</label>
<icon>start</icon>
</link>
<link id="delete" mode="intern" target="/jobs?form_action=delete&id=appng-scheduler_longRunningJob">
<label id="delete">Delete</label>
<icon>delete</icon>
<confirmation id="confirm.delete.job" params="#{name}">Do you really want to delete the job "appng-scheduler_longRunningJob"?</confirmation>
</link>
</linkpanel>
</result>
</resultset>
</data>
, org.custommonkey.xmlunit.Diff
[different] Expected presence of child nodes to be 'false' but was 'true' - comparing <value...> at /data[1]/resultset[1]/result[4]/field[6]/value[1] to <value...> at /data[1]/resultset[1]/result[4]/field[6]/value[1]
[INFO]
[ERROR] Tests run: 19, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.602 s
[INFO] Finished at: 2022-01-14T15:50:08+01:00
[INFO] Final Memory: 68M/784M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test (default-test) on project appng-scheduler: There are test failures.
[ERROR]
[ERROR] Please refer to /var/lib/jenkins/workspace/appNG_Scheduler/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException