Bug 440031 - Job in Ekos scheduler marked as invalid
Summary: Job in Ekos scheduler marked as invalid
Status: RESOLVED WORKSFORME
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: 3.5.4
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Jasem Mutlaq
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-19 09:17 UTC by Ferran
Modified: 2022-11-09 05:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
2 jobs scheduled by time. (31.45 KB, image/png)
2021-07-19 09:17 UTC, Ferran
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ferran 2021-07-19 09:17:00 UTC
Created attachment 140180 [details]
2 jobs scheduled by time.

SUMMARY
In Ekos, when scheduling 2 jobs with start up on start time it labels as invalid the first one as 'unachievable due to the completion time of its previous sibling, marking invalid.', but it isn't. See screen capture.

STEPS TO REPRODUCE
1. Open EKOS and start simulators.
2. Add a job in the scheduler with a start time (i.e. 22:00) with a short (dummmy) sequence lasting 1 or 2 minutes
3. Add another job with start time 15 minutes later (i.e. 22:15). 

OBSERVED RESULT
The first one is mark as invalid.

EXPECTED RESULT
Both jobs must be scheduled

SOFTWARE/OS VERSIONS
Windows: --
macOS: 10.15.7
Linux/KDE Plasma: --
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

If the 'invalid' jobs is selected and the priority is modified, then both jobs are mark as scheduled. This is a workaround for 2 jobs, but when you add 3, 4 or 5 jobs, this workaround didn't work.
Comment 1 Dave 2021-08-19 10:10:00 UTC
I am getting the same bug. The workaround for 3+ jobs in the scheduler works for me, though it does take more trial and error to find the multiple various priorities that allow all of the jobs to be successfully scheduled. I haven't tried it with more than 6 jobs though.
Comment 2 Ferran 2021-08-19 10:21:58 UTC
(In reply to Dave from comment #1)
> I am getting the same bug. The workaround for 3+ jobs in the scheduler works
> for me, though it does take more trial and error to find the multiple
> various priorities that allow all of the jobs to be successfully scheduled.
> I haven't tried it with more than 6 jobs though.

Hi dave,

I found another workaround. In Options/Ekos/Scheduler, uncheck "Sort Jobs by Altitud and Priority". Then you can sort the jobs manually.
Comment 3 Jasem Mutlaq 2022-10-10 06:27:44 UTC
Please check against KStars 3.6.1 and report back.
Comment 4 Bug Janitor Service 2022-10-25 05:01:00 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2022-11-09 05:12:22 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!