[ 
https://issues.apache.org/jira/browse/BEAM-8654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16975360#comment-16975360
 ] 

Tomo Suzuki commented on BEAM-8654:
-----------------------------------

Now the job shows bigtable-client-core has higher version. 
[https://builds.apache.org/job/beam_Dependency_Check/235/consoleFull]

 

 
{noformat}
14:35:09 - com.google.cloud.bigtable:bigtable-client-core [1.8.0 -> 1.12.1]
...
14:39:47 Start processing:  - com.google.cloud.bigtable:bigtable-client-core 
[1.8.0 -> 1.12.1]
14:39:47 
14:39:47 INFO:root:Finding release date of 
com.google.cloud.bigtable:bigtable-client-core 1.8.0 from the Maven Central
14:39:47 INFO:root:Finding release date of 
com.google.cloud.bigtable:bigtable-client-core 1.12.1 from the Maven Central
14:39:48 INFO:root:Start handling the JIRA issues for Java dependency: 
com.google.cloud.bigtable:bigtable-client-core 1.12.1
14:39:49 INFO:root:Did not find existing issue with name Beam Dependency Update 
Request: com.google.cloud.bigtable. 
14:39:49  
14:39:49             Created a parent issue for com.google.cloud.bigtable
14:39:49 INFO:root:Creating a new JIRA issue to track com.google.cloud.bigtable 
upgrade process
14:39:49 Traceback (most recent call last):
14:39:49   File 
"/home/jenkins/jenkins-slave/workspace/beam_Dependency_Check/src/.test-infra/jenkins/jira_utils/jira_manager.py",
 line 225, in _find_owners
14:39:49     dep_info = self.owners_map[dep_name]
14:39:49 KeyError: 'com.google.cloud.bigtable'
14:39:49 WARNING:root:Could not find the dependency info of 
com.google.cloud.bigtable in the OWNERS configurations.
14:39:51 INFO:root:Found the parent issue BEAM-8690. Continuous to create or 
update the sub-task for com.google.cloud.bigtable:bigtable-client-core
14:39:51 INFO:root:Creating a new JIRA issue to track 
com.google.cloud.bigtable:bigtable-client-core upgrade process
14:39:51 WARNING:root:Could not find owners for 
com.google.cloud.bigtable:bigtable-client-core
14:39:53 INFO:root:Created a new issue BEAM-8691 of 
com.google.cloud.bigtable:bigtable-client-core 1.12.1
14:39:53 INFO:root:
{noformat}

It indeed created https://issues.apache.org/jira/projects/BEAM/issues/BEAM-8691 
successfully.
 
But this did not appear in the email. Why? 



> [Java] beam_Dependency_Check's not getting correct report from Gradle 
> dependencyUpdates
> ---------------------------------------------------------------------------------------
>
>                 Key: BEAM-8654
>                 URL: https://issues.apache.org/jira/browse/BEAM-8654
>             Project: Beam
>          Issue Type: Improvement
>          Components: build-system
>            Reporter: Tomo Suzuki
>            Assignee: Tomo Suzuki
>            Priority: Major
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Cont. of https://issues.apache.org/jira/browse/BEAM-8621
> https://builds.apache.org/view/A-D/view/Beam/view/All/job/beam_Dependency_Check/234/consoleFull
>  says
> {noformat}
> 18:20:07 > Task :dependencyUpdates
> ...
> 18:23:12 The following dependencies are using the latest release version:
> ...
> 18:23:12  - com.google.cloud.bigdataoss:util:1.9.16
> 18:23:12  - com.google.cloud.bigtable:bigtable-client-core:1.8.0
> {noformat}
> But they are not the latest release.
> * 
> https://search.maven.org/artifact/com.google.cloud.bigdataoss/util/2.0.0/jar 
> * 
> https://search.maven.org/artifact/com.google.cloud.bigtable/bigtable-client-core/1.12.1/jar
> Why does Gradle think they're the latest release?
> It seems that " -Drevision=release" flag plays some role here. Without the 
> flag, Gradle reports these artifacts are not the latest.
> https://gist.github.com/suztomo/1460f2be48025c8ea764e86a2c6e39a8
> Even with the flag, it should report the following
> {noformat}
> The following dependencies have later release versions:
>  - com.google.cloud.bigtable:bigtable-client-core [1.8.0 -> 1.12.1]
>      https://cloud.google.com/bigtable/
> {noformat}
> https://gist.github.com/suztomo/13473e6b9765c0e96c22aeffab18ef66



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to