gemini-testing/testplane

After upgrading to 5.4, tests fail randomly with "Cannot read properties of undefined (reading 'hermioneCtx')"

Closed this issue · 0 comments

Cannot read properties of undefined (reading 'hermioneCtx')
[19:53:13 ](https://teamcity.jetbrains.com/buildConfiguration/JetBrainsUi_RingUi_GeminiTests/4011932?buildTab=log&focusLine=2879&logView=flowAware&linesState=2879)    TypeError: Cannot read properties of undefined (reading 'hermioneCtx')
        at TestRunner.run (/mnt/agent/work/3f8925a0bfceb8d1/node_modules/hermione/lib/worker/runner/test-runner/index.js:28:34)

Example of a failed build: https://teamcity.jetbrains.com/buildConfiguration/JetBrainsUi_RingUi_GeminiTests/4011932?buildTab=log&focusLine=2877&logView=flowAware&linesState=2690.2877
Example of a successful build on the same commit, in the same docker container: https://teamcity.jetbrains.com/buildConfiguration/JetBrainsUi_RingUi_GeminiTests/4011962?buildTab=log&focusLine=2860&logView=flowAware&linesState=2701
tests setup: https://github.com/JetBrains/ring-ui/tree/master/packages/hermione

Maybe it has something to do with async test loading