<table><tr><td style="">TallFurryMan edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-jf2epbxnsv5euej/">(Show Details)</a><br />TallFurryMan edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-clk4xtuxgepz5ea/">(Show Details)</a>
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D15073">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>- Move job startup from evaluateJobs to executeJob.<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
<br />
The big change in this differential is that the first job is executed AFTER the observatory starts up.<br />
This makes Ekos take control of the observatory at the moment the Scheduler is started, with device connections and setup unparks.<br />
The advantage of this method is that any device issue will fire when the end-user presses the start button, not a few hours later when the Scheduler wakes up.</span></div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>This will be replaced later by one single checkbox with that specific meaning.<br />
<br />
<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">BUG - </span>Observe that if "Park Mount" is unchecked, the mount is NOT unparked at the end of the procedure.<div style="padding: 8px 0;">...</div>During that test, a remote indiserver is easier to test with, and allows for various test cases with the network.<br />
<br />
<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">BUG - </span>Observ<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">e</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">e the issue</span> that Scheduler is unable to handle the case of a single device being disconnected<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">. Later fix is required</span>.<div style="padding: 8px 0;">...</div>- Check that situation cannot be recovered.<br />
<br />
<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">BUG - </span>Observ<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">e</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">e the issue</span> that while Guider notices mount is parking, guiding is resumed by stubborn Scheduler, and successfully guides when close to the pole because of the lower slew speed.<br />
This is obviously an edge case, and probably cannot be considered a valid test case as a mount that is parking may not answer to guide commands. Simulator does.<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
<br />
Next test requires the Dome Simulator, and two distant jobs - one that executes now, one that executes later on (repeated duplicate is ok).<br />
<br />
- Remove the capture storage.<br />
- Check Unpark Dome, Unpark Mount.<br />
- Start Scheduler, check jobs/Ekos/INDI are started, wait for the end of the first job.<br />
- Check that Scheduler shuts observatory down if job is farther than preemptive shutdown delay and that option is set.<br />
- Check that Scheduler parks the setup then sleeps if job is farther than lead time.<br />
- Check that Scheduler waits if job is sooner than lead time.<br />
- Abort Scheduler, remove capture storage.<br />
- Uncheck Unpark Dome, Unpark Mount, and pay attention to current state of those.<br />
- Start Scheduler, check jobs/Ekos/INDI are started, wait for the end of the first job.<br />
- Check that Scheduler shuts observatory down if job is farther than preemptive shutdown delay and that option is set.<br />
- Check that Scheduler does not park the setup then sleeps if job is farther than lead time.<br />
- Check that Scheduler waits if job is sooner than lead time.<br />
<br />
BUG - Observe the issue that if Unpark Dome is not checked, Scheduler is unable to unpark the dome device.<br />
The issue was fixed for the mount device, but is probably the same for the dome and needs to be revisited.<br />
<br />
BUG - Observe the issue that if Unpark options are checked, and the first job is farther than the lead time, Scheduler will open the dome, then either shut the dome<br />
immediately if preemptive shutdown is enabled, or leave the dome open while sleeping.<br />
</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R321 KStars</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D15073">https://phabricator.kde.org/D15073</a></div></div><br /><div><strong>To: </strong>TallFurryMan, mutlaqja, wreissenberger<br /><strong>Cc: </strong>kde-edu, narvaez, apol<br /></div>