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

[Service Bus] Test failure - TypeError from rhea #8715

Closed
HarshaNalluru opened this issue May 6, 2020 · 2 comments
Closed

[Service Bus] Test failure - TypeError from rhea #8715

HarshaNalluru opened this issue May 6, 2020 · 2 comments
Labels
Client This issue points to a problem in the data-plane of the library. Service Bus

Comments

@HarshaNalluru
Copy link
Member

So far, this issue had been seen only once in a test run.

Error

image

Error in text
2020-05-05T22:49:44.7018160Z   2) renew lock
2020-05-05T22:49:44.7019630Z        Unpartitioned Queue - Lock Renewal
2020-05-05T22:49:44.7021140Z          "after each" hook for "Streaming Receiver: complete() after lock expiry with auto-renewal disabled throws error":
2020-05-05T22:49:44.7022440Z      Uncaught Error [ERR_UNHANDLED_ERROR]: Unhandled error. ({
2020-05-05T22:49:44.7023800Z   _context: TypeError: Cannot read property 'idle_time_out' of undefined
2020-05-05T22:49:44.7024900Z       at Connection.output (/Users/runner/runners/2.166.4/work/1/s/common/temp/node_modules/.pnpm/registry.npmjs.org/rhea/1.0.20/node_modules/rhea/lib/connection.js:495:59)
2020-05-05T22:49:44.7026240Z       at Connection._write_frame (/Users/runner/runners/2.166.4/work/1/s/common/temp/node_modules/.pnpm/registry.npmjs.org/rhea/1.0.20/node_modules/rhea/lib/connection.js:736:10)
2020-05-05T22:49:44.7027510Z       at Session.output (/Users/runner/runners/2.166.4/work/1/s/common/temp/node_modules/.pnpm/registry.npmjs.org/rhea/1.0.20/node_modules/rhea/lib/session.js:456:21)
2020-05-05T22:49:44.7028750Z       at Sender.link._process (/Users/runner/runners/2.166.4/work/1/s/common/temp/node_modules/.pnpm/registry.npmjs.org/rhea/1.0.20/node_modules/rhea/lib/link.js:130:26)
2020-05-05T22:49:44.7030010Z       at Session._process (/Users/runner/runners/2.166.4/work/1/s/common/temp/node_modules/.pnpm/registry.npmjs.org/rhea/1.0.20/node_modules/rhea/lib/session.js:611:27)
2020-05-05T22:49:44.7031240Z       at Connection._process (/Users/runner/runners/2.166.4/work/1/s/common/temp/node_modules/.pnpm/registry.npmjs.org/rhea/1.0.20/node_modules/rhea/lib/connection.js:726:39)
2020-05-05T22:49:44.7032330Z       at processTicksAndRejections (internal/process/task_queues.js:79:11),
```

Build

https://dev.azure.com/azure-sdk/internal/_build/results?buildId=381537&view=logs&jobId=34d05327-3286-5fd0-44d3-76aebff5d924&j=34d05327-3286-5fd0-44d3-76aebff5d924&t=e670a1f1-3935-53b6-336a-55d97c8bcda4

Cause

image
There are more instances of .idle_timeout in connection.js file from rhea, line 495 failed in this case though.

@ghost ghost added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label May 6, 2020
@ramya-rao-a ramya-rao-a added Client This issue points to a problem in the data-plane of the library. Service Bus labels May 6, 2020
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label May 6, 2020
@ramya-rao-a ramya-rao-a added this to the [2020] June milestone May 6, 2020
@HarshaNalluru HarshaNalluru modified the milestones: [2020] June, [2020] July Jun 5, 2020
@ramya-rao-a ramya-rao-a modified the milestones: [2020] July, Backlog Jun 26, 2020
@chradek
Copy link
Contributor

chradek commented Jul 9, 2020

This might be fixed by porting the TypeError fixes we made for event-hubs: #9914

When testing event-hubs, I was able to reproduce the above error prior to making the TypeError fixes. I haven't tried reproducing this in service bus but I suspect the cause is the same.

@chradek
Copy link
Contributor

chradek commented Jul 21, 2020

This is fixed now that #9914 has been completed.

@chradek chradek closed this as completed Jul 21, 2020
@xirzec xirzec removed this from the Backlog milestone May 18, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. Service Bus
Projects
None yet
Development

No branches or pull requests

4 participants