[
https://issues.apache.org/jira/browse/BEAM-7579?focusedWorklogId=261939&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-261939
]
ASF GitHub Bot logged work on BEAM-7579:
----------------------------------------
Author: ASF GitHub Bot
Created on: 18/Jun/19 01:17
Start Date: 18/Jun/19 01:17
Worklog Time Spent: 10m
Work Description: udim commented on issue #8883: [BEAM-7579] Use bucket
with default key in ITs
URL: https://github.com/apache/beam/pull/8883#issuecomment-502907416
run java postcommit
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 261939)
Time Spent: 20m (was: 10m)
> Tests fail with "Cannot create a default bucket when --dataflowKmsKey is set."
> ------------------------------------------------------------------------------
>
> Key: BEAM-7579
> URL: https://issues.apache.org/jira/browse/BEAM-7579
> Project: Beam
> Issue Type: Improvement
> Components: io-java-gcp
> Affects Versions: 2.13.0
> Reporter: Luke Cwik
> Assignee: Udi Meiri
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Example run: https://builds.apache.org/job/beam_PostCommit_Java/3535/
> Failing tests:
> {code:java}
> org.apache.beam.sdk.io.gcp.storage.GcsKmsKeyIT.testGcsWriteWithKmsKey
> org.apache.beam.sdk.io.gcp.storage.GcsKmsKeyIT.testGcsWriteWithKmsKey
> org.apache.beam.sdk.extensions.gcp.util.GcsUtilIT.testRewriteMultiPart
> {code}
> Example trace:
> {code:java}
> Error Message
> java.lang.IllegalArgumentException: Cannot create a default bucket when
> --dataflowKmsKey is set.
> Stacktrace
> java.lang.IllegalArgumentException: Cannot create a default bucket when
> --dataflowKmsKey is set.
> at
> org.apache.beam.vendor.guava.v20_0.com.google.common.base.Preconditions.checkArgument(Preconditions.java:122)
> at
> org.apache.beam.sdk.extensions.gcp.options.GcpOptions$GcpTempLocationFactory.tryCreateDefaultBucket(GcpOptions.java:297)
> at
> org.apache.beam.sdk.extensions.gcp.options.GcpOptions$GcpTempLocationFactory.create(GcpOptions.java:268)
> at
> org.apache.beam.sdk.extensions.gcp.options.GcpOptions$GcpTempLocationFactory.create(GcpOptions.java:256)
> at
> org.apache.beam.sdk.options.ProxyInvocationHandler.returnDefaultHelper(ProxyInvocationHandler.java:592)
> at
> org.apache.beam.sdk.options.ProxyInvocationHandler.getDefault(ProxyInvocationHandler.java:533)
> at
> org.apache.beam.sdk.options.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:158)
> at com.sun.proxy.$Proxy32.getGcpTempLocation(Unknown Source)
> at
> org.apache.beam.sdk.io.gcp.storage.GcsKmsKeyIT.testGcsWriteWithKmsKey(GcsKmsKeyIT.java:79)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)