Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Assert desktop-runner is ready before sending 'ret' #5303

Closed

Conversation

SergioAtSUSE
Copy link
Member

Avoid race condition by asserting that desktop-runner is ready before sending 'ret'.

@okurz
Copy link
Member

okurz commented Jun 28, 2018

I don't understand why we should need this, maybe you can explain in more details (in person is also ok)

@SergioAtSUSE
Copy link
Member Author

SergioAtSUSE commented Jun 28, 2018

Investigating the unstable tests I realized that the 'ret' key was sent too early. While I agree that solving the force_cron_run first is better to remove those affected from the TO DO list, I haven't encounter any maintenance task running on the failed jobs in my last statistical investigation.

Statistical investigation was:

Verification with my changes:

  • kde
  • gnome (any better idea to check that on gnome?):

@okurz
Copy link
Member

okurz commented Jul 2, 2018

tricky. Of course you are right that force_cron_run and desktop_runner are impacting each other but desktop_runner should also be stable by itself. Currently I can not access your verification runs.

I don't understand why you think https://openqa.opensuse.org/tests/697366#step/desktop_runner/1 is not enough to ensure that the desktop runner is ready or I don't understand your change, sorry :(

@SergioAtSUSE
Copy link
Member Author

In the link you show (https://openqa.opensuse.org/tests/697366#step/desktop_runner/1), desktop runner is ready to type on it, but not ready to press 'ret'. 'ret' is pressed before the program is shown on the list.

@okurz
Copy link
Member

okurz commented Jul 4, 2018

Ah, I see. The problem is that I designed the desktop_runner test module in a way that it does not rely on the suggestions table to be computed because it can take so long and therefore make the test fail. So the idea was that we just call alt-f2, type something and abort. Your change is kind of trying the opposite. I don't know what to do better then right now. Maybe we can think of something better together …

@okurz
Copy link
Member

okurz commented Jul 18, 2018

I consider #5409 a better alternative, please see if it is ok for you

@SergioAtSUSE SergioAtSUSE deleted the improve_desktop_runner branch July 19, 2018 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants