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

Sync eng/common directory with azure-sdk-tools for PR 8413 #23028

Closed
wants to merge 3 commits into from

get past go vet by removing the recording check

10a97d6
Select commit
Loading
Failed to load commit list.
Closed

Sync eng/common directory with azure-sdk-tools for PR 8413 #23028

get past go vet by removing the recording check
10a97d6
Select commit
Loading
Failed to load commit list.
Azure Pipelines / go - azcontainerregistry - ci failed Jun 11, 2024 in 8m 17s

Build #20240611.4 had test failures

Details

Tests

  • Failed: 12 (1.67%)
  • Passed: 708 (98.33%)
  • Other: 0 (0.00%)
  • Total: 720
Code coverage

  • 1276 of 1397 lines covered (91.34%)

Annotations

Check failure on line 7933 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / go - azcontainerregistry - ci

Build log #L7933

PowerShell exited with code '1'.

Check failure on line 7933 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / go - azcontainerregistry - ci

Build log #L7933

PowerShell exited with code '1'.

Check failure on line 19 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / go - azcontainerregistry - ci

Build log #L19

There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.

Check failure on line 7933 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / go - azcontainerregistry - ci

Build log #L7933

PowerShell exited with code '1'.

Check failure on line 1 in TestClient_GetManifest

See this annotation in the file changed.

@azure-pipelines azure-pipelines / go - azcontainerregistry - ci

TestClient_GetManifest

Failed
Raw output
    utils_test.go:69: 

Check failure on line 1 in TestClient_UploadManifest

See this annotation in the file changed.

@azure-pipelines azure-pipelines / go - azcontainerregistry - ci

TestClient_UploadManifest

Failed
Raw output
[Jun 11 23:01:15.887132] Retry: =====> Try=1
[Jun 11 23:01:15.887151] Request: ==> OUTGOING REQUEST (Try=1)
   GET https://Sanitized.azurecr.io/v2/hello-world/manifests/latest
   Accept: application/json
   User-Agent: azsdk-go-azcontainerregistry/v0.2.2 (go1.22.0 X:nocoverageredesign; linux)
   accept: application/vnd.oci.image.index.v1+json

[Jun 11 23:01:15.995773] Response: ==> REQUEST/RESPONSE (Try=1/108.580397ms, OpTime=108.589484ms) -- RESPONSE RECEIVED
   GET https://Sanitized.azurecr.io/v2/hello-world/manifests/latest
   Accept: application/json
   User-Agent: azsdk-go-azcontainerregistry/v0.2.2 (go1.22.0 X:nocoverageredesign; linux)
   accept: application/vnd.oci.image.index.v1+json
   --------------------------------------------------------------------------------
   RESPONSE Status: 401 Unauthorized
   Access-Control-Expose-Headers: REDACTED
   Connection: keep-alive
   Content-Length: 204
   Content-Type: application/json; charset=utf-8
   Date: Wed, 22 May 2024 23:27:33 GMT
   Docker-Distribution-Api-Version: REDACTED
   Server: AzureContainerRegistry
   Strict-Transport-Security: REDACTED
   Www-Authenticate: Bearer realm="https://Sanitized.azurecr.io/oauth2/token",service="Sanitized.azurecr.io",scope="repository:hello-world:pull"
   X-Content-Type-Options: REDACTED
   X-Ms-Correlation-Request-Id: REDACTED

[Jun 11 23:01:15.995817] Retry: =====> Try=1
[Jun 11 23:01:15.995842] Request: ==> OUTGOING REQUEST (Try=1)
   POST https://Sanitized.azurecr.io/oauth2/exchange?api-version=2021-07-01
   Accept: application/json
   Content-Length: 75
   Content-Type: application/x-www-form-urlencoded
   User-Agent: azsdk-go-azcontainerregistry/v0.2.2 (go1.22.0 X:nocoverageredesign; linux)

[Jun 11 23:01:15.997485] Response: ==> REQUEST/RESPONSE (Try=1/1.615854ms, OpTime=1.631723ms) -- RESPONSE RECEIVED
   POST https://Sanitized.azurecr.io/oauth2/exchange?api-version=2021-07-01
   Accept: application/json
   Content-Length: 75
   Content-Type: application/x-www-form-urlencoded
   User-Agent: azsdk-go-azcontainerregistry/v0.2.2 (go1.22.0 X:nocoverageredesign; linux)
   --------------------------------------------------------------------------------
   RESPONSE Status: 200 OK
   Connection: keep-alive
   Content-Type: application/json; charset=utf-8
   Date: Wed, 22 May 2024 23:27:34 GMT
   Server: AzureContainerRegistry
   Strict-Transport-Security: REDACTED
   X-Ms-Correlation-Request-Id: REDACTED
   X-Ms-Ratelimit-Remaining-Calls-Per-Second: REDACTED

[Jun 11 23:01:15.997494] Retry: response 200
[Jun 11 23:01:15.997499] Retry: exit due to non-retriable status code
[Jun 11 23:01:15.997576] Retry: =====> Try=1
[Jun 11 23:01:15.997593] Request: ==> OUTGOING REQUEST (Try=1)
   POST https://Sanitized.azurecr.io/oauth2/token?api-version=2021-07-01
   Accept: application/json
   Content-Length: 690
   Content-Type: application/x-www-form-urlencoded
   User-Agent: azsdk-go-azcontainerregistry/v0.2.2 (go1.22.0 X:nocoverageredesign; linux)

[Jun 11 23:01:15.999338] Response: ==> REQUEST/RESPONSE (Try=1/1.720595ms, OpTime=1.732177ms) -- RESPONSE RECEIVED
   POST https://Sanitized.azurecr.io/oauth2/token?api-version=2021-07-01
   Accept: application/json
   Content-Length: 690
   Content-Type: application/x-www-form-urlencoded
   User-Agent: azsdk-go-azcontainerregistry/v0.2.2 (go1.22.0 X:nocoverageredesign; linux)
   --------------------------------------------------------------------------------
   RESPONSE Status: 200 OK
   Connection: keep-alive
   Content-Type: application/json; charset=utf-8
   Date: Wed, 22 May 2024 23:27:34 GMT
   Server: AzureContainerRegistry
   Strict-Transport-Security: REDACTED
   X-Ms-Correlation-Request-Id: REDACTED
   X-Ms-Ratelimit-Remaining-Calls-Per-Second: REDACTED

[Jun 11 23:01:15.999347] Retry: response 200
[Jun 11 23:01:15.999350] Retry: exit due to non-retriable status code
[Jun 11 23:01:15.999374] Request: ==> OUTGOING REQUEST (Try=2)
   GET https://Sanitized.azurecr.io/v2/hello-world/manifests/

Check failure on line 1 in TestClient_GetManifest

See this annotation in the file changed.

@azure-pipelines azure-pipelines / go - azcontainerregistry - ci

TestClient_GetManifest

Failed
Raw output
    utils_test.go:69: 

Check failure on line 1 in TestClient_UploadManifest

See this annotation in the file changed.

@azure-pipelines azure-pipelines / go - azcontainerregistry - ci

TestClient_UploadManifest

Failed
Raw output
[Jun 11 23:01:31.120997] Retry: =====> Try=1
[Jun 11 23:01:31.121026] Request: ==> OUTGOING REQUEST (Try=1)
   GET https://Sanitized.azurecr.io/v2/hello-world/manifests/latest
   Accept: application/json
   User-Agent: azsdk-go-azcontainerregistry/v0.2.2 (go1.18.10; linux)
   accept: application/vnd.oci.image.index.v1+json

[Jun 11 23:01:31.251353] Response: ==> REQUEST/RESPONSE (Try=1/130.284424ms, OpTime=130.300865ms) -- RESPONSE RECEIVED
   GET https://Sanitized.azurecr.io/v2/hello-world/manifests/latest
   Accept: application/json
   User-Agent: azsdk-go-azcontainerregistry/v0.2.2 (go1.18.10; linux)
   accept: application/vnd.oci.image.index.v1+json
   --------------------------------------------------------------------------------
   RESPONSE Status: 401 Unauthorized
   Access-Control-Expose-Headers: REDACTED
   Connection: keep-alive
   Content-Length: 204
   Content-Type: application/json; charset=utf-8
   Date: Wed, 22 May 2024 23:27:33 GMT
   Docker-Distribution-Api-Version: REDACTED
   Server: AzureContainerRegistry
   Strict-Transport-Security: REDACTED
   Www-Authenticate: Bearer realm="https://Sanitized.azurecr.io/oauth2/token",service="Sanitized.azurecr.io",scope="repository:hello-world:pull"
   X-Content-Type-Options: REDACTED
   X-Ms-Correlation-Request-Id: REDACTED

[Jun 11 23:01:31.251399] Retry: =====> Try=1
[Jun 11 23:01:31.251421] Request: ==> OUTGOING REQUEST (Try=1)
   POST https://Sanitized.azurecr.io/oauth2/exchange?api-version=2021-07-01
   Accept: application/json
   Content-Length: 75
   Content-Type: application/x-www-form-urlencoded
   User-Agent: azsdk-go-azcontainerregistry/v0.2.2 (go1.18.10; linux)

[Jun 11 23:01:31.252873] Response: ==> REQUEST/RESPONSE (Try=1/1.421637ms, OpTime=1.440693ms) -- RESPONSE RECEIVED
   POST https://Sanitized.azurecr.io/oauth2/exchange?api-version=2021-07-01
   Accept: application/json
   Content-Length: 75
   Content-Type: application/x-www-form-urlencoded
   User-Agent: azsdk-go-azcontainerregistry/v0.2.2 (go1.18.10; linux)
   --------------------------------------------------------------------------------
   RESPONSE Status: 200 OK
   Connection: keep-alive
   Content-Type: application/json; charset=utf-8
   Date: Wed, 22 May 2024 23:27:34 GMT
   Server: AzureContainerRegistry
   Strict-Transport-Security: REDACTED
   X-Ms-Correlation-Request-Id: REDACTED
   X-Ms-Ratelimit-Remaining-Calls-Per-Second: REDACTED

[Jun 11 23:01:31.252884] Retry: response 200
[Jun 11 23:01:31.252889] Retry: exit due to non-retriable status code
[Jun 11 23:01:31.252970] Retry: =====> Try=1
[Jun 11 23:01:31.252993] Request: ==> OUTGOING REQUEST (Try=1)
   POST https://Sanitized.azurecr.io/oauth2/token?api-version=2021-07-01
   Accept: application/json
   Content-Length: 690
   Content-Type: application/x-www-form-urlencoded
   User-Agent: azsdk-go-azcontainerregistry/v0.2.2 (go1.18.10; linux)

[Jun 11 23:01:31.254360] Response: ==> REQUEST/RESPONSE (Try=1/1.344118ms, OpTime=1.362823ms) -- RESPONSE RECEIVED
   POST https://Sanitized.azurecr.io/oauth2/token?api-version=2021-07-01
   Accept: application/json
   Content-Length: 690
   Content-Type: application/x-www-form-urlencoded
   User-Agent: azsdk-go-azcontainerregistry/v0.2.2 (go1.18.10; linux)
   --------------------------------------------------------------------------------
   RESPONSE Status: 200 OK
   Connection: keep-alive
   Content-Type: application/json; charset=utf-8
   Date: Wed, 22 May 2024 23:27:34 GMT
   Server: AzureContainerRegistry
   Strict-Transport-Security: REDACTED
   X-Ms-Correlation-Request-Id: REDACTED
   X-Ms-Ratelimit-Remaining-Calls-Per-Second: REDACTED

[Jun 11 23:01:31.254368] Retry: response 200
[Jun 11 23:01:31.254372] Retry: exit due to non-retriable status code
[Jun 11 23:01:31.254398] Request: ==> OUTGOING REQUEST (Try=2)
   GET https://Sanitized.azurecr.io/v2/hello-world/manifests/latest
   Accept: application/json
   Authorization: REDACTED
   User-Agent: azsdk-go-azcontainerregistry/v0.2.2 (go1.18