Skip to content

Regression

org.appng.application.scheduler.SchedulingTest.testShowJobs

Failing for the past 1 build (Since Failed#108 )
Took 0.26 sec.

Error Message

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&amp;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&amp;id=appng-scheduler_anotherJob">
                    <label id="start">Start</label>
                    <icon>start</icon>
                </link>
                <link id="delete" mode="intern" target="/jobs?form_action=delete&amp;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&amp;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&amp;id=appng-scheduler_houseKeepingJob">
                    <label id="start">Start</label>
                    <icon>start</icon>
                </link>
                <link id="delete" mode="intern" target="/jobs?form_action=delete&amp;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&amp;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&amp;id=appng-scheduler_indexJob">
                    <label id="start">Start</label>
                    <icon>start</icon>
                </link>
                <link id="delete" mode="intern" target="/jobs?form_action=delete&amp;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&amp;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&amp;id=appng-scheduler_longRunningJob">
                    <label id="start">Start</label>
                    <icon>start</icon>
                </link>
                <link id="delete" mode="intern" target="/jobs?form_action=delete&amp;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]

Stacktrace

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&amp;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&amp;id=appng-scheduler_anotherJob">
                    <label id="start">Start</label>
                    <icon>start</icon>
                </link>
                <link id="delete" mode="intern" target="/jobs?form_action=delete&amp;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&amp;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&amp;id=appng-scheduler_houseKeepingJob">
                    <label id="start">Start</label>
                    <icon>start</icon>
                </link>
                <link id="delete" mode="intern" target="/jobs?form_action=delete&amp;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&amp;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&amp;id=appng-scheduler_indexJob">
                    <label id="start">Start</label>
                    <icon>start</icon>
                </link>
                <link id="delete" mode="intern" target="/jobs?form_action=delete&amp;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&amp;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&amp;id=appng-scheduler_longRunningJob">
                    <label id="start">Start</label>
                    <icon>start</icon>
                </link>
                <link id="delete" mode="intern" target="/jobs?form_action=delete&amp;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)

Standard Output

2022-01-14 15:50:02,944 INFO  [main] org.quartz.core.QuartzScheduler: Scheduler Scheduler_localhost_$_NON_CLUSTERED started.