bacongobbler/azure-blob-storage-upload

FileNotFoundError: [Errno 2] No such file or directory: '$web'

Closed this issue ยท 13 comments

I'm using Github Action - bacongobbler/azure-blob-storage-upload@v1.0.0 to upload my github artifacts to Azure.
From today morning I'm getting error as - FileNotFoundError: [Errno 2] No such file or directory: '$web'
I reached out to the Azure support team and got to know that, there was a problem with blob uploads today morning and it got resolved within 2 hours. But still I'm getting error whenever the action gets triggered during commit.

Attached a image for your reference

`# MY YAML FILE Workflow using Github Actions to Deploy your Client Side Scripts to Azure

name: PUBLISH.DEV.TO.AZURE

on:
push:
branches: [ DEV.JS ]
pull_request:
branches: [ DEV.JS ]

jobs:
upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: bacongobbler/azure-blob-storage-upload@v1.0.0
with:
source_dir: AdditionalFiles
container_name: $web
connection_string: ${{ secrets.DEV_AZURE_ACCESS_KEY_CONNECTION_STRING }}`

2020-08-04T12:05:54.6184021Z ##[section]Starting: Request a runner to run this job 2020-08-04T12:05:54.7476510Z Can't find any online and idle self-hosted runner in current repository that matches the required labels: 'ubuntu-latest' 2020-08-04T12:05:54.7774862Z Can't find any online and idle self-hosted runner in current repository's organization account that matches the required labels: 'ubuntu-latest' 2020-08-04T12:05:54.8794848Z Found online and idle hosted runner in current repository's organization account that matches the required labels: 'ubuntu-latest' 2020-08-04T12:05:55.0590441Z ##[section]Finishing: Request a runner to run this job 2020-08-04T12:06:03.8274125Z Current runner version: '2.267.1' 2020-08-04T12:06:03.8304051Z ##[group]Operating System 2020-08-04T12:06:03.8304649Z Ubuntu 2020-08-04T12:06:03.8304897Z 18.04.4 2020-08-04T12:06:03.8305087Z LTS 2020-08-04T12:06:03.8305275Z ##[endgroup] 2020-08-04T12:06:03.8305470Z ##[group]Virtual Environment 2020-08-04T12:06:03.8305709Z Environment: ubuntu-18.04 2020-08-04T12:06:03.8305904Z Version: 20200726.1 2020-08-04T12:06:03.8306175Z Included Software: https://github.com/actions/virtual-environments/blob/ubuntu18/20200726.1/images/linux/Ubuntu1804-README.md 2020-08-04T12:06:03.8306417Z ##[endgroup] 2020-08-04T12:06:03.8307532Z Prepare workflow directory 2020-08-04T12:06:03.8518646Z Prepare all required actions 2020-08-04T12:06:03.8530741Z Download action repository 'actions/checkout@master' 2020-08-04T12:06:04.8063243Z Download action repository 'bacongobbler/azure-blob-storage-upload@v1.0.0' 2020-08-04T12:06:05.8135025Z Build container for action use: '/home/runner/work/_actions/bacongobbler/azure-blob-storage-upload/v1.0.0/Dockerfile'. 2020-08-04T12:06:05.8208013Z ##[command]/usr/bin/docker build -t 87c201:432932966e414af9b70d5d24d1bd00eb -f "/home/runner/work/_actions/bacongobbler/azure-blob-storage-upload/v1.0.0/Dockerfile" "/home/runner/work/_actions/bacongobbler/azure-blob-storage-upload/v1.0.0" 2020-08-04T12:06:06.7755938Z Sending build context to Docker daemon 19.97kB 2020-08-04T12:06:06.7756192Z 2020-08-04T12:06:06.7756327Z Step 1/11 : FROM microsoft/azure-cli 2020-08-04T12:06:06.9476585Z latest: Pulling from microsoft/azure-cli 2020-08-04T12:06:06.9492094Z cbdbe7a5bc2a: Already exists 2020-08-04T12:06:06.9533837Z 26ebcd19a4e3: Pulling fs layer 2020-08-04T12:06:06.9534057Z 170f815b6f8f: Pulling fs layer 2020-08-04T12:06:06.9534332Z 8577981c6bd3: Pulling fs layer 2020-08-04T12:06:06.9534518Z 05fa7f8946aa: Pulling fs layer 2020-08-04T12:06:06.9534681Z 62dc9e3c72f6: Pulling fs layer 2020-08-04T12:06:06.9536381Z c930997f9fc1: Pulling fs layer 2020-08-04T12:06:06.9536636Z b098a5e15960: Pulling fs layer 2020-08-04T12:06:06.9536809Z ca0c5f130cf9: Pulling fs layer 2020-08-04T12:06:06.9536966Z dc84741ce8d9: Pulling fs layer 2020-08-04T12:06:06.9537388Z 79557676b71c: Pulling fs layer 2020-08-04T12:06:06.9538492Z c930997f9fc1: Waiting 2020-08-04T12:06:06.9538767Z b098a5e15960: Waiting 2020-08-04T12:06:06.9539021Z ca0c5f130cf9: Waiting 2020-08-04T12:06:06.9540834Z dc84741ce8d9: Waiting 2020-08-04T12:06:06.9543566Z 79557676b71c: Waiting 2020-08-04T12:06:06.9548057Z 05fa7f8946aa: Waiting 2020-08-04T12:06:06.9548288Z 62dc9e3c72f6: Waiting 2020-08-04T12:06:07.0580148Z 8577981c6bd3: Verifying Checksum 2020-08-04T12:06:07.0580524Z 8577981c6bd3: Download complete 2020-08-04T12:06:07.0950054Z 26ebcd19a4e3: Verifying Checksum 2020-08-04T12:06:07.0955352Z 26ebcd19a4e3: Download complete 2020-08-04T12:06:07.2580667Z 05fa7f8946aa: Verifying Checksum 2020-08-04T12:06:07.2581559Z 05fa7f8946aa: Download complete 2020-08-04T12:06:07.2626522Z 26ebcd19a4e3: Pull complete 2020-08-04T12:06:07.3044816Z 170f815b6f8f: Verifying Checksum 2020-08-04T12:06:07.3047774Z 170f815b6f8f: Download complete 2020-08-04T12:06:07.4346630Z b098a5e15960: Verifying Checksum 2020-08-04T12:06:07.4347095Z b098a5e15960: Download complete 2020-08-04T12:06:07.4901113Z c930997f9fc1: Verifying Checksum 2020-08-04T12:06:07.4927986Z c930997f9fc1: Download complete 2020-08-04T12:06:07.6287898Z ca0c5f130cf9: Verifying Checksum 2020-08-04T12:06:07.6289324Z ca0c5f130cf9: Download complete 2020-08-04T12:06:07.8491079Z 79557676b71c: Verifying Checksum 2020-08-04T12:06:07.8491991Z 79557676b71c: Download complete 2020-08-04T12:06:08.0098435Z 62dc9e3c72f6: Verifying Checksum 2020-08-04T12:06:08.0098767Z 62dc9e3c72f6: Download complete 2020-08-04T12:06:08.3948422Z dc84741ce8d9: Verifying Checksum 2020-08-04T12:06:08.3950017Z dc84741ce8d9: Download complete 2020-08-04T12:06:08.6265105Z 170f815b6f8f: Pull complete 2020-08-04T12:06:08.6920947Z 8577981c6bd3: Pull complete 2020-08-04T12:06:08.8880501Z 05fa7f8946aa: Pull complete 2020-08-04T12:06:11.2191466Z 62dc9e3c72f6: Pull complete 2020-08-04T12:06:11.6088600Z c930997f9fc1: Pull complete 2020-08-04T12:06:11.6831377Z b098a5e15960: Pull complete 2020-08-04T12:06:11.9729333Z ca0c5f130cf9: Pull complete 2020-08-04T12:06:19.5984189Z dc84741ce8d9: Pull complete 2020-08-04T12:06:19.6608668Z 79557676b71c: Pull complete 2020-08-04T12:06:19.6636845Z Digest: sha256:386e6ed3e15f22d75f14332c9bf73f50b1fad675c23aa50b1010ae4c000c0dd9 2020-08-04T12:06:19.6848107Z Status: Downloaded newer image for microsoft/azure-cli:latest 2020-08-04T12:06:19.6848482Z ---> 55a65eee1172 2020-08-04T12:06:19.6848827Z Step 2/11 : LABEL "com.github.actions.name"="azure-blob-storage-upload" 2020-08-04T12:06:27.3730754Z ---> Running in 2099c78d3c58 2020-08-04T12:06:29.0529306Z Removing intermediate container 2099c78d3c58 2020-08-04T12:06:29.0530655Z ---> 3e259a62532c 2020-08-04T12:06:29.0534980Z Step 3/11 : LABEL "com.github.actions.description"="Uploads assets to Azure Blob Storage" 2020-08-04T12:06:29.0882808Z ---> Running in 92d151ad0de9 2020-08-04T12:06:30.7655739Z Removing intermediate container 92d151ad0de9 2020-08-04T12:06:30.7701445Z ---> e62b282526ee 2020-08-04T12:06:30.7701657Z Step 4/11 : LABEL "com.github.actions.icon"="box" 2020-08-04T12:06:30.7906160Z ---> Running in c6fb4ae4d9fc 2020-08-04T12:06:32.4661933Z Removing intermediate container c6fb4ae4d9fc 2020-08-04T12:06:32.4662399Z ---> cf33b0aac28b 2020-08-04T12:06:32.4662569Z Step 5/11 : LABEL "com.github.actions.color"="green" 2020-08-04T12:06:32.4980997Z ---> Running in 8dccb87583c8 2020-08-04T12:06:34.2039021Z Removing intermediate container 8dccb87583c8 2020-08-04T12:06:34.2039402Z ---> 91a2b1a78c71 2020-08-04T12:06:34.2041872Z Step 6/11 : LABEL "repository"="https://github.com/bacongobbler/azure-blob-storage-upload" 2020-08-04T12:06:34.2464848Z ---> Running in bbebaa24aaad 2020-08-04T12:06:35.9456852Z Removing intermediate container bbebaa24aaad 2020-08-04T12:06:35.9457078Z ---> 719316141b53 2020-08-04T12:06:35.9457412Z Step 7/11 : LABEL "homepage"="https://github.com/bacongobbler/azure-blob-storage-upload" 2020-08-04T12:06:35.9939762Z ---> Running in c84f87f48070 2020-08-04T12:06:37.6880805Z Removing intermediate container c84f87f48070 2020-08-04T12:06:37.6881357Z ---> 70a0a3fe611c 2020-08-04T12:06:37.6881671Z Step 8/11 : LABEL "maintainer"="Matthew Fisher <matt.fisher@microsoft.com>" 2020-08-04T12:06:37.7161644Z ---> Running in 7e921e6a5907 2020-08-04T12:06:39.4230912Z Removing intermediate container 7e921e6a5907 2020-08-04T12:06:39.4231216Z ---> a10979a860d5 2020-08-04T12:06:39.4231391Z Step 9/11 : ADD entrypoint.sh /entrypoint.sh 2020-08-04T12:06:41.1807427Z ---> 192d0c285232 2020-08-04T12:06:41.1807639Z Step 10/11 : RUN chmod +x entrypoint.sh 2020-08-04T12:06:41.2189211Z ---> Running in 5ba31f980566 2020-08-04T12:06:43.4777624Z Removing intermediate container 5ba31f980566 2020-08-04T12:06:43.4777818Z ---> 7b54677a8a52 2020-08-04T12:06:43.4778008Z Step 11/11 : ENTRYPOINT ["/entrypoint.sh"] 2020-08-04T12:06:43.5230820Z ---> Running in efd477891332 2020-08-04T12:06:45.2155265Z Removing intermediate container efd477891332 2020-08-04T12:06:45.2155814Z ---> 8bfdfd48a366 2020-08-04T12:06:45.2155980Z Successfully built 8bfdfd48a366 2020-08-04T12:06:45.2307267Z Successfully tagged 87c201:432932966e414af9b70d5d24d1bd00eb 2020-08-04T12:06:45.2485809Z ##[group]Run actions/checkout@master 2020-08-04T12:06:45.2486169Z with: 2020-08-04T12:06:45.2486475Z repository: bostonharbor/A043.S001.P01-OC-TANNER-CPQ-PROJECT-PHASE-01 2020-08-04T12:06:45.2486805Z token: *** 2020-08-04T12:06:45.2486957Z ssh-strict: true 2020-08-04T12:06:45.2487099Z persist-credentials: true 2020-08-04T12:06:45.2487311Z clean: true 2020-08-04T12:06:45.2487458Z fetch-depth: 1 2020-08-04T12:06:45.2487616Z lfs: false 2020-08-04T12:06:45.2487709Z submodules: false 2020-08-04T12:06:45.2487851Z ##[endgroup] 2020-08-04T12:06:45.6778448Z Syncing repository: bostonharbor/A043.S001.P01-OC-TANNER-CPQ-PROJECT-PHASE-01 2020-08-04T12:06:45.6969566Z ##[group]Getting Git version info 2020-08-04T12:06:45.6970477Z Working directory is '/home/runner/work/A043.S001.P01-OC-TANNER-CPQ-PROJECT-PHASE-01/A043.S001.P01-OC-TANNER-CPQ-PROJECT-PHASE-01' 2020-08-04T12:06:45.6980948Z [command]/usr/bin/git version 2020-08-04T12:06:45.7139454Z git version 2.27.0 2020-08-04T12:06:45.7145206Z ##[endgroup] 2020-08-04T12:06:45.7145668Z Deleting the contents of '/home/runner/work/A043.S001.P01-OC-TANNER-CPQ-PROJECT-PHASE-01/A043.S001.P01-OC-TANNER-CPQ-PROJECT-PHASE-01' 2020-08-04T12:06:45.7146394Z ##[group]Initializing the repository 2020-08-04T12:06:45.7146812Z [command]/usr/bin/git init /home/runner/work/A043.S001.P01-OC-TANNER-CPQ-PROJECT-PHASE-01/A043.S001.P01-OC-TANNER-CPQ-PROJECT-PHASE-01 2020-08-04T12:06:45.7222539Z Initialized empty Git repository in /home/runner/work/A043.S001.P01-OC-TANNER-CPQ-PROJECT-PHASE-01/A043.S001.P01-OC-TANNER-CPQ-PROJECT-PHASE-01/.git/ 2020-08-04T12:06:45.7241402Z [command]/usr/bin/git remote add origin https://github.com/bostonharbor/A043.S001.P01-OC-TANNER-CPQ-PROJECT-PHASE-01 2020-08-04T12:06:45.7290561Z ##[endgroup] 2020-08-04T12:06:45.7291163Z ##[group]Disabling automatic garbage collection 2020-08-04T12:06:45.7302740Z [command]/usr/bin/git config --local gc.auto 0 2020-08-04T12:06:45.7342732Z ##[endgroup] 2020-08-04T12:06:45.7350890Z ##[group]Setting up auth 2020-08-04T12:06:45.7362052Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand 2020-08-04T12:06:45.7404162Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || : 2020-08-04T12:06:45.7798194Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2020-08-04T12:06:45.7872133Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || : 2020-08-04T12:06:45.8168300Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic *** 2020-08-04T12:06:45.8236348Z ##[endgroup] 2020-08-04T12:06:45.8237122Z ##[group]Fetching the repository 2020-08-04T12:06:45.8246919Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +08765cc394ed04ccd5c2a1637e695a3ed349fc8f:refs/remotes/origin/DEV.JS 2020-08-04T12:06:46.1300631Z remote: Enumerating objects: 38, done. 2020-08-04T12:06:46.1300880Z remote: Counting objects: 2% (1/38) 2020-08-04T12:06:46.1481573Z remote: Counting objects: 5% (2/38) 2020-08-04T12:06:46.1484425Z remote: Counting objects: 7% (3/38) 2020-08-04T12:06:46.1484796Z remote: Counting objects: 10% (4/38) 2020-08-04T12:06:46.1486307Z remote: Counting objects: 13% (5/38) 2020-08-04T12:06:46.1486761Z remote: Counting objects: 15% (6/38) 2020-08-04T12:06:46.1491392Z remote: Counting objects: 18% (7/38) 2020-08-04T12:06:46.1491623Z remote: Counting objects: 21% (8/38) 2020-08-04T12:06:46.1491786Z remote: Counting objects: 23% (9/38) 2020-08-04T12:06:46.1491924Z remote: Counting objects: 26% (10/38) 2020-08-04T12:06:46.1492611Z remote: Counting objects: 28% (11/38) 2020-08-04T12:06:46.1492776Z remote: Counting objects: 31% (12/38) 2020-08-04T12:06:46.1492913Z remote: Counting objects: 34% (13/38) 2020-08-04T12:06:46.1493050Z remote: Counting objects: 36% (14/38) 2020-08-04T12:06:46.1493185Z remote: Counting objects: 39% (15/38) 2020-08-04T12:06:46.1493321Z remote: Counting objects: 42% (16/38) 2020-08-04T12:06:46.1493569Z remote: Counting objects: 44% (17/38) 2020-08-04T12:06:46.1493704Z remote: Counting objects: 47% (18/38) 2020-08-04T12:06:46.1493839Z remote: Counting objects: 50% (19/38) 2020-08-04T12:06:46.1494133Z remote: Counting objects: 52% (20/38) 2020-08-04T12:06:46.1494263Z remote: Counting objects: 55% (21/38) 2020-08-04T12:06:46.1494374Z remote: Counting objects: 57% (22/38) 2020-08-04T12:06:46.1494647Z remote: Counting objects: 60% (23/38) 2020-08-04T12:06:46.1494778Z remote: Counting objects: 63% (24/38) 2020-08-04T12:06:46.1494915Z remote: Counting objects: 65% (25/38) 2020-08-04T12:06:46.1495047Z remote: Counting objects: 68% (26/38) 2020-08-04T12:06:46.1495349Z remote: Counting objects: 71% (27/38) 2020-08-04T12:06:46.1495484Z remote: Counting objects: 73% (28/38) 2020-08-04T12:06:46.1495783Z remote: Counting objects: 76% (29/38) 2020-08-04T12:06:46.1495913Z remote: Counting objects: 78% (30/38) 2020-08-04T12:06:46.1496287Z remote: Counting objects: 81% (31/38) 2020-08-04T12:06:46.1496469Z remote: Counting objects: 84% (32/38) 2020-08-04T12:06:46.1496793Z remote: Counting objects: 86% (33/38) 2020-08-04T12:06:46.1496979Z remote: Counting objects: 89% (34/38) 2020-08-04T12:06:46.1497107Z remote: Counting objects: 92% (35/38) 2020-08-04T12:06:46.1497243Z remote: Counting objects: 94% (36/38) 2020-08-04T12:06:46.1497383Z remote: Counting objects: 97% (37/38) 2020-08-04T12:06:46.1497516Z remote: Counting objects: 100% (38/38) 2020-08-04T12:06:46.1497653Z remote: Counting objects: 100% (38/38), done. 2020-08-04T12:06:46.1497794Z remote: Compressing objects: 2% (1/34) 2020-08-04T12:06:46.1497930Z remote: Compressing objects: 5% (2/34) 2020-08-04T12:06:46.1498066Z remote: Compressing objects: 8% (3/34) 2020-08-04T12:06:46.1498198Z remote: Compressing objects: 11% (4/34) 2020-08-04T12:06:46.1498328Z remote: Compressing objects: 14% (5/34) 2020-08-04T12:06:46.1498749Z remote: Compressing objects: 17% (6/34) 2020-08-04T12:06:46.1499103Z remote: Compressing objects: 20% (7/34) 2020-08-04T12:06:46.1499513Z remote: Compressing objects: 23% (8/34) 2020-08-04T12:06:46.1499755Z remote: Compressing objects: 26% (9/34) 2020-08-04T12:06:46.1500013Z remote: Compressing objects: 29% (10/34) 2020-08-04T12:06:46.1500255Z remote: Compressing objects: 32% (11/34) 2020-08-04T12:06:46.1520236Z remote: Compressing objects: 35% (12/34) 2020-08-04T12:06:46.1690413Z remote: Compressing objects: 38% (13/34) 2020-08-04T12:06:46.1691073Z remote: Compressing objects: 41% (14/34) 2020-08-04T12:06:46.2064145Z remote: Compressing objects: 44% (15/34) 2020-08-04T12:06:46.2403311Z remote: Compressing objects: 47% (16/34) 2020-08-04T12:06:46.2431367Z remote: Compressing objects: 50% (17/34) 2020-08-04T12:06:46.2577881Z remote: Compressing objects: 52% (18/34) 2020-08-04T12:06:46.2882098Z remote: Compressing objects: 55% (19/34) 2020-08-04T12:06:46.2943474Z remote: Compressing objects: 58% (20/34) 2020-08-04T12:06:46.3249497Z remote: Compressing objects: 61% (21/34) 2020-08-04T12:06:46.3456090Z remote: Compressing objects: 64% (22/34) 2020-08-04T12:06:46.3628922Z remote: Compressing objects: 67% (23/34) 2020-08-04T12:06:46.3630830Z remote: Compressing objects: 70% (24/34) 2020-08-04T12:06:46.3803963Z remote: Compressing objects: 73% (25/34) 2020-08-04T12:06:46.3869364Z remote: Compressing objects: 76% (26/34) 2020-08-04T12:06:46.3869517Z remote: Compressing objects: 79% (27/34) 2020-08-04T12:06:46.3869813Z remote: Compressing objects: 82% (28/34) 2020-08-04T12:06:46.3870085Z remote: Compressing objects: 85% (29/34) 2020-08-04T12:06:46.3870201Z remote: Compressing objects: 88% (30/34) 2020-08-04T12:06:46.3870320Z remote: Compressing objects: 91% (31/34) 2020-08-04T12:06:46.3870437Z remote: Compressing objects: 94% (32/34) 2020-08-04T12:06:46.3870550Z remote: Compressing objects: 97% (33/34) 2020-08-04T12:06:46.3870664Z remote: Compressing objects: 100% (34/34) 2020-08-04T12:06:46.3870785Z remote: Compressing objects: 100% (34/34), done. 2020-08-04T12:06:46.5167866Z remote: Total 38 (delta 3), reused 16 (delta 1), pack-reused 0 2020-08-04T12:06:46.5769344Z From https://github.com/bostonharbor/A043.S001.P01-OC-TANNER-CPQ-PROJECT-PHASE-01 2020-08-04T12:06:46.5769828Z * [new ref] 08765cc394ed04ccd5c2a1637e695a3ed349fc8f -> origin/DEV.JS 2020-08-04T12:06:46.5798033Z ##[endgroup] 2020-08-04T12:06:46.5798476Z ##[group]Determining the checkout info 2020-08-04T12:06:46.5801312Z ##[endgroup] 2020-08-04T12:06:46.5801764Z ##[group]Checking out the ref 2020-08-04T12:06:46.5813317Z [command]/usr/bin/git checkout --progress --force -B DEV.JS refs/remotes/origin/DEV.JS 2020-08-04T12:06:46.6181657Z Switched to a new branch 'DEV.JS' 2020-08-04T12:06:46.6183022Z Branch 'DEV.JS' set up to track remote branch 'DEV.JS' from 'origin'. 2020-08-04T12:06:46.6189840Z ##[endgroup] 2020-08-04T12:06:46.6196424Z [command]/usr/bin/git log -1 2020-08-04T12:06:46.6254561Z commit 08765cc394ed04ccd5c2a1637e695a3ed349fc8f 2020-08-04T12:06:46.6254767Z Author: Linkesh Kanna Velu <linkesh.kanna@bostonharborconsulting.com> 2020-08-04T12:06:46.6254966Z Date: Tue Aug 4 17:35:36 2020 +0530 2020-08-04T12:06:46.6255047Z 2020-08-04T12:06:46.6255424Z Working Version 2020-08-04T12:06:46.6366436Z ##[group]Run bacongobbler/azure-blob-storage-upload@v1.0.0 2020-08-04T12:06:46.6366618Z with: 2020-08-04T12:06:46.6366741Z source_dir: AdditionalFiles 2020-08-04T12:06:46.6366857Z container_name: $web 2020-08-04T12:06:46.6367417Z connection_string: *** 2020-08-04T12:06:46.6367543Z ##[endgroup] 2020-08-04T12:06:46.6396870Z ##[command]/usr/bin/docker run --name c201432932966e414af9b70d5d24d1bd00eb_1001b7 --label 87c201 --workdir /github/workspace --rm -e INPUT_SOURCE_DIR -e INPUT_CONTAINER_NAME -e INPUT_CONNECTION_STRING -e INPUT_EXTRA_ARGS -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/A043.S001.P01-OC-TANNER-CPQ-PROJECT-PHASE-01/A043.S001.P01-OC-TANNER-CPQ-PROJECT-PHASE-01":"/github/workspace" 87c201:432932966e414af9b70d5d24d1bd00eb 2020-08-04T12:06:48.3008974Z The command failed with an unexpected error. Here is the traceback: 2020-08-04T12:06:48.3009164Z 2020-08-04T12:06:48.3034298Z [Errno 2] No such file or directory: '$web' 2020-08-04T12:06:48.3034710Z Traceback (most recent call last): 2020-08-04T12:06:48.3035103Z File "/usr/local/lib/python3.6/site-packages/knack/cli.py", line 215, in invoke 2020-08-04T12:06:48.3035318Z cmd_result = self.invocation.execute(args) 2020-08-04T12:06:48.3035712Z File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 654, in execute 2020-08-04T12:06:48.3035899Z raise ex 2020-08-04T12:06:48.3046327Z File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 718, in _run_jobs_serially 2020-08-04T12:06:48.3046518Z results.append(self._run_job(expanded_arg, cmd_copy)) 2020-08-04T12:06:48.3046889Z File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 709, in _run_job 2020-08-04T12:06:48.3047039Z cmd_copy.exception_handler(ex) 2020-08-04T12:06:48.3047387Z File "/usr/local/lib/python3.6/site-packages/azure/cli/command_modules/storage/__init__.py", line 325, in new_handler 2020-08-04T12:06:48.3047530Z raise ex 2020-08-04T12:06:48.3047863Z File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 688, in _run_job 2020-08-04T12:06:48.3048245Z result = cmd_copy(params) 2020-08-04T12:06:48.3048624Z File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 325, in __call__ 2020-08-04T12:06:48.3048778Z return self.handler(*args, **kwargs) 2020-08-04T12:06:48.3049121Z File "/usr/local/lib/python3.6/site-packages/azure/cli/core/__init__.py", line 765, in default_command_handler 2020-08-04T12:06:48.3049267Z return op(**command_args) 2020-08-04T12:06:48.3049639Z File "/usr/local/lib/python3.6/site-packages/azure/cli/command_modules/storage/operations/blob.py", line 305, in storage_blob_upload_batch 2020-08-04T12:06:48.3049800Z if_none_match=if_none_match, timeout=timeout) 2020-08-04T12:06:48.3050146Z File "/usr/local/lib/python3.6/site-packages/azure/cli/command_modules/storage/util.py", line 225, in wrapper 2020-08-04T12:06:48.3050292Z return True, func(*args, **kwargs) 2020-08-04T12:06:48.3050648Z File "/usr/local/lib/python3.6/site-packages/azure/cli/command_modules/storage/operations/blob.py", line 281, in _upload_blob 2020-08-04T12:06:48.3050804Z return upload_blob(*args, **kwargs) 2020-08-04T12:06:48.3051316Z File "/usr/local/lib/python3.6/site-packages/azure/cli/command_modules/storage/operations/blob.py", line 451, in upload_blob 2020-08-04T12:06:48.3068703Z return type_func[blob_type]() 2020-08-04T12:06:48.3069317Z File "/usr/local/lib/python3.6/site-packages/azure/cli/command_modules/storage/operations/blob.py", line 444, in upload_block_blob 2020-08-04T12:06:48.3069491Z return client.create_blob_from_path(**create_blob_args) 2020-08-04T12:06:48.3069919Z File "/usr/local/lib/python3.6/site-packages/azure/multiapi/storage/v2018_11_09/blob/blockblobservice.py", line 453, in create_blob_from_path 2020-08-04T12:06:48.3070078Z count = path.getsize(file_path) 2020-08-04T12:06:48.3070218Z File "/usr/local/lib/python3.6/genericpath.py", line 50, in getsize 2020-08-04T12:06:48.3070362Z return os.stat(filename).st_size 2020-08-04T12:06:48.3070681Z FileNotFoundError: [Errno 2] No such file or directory: '$web' 2020-08-04T12:06:48.3070791Z 2020-08-04T12:06:48.3071230Z To open an issue, please run: 'az feedback' 2020-08-04T12:06:48.6314318Z Post job cleanup. 2020-08-04T12:06:48.7432165Z [command]/usr/bin/git version 2020-08-04T12:06:48.7497882Z git version 2.27.0 2020-08-04T12:06:48.7538989Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand 2020-08-04T12:06:48.7577763Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || : 2020-08-04T12:06:48.7860548Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2020-08-04T12:06:48.7897888Z http.https://github.com/.extraheader 2020-08-04T12:06:48.7908171Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader 2020-08-04T12:06:48.7962312Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || : 2020-08-04T12:06:48.8306574Z Cleaning up orphan processes

image

Looks like azure-cli problem.

Azure/azure-cli#14641

I have same issue. Any update on this?
I tried the Azure/azure-cli#14641 but doesn't work for my case.

I'm certain this will be fixed soon upstream.

In the meantime, feel free to fork this project and change the first line in the Dockerfile to microsoft/azure-cli:2.9.1. Once done, make sure to reference your repository's action via myuser/azure-blob-storage-upload@master.

If this goes on longer than a few business days, I'll go and pin azure-cli to 2.9.1.

Hope this helps.

For reference:

FROM microsoft/azure-cli

I asked for a response on that thread to see what's the expected timeline for a fix. If I don't hear back I'll go ahead and file a fix to revert back to a known working version.

Thanks for your patience.

I'm certain this will be fixed soon upstream.

In the meantime, feel free to fork this project and change the first line in the Dockerfile to microsoft/azure-cli:2.9.1. Once done, make sure to reference your repository's action via myuser/azure-blob-storage-upload@master.

If this goes on longer than a few business days, I'll go and pin azure-cli to 2.9.1.

Hope this helps.

I forked your repo and made changes you mentioned above. Following is my docker file in the master

`
FROM microsoft/azure-cli:2.9.1

LABEL "com.github.actions.name"="azure-blob-storage-upload"
LABEL "com.github.actions.description"="Uploads assets to Azure Blob Storage"
LABEL "com.github.actions.icon"="box"
LABEL "com.github.actions.color"="green"
LABEL "repository"="https://github.com/bacongobbler/azure-blob-storage-upload"
LABEL "homepage"="https://github.com/bacongobbler/azure-blob-storage-upload"
LABEL "maintainer"="Matthew Fisher matt.fisher@microsoft.com"

ADD entrypoint.sh /entrypoint.sh
RUN chmod +x entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]
`

I use this in my workflow as below

`
name: PUBLISH.DEV.TO.AZURE

on:
push:
branches: [ DEV.JS ]
pull_request:
branches: [ DEV.JS ]

jobs:
upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: bostonharbor/azure-blob-storage-upload@master
with:
source_dir: AdditionalFiles
container_name: $web
connection_string: ${{ secrets.AZURE_ACCESS_KEY_CONNECTION_STRING }}
`
But I'm getting error as

`
Build bostonharbor/azure-blob-storage-upload@master9s
##[error]Docker build failed with exit code 1
Build container for action use: '/home/runner/work/_actions/bostonharbor/azure-blob-storage-upload/master/Dockerfile'.
/usr/bin/docker build -t 87c201:0ef29a4a6cec45b7912ca6baeb8327f5 -f "/home/runner/work/_actions/bostonharbor/azure-blob-storage-upload/master/Dockerfile" "/home/runner/work/_actions/bostonharbor/azure-blob-storage-upload/master"
Sending build context to Docker daemon 21.5kB

Step 1/11 : FROM microsoft/azure-cli:2.9.1
manifest for microsoft/azure-cli:2.9.1 not found: manifest unknown: manifest unknown
##[warning]Docker build failed with exit code 1, back off 6 seconds before retry.
/usr/bin/docker build -t 87c201:0ef29a4a6cec45b7912ca6baeb8327f5 -f "/home/runner/work/_actions/bostonharbor/azure-blob-storage-upload/master/Dockerfile" "/home/runner/work/_actions/bostonharbor/azure-blob-storage-upload/master"
Sending build context to Docker daemon 21.5kB

Step 1/11 : FROM microsoft/azure-cli:2.9.1
manifest for microsoft/azure-cli:2.9.1 not found: manifest unknown: manifest unknown
##[warning]Docker build failed with exit code 1, back off 1.631 seconds before retry.
/usr/bin/docker build -t 87c201:0ef29a4a6cec45b7912ca6baeb8327f5 -f "/home/runner/work/_actions/bostonharbor/azure-blob-storage-upload/master/Dockerfile" "/home/runner/work/_actions/bostonharbor/azure-blob-storage-upload/master"
Sending build context to Docker daemon 21.5kB

Step 1/11 : FROM microsoft/azure-cli:2.9.1
manifest for microsoft/azure-cli:2.9.1 not found: manifest unknown: manifest unknown
##[error]Docker build failed with exit code 1
`

It looks like the project has moved to mcr.microsoft.com/azure-cli. So change it from microsoft/azure-cli:2.9.1 to mcr.microsoft.com/azure-cli:2.9.1 and it should work again.

Thanks @bacongobbler . changing to mcr.microsoft.com/azure-cli:2.9.1 is working.

I committed a fix that reverts back to a pinned version of the Azure CLI. use bacongobbler/azure-blob-storage-upload@main going forward for the fix. Once a fix has been made available, I will revert back to the latest version of the CLI. Thanks for all your help and bug reports!

To be totally clear, here's the suggested fix for the time being:

name: Upload To Azure Blob Storage
on:
  push:
    branches:
      - master
jobs:
  upload:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: bacongobbler/azure-blob-storage-upload@main
        with:
          source_dir: dist
          container_name: $web
          connection_string: ${{ secrets.ConnectionString }}
          sync: false

Thanks everyone.

Thank you for your quick reply and fix for this @bacongobbler . Please post an update here once you revert back to the latest version of the CLI.

@bacongobbler thanks so much for this fix. It is working now. Please keep us updated on the cli version.

@bacongobbler Awesome! Thank you!