question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Intermittent e2e/cypress test failure.

See original GitHub issue

This issue is to collect information

This test in Fuseki UI has started failing for me again.

It has been an intermittent failure; typically if a codebase works (mavne build passes) it keeps working and if it fails it fails nearly every build.

[INFO] [TESTS]   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
[INFO] [TESTS]   β”‚ βœ–  datasets.cy.js                           00:27        9        8        1        -        - β”‚
[INFO] [TESTS]   β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
[INFO] [TESTS]   β”‚ βœ”  query.cy.js                              00:01        1        1        -        -        - β”‚
[INFO] [TESTS]   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
[INFO] [TESTS]     βœ–  1 of 2 failed (50%)                      00:28       10        9        1        -        -  

It is not maven dependency - running it outside maven has the same failure mode.

Issue Analytics

  • State:open
  • Created 10 months ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
afscommented, Nov 30, 2022

The 3 test failure in #1480 was because HOST was set which it isn’t now.

We should probably undo 242725c8 which reorder tests which seemed to work at the time.

If necessary, we can turn off the e2e test for the release when built on my machine. We can be fairly sure the tests do whatthey should do and it is an environment or framework issue.

1reaction
afscommented, Nov 30, 2022

Linux. Docker Desktop installed.

I now have the situation where if it is failing then stopping docker.service causes the build to work again. Restarting usually (not always!) causes the build to fail again.

Docker reconfigures local networking.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Test Retries | Cypress Documentation
With test retries, Cypress is able to retry failed tests to help reduce test flakiness and continuous integration (CI) build failures.
Read more >
Cypress and Flaky Tests: How to Handle Timeout Errors
Asynchronous operations are not completing before Cypress runs a command, causing a timeout error. Flaky Cypress Tests Caused by Timeout Errors.
Read more >
3 Practices to Reduce Flakiness in Cypress Tests - Atomic Spin
Flaky tests can be difficult to identify and troubleshoot. Here are a few practices to reduce flakiness when using Cypress tests.
Read more >
Cypress test runner intermittent ECONNREFUSED 127.0.0.1 ...
I'm having intermittent issues running some automated e2e tests written in Cypress. ... `CypressError cy.visit() failed trying to load:.
Read more >
Intermittent requests hanging, eventually crashing the tab ...
Using VNC, we remoted into the display that Cypress uses to see what was ... The test is a "failed login flow" -...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found