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

[storage][test] intermittent failure with uploadStream cases #11163

Closed
ljian3377 opened this issue Sep 10, 2020 · 2 comments
Closed

[storage][test] intermittent failure with uploadStream cases #11163

ljian3377 opened this issue Sep 10, 2020 · 2 comments
Labels
Client This issue points to a problem in the data-plane of the library. Storage Storage Service (Queues, Blobs, Files)

Comments

@ljian3377
Copy link
Member

https://dev.azure.com/azure-sdk/internal/_build/results?buildId=529700&view=logs&j=34d05327-3286-5fd0-44d3-76aebff5d924&t=d726e143-6308-5465-2a45-ec34d6ea866c

  1) Highlevel
       uploadStream should abort:

      AssertionError [ERR_ASSERTION]: 'RestError' == 'AbortError'
      + expected - actual

      -RestError
      +AbortError
      
      at /Users/runner/work/1/s/sdk/storage/storage-blob/test/node/highlevel.node.spec.ts:317:14
      at step (/Users/runner/work/1/s/common/temp/node_modules/.pnpm/[email protected]/node_modules/tslib/tslib.js:140:27)
      at Object.throw (/Users/runner/work/1/s/common/temp/node_modules/.pnpm/[email protected]/node_modules/tslib/tslib.js:121:57)
      at rejected (/Users/runner/work/1/s/common/temp/node_modules/.pnpm/[email protected]/node_modules/tslib/tslib.js:112:69)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:97:5)

  2) Highlevel
       uploadStream should update progress event:
     RestError: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Bad Request</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Bad Request - Invalid Verb</h2>
<hr><p>HTTP Error 400. The request verb is invalid.</p>
</BODY></HTML>

      at new RestError (/Users/runner/work/1/s/sdk/core/core-http/src/restError.ts:27:5)
      at /Users/runner/work/1/s/sdk/core/core-http/src/policies/deserializationPolicy.ts:176:21
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:97:5)
@ghost ghost added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Sep 10, 2020
@ljian3377 ljian3377 added Storage Storage Service (Queues, Blobs, Files) and removed needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. labels Sep 10, 2020
@ljian3377 ljian3377 changed the title [storage][tests] intermittent failure with uploadStream cases [storage][test] intermittent failure with uploadStream cases Sep 10, 2020
@ljian3377 ljian3377 added this to the Backlog milestone Sep 10, 2020
@ramya-rao-a ramya-rao-a added the Client This issue points to a problem in the data-plane of the library. label Sep 11, 2020
@ljian3377
Copy link
Member Author

ljian3377 commented Sep 11, 2020

The "uploadStream should abort" get recreated.
https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_apis/build/builds/533794/logs/98

2020-09-11T13:36:01.1603900Z azure:storage-blob:info Response status code: 400
2020-09-11T13:36:01.1663060Z azure:storage-blob:info Headers: {
2020-09-11T13:36:01.1668250Z   "_headersMap": {
2020-09-11T13:36:01.1669940Z     "connection": "close",
2020-09-11T13:36:01.1671740Z     "content-length": "326",
2020-09-11T13:36:01.1673570Z     "content-type": "text/html; charset=us-ascii",
2020-09-11T13:36:01.1674830Z     "date": "Fri, 11 Sep 2020 13:36:00 GMT",
2020-09-11T13:36:01.1676390Z     "server": "Microsoft-HTTPAPI/2.0"
2020-09-11T13:36:01.1677060Z   }
2020-09-11T13:36:01.1677550Z }

@ljian3377
Copy link
Member Author

We belive this issue is addressed with the hotfix: @azure/[email protected] and @azure/[email protected]

@xirzec xirzec removed this from the Backlog milestone May 17, 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. Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

No branches or pull requests

3 participants