[BUG] Error at show HTML report
See original GitHub issueContext:
- Playwright Version: playwright/test 1.16.3
- Operating System: Windows
- Node.js version: 16.13
- Browser: All
- Extra: [any specific details about your environment]
Code Snippet
node:events:368
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE: address already in use :::9323
at Server.setupListenHandle [as _listen2] (node:net:1334:16)
at listenInCluster (node:net:1382:12)
at Server.listen (node:net:1469:7)
at HttpServer.start (D:\Software Testing\Projects\SA_repos\TRACKING_automated_regression_tests\node_modules\playwright-core\lib\utils\httpServer.js:85:18)
at showHTMLReport (D:\Software Testing\Projects\SA_repos\TRACKING_automated_regression_tests\node_modules\@playwright\test\lib\reporters\html.js:103:28)
at HtmlReporter.onEnd (D:\Software Testing\Projects\SA_repos\TRACKING_automated_regression_tests\node_modules\@playwright\test\lib\reporters\html.js:72:15)
at Multiplexer.onEnd (D:\Software Testing\Projects\SA_repos\TRACKING_automated_regression_tests\node_modules\@playwright\test\lib\reporters\multiplexer.js:73:7)
at Runner._run (D:\Software Testing\Projects\SA_repos\TRACKING_automated_regression_tests\node_modules\@playwright\test\lib\runner.js:400:7)
Emitted 'error' event on Server instance at:
at emitErrorNT (node:net:1361:8)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
code: 'EADDRINUSE',
errno: -4091,
syscall: 'listen',
address: '::',
port: 9323
}
Describe the bug
After test finishes and html report is to be auto served, the error displayed above is thrown. When I try to open http://localhost:9323, the HTML report is shown, although it is not fully functional - for example clicking on the failed test case to show details will open only blank page.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:12 (7 by maintainers)
Top Results From Across the Web
BUG: HTML report opens in IE but not FF/Chrome from server
I am trying to publish my HTML report in Jenkins after each test run. ... It does work in IE with no error...
Read more >Error while generating HTML report using JMeter@5.4.3
I am getting following error when trying to generate HTML report using that csv file. An error occurred: Error while processing samples: ...
Read more >When report generation fails due to timeout, error message is ...
The generating of the report takes longer than the default command timeout (property generate_report_ui.generation_timeout), which is 120000 ms.
Read more >[JENKINS-59511] Error opening report with HTML Publisher
Details · Type: Bug · Status: Reopened (View Workflow) · Priority: Minor · Resolution: Unresolved · Component/s: htmlpublisher-plugin · Labels: None.
Read more >Debugging HTML - Learn web development | MDN
So there we have it, an introduction to debugging HTML, which should ... For example, the following shows an error reported when trying...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The issue is that there is a process running on your system that keeps the 9223 port open. You should find the process that keeps the port open and kill it!
~~Update: I was able to reproduce it! ~~