[Koha-bugs] [Bug 34301] New: Agreements_spec.ts is failing randomly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 18 09:20:36 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34301

            Bug ID: 34301
           Summary: Agreements_spec.ts is failing randomly
 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
            Blocks: 25551

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 at 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>


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25551
[Bug 25551] [OMNIBUS] Some tests are failing randomly
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list