GoogleCloudPlatform/nodejs-getting-started

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

flaky-bot opened this issue · 4 comments

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


commit: 5bccb4d
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.<anonymous> (test/app.test.js:43:8)</pre></details>

Looks like this issue is flaky. 😟

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

A human should fix and close this.


commit: 5bccb4d
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.<anonymous> (test/app.test.js:43:8)</pre></details>

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

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


commit: 5bccb4d
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.<anonymous> (test/app.test.js:43:8)</pre></details>

The credentials need to be rolled.

This should be fixed now.