The Jenkins machines run on the GCP VMs and will pick up the VMs
credentials by default. This likely means that you have to grant access to
the GCE service account.

On Mon, Apr 13, 2020 at 10:55 AM Jacob Ferriero <jferri...@google.com>
wrote:

> Hi Dev List,
>
> I'm wondering how GCP integration tests are authenticated for in the
> apache-beam-testing project.
> In this Java Post Commit [1] for this PR [2] I have a test failing that
> succeeds when I run with my own credentials.
> I have a hunch that this is failing because all writes are failing with
> access denied.
> These errors are getting swallowed by the DLQ in my sink which I clean up
> after the test runs.
>
> Is there a Service Account I need to give the appropriate permissions to
> read / write to the healthcare stores?
>
> [1]
> https://builds.apache.org/job/beam_PostCommit_Java_PR/341/testReport/junit/org.apache.beam.sdk.io.gcp.healthcare/HL7v2IOWriteIT/testHL7v2IOWrite/
> [2] https://github.com/apache/beam/pull/11151/
>
> Cheers,
>
> *Jacob Ferriero*
>
> Strategic Cloud Engineer: Data Engineering
>
> jferri...@google.com
>
> 617-714-2509 <(617)%20714-2509>
>

Reply via email to