Details
-
Sub-task
-
Status: Resolved
-
P2
-
Resolution: Fixed
-
None
Description
Gradle task :sdks:java:extensions:google-cloud-platform-core:test fails during Java 11 Precommit job
Example stack trace
> Task :sdks:java:extensions:google-cloud-platform-core:test org.apache.beam.sdk.extensions.gcp.GcpCoreApiSurfaceTest > testGcpCoreApiSurface FAILED java.lang.AssertionError: Expected: API surface to include only: Classes in package "com.google.api.client.googleapis" Classes in package "com.google.api.client.http" Classes in package "com.google.api.client.json" Classes in package "com.google.api.client.util" Classes in package "com.google.api.services.storage" Classes in package "com.google.auth" Classes in package "com.fasterxml.jackson.annotation" Classes in package "java" Classes in package "javax" Classes in package "org.apache.beam.sdk" Classes in package "org.joda.time" Classes in package "org.junit" but: The following white-listed scopes did not have matching classes on the API surface: No Classes in package "com.fasterxml.jackson.annotation" No Classes in package "com.google.api.client.googleapis" No Classes in package "com.google.api.client.http" No Classes in package "com.google.api.client.json" No Classes in package "com.google.api.client.util" No Classes in package "com.google.api.services.storage" No Classes in package "com.google.auth" No Classes in package "java" No Classes in package "javax" No Classes in package "org.apache.beam.sdk" No Classes in package "org.joda.time" No Classes in package "org.junit" at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18) at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6) at org.apache.beam.sdk.extensions.gcp.GcpCoreApiSurfaceTest.testGcpCoreApiSurface(GcpCoreApiSurfaceTest.java:63)
Attachments
Issue Links
- links to