Bug 34301 - Agreements_spec.ts is failing randomly
Summary: Agreements_spec.ts is failing randomly
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Test Suite (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low normal (vote)
Assignee: Chris Cormack
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks: 25551
  Show dependency treegraph
 
Reported: 2023-07-18 07:20 UTC by Jonathan Druart
Modified: 2024-02-14 15:30 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Druart 2023-07-18 07:20:36 UTC
koha_1       |   Running:  ERM/Agreements_spec.ts                                                          (1 of 6)
koha_1       | [11894:0713/195038.469535:ERROR:cert_verify_proc_builtin.cc(681)] CertVerifyProcBuiltin for redirector.gvt1.com failed:
koha_1       | ----- Certificate i=0 (OU=Cypress Proxy Server Certificate,O=Cypress Proxy CA,L=Internet,ST=Internet,C=Internet,CN=redirector.gvt1.com) -----
koha_1       | ERROR: No matching issuer found
koha_1       | 
koha_1       | 
koha_1       | [11894:0713/195039.293777:ERROR:cert_verify_proc_builtin.cc(681)] CertVerifyProcBuiltin for r2---sn-4g5ednsd.gvt1.com failed:
koha_1       | ----- Certificate i=0 (OU=Cypress Proxy Server Certificate,O=Cypress Proxy CA,L=Internet,ST=Internet,C=Internet,CN=r2---sn-4g5ednsd.gvt1.com) -----
koha_1       | ERROR: No matching issuer found
koha_1       | 
koha_1       | 
koha_1       | Browserslist: caniuse-lite is outdated. Please run:
koha_1       | npx browserslist@latest --update-db
koha_1       | 
koha_1       | Why you should do it regularly:
koha_1       | https://github.com/browserslist/browserslist#browsers-data-updating
koha_1       | <?xml version="1.0" encoding="UTF-8"?>
koha_1       | <testsuites name="Mocha Tests" time="38.2310" tests="5" failures="1">
koha_1       |   <testsuite name="Root Suite" timestamp="2023-07-13T19:50:41" tests="0" file="t/cypress/integration/ERM/Agreements_spec.ts" time="0.0000" failures="0">
koha_1       |   </testsuite>
koha_1       |   <testsuite name="Agreement CRUD operations" timestamp="2023-07-13T19:50:41" tests="5" time="38.2310" failures="1">
koha_1       |     <testcase name="Agreement CRUD operations List agreements" time="11.1430" classname="List agreements">
koha_1       |     </testcase>
koha_1       |     <testcase name="Agreement CRUD operations Add agreement" time="15.8900" classname="Add agreement">
koha_1       |     </testcase>
koha_1       |     <testcase name="Agreement CRUD operations Edit agreement" time="0.0000" classname="Edit agreement">
koha_1       |       <failure message="Timed out retrying after 5000ms: `cy.wait()` timed out waiting `5000ms` for the 1st request to the route: `get-single-agreement-search-result`. 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 1st request to the route: `get-single-agreement-search-result`. No request ever occurred.
koha_1       | 
koha_1       | https://on.cypress.io/wait
koha_1       |     at cypressErr (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:181711:18)
koha_1       |     at Object.errByPath (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:181780:10)
koha_1       |     at checkForXhr (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:167411:92)
koha_1       |     at http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:167434:28
koha_1       |     at tryCatcher (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:13022:23)
koha_1       |     at Function.Promise.attempt.Promise.try (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:10296:29)
koha_1       |     at whenStable (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:173835:65)
koha_1       |     at http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:173290:14
koha_1       |     at tryCatcher (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:13022:23)
koha_1       |     at Promise._settlePromiseFromHandler (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:10957:31)
koha_1       |     at Promise._settlePromise (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:11014:18)
koha_1       |     at Promise._settlePromise0 (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:11059:10)
koha_1       |     at Promise._settlePromises (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:11139:18)
koha_1       |     at Promise._fulfill (http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:11083:18)
koha_1       |     at http://kohadev-intra.mydnsname.org:8081/__cypress/runner/cypress_runner.js:12697:46
koha_1       | From Your Spec Code:
koha_1       |     at Context.eval (http://kohadev-intra.mydnsname.org:8081/__cypress/tests?p=t/cypress/integration/ERM/Agreements_spec.ts:466:12)]]></failure>
koha_1       |     </testcase>
koha_1       |     <testcase name="Agreement CRUD operations Show agreement" time="6.0050" classname="Show agreement">
koha_1       |     </testcase>
koha_1       |     <testcase name="Agreement CRUD operations Delete agreement" time="5.1930" classname="Delete agreement">
koha_1       |     </testcase>
koha_1       |   </testsuite>
koha_1       | </testsuites>
Comment 1 Jonathan Druart 2023-07-18 07:21:37 UTC
Koha_Master/2586 on Docker_8
Comment 2 Jonathan Druart 2023-07-18 08:55:29 UTC
Related discussion on IRC - https://irc.koha-community.org/koha/2023-07-18#i_2498596