Azure / azure-dev

A developer CLI that reduces the time it takes for you to get started on Azure. The Azure Developer CLI (azd) provides a set of developer-friendly commands that map to key stages in your workflow - code, build, deploy, monitor, repeat.
https://aka.ms/azd
MIT License
396 stars 190 forks source link

[Issue] azd deploy seems to last forever, despite successful Oryx build in Portal #2012

Closed pamelafox closed 1 year ago

pamelafox commented 1 year ago

Output from azd version Run azd version and copy and paste the output here:

azd version 0.8.0-beta.2 (commit 429b6ccf9a9d1616efa8988f2f8561deeb464c71)

Describe the bug Description of issue you're seeing...

When I run azd deploy, whether locally or in Github actions, it seems to never stop deploying. For an example, here's an action that took 5 hours and then gave up: https://github.com/pamelafox/django-quiz-app/actions/runs/4775437395/jobs/8489720158

However, when I check the Portal, I see that it deployed just fine, and fairly quickly.

Screenshot 2023-04-24 at 9 55 35 AM

To Reproduce

I am reproducing on the repo linked above (django-quiz-app).

Expected behavior

I expect it to know when its done deploying.

I realize I should try running deploy in debug/verbose mode, I'll do that now.

pamelafox commented 1 year ago

The debug logs look like this (truncated):

2023/04/24 17:10:11 main.go:46: LongRunningOperation: delay for 10s
  |=      | Deploying service web (Uploading deployment package)2023/04/24 17:10:21 main.go:46: Retry: =====> Try=1
2023/04/24 17:10:21 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  | ======| Deploying service web (Uploading deployment package)2023/04/24 17:10:23 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/1.321257584s, OpTime=1.322654459s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:10:22 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:10:23 main.go:46: Retry: response 202
2023/04/24 17:10:23 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:10:23 main.go:46: LongRunningOperation: delay for 10s
  |=      | Deploying service web (Uploading deployment package)2023/04/24 17:10:33 main.go:46: Retry: =====> Try=1
2023/04/24 17:10:33 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |=======| Deploying service web (Uploading deployment package)2023/04/24 17:10:34 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/1.208575292s, OpTime=1.208961459s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:10:34 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:10:34 main.go:46: Retry: response 202
2023/04/24 17:10:34 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:10:34 main.go:46: LongRunningOperation: delay for 10s
  |=      | Deploying service web (Uploading deployment package)2023/04/24 17:10:44 main.go:46: Retry: =====> Try=1
2023/04/24 17:10:44 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |  =====| Deploying service web (Uploading deployment package)2023/04/24 17:10:45 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/1.57786725s, OpTime=1.581862584s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:10:45 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:10:45 main.go:46: Retry: response 202
2023/04/24 17:10:45 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:10:45 main.go:46: LongRunningOperation: delay for 10s
  |==     | Deploying service web (Uploading deployment package)2023/04/24 17:10:55 main.go:46: Retry: =====> Try=1
2023/04/24 17:10:55 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  | ======| Deploying service web (Uploading deployment package)2023/04/24 17:10:57 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/1.345089583s, OpTime=1.346006667s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:10:56 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:10:57 main.go:46: Retry: response 202
2023/04/24 17:10:57 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:10:57 main.go:46: LongRunningOperation: delay for 10s
  |=      | Deploying service web (Uploading deployment package)2023/04/24 17:11:07 main.go:46: Retry: =====> Try=1
2023/04/24 17:11:07 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |   ====| Deploying service web (Uploading deployment package)2023/04/24 17:11:09 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/1.754119751s, OpTime=1.755145001s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:11:08 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:11:09 main.go:46: Retry: response 202
2023/04/24 17:11:09 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:11:09 main.go:46: LongRunningOperation: delay for 10s
  |===    | Deploying service web (Uploading deployment package)2023/04/24 17:11:19 main.go:46: Retry: =====> Try=1
2023/04/24 17:11:19 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |       | Deploying service web (Uploading deployment package)2023/04/24 17:11:21 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/2.242650209s, OpTime=2.244322626s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:11:20 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:11:21 main.go:46: Retry: response 202
2023/04/24 17:11:21 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:11:21 main.go:46: LongRunningOperation: delay for 10s
  | ======| Deploying service web (Uploading deployment package)2023/04/24 17:11:31 main.go:46: Retry: =====> Try=1
2023/04/24 17:11:31 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |=      | Deploying service web (Uploading deployment package)2023/04/24 17:11:32 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/1.415216584s, OpTime=1.416082376s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:11:32 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:11:32 main.go:46: Retry: response 202
2023/04/24 17:11:32 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:11:32 main.go:46: LongRunningOperation: delay for 10s
  | ======| Deploying service web (Uploading deployment package)2023/04/24 17:11:42 main.go:46: Retry: =====> Try=1
2023/04/24 17:11:42 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |   ====| Deploying service web (Uploading deployment package)2023/04/24 17:11:46 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/3.194927627s, OpTime=3.197747794s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:11:45 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:11:46 main.go:46: Retry: response 202
2023/04/24 17:11:46 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:11:46 main.go:46: LongRunningOperation: delay for 10s
  |====   | Deploying service web (Uploading deployment package)2023/04/24 17:11:56 main.go:46: Retry: =====> Try=1
2023/04/24 17:11:56 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |      =| Deploying service web (Uploading deployment package)2023/04/24 17:11:57 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/1.811364792s, OpTime=1.813197417s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:11:57 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:11:57 main.go:46: Retry: response 202
2023/04/24 17:11:57 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:11:57 main.go:46: LongRunningOperation: delay for 10s
  |====== | Deploying service web (Uploading deployment package)2023/04/24 17:12:07 main.go:46: Retry: =====> Try=1
2023/04/24 17:12:07 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |     ==| Deploying service web (Uploading deployment package)2023/04/24 17:12:09 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/1.355009959s, OpTime=1.355921001s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:12:08 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:12:09 main.go:46: Retry: response 202
2023/04/24 17:12:09 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:12:09 main.go:46: LongRunningOperation: delay for 10s
  |====== | Deploying service web (Uploading deployment package)2023/04/24 17:12:19 main.go:46: Retry: =====> Try=1
2023/04/24 17:12:19 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |===    | Deploying service web (Uploading deployment package)2023/04/24 17:12:21 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/2.363382501s, OpTime=2.365325543s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:12:21 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:12:21 main.go:46: Retry: response 202
2023/04/24 17:12:21 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:12:21 main.go:46: LongRunningOperation: delay for 10s
  |    ===| Deploying service web (Uploading deployment package)2023/04/24 17:12:31 main.go:46: Retry: =====> Try=1
2023/04/24 17:12:31 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |       | Deploying service web (Uploading deployment package)2023/04/24 17:12:37 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/6.406926711s, OpTime=6.407974253s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:12:37 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:12:37 main.go:46: Retry: response 202
2023/04/24 17:12:37 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:12:37 main.go:46: LongRunningOperation: delay for 10s
  | ======| Deploying service web (Uploading deployment package)2023/04/24 17:12:47 main.go:46: Retry: =====> Try=1
2023/04/24 17:12:47 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |       | Deploying service web (Uploading deployment package)2023/04/24 17:12:49 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/1.265078583s, OpTime=1.266022333s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:12:48 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:12:49 main.go:46: Retry: response 202
2023/04/24 17:12:49 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:12:49 main.go:46: LongRunningOperation: delay for 10s
  |=======| Deploying service web (Uploading deployment package)2023/04/24 17:12:59 main.go:46: Retry: =====> Try=1
2023/04/24 17:12:59 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |====   | Deploying service web (Uploading deployment package)2023/04/24 17:13:01 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/2.106989793s, OpTime=2.109014376s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:13:00 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:13:01 main.go:46: Retry: response 202
2023/04/24 17:13:01 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:13:01 main.go:46: LongRunningOperation: delay for 10s
  |    ===| Deploying service web (Uploading deployment package)2023/04/24 17:13:11 main.go:46: Retry: =====> Try=1
2023/04/24 17:13:11 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |===    | Deploying service web (Uploading deployment package)2023/04/24 17:13:12 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/1.299027126s, OpTime=1.300953709s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:13:12 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:13:12 main.go:46: Retry: response 202
2023/04/24 17:13:12 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:13:12 main.go:46: LongRunningOperation: delay for 10s
  |    ===| Deploying service web (Uploading deployment package)2023/04/24 17:13:22 main.go:46: Retry: =====> Try=1
2023/04/24 17:13:22 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |====== | Deploying service web (Uploading deployment package)2023/04/24 17:13:24 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/1.802532626s, OpTime=1.805329126s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:13:23 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:13:24 main.go:46: Retry: response 202
2023/04/24 17:13:24 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:13:24 main.go:46: LongRunningOperation: delay for 10s
  |      =| Deploying service web (Uploading deployment package)2023/04/24 17:13:34 main.go:46: Retry: =====> Try=1
2023/04/24 17:13:34 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |=====  | Deploying service web (Uploading deployment package)2023/04/24 17:13:35 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/1.226268125s, OpTime=1.229535s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:13:35 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:13:35 main.go:46: Retry: response 202
2023/04/24 17:13:35 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:13:35 main.go:46: LongRunningOperation: delay for 10s
  |      =| Deploying service web (Uploading deployment package)2023/04/24 17:13:45 main.go:46: Retry: =====> Try=1
2023/04/24 17:13:45 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |=====  | Deploying service web (Uploading deployment package)2023/04/24 17:13:47 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/1.238142834s, OpTime=1.239240125s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:13:46 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:13:47 main.go:46: Retry: response 202
2023/04/24 17:13:47 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:13:47 main.go:46: LongRunningOperation: delay for 10s
  |     ==| Deploying service web (Uploading deployment package)2023/04/24 17:13:57 main.go:46: Retry: =====> Try=1
2023/04/24 17:13:57 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |====   | Deploying service web (Uploading deployment package)2023/04/24 17:13:58 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/1.217829542s, OpTime=1.218631876s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:13:57 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:13:58 main.go:46: Retry: response 202
2023/04/24 17:13:58 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:13:58 main.go:46: LongRunningOperation: delay for 10s
  |    ===| Deploying service web (Uploading deployment package)2023/04/24 17:14:08 main.go:46: Retry: =====> Try=1
2023/04/24 17:14:08 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |====   | Deploying service web (Uploading deployment package)2023/04/24 17:14:09 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/1.470440001s, OpTime=1.470775542s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:14:09 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:14:09 main.go:46: Retry: response 202
2023/04/24 17:14:09 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:14:09 main.go:46: LongRunningOperation: delay for 10s
  |     ==| Deploying service web (Uploading deployment package)2023/04/24 17:14:19 main.go:46: Retry: =====> Try=1
2023/04/24 17:14:19 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |====   | Deploying service web (Uploading deployment package)2023/04/24 17:14:20 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/1.201900125s, OpTime=1.202657792s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:14:20 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:14:20 main.go:46: Retry: response 202
2023/04/24 17:14:20 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:14:20 main.go:46: LongRunningOperation: delay for 10s
  |    ===| Deploying service web (Uploading deployment package)2023/04/24 17:14:30 main.go:46: Retry: =====> Try=1
2023/04/24 17:14:30 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |=======| Deploying service web (Uploading deployment package)2023/04/24 17:14:32 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/1.980642751s, OpTime=1.981204251s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:14:32 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:14:32 main.go:46: Retry: response 202
2023/04/24 17:14:32 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:14:32 main.go:46: LongRunningOperation: delay for 10s
  |       | Deploying service web (Uploading deployment package)2023/04/24 17:14:42 main.go:46: Retry: =====> Try=1
2023/04/24 17:14:42 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |=======| Deploying service web (Uploading deployment package)2023/04/24 17:14:44 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/1.358861959s, OpTime=1.359569251s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:14:43 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:14:44 main.go:46: Retry: response 202
2023/04/24 17:14:44 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:14:44 main.go:46: LongRunningOperation: delay for 10s
  |       | Deploying service web (Uploading deployment package)2023/04/24 17:14:54 main.go:46: Retry: =====> Try=1
2023/04/24 17:14:54 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |=======| Deploying service web (Uploading deployment package)2023/04/24 17:14:55 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/1.331541334s, OpTime=1.332082417s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:14:54 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:14:55 main.go:46: Retry: response 202
2023/04/24 17:14:55 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:14:55 main.go:46: LongRunningOperation: delay for 10s
  |       | Deploying service web (Uploading deployment package)2023/04/24 17:15:05 main.go:46: Retry: =====> Try=1
2023/04/24 17:15:05 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |====== | Deploying service web (Uploading deployment package)2023/04/24 17:15:06 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/1.24691275s, OpTime=1.249120875s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:15:06 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:15:06 main.go:46: Retry: response 202
2023/04/24 17:15:06 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:15:06 main.go:46: LongRunningOperation: delay for 10s
  |       | Deploying service web (Uploading deployment package)2023/04/24 17:15:16 main.go:46: Retry: =====> Try=1
2023/04/24 17:15:16 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |====== | Deploying service web (Uploading deployment package)2023/04/24 17:15:18 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/1.317855918s, OpTime=1.320185168s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:15:17 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:15:18 main.go:46: Retry: response 202
2023/04/24 17:15:18 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:15:18 main.go:46: LongRunningOperation: delay for 10s
  |       | Deploying service web (Uploading deployment package)2023/04/24 17:15:28 main.go:46: Retry: =====> Try=1
2023/04/24 17:15:28 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |====== | Deploying service web (Uploading deployment package)2023/04/24 17:15:29 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/1.300169459s, OpTime=1.300634542s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:15:28 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:15:29 main.go:46: Retry: response 202
2023/04/24 17:15:29 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:15:29 main.go:46: LongRunningOperation: delay for 10s
  |       | Deploying service web (Uploading deployment package)2023/04/24 17:15:39 main.go:46: Retry: =====> Try=1
2023/04/24 17:15:39 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |====== | Deploying service web (Uploading deployment package)2023/04/24 17:15:40 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/1.266834501s, OpTime=1.267002209s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:15:40 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:15:40 main.go:46: Retry: response 202
2023/04/24 17:15:40 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:15:40 main.go:46: LongRunningOperation: delay for 10s
  |      =| Deploying service web (Uploading deployment package)2023/04/24 17:15:50 main.go:46: Retry: =====> Try=1
2023/04/24 17:15:50 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |====== | Deploying service web (Uploading deployment package)2023/04/24 17:15:52 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/1.352570208s, OpTime=1.354586792s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:15:51 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:15:52 main.go:46: Retry: response 202
2023/04/24 17:15:52 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:15:52 main.go:46: LongRunningOperation: delay for 10s
  |      =| Deploying service web (Uploading deployment package)2023/04/24 17:16:02 main.go:46: Retry: =====> Try=1
2023/04/24 17:16:02 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |     ==| Deploying service web (Uploading deployment package)2023/04/24 17:16:04 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/2.554561877s, OpTime=2.55971221s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:16:03 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:16:04 main.go:46: Retry: response 202
2023/04/24 17:16:04 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:16:04 main.go:46: LongRunningOperation: delay for 10s
  |=====  | Deploying service web (Uploading deployment package)2023/04/24 17:16:14 main.go:46: Retry: =====> Try=1
2023/04/24 17:16:14 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |    ===| Deploying service web (Uploading deployment package)2023/04/24 17:16:15 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/1.264118584s, OpTime=1.264272834s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:16:15 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:16:15 main.go:46: Retry: response 202
2023/04/24 17:16:15 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:16:15 main.go:46: LongRunningOperation: delay for 10s
  |=====  | Deploying service web (Uploading deployment package)2023/04/24 17:16:25 main.go:46: Retry: =====> Try=1
2023/04/24 17:16:25 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |    ===| Deploying service web (Uploading deployment package)2023/04/24 17:16:27 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/1.301014084s, OpTime=1.30175025s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:16:26 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:16:27 main.go:46: Retry: response 202
2023/04/24 17:16:27 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:16:27 main.go:46: LongRunningOperation: delay for 10s
  |=====  | Deploying service web (Uploading deployment package)2023/04/24 17:16:37 main.go:46: Retry: =====> Try=1
2023/04/24 17:16:37 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |     ==| Deploying service web (Uploading deployment package)2023/04/24 17:16:38 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/1.393017001s, OpTime=1.394393751s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:16:37 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:16:38 main.go:46: Retry: response 202
2023/04/24 17:16:38 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:16:38 main.go:46: LongRunningOperation: delay for 10s
  |=====  | Deploying service web (Uploading deployment package)2023/04/24 17:16:48 main.go:46: Retry: =====> Try=1
2023/04/24 17:16:48 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |     ==| Deploying service web (Uploading deployment package)2023/04/24 17:16:50 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/1.417597459s, OpTime=1.418976959s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:16:49 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:16:50 main.go:46: Retry: response 202
2023/04/24 17:16:50 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:16:50 main.go:46: LongRunningOperation: delay for 10s
  |====== | Deploying service web (Uploading deployment package)2023/04/24 17:17:00 main.go:46: Retry: =====> Try=1
2023/04/24 17:17:00 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |     ==| Deploying service web (Uploading deployment package)2023/04/24 17:17:01 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/1.324304584s, OpTime=1.326370209s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:17:00 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED

2023/04/24 17:17:01 main.go:46: Retry: response 202
2023/04/24 17:17:01 main.go:46: Retry: exit due to non-retriable status code
2023/04/24 17:17:01 main.go:46: LongRunningOperation: delay for 10s
  |====== | Deploying service web (Uploading deployment package)2023/04/24 17:17:11 main.go:46: Retry: =====> Try=1
2023/04/24 17:17:11 main.go:46: Request: ==> OUTGOING REQUEST (Try=1)
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)

  |====== | Deploying service web (Uploading deployment package)2023/04/24 17:17:14 main.go:46: Response: ==> REQUEST/RESPONSE (Try=1/2.912802209s, OpTime=2.913348376s) -- RESPONSE RECEIVED
   GET https://django-quiz-example-7bpjsfzcr5ppg-appservice.scm.azurewebsites.net:443/api/deployments/latest?deployer=REDACTED&time=REDACTED
   Authorization: REDACTED
   User-Agent: azsdk-go-zip-deploy/1.0.0 (go1.20.3; linux),azdev/0.8.0-beta.2 (Go go1.20.3; linux/amd64)
   --------------------------------------------------------------------------------
   RESPONSE Status: 202 Accepted
   Content-Type: application/json; charset=utf-8
   Date: Mon, 24 Apr 2023 17:17:13 GMT
   Location: REDACTED
   Server: Kestrel
   Set-Cookie: REDACTED
   Vary: REDACTED
wbreza commented 1 year ago

@pamelafox - Have you seen this issue get reproduced multiple times?

pamelafox commented 1 year ago

It continually happens on this particular deployment (resource group) but I was able to deploy to a different resource group today and have expedient deploys, so thats my plan for demo'ing this tomorrow at VS Code Day.

weikanglim commented 1 year ago

I see this reproducing pretty consistently in CD pipelines here: https://github.com/pamelafox/django-quiz-app/actions/workflows/azure-dev.yaml

@rajeshkamal5050 This may need attention. Based on how the CD pipeline's history. It consistently fails with the latest container image, and worked previously in 0.8.0-beta.1, I suspect it's a regression with the latest release.

rajeshkamal5050 commented 1 year ago

Tried, but the same - https://github.com/pamelafox/django-quiz-app couldn't repro it. Seems working fine. PFA logs,

2023-04-28T03:49:25.3705114Z Deploying services (azd deploy)
2023-04-28T03:49:25.3705575Z 
2023-04-28T03:49:25.3706187Z   |       | Deploying service web
2023-04-28T03:49:25.3771924Z   |       | Deploying service web (Compressing deployment artifacts)
2023-04-28T03:49:26.2757498Z   |       | Deploying service web (Uploading deployment package)
2023-04-28T03:50:54.6156026Z   |       | Deploying service web (Fetching endpoints for app service)
2023-04-28T03:50:54.8826039Z   |=      | Deploying service web (Fetching endpoints for app service)
2023-04-28T03:50:54.8826736Z   (✓) Done: Deploying service web
2023-04-28T03:50:54.8829199Z - Endpoint: https://***-cpzxqz6fuuzie-appservice.azurewebsites.net/
2023-04-28T03:50:54.8829546Z 
2023-04-28T03:50:54.9314889Z 
2023-04-28T03:50:54.9315590Z SUCCESS: Your Azure app has been deployed!
2023-04-28T03:50:54.9316954Z You can view the resources created under the resource group ***-rg in Azure Portal:
2023-04-28T03:50:54.9318834Z https://portal.azure.com/#@/resource/subscriptions/***/resourceGroups/***-rg/overview
pamelafox commented 1 year ago

Yeah all my new deployments work. I might just delete the resource group and re-create it, since it's just a demo app, but that might make it hard for you all to figure out what the issue is. Let me know. I assume it has to do with however you decide a deploy is done.

weikanglim commented 1 year ago

From the glance at the logs that @pamelafox referred me to, I don't see any problematic behaviors with azd.

We poll the api/deployments/latest endpoint periodically, but the site is returning 202 indicating that the async deployment operation is still ongoing. This logic is the same as Publish-AzureWebApp (source), and I suspect az would be the same.

I verified with @pamelafox that it is indeed the case that the Kudu site is still returning an ongoing operation that started awhile back. Digging deeper into why this may be the case.

EDIT: az does the same here, using api/deployments/latest as well, and the zip deploy status is polled for by checking the status from the JSON body here. In this case, with the data that pamela has provided, we'd be equally stuck.

weikanglim commented 1 year ago

What is interesting is that azd is polling for api/deployments/latest rather than api/deployments/{id}. But from our code, it is indeed true that we read the Location header response from api/zipdeploy.

weikanglim commented 1 year ago

We have raised a ticket with the service team.

weikanglim commented 1 year ago

We've indeed tracked this down to an issue on the service team. Will leave this open for azd users to track until the deployment completes.

weikanglim commented 1 year ago

Closing this out since the service deployment has been completed.