[
https://issues.apache.org/jira/browse/BEAM-1676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15925449#comment-15925449
]
Kenneth Knowles commented on BEAM-1676:
---------------------------------------
Is it true that a maven command is run as such? The symptoms made me wonder, so
I've done some browsing through Jenkins Maven support (native and plugin) and
I don't have an answer yet.
On the other hand, this test is inspecting a static (not behavioral) property
of our code, so there's no value added by checking it in different environments
other than making sure a user/dev in that environment can successfully build it
from source. So perhaps it isn't important for this matrix. I would rather not
introduce exceptions, just to keep the tests simple and clean, but I would not
rule it out as an option.
> SdkCoreApiSurfaceTest Failed in JDK7&8 and OpenJDK7&8 on Jenkins
> ----------------------------------------------------------------
>
> Key: BEAM-1676
> URL: https://issues.apache.org/jira/browse/BEAM-1676
> Project: Beam
> Issue Type: Bug
> Components: sdk-java-core
> Reporter: Mark Liu
> Assignee: Mark Liu
>
> After running beam_PostCommit_Java_MavenInstall in different JDK versions
> (JDK7&8, OpenJDK7&8) on Jenkins, all failed due to following error:
> {code}
> Failed tests:
> SdkCoreApiSurfaceTest.testSdkApiSurface:59
> Expected: API surface to include only:
> Classes in package "org.apache.beam"
> Classes in package "com.google.api.client"
> Classes in package "com.google.api.services.bigquery"
> Classes in package "com.google.api.services.cloudresourcemanager"
> Classes in package "com.google.api.services.pubsub"
> Classes in package "com.google.api.services.storage"
> Classes in package "com.google.auth"
> Classes in package "com.google.protobuf"
> Classes in package "com.fasterxml.jackson.annotation"
> Classes in package "com.fasterxml.jackson.core"
> Classes in package "com.fasterxml.jackson.databind"
> Classes in package "org.apache.avro"
> Classes in package "org.hamcrest"
> Classes in package "org.codehaus.jackson"
> 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.fasterxml.jackson.core"
> No Classes in package "com.fasterxml.jackson.databind"
> No Classes in package "com.google.api.client"
> No Classes in package "com.google.api.services.bigquery"
> No Classes in package "com.google.api.services.cloudresourcemanager"
> No Classes in package "com.google.api.services.pubsub"
> No Classes in package "com.google.api.services.storage"
> No Classes in package "com.google.auth"
> No Classes in package "com.google.protobuf"
> No Classes in package "org.apache.avro"
> No Classes in package "org.apache.beam"
> No Classes in package "org.codehaus.jackson"
> No Classes in package "org.hamcrest"
> No Classes in package "org.joda.time"
> No Classes in package "org.junit"
> {code}
> Job link:
> https://builds.apache.org/job/beam_PostCommit_Java_Version_Test/14/
> Multi-JDK version test is based on this PR:
> https://github.com/apache/beam/pull/2204/files
> Our beam_PostCommit_Java_MavenInstall is using JDK 1.8 (latest), which in
> good health. And the maven command in version test is the same as
> beam_PostCommit_Java_MavenInstall.
> Any ideas?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)