[Koha-bugs] [Bug 36012] ERM/Agreements_spec.ts might be failing if run too slow

2024-05-27 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36012

--- Comment #30 from Katrin Fischer  ---
It looks like this just popped up on D12 again.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36012] ERM/Agreements_spec.ts might be failing if run too slow

2024-05-21 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36012

--- Comment #29 from Jonathan Druart  ---
You could have a look at one of the run (when running on a PTFS-E nodes), but I
don't think something else will be running at the same time.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36012] ERM/Agreements_spec.ts might be failing if run too slow

2024-05-17 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36012

--- Comment #28 from Matt Blenkinsop  ---
Agreed. Can we set the builds to allocate more CPU to the Cypress tests? That
might help reduce the issues as well but I'm not sure what other processes
would be running in parallel

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36012] ERM/Agreements_spec.ts might be failing if run too slow

2024-05-17 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36012

--- Comment #27 from Jonathan Druart  ---
(In reply to Matt Blenkinsop from comment #25)
> When I run ```yarn cypress run --spec
> t/cypress/integration/InfiniteScrollSelect_spec.ts --config video=false
> retries={runMode:3,openMode:0}``` I get a big reduction in the random
> failures even on 25% CPU

Not ideal, especially because it will impact all tests, but we could give it a
try.
However I think we should have runMode==openMode, there is no good reason to
have different behaviours for the two modes IMO.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36012] ERM/Agreements_spec.ts might be failing if run too slow

2024-05-16 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36012

--- Comment #26 from Katrin Fischer  ---
Thanks Matt for looking into this! I'd really love to see the random failures
reduced.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36012] ERM/Agreements_spec.ts might be failing if run too slow

2024-05-16 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36012

--- Comment #25 from Matt Blenkinsop  ---
I've been looking at the cypress failures today using CPULimit with the limit
set to 25%. When doing that in KTD I can get random failures quite easily.

I've tried various changes in the test files to try and prevent these failures
but nothing seems to be working. It seems to be CPU related and the tests
lagging beyond the timeout. We don't want to keep increasing the timeouts but
we could try adding retries to give the tests more chances at passing?

When I run ```yarn cypress run --spec
t/cypress/integration/InfiniteScrollSelect_spec.ts --config video=false
retries={runMode:3,openMode:0}``` I get a big reduction in the random failures
even on 25% CPU

Not a complete fix but it might improve things slightly

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36012] ERM/Agreements_spec.ts might be failing if run too slow

2024-05-15 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36012

--- Comment #24 from Jonathan Druart  ---
Run in a loop locally.

After 3 runs I got
CypressError: Timed out retrying after 1ms: `cy.wait()` timed out waiting
`1ms` for the 1st request to the route: `getPageTwo`. No request ever
occurred.

Same failure after 18 runs.

This is really unreliable. It's either the code or the tests but we must fix
this failure.

To debug we could try to remove the intercept/wait and rely on 500 licenses
existing in the DB, and see how it behaves.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36012] ERM/Agreements_spec.ts might be failing if run too slow

2024-05-15 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36012

--- Comment #23 from Jonathan Druart  ---
This is still failing!

Koha_Main/2906

koha_1   | 
koha_1   | 
koha_1   |   
koha_1   |   
koha_1   |   
koha_1   | 
koha_1   | 
koha_1   | 
koha_1   | 
koha_1   | 
koha_1   |   https://on.cypress.io/wait;
type="CypressError">
koha_1   | 
koha_1   | 
koha_1   | 
koha_1   |   
koha_1   | 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36012] ERM/Agreements_spec.ts might be failing if run too slow

2024-04-26 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36012

Katrin Fischer  changed:

   What|Removed |Added

   Keywords|RM_priority |

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36012] ERM/Agreements_spec.ts might be failing if run too slow

2024-03-22 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36012

--- Comment #22 from Katrin Fischer  ---
Pushed for 24.05!

Well done everyone, thank you!

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36012] ERM/Agreements_spec.ts might be failing if run too slow

2024-03-22 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36012

Katrin Fischer  changed:

   What|Removed |Added

 Status|Passed QA   |Pushed to master

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 36012] ERM/Agreements_spec.ts might be failing if run too slow

2024-03-22 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36012

Katrin Fischer  changed:

   What|Removed |Added

Summary|ERM/Agreements_spec.ts is   |ERM/Agreements_spec.ts
   |failing if run too slow (?) |might be failing if run too
   ||slow

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/