GoogleCloudPlatform / nodejs-getting-started

A tutorial for creating a complete application using Node.js on Google Cloud Platform
https://cloud.google.com/nodejs
Apache License 2.0
809 stars 381 forks source link

gce: "before all" hook for "should get the instance" failed #485

Closed flaky-bot[bot] closed 3 years ago

flaky-bot[bot] commented 3 years ago

Note: #479 was also for this test, but it is locked


commit: 5bccb4d294a17e64b3f561644595b688713ac13c buildURL: Build Status, Sponge status: failed

Test output
Command failed: gcloud compute instances create my-app-instance-46e4ce85       --image-family=debian-9       --image-project=debian-cloud       --machine-type=g1-small       --scopes userinfo-email,cloud-platform       --metadata app-location=us-central1-f       --metadata-from-file startup-script=gce/startup-script.sh       --zone us-central1-f       --tags http-server
ERROR: (gcloud.compute.instances.create) You do not currently have an active account selected.
Please run:

  $ gcloud auth login

to obtain new credentials.

If you have already logged in with a different account:

    $ gcloud config set account ACCOUNT

to select an already authenticated account to use.

Error: Command failed: gcloud compute instances create my-app-instance-46e4ce85       --image-family=debian-9       --image-project=debian-cloud       --machine-type=g1-small       --scopes userinfo-email,cloud-platform       --metadata app-location=us-central1-f       --metadata-from-file startup-script=gce/startup-script.sh       --zone us-central1-f       --tags http-server
ERROR: (gcloud.compute.instances.create) You do not currently have an active account selected.
Please run:

  $ gcloud auth login

to obtain new credentials.

If you have already logged in with a different account:

    $ gcloud config set account ACCOUNT

to select an already authenticated account to use.

    at checkExecSyncError (child_process.js:629:11)
    at Object.execSync (child_process.js:666:13)
    at Context. (test/app.test.js:43:8)
flaky-bot[bot] commented 3 years ago

Looks like this issue is flaky. :worried:

I'm going to leave this open and stop commenting.

A human should fix and close this.


commit: 5bccb4d294a17e64b3f561644595b688713ac13c buildURL: Build Status, Sponge status: failed

Test output
Command failed: gcloud compute instances create my-app-instance-33ce7435       --image-family=debian-9       --image-project=debian-cloud       --machine-type=g1-small       --scopes userinfo-email,cloud-platform       --metadata app-location=us-central1-f       --metadata-from-file startup-script=gce/startup-script.sh       --zone us-central1-f       --tags http-server
ERROR: (gcloud.compute.instances.create) You do not currently have an active account selected.
Please run:

  $ gcloud auth login

to obtain new credentials.

If you have already logged in with a different account:

    $ gcloud config set account ACCOUNT

to select an already authenticated account to use.

Error: Command failed: gcloud compute instances create my-app-instance-33ce7435       --image-family=debian-9       --image-project=debian-cloud       --machine-type=g1-small       --scopes userinfo-email,cloud-platform       --metadata app-location=us-central1-f       --metadata-from-file startup-script=gce/startup-script.sh       --zone us-central1-f       --tags http-server
ERROR: (gcloud.compute.instances.create) You do not currently have an active account selected.
Please run:

  $ gcloud auth login

to obtain new credentials.

If you have already logged in with a different account:

    $ gcloud config set account ACCOUNT

to select an already authenticated account to use.

    at checkExecSyncError (child_process.js:629:11)
    at Object.execSync (child_process.js:666:13)
    at Context. (test/app.test.js:43:8)
flaky-bot[bot] commented 3 years ago

Oops! Looks like this issue is still flaky. It failed again. :grimacing:

I reopened the issue, but a human will need to close it again.


commit: 5bccb4d294a17e64b3f561644595b688713ac13c buildURL: Build Status, Sponge status: failed

Test output
Command failed: gcloud compute instances create my-app-instance-8a07fe94       --image-family=debian-9       --image-project=debian-cloud       --machine-type=g1-small       --scopes userinfo-email,cloud-platform       --metadata app-location=us-central1-f       --metadata-from-file startup-script=gce/startup-script.sh       --zone us-central1-f       --tags http-server
ERROR: (gcloud.compute.instances.create) You do not currently have an active account selected.
Please run:

  $ gcloud auth login

to obtain new credentials.

If you have already logged in with a different account:

    $ gcloud config set account ACCOUNT

to select an already authenticated account to use.

Error: Command failed: gcloud compute instances create my-app-instance-8a07fe94       --image-family=debian-9       --image-project=debian-cloud       --machine-type=g1-small       --scopes userinfo-email,cloud-platform       --metadata app-location=us-central1-f       --metadata-from-file startup-script=gce/startup-script.sh       --zone us-central1-f       --tags http-server
ERROR: (gcloud.compute.instances.create) You do not currently have an active account selected.
Please run:

  $ gcloud auth login

to obtain new credentials.

If you have already logged in with a different account:

    $ gcloud config set account ACCOUNT

to select an already authenticated account to use.

    at checkExecSyncError (child_process.js:629:11)
    at Object.execSync (child_process.js:666:13)
    at Context. (test/app.test.js:43:8)
chingor13 commented 3 years ago

The credentials need to be rolled.

chingor13 commented 3 years ago

This should be fixed now.