Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ram-d opened this issue Oct 10, 2022 · 4 comments
Open
Labels

Comments

@ram-d
Copy link

ram-d commented Oct 10, 2022

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

@ujja
Copy link
Collaborator

ujja commented Oct 11, 2022

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

@ram-d
Copy link
Author

ram-d commented Oct 17, 2022

@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.

@ujja
Copy link
Collaborator

ujja commented Oct 19, 2022

Well, without logs we cant say anything.

What you mean with "test is run automatically"?

@stale
Copy link

stale bot commented Jun 18, 2023

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 stale bot added the wontfix label Jun 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants