Re: [EXTERNAL] Re: Java Build broken

2020-03-05 Thread Maximilian Michels
Good find, Thomas! It looks like it is for testing releases because they 
are staged to this repository. IMHO there is no need for it to be 
enabled by default.


-Max

On 04.03.20 23:06, Thomas Weise wrote:
I run into this problem today and found that removing 
https://oss.sonatype.org/content/repositories/staging/ from buildSrc/src/main/groovy/org/apache/beam/gradle/Repositories.groovy 
also resolves the issue.


Is it possible that a flaky repository can poison the gradle cache? Do 
we need this repository entry at all?



On Tue, Mar 3, 2020 at 7:06 AM Pulasthi Supun Wickramasinghe 
mailto:pulasthi...@gmail.com>> wrote:


Thanks, that seems to have fixed the issue.

Best Regards,
Pulasthi

On Tue, Mar 3, 2020 at 5:47 AM Kamil Wasilewski
mailto:kamil.wasilew...@polidea.com>>
wrote:

I had the same problem, it seems that removing Gradle's cache
(`rm -rf ~/.gradle/caches`) solved the issue.

On Tue, Feb 25, 2020 at 4:33 PM Pulasthi Supun Wickramasinghe
mailto:pulasthi...@gmail.com>> wrote:

Hi Stefan,

Yes, I am also still getting this error on my local setup,
However, strangely I am not getting this on my laptop. I
tried manually installing the missing 'error_prone'
dependencies to maven but then go some other error.
Might this be some kind of cache issue?

Best Regards,
Pulasthi

On Tue, Feb 25, 2020 at 5:38 AM Stefan Djelekar
mailto:stefan.djele...@redbox.com>> wrote:

Hi all,

__ __

No this is not yet fixed.

__ __

@Pulasthi do you still get the same error?

__ __

@Maximilian I don’t have any overrides.

It looks like on localhost build references

https://oss.sonatype.org/content/repositories/staging/com/google/errorprone/error_prone_check_api/2.3.4/

istead of 


https://mvnrepository.com/artifact/com.google.errorprone/error_prone_check_api/2.3.4

__ __

and the first link returns 404

__ __



__ __

Can you please advise?

__ __

All the best,

Stefan

__ __

*From:*Pulasthi Supun Wickramasinghe
mailto:pulasthi...@gmail.com>>
*Sent:* Tuesday, February 18, 2020 5:11 PM
*To:* dev mailto:dev@beam.apache.org>>
*Cc:* Stefan Djelekar mailto:stefan.djele...@redbox.com>>
*Subject:* [EXTERNAL] Re: Java Build broken

__ __

Hi All,

__ __

Was this issue resolved? I started to get the same error
on my local build suddenly.

__ __

Best Regards,

Pulasthi

__ __

On Thu, Jan 23, 2020 at 10:17 AM Maximilian Michels
mailto:m...@apache.org>> wrote:

Do you have any overrides in your
~/.m2/settings.xml? The artifacts
should be found as part of Maven central, e.g.

https://mvnrepository.com/artifact/com.google.errorprone/error_prone_check_api

Cheers,
Max

On 23.01.20 11:11, Stefan Djelekar wrote:
 > Hi guys,
 >
 > It’s been days now since the build for Java SDK
is broken.
 >
 > Namely, pipeline is successful on Jenkins, but it
fails in my localhost
 > with error in task model:pipeline:compileJava. As
I've seen, last couple
 > of builds were served from cache, so maybe that
is the reason why it's
 > green. I confirmed same thing happened to other
devs as well.
 >
 > 22:49:34 > Task :model:pipeline:compileJava
FROM-CACHE
 >
 > It looks like it’s related to mismatch of
com.google.errorprone library
 > version. Can someone please take a look as this
is a blocker to
 > localhost development?
 >
 > Cheers,
 >
 > *Stefan Đelekar*
 >
 > Sofware Engineer
 >
 > Mobile +381 65 22 33 293
 >
 > 

Re: [EXTERNAL] Re: Java Build broken

2020-03-04 Thread Thomas Weise
I run into this problem today and found that removing
https://oss.sonatype.org/content/repositories/staging/ from
buildSrc/src/main/groovy/org/apache/beam/gradle/Repositories.groovy
also resolves the issue.

Is it possible that a flaky repository can poison the gradle cache? Do we
need this repository entry at all?


On Tue, Mar 3, 2020 at 7:06 AM Pulasthi Supun Wickramasinghe <
pulasthi...@gmail.com> wrote:

> Thanks, that seems to have fixed the issue.
>
> Best Regards,
> Pulasthi
>
> On Tue, Mar 3, 2020 at 5:47 AM Kamil Wasilewski <
> kamil.wasilew...@polidea.com> wrote:
>
>> I had the same problem, it seems that removing Gradle's cache (`rm -rf
>> ~/.gradle/caches`) solved the issue.
>>
>> On Tue, Feb 25, 2020 at 4:33 PM Pulasthi Supun Wickramasinghe <
>> pulasthi...@gmail.com> wrote:
>>
>>> Hi Stefan,
>>>
>>> Yes, I am also still getting this error on my local setup, However,
>>> strangely I am not getting this on my laptop. I tried manually installing
>>> the missing 'error_prone' dependencies to maven but then go some other
>>> error.
>>> Might this be some kind of cache issue?
>>>
>>> Best Regards,
>>> Pulasthi
>>>
>>> On Tue, Feb 25, 2020 at 5:38 AM Stefan Djelekar <
>>> stefan.djele...@redbox.com> wrote:
>>>
 Hi all,



 No this is not yet fixed.



 @Pulasthi do you still get the same error?



 @Maximilian I don’t have any overrides.

 It looks like on localhost build references
 https://oss.sonatype.org/content/repositories/staging/com/google/errorprone/error_prone_check_api/2.3.4/

 istead of


 https://mvnrepository.com/artifact/com.google.errorprone/error_prone_check_api/2.3.4



 and the first link returns 404





 Can you please advise?



 All the best,

 Stefan



 *From:* Pulasthi Supun Wickramasinghe 
 *Sent:* Tuesday, February 18, 2020 5:11 PM
 *To:* dev 
 *Cc:* Stefan Djelekar 
 *Subject:* [EXTERNAL] Re: Java Build broken



 Hi All,



 Was this issue resolved? I started to get the same error on my local
 build suddenly.



 Best Regards,

 Pulasthi



 On Thu, Jan 23, 2020 at 10:17 AM Maximilian Michels 
 wrote:

 Do you have any overrides in your ~/.m2/settings.xml? The artifacts
 should be found as part of Maven central, e.g.

 https://mvnrepository.com/artifact/com.google.errorprone/error_prone_check_api

 Cheers,
 Max

 On 23.01.20 11:11, Stefan Djelekar wrote:
 > Hi guys,
 >
 > It’s been days now since the build for Java SDK is broken.
 >
 > Namely, pipeline is successful on Jenkins, but it fails in my
 localhost
 > with error in task model:pipeline:compileJava. As I've seen, last
 couple
 > of builds were served from cache, so maybe that is the reason why
 it's
 > green. I confirmed same thing happened to other devs as well.
 >
 > 22:49:34 > Task :model:pipeline:compileJava FROM-CACHE
 >
 > It looks like it’s related to mismatch of com.google.errorprone
 library
 > version. Can someone please take a look as this is a blocker to
 > localhost development?
 >
 > Cheers,
 >
 > *Stefan Đelekar*
 >
 > Sofware Engineer
 >
 > Mobile +381 65 22 33 293
 >
 > stefan.djele...@redbox.com 
 >
 > Redbox Automated Retail LLC / Interventure d.o.o
 >
 > 16. Oktobra 21/67, 11050 Zvezdara, Serbia
 >
 > djelekar.com
 >
 > --
 >
 > This email is confidential and intended for the recipient specified
 in
 > the message only.
 > If you have received this message in error, please notify the sender
 by
 > e-mail, discard any
 > paper copies and delete the mail and all electronic files of the
 message
 > from your system.
 >




 --

 Pulasthi S. Wickramasinghe

 PhD Candidate  | Research Assistant

 School of Informatics and Computing | Digital Science Center

 Indiana University, Bloomington

 cell: 224-386-9035

>>>
>>>
>>> --
>>> Pulasthi S. Wickramasinghe
>>> PhD Candidate  | Research Assistant
>>> School of Informatics and Computing | Digital Science Center
>>> Indiana University, Bloomington
>>> cell: 224-386-9035
>>>
>>
>
> --
> Pulasthi S. Wickramasinghe
> PhD Candidate  | Research Assistant
> School of Informatics and Computing | Digital Science Center
> Indiana University, Bloomington
> cell: 224-386-9035
>


Re: [EXTERNAL] Re: Java Build broken

2020-03-03 Thread Pulasthi Supun Wickramasinghe
Thanks, that seems to have fixed the issue.

Best Regards,
Pulasthi

On Tue, Mar 3, 2020 at 5:47 AM Kamil Wasilewski <
kamil.wasilew...@polidea.com> wrote:

> I had the same problem, it seems that removing Gradle's cache (`rm -rf
> ~/.gradle/caches`) solved the issue.
>
> On Tue, Feb 25, 2020 at 4:33 PM Pulasthi Supun Wickramasinghe <
> pulasthi...@gmail.com> wrote:
>
>> Hi Stefan,
>>
>> Yes, I am also still getting this error on my local setup, However,
>> strangely I am not getting this on my laptop. I tried manually installing
>> the missing 'error_prone' dependencies to maven but then go some other
>> error.
>> Might this be some kind of cache issue?
>>
>> Best Regards,
>> Pulasthi
>>
>> On Tue, Feb 25, 2020 at 5:38 AM Stefan Djelekar <
>> stefan.djele...@redbox.com> wrote:
>>
>>> Hi all,
>>>
>>>
>>>
>>> No this is not yet fixed.
>>>
>>>
>>>
>>> @Pulasthi do you still get the same error?
>>>
>>>
>>>
>>> @Maximilian I don’t have any overrides.
>>>
>>> It looks like on localhost build references
>>> https://oss.sonatype.org/content/repositories/staging/com/google/errorprone/error_prone_check_api/2.3.4/
>>>
>>> istead of
>>>
>>>
>>> https://mvnrepository.com/artifact/com.google.errorprone/error_prone_check_api/2.3.4
>>>
>>>
>>>
>>> and the first link returns 404
>>>
>>>
>>>
>>>
>>>
>>> Can you please advise?
>>>
>>>
>>>
>>> All the best,
>>>
>>> Stefan
>>>
>>>
>>>
>>> *From:* Pulasthi Supun Wickramasinghe 
>>> *Sent:* Tuesday, February 18, 2020 5:11 PM
>>> *To:* dev 
>>> *Cc:* Stefan Djelekar 
>>> *Subject:* [EXTERNAL] Re: Java Build broken
>>>
>>>
>>>
>>> Hi All,
>>>
>>>
>>>
>>> Was this issue resolved? I started to get the same error on my local
>>> build suddenly.
>>>
>>>
>>>
>>> Best Regards,
>>>
>>> Pulasthi
>>>
>>>
>>>
>>> On Thu, Jan 23, 2020 at 10:17 AM Maximilian Michels 
>>> wrote:
>>>
>>> Do you have any overrides in your ~/.m2/settings.xml? The artifacts
>>> should be found as part of Maven central, e.g.
>>>
>>> https://mvnrepository.com/artifact/com.google.errorprone/error_prone_check_api
>>>
>>> Cheers,
>>> Max
>>>
>>> On 23.01.20 11:11, Stefan Djelekar wrote:
>>> > Hi guys,
>>> >
>>> > It’s been days now since the build for Java SDK is broken.
>>> >
>>> > Namely, pipeline is successful on Jenkins, but it fails in my
>>> localhost
>>> > with error in task model:pipeline:compileJava. As I've seen, last
>>> couple
>>> > of builds were served from cache, so maybe that is the reason why it's
>>> > green. I confirmed same thing happened to other devs as well.
>>> >
>>> > 22:49:34 > Task :model:pipeline:compileJava FROM-CACHE
>>> >
>>> > It looks like it’s related to mismatch of com.google.errorprone
>>> library
>>> > version. Can someone please take a look as this is a blocker to
>>> > localhost development?
>>> >
>>> > Cheers,
>>> >
>>> > *Stefan Đelekar*
>>> >
>>> > Sofware Engineer
>>> >
>>> > Mobile +381 65 22 33 293
>>> >
>>> > stefan.djele...@redbox.com 
>>> >
>>> > Redbox Automated Retail LLC / Interventure d.o.o
>>> >
>>> > 16. Oktobra 21/67, 11050 Zvezdara, Serbia
>>> >
>>> > djelekar.com
>>> >
>>> > --
>>> >
>>> > This email is confidential and intended for the recipient specified in
>>> > the message only.
>>> > If you have received this message in error, please notify the sender
>>> by
>>> > e-mail, discard any
>>> > paper copies and delete the mail and all electronic files of the
>>> message
>>> > from your system.
>>> >
>>>
>>>
>>>
>>>
>>> --
>>>
>>> Pulasthi S. Wickramasinghe
>>>
>>> PhD Candidate  | Research Assistant
>>>
>>> School of Informatics and Computing | Digital Science Center
>>>
>>> Indiana University, Bloomington
>>>
>>> cell: 224-386-9035
>>>
>>
>>
>> --
>> Pulasthi S. Wickramasinghe
>> PhD Candidate  | Research Assistant
>> School of Informatics and Computing | Digital Science Center
>> Indiana University, Bloomington
>> cell: 224-386-9035
>>
>

-- 
Pulasthi S. Wickramasinghe
PhD Candidate  | Research Assistant
School of Informatics and Computing | Digital Science Center
Indiana University, Bloomington
cell: 224-386-9035


Re: [EXTERNAL] Re: Java Build broken

2020-03-03 Thread Kamil Wasilewski
I had the same problem, it seems that removing Gradle's cache (`rm -rf
~/.gradle/caches`) solved the issue.

On Tue, Feb 25, 2020 at 4:33 PM Pulasthi Supun Wickramasinghe <
pulasthi...@gmail.com> wrote:

> Hi Stefan,
>
> Yes, I am also still getting this error on my local setup, However,
> strangely I am not getting this on my laptop. I tried manually installing
> the missing 'error_prone' dependencies to maven but then go some other
> error.
> Might this be some kind of cache issue?
>
> Best Regards,
> Pulasthi
>
> On Tue, Feb 25, 2020 at 5:38 AM Stefan Djelekar <
> stefan.djele...@redbox.com> wrote:
>
>> Hi all,
>>
>>
>>
>> No this is not yet fixed.
>>
>>
>>
>> @Pulasthi do you still get the same error?
>>
>>
>>
>> @Maximilian I don’t have any overrides.
>>
>> It looks like on localhost build references
>> https://oss.sonatype.org/content/repositories/staging/com/google/errorprone/error_prone_check_api/2.3.4/
>>
>> istead of
>>
>>
>> https://mvnrepository.com/artifact/com.google.errorprone/error_prone_check_api/2.3.4
>>
>>
>>
>> and the first link returns 404
>>
>>
>>
>>
>>
>> Can you please advise?
>>
>>
>>
>> All the best,
>>
>> Stefan
>>
>>
>>
>> *From:* Pulasthi Supun Wickramasinghe 
>> *Sent:* Tuesday, February 18, 2020 5:11 PM
>> *To:* dev 
>> *Cc:* Stefan Djelekar 
>> *Subject:* [EXTERNAL] Re: Java Build broken
>>
>>
>>
>> Hi All,
>>
>>
>>
>> Was this issue resolved? I started to get the same error on my local
>> build suddenly.
>>
>>
>>
>> Best Regards,
>>
>> Pulasthi
>>
>>
>>
>> On Thu, Jan 23, 2020 at 10:17 AM Maximilian Michels 
>> wrote:
>>
>> Do you have any overrides in your ~/.m2/settings.xml? The artifacts
>> should be found as part of Maven central, e.g.
>>
>> https://mvnrepository.com/artifact/com.google.errorprone/error_prone_check_api
>>
>> Cheers,
>> Max
>>
>> On 23.01.20 11:11, Stefan Djelekar wrote:
>> > Hi guys,
>> >
>> > It’s been days now since the build for Java SDK is broken.
>> >
>> > Namely, pipeline is successful on Jenkins, but it fails in my localhost
>> > with error in task model:pipeline:compileJava. As I've seen, last
>> couple
>> > of builds were served from cache, so maybe that is the reason why it's
>> > green. I confirmed same thing happened to other devs as well.
>> >
>> > 22:49:34 > Task :model:pipeline:compileJava FROM-CACHE
>> >
>> > It looks like it’s related to mismatch of com.google.errorprone library
>> > version. Can someone please take a look as this is a blocker to
>> > localhost development?
>> >
>> > Cheers,
>> >
>> > *Stefan Đelekar*
>> >
>> > Sofware Engineer
>> >
>> > Mobile +381 65 22 33 293
>> >
>> > stefan.djele...@redbox.com 
>> >
>> > Redbox Automated Retail LLC / Interventure d.o.o
>> >
>> > 16. Oktobra 21/67, 11050 Zvezdara, Serbia
>> >
>> > djelekar.com
>> >
>> > --
>> >
>> > This email is confidential and intended for the recipient specified in
>> > the message only.
>> > If you have received this message in error, please notify the sender by
>> > e-mail, discard any
>> > paper copies and delete the mail and all electronic files of the
>> message
>> > from your system.
>> >
>>
>>
>>
>>
>> --
>>
>> Pulasthi S. Wickramasinghe
>>
>> PhD Candidate  | Research Assistant
>>
>> School of Informatics and Computing | Digital Science Center
>>
>> Indiana University, Bloomington
>>
>> cell: 224-386-9035
>>
>
>
> --
> Pulasthi S. Wickramasinghe
> PhD Candidate  | Research Assistant
> School of Informatics and Computing | Digital Science Center
> Indiana University, Bloomington
> cell: 224-386-9035
>


Re: [EXTERNAL] Re: Java Build broken

2020-02-25 Thread Pulasthi Supun Wickramasinghe
Hi Stefan,

Yes, I am also still getting this error on my local setup, However,
strangely I am not getting this on my laptop. I tried manually installing
the missing 'error_prone' dependencies to maven but then go some other
error.
Might this be some kind of cache issue?

Best Regards,
Pulasthi

On Tue, Feb 25, 2020 at 5:38 AM Stefan Djelekar 
wrote:

> Hi all,
>
>
>
> No this is not yet fixed.
>
>
>
> @Pulasthi do you still get the same error?
>
>
>
> @Maximilian I don’t have any overrides.
>
> It looks like on localhost build references
> https://oss.sonatype.org/content/repositories/staging/com/google/errorprone/error_prone_check_api/2.3.4/
>
> istead of
>
>
> https://mvnrepository.com/artifact/com.google.errorprone/error_prone_check_api/2.3.4
>
>
>
> and the first link returns 404
>
>
>
>
>
> Can you please advise?
>
>
>
> All the best,
>
> Stefan
>
>
>
> *From:* Pulasthi Supun Wickramasinghe 
> *Sent:* Tuesday, February 18, 2020 5:11 PM
> *To:* dev 
> *Cc:* Stefan Djelekar 
> *Subject:* [EXTERNAL] Re: Java Build broken
>
>
>
> Hi All,
>
>
>
> Was this issue resolved? I started to get the same error on my local build
> suddenly.
>
>
>
> Best Regards,
>
> Pulasthi
>
>
>
> On Thu, Jan 23, 2020 at 10:17 AM Maximilian Michels 
> wrote:
>
> Do you have any overrides in your ~/.m2/settings.xml? The artifacts
> should be found as part of Maven central, e.g.
>
> https://mvnrepository.com/artifact/com.google.errorprone/error_prone_check_api
>
> Cheers,
> Max
>
> On 23.01.20 11:11, Stefan Djelekar wrote:
> > Hi guys,
> >
> > It’s been days now since the build for Java SDK is broken.
> >
> > Namely, pipeline is successful on Jenkins, but it fails in my localhost
> > with error in task model:pipeline:compileJava. As I've seen, last couple
> > of builds were served from cache, so maybe that is the reason why it's
> > green. I confirmed same thing happened to other devs as well.
> >
> > 22:49:34 > Task :model:pipeline:compileJava FROM-CACHE
> >
> > It looks like it’s related to mismatch of com.google.errorprone library
> > version. Can someone please take a look as this is a blocker to
> > localhost development?
> >
> > Cheers,
> >
> > *Stefan Đelekar*
> >
> > Sofware Engineer
> >
> > Mobile +381 65 22 33 293
> >
> > stefan.djele...@redbox.com 
> >
> > Redbox Automated Retail LLC / Interventure d.o.o
> >
> > 16. Oktobra 21/67, 11050 Zvezdara, Serbia
> >
> > djelekar.com
> >
> > --
> >
> > This email is confidential and intended for the recipient specified in
> > the message only.
> > If you have received this message in error, please notify the sender by
> > e-mail, discard any
> > paper copies and delete the mail and all electronic files of the message
> > from your system.
> >
>
>
>
>
> --
>
> Pulasthi S. Wickramasinghe
>
> PhD Candidate  | Research Assistant
>
> School of Informatics and Computing | Digital Science Center
>
> Indiana University, Bloomington
>
> cell: 224-386-9035
>


-- 
Pulasthi S. Wickramasinghe
PhD Candidate  | Research Assistant
School of Informatics and Computing | Digital Science Center
Indiana University, Bloomington
cell: 224-386-9035


RE: [EXTERNAL] Re: Java Build broken

2020-02-25 Thread Stefan Djelekar
Hi all,

No this is not yet fixed.

@Pulasthi do you still get the same error?

@Maximilian I don’t have any overrides.
It looks like on localhost build references 
https://oss.sonatype.org/content/repositories/staging/com/google/errorprone/error_prone_check_api/2.3.4/
istead of
https://mvnrepository.com/artifact/com.google.errorprone/error_prone_check_api/2.3.4

and the first link returns 404

[cid:image002.jpg@01D5EBD0.001D1AD0]

Can you please advise?

All the best,
Stefan

From: Pulasthi Supun Wickramasinghe 
Sent: Tuesday, February 18, 2020 5:11 PM
To: dev 
Cc: Stefan Djelekar 
Subject: [EXTERNAL] Re: Java Build broken

Hi All,

Was this issue resolved? I started to get the same error on my local build 
suddenly.

Best Regards,
Pulasthi

On Thu, Jan 23, 2020 at 10:17 AM Maximilian Michels 
mailto:m...@apache.org>> wrote:
Do you have any overrides in your ~/.m2/settings.xml? The artifacts
should be found as part of Maven central, e.g.
https://mvnrepository.com/artifact/com.google.errorprone/error_prone_check_api

Cheers,
Max

On 23.01.20 11:11, Stefan Djelekar wrote:
> Hi guys,
>
> It’s been days now since the build for Java SDK is broken.
>
> Namely, pipeline is successful on Jenkins, but it fails in my localhost
> with error in task model:pipeline:compileJava. As I've seen, last couple
> of builds were served from cache, so maybe that is the reason why it's
> green. I confirmed same thing happened to other devs as well.
>
> 22:49:34 > Task :model:pipeline:compileJava FROM-CACHE
>
> It looks like it’s related to mismatch of com.google.errorprone library
> version. Can someone please take a look as this is a blocker to
> localhost development?
>
> Cheers,
>
> *Stefan Đelekar*
>
> Sofware Engineer
>
> Mobile +381 65 22 33 293
>
> stefan.djele...@redbox.com 
> >
>
> Redbox Automated Retail LLC / Interventure d.o.o
>
> 16. Oktobra 21/67, 11050 Zvezdara, Serbia
>
> djelekar.com
>
> --
>
> This email is confidential and intended for the recipient specified in
> the message only.
> If you have received this message in error, please notify the sender by
> e-mail, discard any
> paper copies and delete the mail and all electronic files of the message
> from your system.
>


--
Pulasthi S. Wickramasinghe
PhD Candidate  | Research Assistant
School of Informatics and Computing | Digital Science Center
Indiana University, Bloomington
cell: 224-386-9035