CypressError: `cy.request()` failed on:
http://localhost:5004/browse/content/sha1_git:30fda27bc2833697ebb7df1fa4be4ce6a6f4c27d/raw/?filename=tess.h
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/content/sha1_git:30fda27bc2833697ebb7df1fa4be4ce6a6f4c27d/raw/?filename=tess.h
Headers: {
"Connection": "keep-alive",
"user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/4.10.0 Chrome/80.0.3987.165 Electron/8.3.1 Safari/537.36",
"accept": "*/*",
"accept-encoding": "gzip, deflate"
}
-----------------------------------------------------------
The response we got was:
Status: 500 - Server Error
Headers: {
"date": "Tue, 04 Aug 2020 09:19:01 GMT",
"server": "WSGIServer/0.2 CPython/3.7.3",
"content-type": "text/html; charset=utf-8",
"x-frame-options": "SAMEORIGIN",
"content-length": "3627",
"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 – Software Heritage archive </title>
<link type="text/css" href="/static/css/vendors.f649a175639d384b9d0b.css" rel="stylesheet" />
<script type="text/javascript" src="/static/js/vendors.f649a175639d384b9d0b.js" ></script>
<link type="text/css" href="/static/css/webapp.d516908eb5c798b809f8.css" rel="stylesheet" />
<script type="text/javascript" src="/static/js/webapp.d516908eb5c798b809f8.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 all` hook we are skipping all of the remaining tests.
at http://localhost:5004/__cypress/runner/cypress_runner.js:157527:21
at tryCatcher (http://localhost:5004/__cypress/runner/cypress_runner.js:10130:23)
at Promise._settlePromiseFromHandler (http://localhost:5004/__cypress/runner/cypress_runner.js:8065:31)
at Promise._settlePromise (http://localhost:5004/__cypress/runner/cypress_runner.js:8122:18)
at Promise._settlePromise0 (http://localhost:5004/__cypress/runner/cypress_runner.js:8167:10)
at Promise._settlePromises (http://localhost:5004/__cypress/runner/cypress_runner.js:8247:18)
at _drainQueueStep (http://localhost:5004/__cypress/runner/cypress_runner.js:4837:12)
at _drainQueue (http://localhost:5004/__cypress/runner/cypress_runner.js:4830:9)
at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (http://localhost:5004/__cypress/runner/cypress_runner.js:4846:5)
at Async.drainQueues (http://localhost:5004/__cypress/runner/cypress_runner.js:4716:14)
From Your Spec Code:
at _loop$ (http://localhost:5004/__cypress/tests?p=cypress/support/index.js:1193:28)
at tryCatch (http://localhost:5004/__cypress/tests?p=cypress/support/index.js:151:40)
at Generator.invoke [as _invoke] (http://localhost:5004/__cypress/tests?p=cypress/support/index.js:377:22)
at Generator.prototype.<computed> [as next] (http://localhost:5004/__cypress/tests?p=cypress/support/index.js:203:21)
at tryCatch (http://localhost:5004/__cypress/tests?p=cypress/support/index.js:151:40)
at maybeInvokeDelegate (http://localhost:5004/__cypress/tests?p=cypress/support/index.js:439:18)
at Generator.invoke [as _invoke] (http://localhost:5004/__cypress/tests?p=cypress/support/index.js:351:32)
at Generator.prototype.<computed> [as next] (http://localhost:5004/__cypress/tests?p=cypress/support/index.js:203:21)
at asyncGeneratorStep (http://localhost:5004/__cypress/tests?p=cypress/support/index.js:4:24)
at _next (http://localhost:5004/__cypress/tests?p=cypress/support/index.js:26:9)
TEST RESULT
TEST RESULT
- Run At
- Aug 4 2020, 11:19 AM