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

Complete set of results not getting pushed into Report Portal. #119

Open
AspireSytemsINC opened this issue Jun 23, 2022 · 3 comments
Open
Assignees

Comments

@AspireSytemsINC
Copy link

Complete set of results not getting pushed into Report Portal. In batch of 30 scripts after pushing results for 2 scripts nothing happens and get stuck up there.

Cypress automation project changes dones as per the setps given.

All containers of Report Portal are running fine and no exception observed in the RP container Logs - Below are the logs -

reporting config for cypress.json

"reporter": "cypress-multi-reporters",
"reporterOptions": {
"reporterEnabled": "@reportportal/agent-js-cypress, cypress-mochawesome-reporter",
"reportportalAgentJsCypressReporterOptions": {
"autoMerge": "false",
"mode" : "trace",
"debug": true,
"restClientConfig":{
"timeout":3600000
},
"endpoint": "http://localhost:8080/api/v1",
"token": "xxxx-xxxxx-xxxx-xxxx",
"launch": "superadmin_TEST_EXAMPLE",
"project": "superadmin_personal",
"description": "Automation Batch Run"
},
"cypressMochawesomeReporterReporterOptions": {
"reportDir": "cypress/results/AutomationReport_Mochawsome",
"charts": true,
"saveJson": true,
"embeddedScreenshots": true,
"inlineAssets": false,
"reportPageTitle": "CypressTests"
}
},

@AspireSytemsINC
Copy link
Author

AspireSytemsINC commented Jun 23, 2022

RPLogs.txt
RPUISnapshot

Attached the RP Container Logs and RP UI Snapshot

Could see below error in cypress test run log, is timeout of 60 minutes not enough??
Error: timeout of 3600000ms exceeded
at C:\Users\XXX\XXXXXXX\XXXXXXXXX\node_modules@reportportal\client-javascript\lib\rest.js:37:15
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at runNextTicks (node:internal/process/task_queues:65:3)
at listOnTimeout (node:internal/timers:526:9)
at processTimers (node:internal/timers:500:7)

Fail to save passed log Error: timeout of 3600000ms exceeded
at C:\Users\XXXXXXXX\XXXXXXXX\XXXXXXX\node_modules@reportportal\client-javascript\lib\rest.js:37:15
at processTicksAndRejections (node:internal/process/task_queues:96:5)

@AspireSytemsINC
Copy link
Author

Hi, is there anyway to debug this issue since even container logs are not showing any exception?

@AmsterGet
Copy link
Member

AmsterGet commented Jul 26, 2024

Hello @AspireSytemsINC !
Is this issue still relevant for you?
Based on the information you provided, it's not clear why some requests are reaching RP successfully and some are experiencing such a long delay.
I assume it could be due to network connectivity issues.
I also noticed that you are using an unsupported trace value for the mode option.
image
The supported modes are 'DEFALT' and 'DEBUG'.
Feel free to ask questions if you have any.

@AmsterGet AmsterGet self-assigned this Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants