Skip to content

LoadP12Credentials test flakes on Windows #14349

@dbolduc

Description

@dbolduc

https://github.com/googleapis/google-cloud-cpp/actions/runs/9559232391

[ RUN      ] GoogleCredentialsTest.LoadP12Credentials
D:\a\google-cloud-cpp\google-cloud-cpp\google\cloud\storage\oauth2\google_credentials_test.cc(549): error: Value of: creds
Expected: code is equal to OK and message is anything
  Actual: 40-byte object <90-52 3D-F5 0D-02 00-00 00-CC CC-CC CC-CC CC-CC 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 CC-CC CC-CC CC-CC CC-CC>, whose status is INVALID_ARGUMENT: No private key found in PKCS#12 file (C:\Users\RUNNER~1\AppData\Local\Temp\credentials.p12): Key does not exist.
 (error code 2148073485) error_info={reason=INVALID_ARGUMENT, domain=gcloud-cpp, metadata={gcloud-cpp.source.filename=D:\a\google-cloud-cpp\google-cloud-cpp\google\cloud\internal\win32\parse_service_account_p12_file.cc, gcloud-cpp.version=v2.26.0-rc, gcloud-cpp.source.line=171, gcloud-cpp.source.function=GetKeyFromProvider}}, with a code that isn't equal to OK, but a message that is anything

[  FAILED  ] GoogleCredentialsTest.LoadP12Credentials (206 ms)

The following tests FAILED:
    346 - storage_oauth2_google_credentials_test (Failed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: storageIssues related to the Cloud Storage API.cpp: flakeA test with false positives (failures that are not interesting)type: cleanupAn internal cleanup or hygiene concern.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions