Skip to content

[🐛 Bug]: ReportPortal reporter shows the error Some reporters are not yet synchronized: Reporter #68

Open
@paulohvalipio

Description

@paulohvalipio

What happened?

When running specific tests, the error is displayed at the end of the execution. When this error occurs, the test appears as interrupted in the reportportal.

ERROR @wdio/runner: Error: Some reporters are still unsynced: Reporter
[0-0] at Timeout. (file:///C:/project/node_modules/@wdio/runner/build/index.js:584:25)
[0-0] at listOnTimeout (node:internal/timers:581:17)
[0-0] at processTimers (node:internal/timers:519:7)

What is your expected behavior?

A more specific error message if it's a test development case, but it's probably something unhandled.

How to reproduce the bug.

const { Reporter } = require('@reportportal/agent-js-webdriverio')

reporters: [[Reporter, {
apiKey: process.env.REPORT_PORTAL_API_TOKEN,
endpoint: process.env.REPORT_PORTAL_API_URL,
launch: process.env.REPORT_PORTAL_LAUNCH_NAME,
project: process.env.REPORT_PORTAL_PROJECT_NAME,
mode: 'DEFAULT',
debug: false,
description: process.env.REPORT_PORTAL_LAUNCH_DESCRIPTION,
attributes: process.env.REPORT_PORTAL_LAUNCH_ATTRIBUTES ? process.env.REPORT_PORTAL_LAUNCH_ATTRIBUTES : null,
skippedIssue: Boolean(process.env.REPORT_PORTAL_CONSIDERAR_SKIPPED_COMO_ISSUE),
restClientConfig: { // axios like http client config - https://github.com/axios/axios#request-config
proxy: false,
timeout: 60000
},
reportSeleniumCommands: false, // add selenium commands to log
seleniumCommandsLogLevel: 'debug', // log level for selenium commands
autoAttachScreenshots: false, // automatically add screenshots
screenshotsLogLevel: 'info', // log level for screenshots
parseTagsFromTestTitle: false, // parse strings like @foo from titles and add to Report Portal
cucumberNestedSteps: false, // report cucumber steps as Report Portal steps
autoAttachCucumberFeatureToScenario: false, // requires cucumberNestedSteps to be true for use
sanitizeErrorMessages: true, // strip color ascii characters from error stacktrace
rerun: process.env.REPORT_PORTAL_REEXECUTAR_TESTES,
rerunOf: process.env.REPORT_PORTAL_ID_REEXECUCAO
}]]

Relevant log output

[0-0] 2025-05-29T20:52:38.956Z INFO webdriver: COMMAND deleteSession()
[0-0] 2025-05-29T20:52:38.957Z INFO webdriver: [DELETE] http://localhost:9515/wd/hub/session/2e53e328434a0e4634afa983749025ff
[0-0] 2025-05-29T20:52:39.029Z INFO webdriver: RESULT null
[0-0] 2025-05-29T20:52:39.145Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:39.253Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:39.360Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:39.470Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:39.579Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:39.688Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:39.798Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:39.908Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:40.017Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:40.127Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:40.236Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:40.344Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:40.453Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:40.561Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:40.670Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:40.778Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:40.886Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:40.996Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:41.105Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:41.216Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:41.323Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:41.432Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:41.540Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:41.650Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:41.759Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:41.867Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:41.975Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:42.084Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:42.193Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:42.302Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:42.412Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:42.521Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:42.630Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:42.738Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:42.846Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:42.955Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:43.064Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:43.172Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:43.282Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:43.391Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:43.501Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:43.609Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:43.717Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:43.827Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:43.937Z INFO @wdio/runner: Wait for 1 reporter to synchronize
[0-0] 2025-05-29T20:52:44.045Z ERROR @wdio/runner: Error: Some reporters are still unsynced: Reporter
[0-0] at Timeout. (file:///C:/projeto/node_modules/@wdio/runner/build/index.js:584:25)
[0-0] at listOnTimeout (node:internal/timers:581:17)
[0-0] at processTimers (node:internal/timers:519:7)
[0-0] PASSED in chrome - file:///C:/projeto/tests/Modulos/Web/ViagemWeb/viagemWeb.test.ts
2025-05-29T20:52:44.071Z INFO @wdio/cli:launcher: Run onWorkerEnd hook

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions