Page MenuHomeSoftware Heritage

Jenkins > "before each" hook for "should list all files with changes"::Tests / Cypress tests / Run cypress tests / Test Diffs View "before each" hook for "should list all files with changes"
Failed

TEST RESULT

Run At
Sep 4 2020, 2:45 PM
Details
CypressError: `cy.request()` failed on: http://localhost:5004/browse/revision/98c65dad5e47ad888032b6cdf556f192e0e028d0/diff/?origin_url=https://github.com/memononen/libtess2&revision=98c65dad5e47ad888032b6cdf556f192e0e028d0 The response we received from your web server was: > 500: Server Error This was considered a failure because the status code was not `2xx` or `3xx`. If you do not want status codes to cause failures pass the option: `failOnStatusCode: false` ----------------------------------------------------------- The request we sent was: Method: GET URL: http://localhost:5004/browse/revision/98c65dad5e47ad888032b6cdf556f192e0e028d0/diff/?origin_url=https://github.com/memononen/libtess2&revision=98c65dad5e47ad888032b6cdf556f192e0e028d0 Headers: { "Connection": "keep-alive", "user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/5.1.0 Chrome/83.0.4103.122 Electron/9.2.1 Safari/537.36", "accept": "*/*", "cookie": "csrftoken=xf4ioj21Cn000MUvq27q6uzvxmKyKMTcNdHPQRHZ7FnAbjX8iUbusSBQPVdn1VDM", "accept-encoding": "gzip, deflate" } ----------------------------------------------------------- The response we got was: Status: 500 - Server Error Headers: { "date": "Fri, 04 Sep 2020 12:44:41 GMT", "server": "WSGIServer/0.2 CPython/3.7.3", "content-type": "text/html; charset=utf-8", "x-frame-options": "SAMEORIGIN", "content-length": "3435", "vary": "Cookie, Accept-Encoding", "content-encoding": "gzip" } Body: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title>Error 500 &ndash; Software Heritage archive </title> <link type="text/css" href="/static/css/vendors.a4aaca37d4d97ebbaabe.css" rel="stylesheet" /> <script type="text/javascript" src="/static/js/vendors.a4aaca37d4d97ebbaabe.js" ></script> <link type="text/css" href="/static/css/webapp.dbbbe947aa2db81a0ed4.css" rel="stylesheet" /> <script type="text/javascript" src="/static/js/webapp.dbbbe947aa2db81a0ed4.js" ></script> <script> /* @licstart The following is the entire license notice for the JavaScript code in this page. Copyright (C) 2015-2019 The Software Heritage developers This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see <https://www.gnu.org/licenses/>. @licend The above is the entire license notice for the JavaScript code in this page. */ </script> <script> SWH_CONFIG = {}; swh.webapp.sentryInit(SWH_CONFIG.sentry_dsn); </script> <script src="/jsreverse/" type="text/javascript"></script> <script> swh.webapp.setSwhObjectIcons({"branch": "mdi mdi-source-branch", "branches": "mdi mdi-source-branch", "content": "mdi mdi-file-document", "directory": "mdi mdi-folder", "origin": "mdi mdi-source-repository", "person": "mdi mdi-account",... https://on.cypress.io/request Because this error occurred during a `before each` hook we are skipping the remaining tests in the current suite: `Test Diffs View` at http://localhost:5004/__cypress/runner/cypress_runner.js:159172:21 at tryCatcher (http://localhost:5004/__cypress/runner/cypress_runner.js:10325:23) at Promise._settlePromiseFromHandler (http://localhost:5004/__cypress/runner/cypress_runner.js:8260:31) at Promise._settlePromise (http://localhost:5004/__cypress/runner/cypress_runner.js:8317:18) at Promise._settlePromise0 (http://localhost:5004/__cypress/runner/cypress_runner.js:8362:10) at Promise._settlePromises (http://localhost:5004/__cypress/runner/cypress_runner.js:8442:18) at _drainQueueStep (http://localhost:5004/__cypress/runner/cypress_runner.js:5032:12) at _drainQueue (http://localhost:5004/__cypress/runner/cypress_runner.js:5025:9) at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (http://localhost:5004/__cypress/runner/cypress_runner.js:5041:5) at Async.drainQueues (http://localhost:5004/__cypress/runner/cypress_runner.js:4911:14) From Your Spec Code: at Context.eval (http://localhost:5004/__cypress/tests?p=cypress/integration/revision-diff.spec.js:149:10)