Hi Beam developers,

I'm trying to build Apache Beam from the source. But GcpOptionsTest fails
(error below).

Did anybody solve this problem already?

I'm using master (c2e58c55)

suztomo@suxtomo24:~/beam4$ ./gradlew -p sdks/java check
...
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task
':sdks:java:extensions:google-cloud-platform-core:test'.
> There were failing tests. See the report at:
file:///usr/local/google/home/suztomo/beam4/sdks/java/extensions/google-cloud-platform-core/build/reports/tests/test/index.html

The HTML file shows the following stacktrace:

java.lang.AssertionError:
Expected: (an instance of java.lang.IllegalArgumentException and exception
with message a string containing "Error constructing default value for
gcpTempLocation: tempLocation is not a valid GCS path" and exception with
cause exception with message a string containing "Output path does not
exist or is not writeable")
     but: exception with cause exception with message a string containing
"Output path does not exist or is not writeable" cause message was "Unable
to verify that GCS bucket gs://does exists."
Stacktrace was: java.lang.IllegalArgumentException: Error constructing
default value for gcpTempLocation: tempLocation is not a valid GCS path,
gs://does/not/exist.


The problem (at the surface) is, in my development
environment, gcpOptions.getGcsUtil().bucketAccessible(gcsPath) throws
IOException rather than returning false. I want to know whether this is
specific to my environment or not.

I'm using
- 1.8.0_181-google-v7
- x86_64 Debian GNU/Linux (Google buid)

-- 
Regards,
Tomo

Reply via email to