botium-core icon indicating copy to clipboard operation
botium-core copied to clipboard

Getting error consistently when 1 or 2 utterances from botium-bindings

Open ram-d opened this issue 3 years ago • 4 comments

Describe the bug Hi, I am getting the following error for some utterances when I run the tests. The same utterance works fine the next time but the other utterance fails with the same error. It happens very frequently. Out of 400 tests, 4 to 5 are failing with this error. Is this a timeout issue?

Error: Convos_fit-A005/UTT-L01/Cell A5: error sending to bot - Cannot read properties of undefined (reading 'error') ######################################## Convos_fit-A005/UTT-L01/Cell A5: error sending to bot - Cannot read properties of undefined (reading 'error') ------------ TRANSCRIPT ---------------------------- #me: what day is today at BotiumBindings.wrapBotiumError (/Users/testuser/specs/node_modules/botium-bindings/src/BotiumBindings.js:77:14) at /Users/testuser/specs/node_modules/botium-bindings/src/BotiumBindings.js:134:33 at processTicksAndRejections (node:internal/process/task_queues:96:5)

To Reproduce

Expected behavior All tests need to run successfully. It only fails when the test is run automatically but succeeds when we run it using botium-cli emulator.

Screenshots and Log files If applicable, add screenshots and/or logfiles to help explain your problem.

Botium Flavour:

  • Botium Box ?
  • Botium CLI ?
  • Botium Bindings ?

Botium Version

  • "botium-cli": "^1.1.0",
  • "botium-bindings": "^2.1.13",

Additional context

ram-d avatar Oct 10 '22 15:10 ram-d

It looks Botium throws exception while it handles an exception. Could you attach logs please?

ujja avatar Oct 11 '22 08:10 ujja

@ujja , it's hard to capture the logs because it fails only when I run 150+ tests and it consistently fails with some utterances that worked fine in the previous test run.

ram-d avatar Oct 17 '22 22:10 ram-d

Well, without logs we cant say anything.

What you mean with "test is run automatically"?

ujja avatar Oct 19 '22 07:10 ujja

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 18 '23 07:06 stale[bot]