[
https://issues.apache.org/jira/browse/BEAM-9542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17062990#comment-17062990
]
Tomo Suzuki edited comment on BEAM-9542 at 3/19/20, 11:13 PM:
--------------------------------------------------------------
Build failed
https://builds.apache.org/job/beam_PerformanceTests_HadoopFormat/1311/console
{noformat}
22:31:12 Execution failed for task ':sdks:java:testing:test-utils:compileJava'.
22:31:12 > Could not resolve all files for configuration
':sdks:java:testing:test-utils:compileClasspath'.
22:31:12 > Could not find androidx.annotation:annotation:1.1.0.
22:31:12 Searched in the following locations:
22:31:12 -
file:/home/jenkins/jenkins-slave/workspace/beam_PerformanceTests_HadoopFormat/src/sdks/java/testing/test-utils/offline-repository/androidx/annotation/annotation/1.1.0/annotation-1.1.0.pom
22:31:12 -
file:/home/jenkins/jenkins-slave/workspace/beam_PerformanceTests_HadoopFormat/src/sdks/java/testing/test-utils/offline-repository/androidx/annotation/annotation/1.1.0/annotation-1.1.0.jar
22:31:12 -
https://repo.maven.apache.org/maven2/androidx/annotation/annotation/1.1.0/annotation-1.1.0.pom
22:31:12 -
https://repo.maven.apache.org/maven2/androidx/annotation/annotation/1.1.0/annotation-1.1.0.jar
22:31:12 -
file:/home/jenkins/.m2/repository/androidx/annotation/annotation/1.1.0/annotation-1.1.0.pom
22:31:12 -
file:/home/jenkins/.m2/repository/androidx/annotation/annotation/1.1.0/annotation-1.1.0.jar
22:31:12 -
https://jcenter.bintray.com/androidx/annotation/annotation/1.1.0/annotation-1.1.0.pom
22:31:12 -
https://jcenter.bintray.com/androidx/annotation/annotation/1.1.0/annotation-1.1.0.jar
22:31:12 -
https://oss.sonatype.org/content/repositories/staging/androidx/annotation/annotation/1.1.0/annotation-1.1.0.pom
22:31:12 -
https://oss.sonatype.org/content/repositories/staging/androidx/annotation/annotation/1.1.0/annotation-1.1.0.jar
22:31:12 -
https://repository.apache.org/snapshots/androidx/annotation/annotation/1.1.0/annotation-1.1.0.pom
22:31:12 -
https://repository.apache.org/snapshots/androidx/annotation/annotation/1.1.0/annotation-1.1.0.jar
22:31:12 -
https://repository.apache.org/content/repositories/releases/androidx/annotation/annotation/1.1.0/annotation-1.1.0.pom
22:31:12 -
https://repository.apache.org/content/repositories/releases/androidx/annotation/annotation/1.1.0/annotation-1.1.0.jar
22:31:12 Required by:
22:31:12 project :sdks:java:testing:test-utils > project
:sdks:java:extensions:google-cloud-platform-core >
com.google.api-client:google-api-client:1.30.8
{noformat}
{{google-api-client:1.30.8}} has problem of android annotation dependency.
(Other versions are fine). Beam uses 1.30.3 .
was (Author: suztomo):
Build failed
https://builds.apache.org/job/beam_PerformanceTests_HadoopFormat/1311/console
{noformat}
22:31:12 Execution failed for task ':sdks:java:testing:test-utils:compileJava'.
22:31:12 > Could not resolve all files for configuration
':sdks:java:testing:test-utils:compileClasspath'.
22:31:12 > Could not find androidx.annotation:annotation:1.1.0.
22:31:12 Searched in the following locations:
22:31:12 -
file:/home/jenkins/jenkins-slave/workspace/beam_PerformanceTests_HadoopFormat/src/sdks/java/testing/test-utils/offline-repository/androidx/annotation/annotation/1.1.0/annotation-1.1.0.pom
22:31:12 -
file:/home/jenkins/jenkins-slave/workspace/beam_PerformanceTests_HadoopFormat/src/sdks/java/testing/test-utils/offline-repository/androidx/annotation/annotation/1.1.0/annotation-1.1.0.jar
22:31:12 -
https://repo.maven.apache.org/maven2/androidx/annotation/annotation/1.1.0/annotation-1.1.0.pom
22:31:12 -
https://repo.maven.apache.org/maven2/androidx/annotation/annotation/1.1.0/annotation-1.1.0.jar
22:31:12 -
file:/home/jenkins/.m2/repository/androidx/annotation/annotation/1.1.0/annotation-1.1.0.pom
22:31:12 -
file:/home/jenkins/.m2/repository/androidx/annotation/annotation/1.1.0/annotation-1.1.0.jar
22:31:12 -
https://jcenter.bintray.com/androidx/annotation/annotation/1.1.0/annotation-1.1.0.pom
22:31:12 -
https://jcenter.bintray.com/androidx/annotation/annotation/1.1.0/annotation-1.1.0.jar
22:31:12 -
https://oss.sonatype.org/content/repositories/staging/androidx/annotation/annotation/1.1.0/annotation-1.1.0.pom
22:31:12 -
https://oss.sonatype.org/content/repositories/staging/androidx/annotation/annotation/1.1.0/annotation-1.1.0.jar
22:31:12 -
https://repository.apache.org/snapshots/androidx/annotation/annotation/1.1.0/annotation-1.1.0.pom
22:31:12 -
https://repository.apache.org/snapshots/androidx/annotation/annotation/1.1.0/annotation-1.1.0.jar
22:31:12 -
https://repository.apache.org/content/repositories/releases/androidx/annotation/annotation/1.1.0/annotation-1.1.0.pom
22:31:12 -
https://repository.apache.org/content/repositories/releases/androidx/annotation/annotation/1.1.0/annotation-1.1.0.jar
22:31:12 Required by:
22:31:12 project :sdks:java:testing:test-utils > project
:sdks:java:extensions:google-cloud-platform-core >
com.google.api-client:google-api-client:1.30.8
{noformat}
{{google-api-client:1.30.8}} has problem of android annotation dependency.
1.30.3
> Where the BeamModulePlugin's force is needed?
> ---------------------------------------------
>
> Key: BEAM-9542
> URL: https://issues.apache.org/jira/browse/BEAM-9542
> Project: Beam
> Issue Type: Task
> Components: build-system
> Reporter: Tomo Suzuki
> Assignee: Tomo Suzuki
> Priority: Major
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> Followup of https://github.com/apache/beam/pull/11156#discussion_r394408735
> {noformat}
> > Task :sdks:java:core:compileTestJava FAILED
> /Users/suztomo/beam/sdks/java/core/src/test/java/org/apache/beam/sdk/transforms/DeduplicateTest.java:21:
> error: cannot find symbol
> import static org.junit.Assert.assertThrows;
> ^
> symbol: static assertThrows
> location: class
> /Users/suztomo/beam/sdks/java/core/src/test/java/org/apache/beam/sdk/transforms/splittabledofn/WatermarkEstimatorsTest.java:21:
> error: cannot find symbol
> import static org.junit.Assert.assertThrows;
> ^
> symbol: static assertThrows
> location: class
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> 2 errors
> <====---------> 36% EXECUTING [19m 37s]
> {noformat}
> Memo for my Mac:
> {noformat}
> suztomo-macbookpro44% ./gradlew -p sdks/java check -x
> extensions:sql:zetasql:check -x harness:test -x io:jdbc:test -x
> io:kafka:test -x io:solr:test -x core:test
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)