apigee / devrel

Common solutions and tools developed for Apigee
Apache License 2.0
187 stars 160 forks source link

Nightly build failure #351

Closed apigee-devrel-bot closed 3 years ago

apigee-devrel-bot commented 3 years ago

Pipeline Report

Pipeline Result Elapsed Wall Time
/workspace/references/apigee-sandbox-v1 pass 0s
/workspace/references/apimocker-hostedtargets pass 109s
/workspace/references/cicd-pipeline pass 415s
/workspace/references/cicd-sharedflow-pipeline pass 251s
/workspace/references/common-shared-flows pass 0s
/workspace/references/dutch-healthcare pass 280s
/workspace/references/gcp-sa-auth-shared-flow pass 230s
/workspace/references/identity-facade pass 277s
/workspace/references/java-callout pass 31s
/workspace/references/js-callout pass 27s
/workspace/references/kvm-admin-api pass 74s
/workspace/references/oidc-mock pass 16s
/workspace/references/proxy-template pass 95s
/workspace/references/southbound-mtls pass 108s
/workspace/references/threat-protect pass 125s
/workspace/labs/best-practices-hackathon pass 0s
/workspace/tools/another-apigee-client pass 4s
/workspace/tools/apigee-openlegacy pass 0s
/workspace/tools/apigee-sackmesser pass 178s
/workspace/tools/apigee-x-trial-provision pass 473s
/workspace/tools/decrypt-hybrid-assets pass 0s
/workspace/tools/hybrid-quickstart fail 514s
/workspace/tools/oas-apigee-mock pass 33s
/workspace/tools/oas-to-am pass 0s
/workspace/tools/organization-cleanup pass 0s
/workspace/tools/pipeline-linter pass 0s
/workspace/tools/pipeline-runner pass 0s
TOTAL PIPELINE pass 0s

View details in Cloud Build (permission required)

Commit version: 3595275

apigee-devrel-bot commented 3 years ago

Pipeline Report

Pipeline Result Elapsed Wall Time
/workspace/references/apigee-sandbox-v1 pass 0s
/workspace/references/apimocker-hostedtargets pass 106s
/workspace/references/cicd-pipeline pass 446s
/workspace/references/cicd-sharedflow-pipeline fail 25s
/workspace/references/common-shared-flows pass 0s
/workspace/references/dutch-healthcare pass 299s
/workspace/references/gcp-sa-auth-shared-flow pass 256s
/workspace/references/identity-facade pass 253s
/workspace/references/java-callout pass 29s
/workspace/references/js-callout pass 28s
/workspace/references/kvm-admin-api pass 136s
/workspace/references/oidc-mock pass 17s
/workspace/references/proxy-template pass 94s
/workspace/references/southbound-mtls pass 109s
/workspace/references/threat-protect pass 120s
/workspace/labs/best-practices-hackathon pass 0s
/workspace/tools/another-apigee-client pass 4s
/workspace/tools/apigee-openlegacy pass 0s
/workspace/tools/apigee-sackmesser pass 165s
/workspace/tools/apigee-x-trial-provision pass 441s
/workspace/tools/decrypt-hybrid-assets pass 0s
/workspace/tools/hybrid-quickstart fail 148s
/workspace/tools/oas-apigee-mock pass 30s
/workspace/tools/oas-to-am pass 1s
/workspace/tools/organization-cleanup pass 0s
/workspace/tools/pipeline-linter pass 0s
/workspace/tools/pipeline-runner pass 0s
TOTAL PIPELINE pass 0s

View details in Cloud Build (permission required)

Commit version: 3595275

seymen commented 3 years ago

there seems to be an issue with hybrid-quickstart:


Step #3 - "Run Pipeline": /workspace/tools/hybrid-quickstart (err): Logs are available at [https://console.cloud.google.com/cloud-build/builds/e9426660-e778-4400-89fe-1f37047be2a0?project=186224060637].
Step #3 - "Run Pipeline": /workspace/tools/hybrid-quickstart (err): ERROR: (gcloud.builds.submit) build e9426660-e778-4400-89fe-1f37047be2a0 completed with status "FAILURE"
Step #3 - "Run Pipeline": /workspace/tools/hybrid-quickstart: Step #0 - "Hybrid Install": writing new private key to '/workspace/hybrid-files/certs/test.key'
Step #3 - "Run Pipeline": /workspace/tools/hybrid-quickstart: Step #0 - "Hybrid Install": -----
Step #3 - "Run Pipeline": /workspace/tools/hybrid-quickstart: Step #0 - "Hybrid Install": Signature ok
Step #3 - "Run Pipeline": /workspace/tools/hybrid-quickstart: Step #0 - "Hybrid Install": subject=/CN=test.34-79-97-18.nip.io/O=Apigee Quickstart
Step #3 - "Run Pipeline": /workspace/tools/hybrid-quickstart: Step #0 - "Hybrid Install": Getting CA Private Key
Step #3 - "Run Pipeline": /workspace/tools/hybrid-quickstart: Step #0 - "Hybrid Install": Error from server (AlreadyExists): secrets "tls-hybrid-ingress" already exists
Step #3 - "Run Pipeline": /workspace/tools/hybrid-quickstart: Finished Step #0 - "Hybrid Install"
Step #3 - "Run Pipeline": /workspace/tools/hybrid-quickstart: ERROR
Step #3 - "Run Pipeline": /workspace/tools/hybrid-quickstart: ERROR: build step 0 "gcr.io/cloud-builders/gcloud" failed: step exited with non-zero status: 1```

Could you look into it @danistrebel?
danistrebel commented 3 years ago

Fixed by proper cleanup of service accounts in the Apigee hybrid quickstart