bahmutov / bahmutov/cypress-split

Azure devops linux agent - Failing to read timings from timings.json

Open
#174 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
285
Forks
28
PR merge metrics
No merged PRs in 30d

Description

Hi, thanks for making such a great package.

cypress: 12.17.4
cypress-split: 1.17.0
command: npx cypress run --browser chrome --env split=4,splitIndex=1,splitFile=timings.json,DEBUG=cypress-split

I have generated a timings.json file, but when attempting to read the timings in an azure devops pipeline on a linux build agent, it's getting the same time for every test. Example:
![image](https://github.com/bahmutov/cypress-split/assets/69582899/2e931873-207a-459e-bed4-52b7e2d666a6)
However, run locally on a Windows 11 machine using the same command it appears to work fine.
![image](https://github.com/bahmutov/cypress-split/assets/69582899/adccb3dd-aa8d-4b13-ac20-a52d4d2f2692)

Would be great to get this working. Any suggestions much appreciated!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing `npx cypress run --browser chrome --env split=4,splitIndex=1,splitFile=timings.json,DEBUG=cypress-split` on an Azure DevOps Linux build agent, using the generated `timings.json`. Compare its timing reads with the reported Windows 11 run; done means individual test timings are used instead of the same timing for every test.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, javascript
Domain
ci-cd, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.