Sometimes you have to ctrl-f in the logs to find an error message [1]. 02:54:05 > Task :sdks:java:container:pullLicenses 02:54:05 ERROR:root:['xz-1.5'] 02:54:05 ERROR:root:**************************************** Licenses were not able to be pulled automatically for some dependencies. Please search source code of the dependencies on the internet and add "license" and "notice" (if available) field to /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_Phrase/src/sdks/java/container/license_scripts/dep_urls_java.yaml for each missing license. Dependency List: [xz-1.5] 02:54:05 INFO:root:pull_licenses_java.py failed. It took 3.012355 seconds with 16 threads. 02:54:05 Traceback (most recent call last): 02:54:05 File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_Phrase/src/sdks/java/container/license_scripts/pull_licenses_java.py", line 315, in <module> 02:54:05 error_msg) 02:54:05 RuntimeError: ('1 error(s) occurred.', ['**************************************** Licenses were not able to be pulled automatically for some dependencies. Please search source code of the dependencies on the internet and add "license" and "notice" (if available) field to /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_Phrase/src/sdks/java/container/license_scripts/dep_urls_java.yaml for each missing license. Dependency List: [xz-1.5]'])
It looks like we already have a license linked for a newer version of that package, xz 1.8 [2]. So you must have done something in your PR that caused xz 1.5 to be pulled instead. [1] https://ci-beam.apache.org/job/beam_PreCommit_Java_Phrase/2926/consoleFull [2] https://github.com/apache/beam/blob/8de328835f7d4d8760ba1bd175e703ec65dc634a/sdks/java/container/license_scripts/dep_urls_java.yaml#L50-L52 On Wed, Dec 16, 2020 at 11:30 AM Sonam Ramchand < sonam.ramch...@venturedive.com> wrote: > Hi All!! > For ./gradlew :sdks:java:container:pullLicenses , i have been getting: > Process 'command './license_scripts/license_script.sh'' finished with > non-zero exit value 1 > The issue is closely related to > https://issues.apache.org/jira/browse/BEAM-9913. > If anyone has an idea about this issue? Please help :) > -- > > Regards, > *Sonam* > Software Engineer > Mobile: +92 3088337296 <+92%20308%208337296> > > <http://venturedive.com/> >