Skip to content

Chrome Testsuite workflow run always fails #943

@GitToTheHub

Description

@GitToTheHub

Bug Report

Problem

When a PR is created, I always get a Run failed: Chrome Testsuite. It fails with this log:

------------------------------------------------------------
2. Create and configure local server to receive test results
------------------------------------------------------------
[paramedic] Creating local server...
[paramedic] Server is running on port: 45729
[paramedic] writing medic log url to project ws://127.0.0.1:45729
[paramedic] Start building app and running tests at 8:15:11 PM
---------------------------------------------------------
4. Run (Jasmine) tests...
... locally
---------------------------------------------------------
[paramedic] running tests locally
[paramedic] Waiting for test results...
Error: [paramedic] The device failed to connect to local server in 540 secs
Error: [paramedic] The device failed to connect to local server in 540 secs
    at /opt/hostedtoolcache/node/20.19.6/x64/lib/node_modules/cordova-paramedic/lib/paramedic.js:252:47
    at async ParamedicRunner.runLocalTests (/opt/hostedtoolcache/node/20.19.6/x64/lib/node_modules/cordova-paramedic/lib/paramedic.js:247:20)
    at async ParamedicRunner.run (/opt/hostedtoolcache/node/20.19.6/x64/lib/node_modules/cordova-paramedic/lib/paramedic.js:87:29)
[paramedic] Removing Temporary Project: /tmp/tmp-2282-joX2Lc70Z16b
Error: [paramedic] The device failed to connect to local server in 540 secs
    at /opt/hostedtoolcache/node/20.19.6/x64/lib/node_modules/cordova-paramedic/lib/paramedic.js:252:47
    at async ParamedicRunner.runLocalTests (/opt/hostedtoolcache/node/20.19.6/x64/lib/node_modules/cordova-paramedic/lib/paramedic.js:247:20)
    at async ParamedicRunner.run (/opt/hostedtoolcache/node/20.19.6/x64/lib/node_modules/cordova-paramedic/lib/paramedic.js:87:29)
Error: Process completed with exit code 1.

The main issue seems here:

The device failed to connect to local server in 540 secs

Sample URL: https://github.com/apache/cordova-plugin-camera/actions/runs/21185718407/job/60939755245

Can this be fixed?

What is expected to happen?

What does actually happen?

Information

Command or Code

Environment, Platform, Device

Version information

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above

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