[Koha-bugs] [Bug 36012] New: ERM/Agreements_spec.ts is failing if run too slow (?)
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Feb 7 09:40:26 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36012
Bug ID: 36012
Summary: ERM/Agreements_spec.ts is failing if run too slow (?)
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Test Suite
Assignee: chris at bigballofwax.co.nz
Reporter: jonathan.druart+koha at gmail.com
QA Contact: testopia at bugs.koha-community.org
koha_1 | Running: ERM/Agreements_spec.ts
(3 of 13)
es_1 | {"type": "server", "timestamp": "2024-02-06T16:59:14,821Z",
"level": "WARN", "component": "o.e.c.r.a.DiskThresholdMonitor", "cluster.name":
"docker-cluster", "node.name": "9c98971d8b48", "message": "high disk watermark
[90%] exceeded on
[ZlMDdHYSRcqipOaGsczI_w][9c98971d8b48][/usr/share/elasticsearch/data/nodes/0]
free: 2.3gb[5.9%], shards will be relocated away from this node; currently
relocating away shards totalling [0] bytes; the node is expected to continue to
exceed the high disk watermark when these relocations are complete",
"cluster.uuid": "wwW7XQ57T-SNI8QrMEYbPA", "node.id": "ZlMDdHYSRcqipOaGsczI_w"
}
koha_1 | <?xml version="1.0" encoding="UTF-8"?>
koha_1 | <testsuites name="Mocha Tests" time="67.080" tests="5"
failures="1">
koha_1 | <testsuite name="Root Suite" timestamp="2024-02-06T16:59:06"
tests="0" file="t/cypress/integration/ERM/Agreements_spec.ts" time="0.000"
failures="0">
koha_1 | </testsuite>
koha_1 | <testsuite name="Agreement CRUD operations"
timestamp="2024-02-06T16:59:06" tests="5" time="67.047" failures="1">
koha_1 | <testcase name="Agreement CRUD operations List agreements"
time="0.000" classname="List agreements">
koha_1 | <failure message="Timed out retrying after 5000ms:
`cy.wait()` timed out waiting `5000ms` for the 4th request to the route:
`getActiveAgreements`. No request ever occurred.
koha_1 |
koha_1 | https://on.cypress.io/wait"
type="CypressError"><![CDATA[CypressError: Timed out retrying after 5000ms:
`cy.wait()` timed out waiting `5000ms` for the 4th request to the route:
`getActiveAgreements`. No request ever occurred.
koha_1 |
koha_1 | https://on.cypress.io/wait
koha_1 | at cypressErr
(http://localhost:8081/__cypress/runner/cypress_runner.js:75187:18)
koha_1 | at Object.errByPath
(http://localhost:8081/__cypress/runner/cypress_runner.js:75242:10)
koha_1 | at checkForXhr
(http://localhost:8081/__cypress/runner/cypress_runner.js:134821:84)
koha_1 | at <unknown>
(http://localhost:8081/__cypress/runner/cypress_runner.js:134844:28)
koha_1 | at tryCatcher
(http://localhost:8081/__cypress/runner/cypress_runner.js:1807:23)
koha_1 | at Promise.attempt.Promise.try
(http://localhost:8081/__cypress/runner/cypress_runner.js:4315:29)
koha_1 | at whenStable
(http://localhost:8081/__cypress/runner/cypress_runner.js:143192:68)
koha_1 | at <unknown>
(http://localhost:8081/__cypress/runner/cypress_runner.js:143133:14)
koha_1 | at tryCatcher
(http://localhost:8081/__cypress/runner/cypress_runner.js:1807:23)
koha_1 | at Promise._settlePromiseFromHandler
(http://localhost:8081/__cypress/runner/cypress_runner.js:1519:31)
koha_1 | at Promise._settlePromise
(http://localhost:8081/__cypress/runner/cypress_runner.js:1576:18)
koha_1 | at Promise._settlePromise0
(http://localhost:8081/__cypress/runner/cypress_runner.js:1621:10)
koha_1 | at Promise._settlePromises
(http://localhost:8081/__cypress/runner/cypress_runner.js:1701:18)
koha_1 | at Promise._fulfill
(http://localhost:8081/__cypress/runner/cypress_runner.js:1645:18)
koha_1 | at <unknown>
(http://localhost:8081/__cypress/runner/cypress_runner.js:5450:46)
koha_1 | From Your Spec Code:
koha_1 | at Context.eval
(webpack://koha/./t/cypress/integration/ERM/Agreements_spec.ts:119:11)]]></failure>
koha_1 | </testcase>
koha_1 | <testcase name="Agreement CRUD operations Add agreement"
time="30.510" classname="Add agreement">
koha_1 | </testcase>
koha_1 | <testcase name="Agreement CRUD operations Edit agreement"
time="6.377" classname="Edit agreement">
koha_1 | </testcase>
koha_1 | <testcase name="Agreement CRUD operations Show agreement"
time="4.285" classname="Show agreement">
koha_1 | </testcase>
koha_1 | <testcase name="Agreement CRUD operations Delete agreement"
time="8.038" classname="Delete agreement">
koha_1 | </testcase>
koha_1 | </testsuite>
koha_1 | </testsuites>
I do not recreate locally, is it because we need to extend the timeout?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list