Page MenuHomeSoftware Heritage

Jenkins > "before all" hook for "should load add forge request details"::Tests / Cypress tests / Run cypress tests / Test add forge now request dashboard load "before all" hook for "should load add forge request details"
Failed

TEST RESULT

Run At
Apr 3 2022, 5:27 PM
Details
Error: The following error originated from your application code, not from Cypress. It was caused by an unhandled promise rejection. > Language.load failed with status 500. <!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 href="/static/css/vendors.89b52879b36aae146cc1.css" rel="stylesheet" /> <script src="/static/js/vendors.29c84b07693ef1bd5bc9.js" ></script> <link href="/static/css/webapp.87f7deaebd66fadc3e7c.css" rel="stylesheet" /> <script src="/static/js/webapp.037fc32208ba9325e108.js" ></script> <link href="/static/css/guided_tour.6d7f0379f8d52934b6b2.css" rel="stylesheet" /> <script src="/static/js/guided_tour.c6c879bc51e41385d851.js" ></script> <script> /* @licstart The following is the entire license notice for the JavaScript code in this page. Copyright (C) 2015-2021 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({"alias": "mdi mdi-star", "branch": "mdi mdi-source-branch", "branches": "mdi mdi-source-branch", "content": "mdi mdi-file-document", "cnt": "mdi mdi-file-document", "directory": "mdi mdi-folder", "dir": "mdi mdi-folder", "origin": "mdi mdi-source-repository", "ori": "mdi mdi-source-repository", "person": "mdi mdi-account", "revisions history": "mdi mdi-history", "release": "mdi mdi-tag", "rel": "mdi mdi-tag", "releases": "mdi mdi-tag", "revision": "mdi mdi-rotate-90 mdi-source-commit", "rev": "mdi mdi-rotate-90 mdi-source-commit", "snapshot": "mdi mdi-camera", "snp": "mdi mdi-camera", "visits": "mdi mdi-calendar-month"}); </script> <script id="swh_user_logged_in" type="application/json">false</script> <link rel="icon" href="/static/img/icons/swh-logo-32x32.png" sizes="32x32" /> <link rel="icon" href="/static/img/icons/swh-logo-archive-192x192.png" sizes="192x192" /> <link rel="apple-touch-icon-precomposed" href="/static/img/icons/swh-logo-archive-180x180.png" /> <link rel="search" type="application/opensearchdescription+xml" title="Software Heritage archive of public source code" href="/static/xml/swh-opensearch.xml"> <meta name="msapplication-TileImage" content="/static/img/icons/swh-logo-archive-270x270.png" /> </head> <body class="hold-transition layout-fixed sidebar-mini"> <a id="top"></a> <div class="wrapper"> <div class="swh-top-bar"> <ul> <li class="swh-position-left"> <div id="swh-full-width-switch-container" class="custom-control custom-switch d-none d-lg-block d-xl-block"> <input type="checkbox" class="custom-control-input" id="swh-full-width-switch" onclick="swh.webapp.fullWidthToggled(event)"> <label class="custom-control-label font-weight-normal" for="swh-full-width-switch">Full width</label> </div> </li> <li> <a href="https://www.softwareheritage.org">Home</a> </li> <li> <a href="https://forge.softwareheritage.org/">Development</a> </li> <li> <a href="https://docs.softwareheritage.org/devel/">Documentation</a> </li> <li> <a class="swh-donate-link" href="https://www.softwareheritage.org/donate">Donate</a> </li> <li class="swh-position-right"> <a href="https://status.softwareheritage.org/" target="_blank" class="swh-current-status mr-3 d-none d-lg-inline-block d-xl-inline-block"> <span id="swh-current-status-description">Operational</span> <i class="swh-current-status-indicator green"></i> </a> <a id="swh-login" href="/admin/login/?next=http://localhost:5004/static/swh_ql.wasm/">login</a> </li> </ul> </div> <nav class="main-header navbar navbar-expand-lg navbar-light navbar-static-top" id="swh-navbar"> <div class="navbar-header"> <a class="nav-link swh-push-menu" data-widget="pushmenu" data-enable-remember="true" href="#"> <i class="mdi mdi-24px mdi-menu mdi-fw" aria-hidden="true"></i> </a> </div> <div class="navbar" style="width: 94%;"> <div class="swh-navbar-content"> <h4>Error</h4> <form class="form-horizontal d-none d-md-flex input-group swh-search-navbar needs-validation" id="swh-origins-search-top"> <input class="form-control" placeholder="Enter a SWHID to resolve or keyword(s) to search for in origin URLs" type="text" id="swh-origins-search-top-input" oninput="swh.webapp.validateSWHIDInput(this)" required/> <div class="input-group-append"> <button class="btn btn-primary" type="submit"> <i class="swh-search-icon mdi mdi-24px mdi-magnify" aria-hidden="true"></i> </button> </div> </form> </div> </div> </nav> </div> <aside class="swh-sidebar main-sidebar sidebar-no-expand sidebar-light-primary elevation-4"> <a href="/" class="brand-link"> <img class="brand-image" src="/static/img/swh-logo.png"> <div class="brand-text sitename" href="/"> <span class="first-word">Software</span> <span class="second-word">Heritage</span> </div> </a> <a href="/" class="swh-words-logo"> <div class="swh-words-logo-swh"> <span class="first-word">Software</span> <span class="second-word">Heritage</span> </div> <span>Archive</span> </a> <div class="sidebar"> <nav class="mt-2"> <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false"> <li class="nav-header">Features</li> <li class="nav-item swh-search-item" title="Search archived software"> <a href="/browse/search/" class="nav-link swh-search-link"> <i style="color: #e20026;" class="nav-icon mdi mdi-24px mdi-magnify"></i> <p>Search</p> </a> </li> <li class="nav-item swh-vault-item" title="Download archived software from the Vault"> <a href="/browse/vault/" class="nav-link swh-vault-link"> <i style="color: #e20026;" class="nav-icon mdi mdi-24px mdi-download"></i> <p>Downloads</p> </a> </li> <li class="nav-item swh-origin-save-item" title="Request the saving of a software origin into the archive"> <a href="/save/" class="nav-link swh-origin-save-link"> <i style="color: #e20026;" class="nav-icon mdi mdi-24px mdi-camera"></i> <p>Save code now</p> </a> </li> <li class="nav-item swh-origin-save-item" title="Request adding a new forge listing"> <a href="/add-forge/request/create/" class="nav-link swh-forge-add-link"> <i style="color: #e20026;" class="nav-icon mdi mdi-24px mdi-anvil"></i> <p>Add forge now</p> </a> </li> <li class="nav-item swh-help-item" title="How to browse the archive ?"> <a href="#" class="nav-link swh-help-link" onclick="swh.guided_tour.guidedTourButtonClick(event)"> <i style="color: #e20026;" class="nav-icon mdi mdi-24px mdi-help-circle"></i> <p>Help</p> </a> </li> </ul> </nav> </div> </aside> <div class="content-wrapper"> <section class="content"> <div class="container" id="swh-web-content"> <div class="swh-corner-ribbon">Development<br/>v0.0.379.dev6</div> <div class="swh-http-error"> <div class="swh-http-error-head">Error</div> <div class="swh-http-error-code"> <img class="hidden-xs swh-image-error" src="/static/img/swh-logo.svg"> 500 <img class="hidden-xs swh-image-error" src="/static/img/swh-logo.svg"> </div> <h3>Internal Server Error</h3> <div class="swh-http-error-desc"> <pre>Traceback (most recent call last): File "/home/jenkins/.local/lib/python3.7/site-packages/django/core/handlers/base.py", line 113, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/var/lib/jenkins/workspace/DWAPPS/tests-on-diff@2/swh/web/urls.py", line 74, in insecure_serve return serve(request, path, insecure=True, **kwargs) File "/home/jenkins/.local/lib/python3.7/site-packages/django/contrib/staticfiles/views.py", line 37, in serve raise Http404("'%s' could not be found" % path) django.http.response.Http404: 'swh_ql.wasm' could not be found </pre> <div> <a class="btn" onclick="window.history.back();"> <i class="mdi mdi-arrow-left" aria-hidden="true"></i> Go back to previous page </a> or <a class="btn" href="/"> <i class="mdi mdi-arrow-left" aria-hidden="true"></i> Go back to homepage </a> </div> </div> </div> </div> </section> </div> <div class="modal fade" id="swh-web-modal-message" tabindex="-1" role="dialog" aria-labelledby="swh-web-modal-message-label" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h6 class="modal-title" id="swh-web-modal-message-label"></h6> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">&times;</span> </button> </div> <div class="modal-body"> <p></p> </div> <div class="modal-footer"> <button type="button" class="btn btn-default btn-sm" data-dismiss="modal">Ok</button> </div> </div> </div> </div> <div class="modal fade" id="swh-web-modal-confirm" tabindex="-1" role="dialog" aria-labelledby="swh-web-modal-confirm-label" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h6 class="modal-title" id="swh-web-modal-confirm-label"></h6> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">&times;</span> </button> </div> <div class="modal-body"> <p></p> </div> <div class="modal-footer"> <button type="button" class="btn btn-default btn-sm" data-dismiss="modal">Cancel</button> <button type="button" id="swh-web-modal-confirm-ok-btn" class="btn btn-default btn-sm" data-dismiss="modal">Ok</button> </div> </div> </div> </div> <div class="modal fade" id="swh-web-modal-html" tabindex="-1" role="dialog" aria-labelledby="swh-web-modal-html-label" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h6 class="modal-title" id="swh-web-modal-html-label"></h6> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">&times;</span> </button> </div> <div class="modal-body"> </div> </div> </div> </div> <footer class="footer"> <div class="container text-center"> <a href="https://www.softwareheritage.org">Software Heritage</a> &mdash; Copyright (C) 2015&ndash;2022, The Software Heritage developers. License: <a href="https://www.gnu.org/licenses/agpl.html">GNU AGPLv3+</a>. <br/> The source code of Software Heritage <em>itself</em> is available on our <a href="https://forge.softwareheritage.org/">development forge</a>. <br/> The source code files <em>archived</em> by Software Heritage are available under their own copyright and licenses. <br/> <span class="link-color">Terms of use: </span> <a href="https://www.softwareheritage.org/legal/bulk-access-terms-of-use/">Archive access</a>, <a href="https://www.softwareheritage.org/legal/api-terms-of-use/">API</a>- <a href="https://www.softwareheritage.org/contact/">Contact</a>- <a href="/jslicenses/" rel="jslicense">JavaScript license information</a>- <a href="/api/">Web API</a><br/> swh-web v0.0.379.dev6+g9d47ef87 </div> </footer> <div id="back-to-top"> <a href="#top"><img alt="back to top" src="/static/img/arrow-up-small.png" /></a> </div> <script> swh.webapp.setContainerFullWidth(); var statusServerURL = "https://status.softwareheritage.org/"; var statusJsonPath = "1.0/status/578e5eddcdc0cc7951000520"; swh.webapp.initStatusWidget(statusServerURL + statusJsonPath); </script> </body> </html> When Cypress detects uncaught errors originating from your application it will automatically fail the current test. This behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event. https://on.cypress.io/uncaught-exception-from-application Because this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `Test add forge now request ...` Although you have test retries enabled, we do not retry tests when `before all` or `after all` hooks fail at http://localhost:5004/static/js/browse.0bbe90cb5de885da71b5.js:16758:47338