Skip to content
This repository was archived by the owner on Nov 20, 2025. It is now read-only.
This repository was archived by the owner on Nov 20, 2025. It is now read-only.

googleauth googleauth: getCredentials should get metadata from the server when running on GCE failed #1264

@flaky-bot

Description

@flaky-bot

This test failed!

To configure my behavior, see the Flaky Bot documentation.

If I'm commenting on this issue too often, add the flakybot: quiet label and
I will stop commenting.


commit: f11eeee
buildURL: Build Status, Sponge
status: failed

Test output
request to http://169.254.169.254/computeMetadata/v1/instance/service-accounts/?recursive=true failed, reason: Nock: No match for request {
  "method": "GET",
  "url": "http://169.254.169.254/computeMetadata/v1/instance/service-accounts/",
  "headers": {
    "metadata-flavor": [
      "Google"
    ],
    "accept": [
      "*/*"
    ],
    "user-agent": [
      "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"
    ],
    "accept-encoding": [
      "gzip,deflate"
    ],
    "connection": [
      "close"
    ]
  }
}
FetchError: request to http://169.254.169.254/computeMetadata/v1/instance/service-accounts/?recursive=true failed, reason: Nock: No match for request {
  "method": "GET",
  "url": "http://169.254.169.254/computeMetadata/v1/instance/service-accounts/",
  "headers": {
    "metadata-flavor": [
      "Google"
    ],
    "accept": [
      "*/*"
    ],
    "user-agent": [
      "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"
    ],
    "accept-encoding": [
      "gzip,deflate"
    ],
    "connection": [
      "close"
    ]
  }
}
    at OverriddenClientRequest. (node_modules/node-fetch/lib/index.js:1494:11)
    at Socket. (node_modules/propagate/index.js:64:17)
    at /workspace/node_modules/nock/lib/socket.js:100:14
    at processTicksAndRejections (internal/process/task_queues.js:79:11)

Metadata

Metadata

Assignees

No one assigned

    Labels

    flakybot: issueAn issue filed by the Flaky Bot. Should not be added manually.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions