Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

devfile-web e2e testing failing to link timeouts #1665

Open
3 tasks
michael-valdron opened this issue Dec 20, 2024 · 0 comments
Open
3 tasks

devfile-web e2e testing failing to link timeouts #1665

michael-valdron opened this issue Dec 20, 2024 · 0 comments
Labels
area/documentation Improvements or additions to documentation area/landing-page Issues with the Landing Page good first issue Good for newcomers kind/bug Something isn't working

Comments

@michael-valdron
Copy link
Member

/kind bug

Which area is this bug related to?

/area documentation
/area landing-page

What versions of software are you using?

Node.js project

Operating System and version: N/A

Node.js version: 18

Yarn version: 1.22.19

Project.json: https://github.com/devfile/devfile-web/blob/cf64c6821b06d51eebec5210ee554e2fb9769060/package.json

Bug Summary

Describe the bug:

The E2E testing is failing due to a number of external links in the documentation pages becoming unresponsive over time. This is likely the case of the referenced pages being moved or removed from the external sites.

To Reproduce:

Run the E2E testing: yarn nx affected --target=e2e --configuration=production --parallel=1

Expected behavior

All E2E test cases should pass and all links should return responses.

Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable

281 passing (7m)
  3 failing

  1) Docs
       Version: 2.2.0
         Section: Get started
           Page: Quick start with odo v3
             has valid links:
     CypressError: `cy.request()` timed out waiting `30000ms` for a response from your server.

The request we sent was:

Method: GET
URL: https://odo.dev/docs/overview/installation

No response was received within the timeout.

https://on.cypress.io/request
      at <unknown> (http://localhost:4200/__cypress/runner/cypress_runner.js:139742:78)
      at tryCatcher (http://localhost:4200/__cypress/runner/cypress_runner.js:8914:23)
      at <unknown> (http://localhost:4200/__cypress/runner/cypress_runner.js:4036:41)
      at tryCatcher (http://localhost:4200/__cypress/runner/cypress_runner.js:8914:23)
      at Promise._settlePromiseFromHandler (http://localhost:4200/__cypress/runner/cypress_runner.js:6849:31)
      at Promise._settlePromise (http://localhost:4200/__cypress/runner/cypress_runner.js:6906:18)
      at Promise._settlePromise0 (http://localhost:4200/__cypress/runner/cypress_runner.js:6951:10)
      at Promise._settlePromises (http://localhost:4200/__cypress/runner/cypress_runner.js:7027:18)
      at _drainQueueStep (http://localhost:4200/__cypress/runner/cypress_runner.js:3621:12)
      at _drainQueue (http://localhost:4200/__cypress/runner/cypress_runner.js:3614:9)
      at ../../node_modules/bluebird/js/release/async.js.Async._drainQueues (http://localhost:4200/__cypress/runner/cypress_runner.js:3630:5)
      at Async.drainQueues (http://localhost:4200/__cypress/runner/cypress_runner.js:3500:14)
  From Your Spec Code:
      at Context.eval (webpack:///./src/e2e/app.cy.ts:46:23)

  2) Docs
       Version: 2.2.0
         Section: Get started
           Page: Quick start with Eclipse Che
             has valid links:
     CypressError: `cy.request()` timed out waiting `30000ms` for a response from your server.

The request we sent was:

Method: GET
URL: https://minikube.sigs.k8s.io/docs/start/

No response was received within the timeout.

https://on.cypress.io/request
      at <unknown> (http://localhost:4200/__cypress/runner/cypress_runner.js:139742:78)
      at tryCatcher (http://localhost:4200/__cypress/runner/cypress_runner.js:8914:23)
      at <unknown> (http://localhost:4200/__cypress/runner/cypress_runner.js:4036:41)
      at tryCatcher (http://localhost:4200/__cypress/runner/cypress_runner.js:8914:23)
      at Promise._settlePromiseFromHandler (http://localhost:4200/__cypress/runner/cypress_runner.js:6849:31)
      at Promise._settlePromise (http://localhost:4200/__cypress/runner/cypress_runner.js:6906:18)
      at Promise._settlePromise0 (http://localhost:4200/__cypress/runner/cypress_runner.js:6951:10)
      at Promise._settlePromises (http://localhost:4200/__cypress/runner/cypress_runner.js:7027:18)
      at _drainQueueStep (http://localhost:4200/__cypress/runner/cypress_runner.js:3621:12)
      at _drainQueue (http://localhost:4200/__cypress/runner/cypress_runner.js:3614:9)
      at ../../node_modules/bluebird/js/release/async.js.Async._drainQueues (http://localhost:4200/__cypress/runner/cypress_runner.js:3630:5)
      at Async.drainQueues (http://localhost:4200/__cypress/runner/cypress_runner.js:3500:14)
  From Your Spec Code:
      at Context.eval (webpack:///./src/e2e/app.cy.ts:46:23)

  3) Docs
       Version: 2.2.1
         Section: Get started
           Page: Quick start with odo v3
             has valid links:
     CypressError: `cy.request()` timed out waiting `30000ms` for a response from your server.

The request we sent was:

Method: GET
URL: https://minikube.sigs.k8s.io/docs/start/

No response was received within the timeout.

https://on.cypress.io/request
      at <unknown> (http://localhost:4200/__cypress/runner/cypress_runner.js:139742:78)
      at tryCatcher (http://localhost:4200/__cypress/runner/cypress_runner.js:8914:23)
      at <unknown> (http://localhost:4200/__cypress/runner/cypress_runner.js:4036:41)
      at tryCatcher (http://localhost:4200/__cypress/runner/cypress_runner.js:8914:23)
      at Promise._settlePromiseFromHandler (http://localhost:4200/__cypress/runner/cypress_runner.js:6849:31)
      at Promise._settlePromise (http://localhost:4200/__cypress/runner/cypress_runner.js:6906:18)
      at Promise._settlePromise0 (http://localhost:4200/__cypress/runner/cypress_runner.js:6951:10)
      at Promise._settlePromises (http://localhost:4200/__cypress/runner/cypress_runner.js:7027:18)
      at _drainQueueStep (http://localhost:4200/__cypress/runner/cypress_runner.js:3621:12)
      at _drainQueue (http://localhost:4200/__cypress/runner/cypress_runner.js:3614:9)
      at ../../node_modules/bluebird/js/release/async.js.Async._drainQueues (http://localhost:4200/__cypress/runner/cypress_runner.js:3630:5)
      at Async.drainQueues (http://localhost:4200/__cypress/runner/cypress_runner.js:3500:14)
  From Your Spec Code:
      at Context.eval (webpack:///./src/e2e/app.cy.ts:46:23)

Additional context

Any workaround?

N/A

Suggestion on how to fix the bug

@openshift-ci openshift-ci bot added kind/bug Something isn't working area/documentation Improvements or additions to documentation area/landing-page Issues with the Landing Page labels Dec 20, 2024
@michael-valdron michael-valdron added the good first issue Good for newcomers label Dec 20, 2024
@michael-valdron michael-valdron moved this to Refinement in Devfile Project Dec 20, 2024
@michael-valdron michael-valdron moved this from Refinement to Backlog in Devfile Project Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation Improvements or additions to documentation area/landing-page Issues with the Landing Page good first issue Good for newcomers kind/bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

1 participant