Skip to content

Fix SD commands functional tests #3446

@sagar1312

Description

@sagar1312

What happened:
Functional tests for SD commands feature have been broken since December 1st 2025.

1) Scenario: Use package via sd-step (attempt 1, retried) # features/sd-step.feature:31
    ✔ Before # features/step_definitions/sd-step.js:13
    ✔ Given an existing pipeline with golang:latest image and core/node package # features/step_definitions/sd-step.js:28
    ✔ When the main job is started # features/step_definitions/sd-step.js:59
    ✔ And sd-step command is executed to use core/node package # features/step_definitions/sd-step.js:98
    ✖ Then core/node package is available via sd-step # features/step_definitions/sd-step.js:122
        Error: function timed out, ensure the promise resolves within 700000 milliseconds
            at Timeout.<anonymous> (/sd/workspace/src/github.com/screwdriver-cd/screwdriver/node_modules/@cucumber/cucumber/lib/time.js:54:20)
            at listOnTimeout (node:internal/timers:588:17)
            at process.processTimers (node:internal/timers:523:7)
 

The command to fetch the packages is taking longer than expected leading to the overall test timeout
https://beta.cd.screwdriver.cd/v2/pipelines/2571/events/145229

What you expected to happen:

How to reproduce it:

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions