Azure / Azure/azure-cli

az storage blob upload: the progress bar goes backwards?

Open
#25,196 3 comments 0 reactions 1 assignee Assigned to @evelyn-ys View on GitHub
act-codegen-extensibility-squad Auto-Assign Azure CLI Team customer-reported question Service Attention Storage
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

> ### `az feedback` auto-generates most of the information requested below, as of CLI version 2.0.62

**Related command**

`az storage blob upload`

**Describe the bug**
The output from the progress bar generated by this command is nonsensical.

**To Reproduce**
Run `az storage blob upload`

**Expected behavior**
Progress bars that don't go backwards.

**Environment summary**

**Additional context**

This is the output from an example `az storage blob upload` run. What on Earth is even going on here?
```
Alive[# ] 2.1039%
Alive[# ] 2.1039%
Alive[## ] 4.2078%
Alive[#### ] 6.3116%
Alive[###### ] 10.5194%
Alive[######## ] 12.6233%
Alive[##### ] 8.4155%
Alive[######### ] 14.7271%
Alive[########## ] 16.8310%
Alive[############ ] 18.9349%
Alive[############## ] 23.1426%
Alive[################ ] 25.2465%
Alive[############# ] 21.0388%
Alive[################# ] 27.3504%
Alive[#################### ] 31.5581%
Alive[################## ] 29.4543%
Alive[##################### ] 33.6620%
Alive[######################## ] 37.8698%
Alive[###################### ] 35.7659%
Alive[######################### ] 39.9736%
Alive[############################ ] 44.1814%
Alive[############################# ] 46.2853%
Alive[############################## ] 48.3891%
Alive[########################## ] 42.0775%
Alive[################################ ] 50.4930%
Alive[################################### ] 54.7008%
Alive[################################# ] 52.5969%
Alive[#################################### ] 56.8046%
Alive[####################################### ] 61.0124%
Alive[##################################### ] 58.9085%
Alive[######################################## ] 63.1163%
Alive[########################################### ] 67.3240%
Alive[############################################ ] 69.4279%
Alive[############################################# ] 71.5318%
Alive[############################################### ] 73.6357%
Alive[################################################ ] 75.7395%
Alive[################################################# ] 77.8434%
Alive[################################################### ] 79.9473%
Alive[#################################################### ] 82.0512%
Alive[##################################################### ] 84.1550%
Alive[####################################################### ] 86.2589%
Alive[######################################################## ] 88.3628%
Alive[######################################################### ] 90.4667%
Alive[########################################################### ] 92.5705%
Alive[############################################################ ] 94.6744%
Alive[############################################################# ] 96.7783%
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.