Regression
org.appng.application.scheduler.business.TestJobRecordings.testJobDetails
Failing for the past 1 build
(Since Failed )
Error Message
XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected text value '{ "SCHEDULED_JOB" : "org.appng.application.scheduler.job.LongRunningJob", "cronExpression" : "0 0/10 * 1/1 * ? *", "enabled" : true, "forceState" : "true", "jobBeanName" : "longRunningJob", "origin" : "appng-scheduler", "siteName" : "localhost" }' but was '{ "SCHEDULED_JOB" : "org.appng.application.scheduler.job.LongRunningJob", "cronExpression" : "0 0/10 * 1/1 * ? *", "enabled" : true, "forceState" : true, "jobBeanName" : "longRunningJob", "origin" : "appng-scheduler", "siteName" : "localhost", "thresholdError" : 5, "thresholdTimeunit" : "DAY" }' - comparing <value ...>{ "SCHEDULED_JOB" : "org.appng.application.scheduler.job.LongRunningJob", "cronExpression" : "0 0/10 * 1/1 * ? *", "enabled" : true, "forceState" : "true", "jobBeanName" : "longRunningJob", "origin" : "appng-scheduler", "siteName" : "localhost" }</value> at /datasource[1]/data[1]/result[1]/field[4]/value[1]/text()[1] to <value ...>{ "SCHEDULED_JOB" : "org.appng.application.scheduler.job.LongRunningJob", "cronExpression" : "0 0/10 * 1/1 * ? *", "enabled" : true, "forceState" : true, "jobBeanName" : "longRunningJob", "origin" : "appng-scheduler", "siteName" : "localhost", "thresholdError" : 5, "thresholdTimeunit" : "DAY" }</value> at /datasource[1]/data[1]/result[1]/field[4]/value[1]/text()[1] <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <datasource xmlns="http://www.appng.org/schema/platform" id="job"> <config> <title id="jobs">Jobs</title> <params> <param name="id">appng-scheduler_longRunningJob</param> </params> <meta-data bindClass="org.appng.application.scheduler.model.JobModel"> <field name="name" type="text" readonly="true" binding="name"> <label id="name">Name</label> </field> <field name="cronExpression" type="text" binding="cronExpression"> <label id="cronExpression">Cron-Expression</label> </field> <field name="description" type="longtext" binding="description"> <label id="description">Description</label> </field> <field name="jobData" type="longtext" format="preformatted" readonly="true" binding="jobData"> <label id="jobdata">Job Data</label> </field> </meta-data> </config> <data> <result> <field name="name" type="text"> <value>appng-scheduler_longRunningJob</value> </field> <field name="cronExpression" type="text"> <value>0 0/10 * 1/1 * ? *</value> </field> <field name="description" type="longtext"> <value></value> </field> <field name="jobData" type="longtext"> <value>{ "SCHEDULED_JOB" : "org.appng.application.scheduler.job.LongRunningJob", "cronExpression" : "0 0/10 * 1/1 * ? *", "enabled" : true, "forceState" : true, "jobBeanName" : "longRunningJob", "origin" : "appng-scheduler", "siteName" : "localhost", "thresholdError" : 5, "thresholdTimeunit" : "DAY" }</value> </field> </result> </data> </datasource> , org.custommonkey.xmlunit.Diff [different] Expected text value '{ "SCHEDULED_JOB" : "org.appng.application.scheduler.job.LongRunningJob", "cronExpression" : "0 0/10 * 1/1 * ? *", "enabled" : true, "forceState" : "true", "jobBeanName" : "longRunningJob", "origin" : "appng-scheduler", "siteName" : "localhost" }' but was '{ "SCHEDULED_JOB" : "org.appng.application.scheduler.job.LongRunningJob", "cronExpression" : "0 0/10 * 1/1 * ? *", "enabled" : true, "forceState" : true, "jobBeanName" : "longRunningJob", "origin" : "appng-scheduler", "siteName" : "localhost", "thresholdError" : 5, "thresholdTimeunit" : "DAY" }' - comparing <value ...>{ "SCHEDULED_JOB" : "org.appng.application.scheduler.job.LongRunningJob", "cronExpression" : "0 0/10 * 1/1 * ? *", "enabled" : true, "forceState" : "true", "jobBeanName" : "longRunningJob", "origin" : "appng-scheduler", "siteName" : "localhost" }</value> at /datasource[1]/data[1]/result[1]/field[4]/value[1]/text()[1] to <value ...>{ "SCHEDULED_JOB" : "org.appng.application.scheduler.job.LongRunningJob", "cronExpression" : "0 0/10 * 1/1 * ? *", "enabled" : true, "forceState" : true, "jobBeanName" : "longRunningJob", "origin" : "appng-scheduler", "siteName" : "localhost", "thresholdError" : 5, "thresholdTimeunit" : "DAY" }</value> at /datasource[1]/data[1]/result[1]/field[4]/value[1]/text()[1]
Stacktrace
junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected text value '{ "SCHEDULED_JOB" : "org.appng.application.scheduler.job.LongRunningJob", "cronExpression" : "0 0/10 * 1/1 * ? *", "enabled" : true, "forceState" : "true", "jobBeanName" : "longRunningJob", "origin" : "appng-scheduler", "siteName" : "localhost" }' but was '{ "SCHEDULED_JOB" : "org.appng.application.scheduler.job.LongRunningJob", "cronExpression" : "0 0/10 * 1/1 * ? *", "enabled" : true, "forceState" : true, "jobBeanName" : "longRunningJob", "origin" : "appng-scheduler", "siteName" : "localhost", "thresholdError" : 5, "thresholdTimeunit" : "DAY" }' - comparing <value ...>{ "SCHEDULED_JOB" : "org.appng.application.scheduler.job.LongRunningJob", "cronExpression" : "0 0/10 * 1/1 * ? *", "enabled" : true, "forceState" : "true", "jobBeanName" : "longRunningJob", "origin" : "appng-scheduler", "siteName" : "localhost" }</value> at /datasource[1]/data[1]/result[1]/field[4]/value[1]/text()[1] to <value ...>{ "SCHEDULED_JOB" : "org.appng.application.scheduler.job.LongRunningJob", "cronExpression" : "0 0/10 * 1/1 * ? *", "enabled" : true, "forceState" : true, "jobBeanName" : "longRunningJob", "origin" : "appng-scheduler", "siteName" : "localhost", "thresholdError" : 5, "thresholdTimeunit" : "DAY" }</value> at /datasource[1]/data[1]/result[1]/field[4]/value[1]/text()[1] <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <datasource xmlns="http://www.appng.org/schema/platform" id="job"> <config> <title id="jobs">Jobs</title> <params> <param name="id">appng-scheduler_longRunningJob</param> </params> <meta-data bindClass="org.appng.application.scheduler.model.JobModel"> <field name="name" type="text" readonly="true" binding="name"> <label id="name">Name</label> </field> <field name="cronExpression" type="text" binding="cronExpression"> <label id="cronExpression">Cron-Expression</label> </field> <field name="description" type="longtext" binding="description"> <label id="description">Description</label> </field> <field name="jobData" type="longtext" format="preformatted" readonly="true" binding="jobData"> <label id="jobdata">Job Data</label> </field> </meta-data> </config> <data> <result> <field name="name" type="text"> <value>appng-scheduler_longRunningJob</value> </field> <field name="cronExpression" type="text"> <value>0 0/10 * 1/1 * ? *</value> </field> <field name="description" type="longtext"> <value></value> </field> <field name="jobData" type="longtext"> <value>{ "SCHEDULED_JOB" : "org.appng.application.scheduler.job.LongRunningJob", "cronExpression" : "0 0/10 * 1/1 * ? *", "enabled" : true, "forceState" : true, "jobBeanName" : "longRunningJob", "origin" : "appng-scheduler", "siteName" : "localhost", "thresholdError" : 5, "thresholdTimeunit" : "DAY" }</value> </field> </result> </data> </datasource> , org.custommonkey.xmlunit.Diff [different] Expected text value '{ "SCHEDULED_JOB" : "org.appng.application.scheduler.job.LongRunningJob", "cronExpression" : "0 0/10 * 1/1 * ? *", "enabled" : true, "forceState" : "true", "jobBeanName" : "longRunningJob", "origin" : "appng-scheduler", "siteName" : "localhost" }' but was '{ "SCHEDULED_JOB" : "org.appng.application.scheduler.job.LongRunningJob", "cronExpression" : "0 0/10 * 1/1 * ? *", "enabled" : true, "forceState" : true, "jobBeanName" : "longRunningJob", "origin" : "appng-scheduler", "siteName" : "localhost", "thresholdError" : 5, "thresholdTimeunit" : "DAY" }' - comparing <value ...>{ "SCHEDULED_JOB" : "org.appng.application.scheduler.job.LongRunningJob", "cronExpression" : "0 0/10 * 1/1 * ? *", "enabled" : true, "forceState" : "true", "jobBeanName" : "longRunningJob", "origin" : "appng-scheduler", "siteName" : "localhost" }</value> at /datasource[1]/data[1]/result[1]/field[4]/value[1]/text()[1] to <value ...>{ "SCHEDULED_JOB" : "org.appng.application.scheduler.job.LongRunningJob", "cronExpression" : "0 0/10 * 1/1 * ? *", "enabled" : true, "forceState" : true, "jobBeanName" : "longRunningJob", "origin" : "appng-scheduler", "siteName" : "localhost", "thresholdError" : 5, "thresholdTimeunit" : "DAY" }</value> at /datasource[1]/data[1]/result[1]/field[4]/value[1]/text()[1] at org.appng.application.scheduler.business.TestJobRecordings.testJobDetails(TestJobRecordings.java:94)
Standard Output
2021-09-24 09:51:29,577 INFO [main] org.appng.application.scheduler.SchedulerUtils: Created job: localhost.appng-scheduler_longRunningJob 2021-09-24 09:51:29,710 INFO [main] org.appng.application.scheduler.SchedulerUtils: Created trigger 'localhost.appng-scheduler_longRunningJob-crontrigger-1311212526' for job 'localhost.appng-scheduler_longRunningJob' with expression '0 0/10 * 1/1 * ? *' 2021-09-24 09:51:29,739 INFO [main] org.appng.application.scheduler.SchedulerUtils: Created job: localhost.appng-scheduler_indexJob 2021-09-24 09:51:29,788 INFO [main] org.appng.application.scheduler.SchedulerUtils: Created job: localhost.appng-scheduler_houseKeepingJob 2021-09-24 09:51:29,895 INFO [main] org.springframework.scheduling.quartz.LocalDataSourceJobStore: Freed 0 triggers from 'acquired' / 'blocked' state. 2021-09-24 09:51:29,908 INFO [main] org.springframework.scheduling.quartz.LocalDataSourceJobStore: Recovering 0 jobs that were in-progress at the time of the last shut-down. 2021-09-24 09:51:29,908 INFO [main] org.springframework.scheduling.quartz.LocalDataSourceJobStore: Recovery complete. 2021-09-24 09:51:29,917 INFO [main] org.springframework.scheduling.quartz.LocalDataSourceJobStore: Removed 0 'complete' triggers. 2021-09-24 09:51:29,917 INFO [main] org.springframework.scheduling.quartz.LocalDataSourceJobStore: Removed 0 stale fired job entries. 2021-09-24 09:51:29,918 INFO [main] org.quartz.core.QuartzScheduler: Scheduler Scheduler_localhost_$_NON_CLUSTERED started.