Mailing List Archive

Re: [JENKINS] Lucene » Lucene-NightlyTests-main - Build # 759 - Failure!
These 500/503s are getting annoying. Let's see if it's something that
can be fixed with a simple retry mechanism.

https://github.com/apache/lucene/pull/11766

Dawid

On Tue, Sep 13, 2022 at 7:59 AM Apache Jenkins Server
<jenkins@builds.apache.org> wrote:
>
> Build: https://ci-builds.apache.org/job/Lucene/job/Lucene-NightlyTests-main/759/
>
> No tests ran.
>
> Build Log:
> [...truncated 33 lines...]
> ERROR: Could not download gradle-wrapper.jar (Server returned HTTP response code: 500 for URL: https://github.com/gradle/gradle/raw/v7.3.3/gradle/wrapper/gradle-wrapper.jar).
> Build step 'Invoke Gradle script' changed build result to FAILURE
> Build step 'Invoke Gradle script' marked build as failure
> Archiving artifacts
> Recording test results
> ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
> Email was triggered for: Failure - Any
> Sending email for trigger: Failure - Any
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: builds-unsubscribe@lucene.apache.org
> For additional commands, e-mail: builds-help@lucene.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [JENKINS] Lucene » Lucene-NightlyTests-main - Build # 759 - Failure! [ In reply to ]
Can also potentially avoid them and reduce the amount of back-n-forth
by pulling from the ultimate URL instead of redirecting around:
https://raw.githubusercontent.com/gradle/gradle/v7.3.3/gradle/wrapper/gradle-wrapper.jar

On Tue, Sep 13, 2022 at 3:20 AM Dawid Weiss <dawid.weiss@gmail.com> wrote:
>
> These 500/503s are getting annoying. Let's see if it's something that
> can be fixed with a simple retry mechanism.
>
> https://github.com/apache/lucene/pull/11766
>
> Dawid
>
> On Tue, Sep 13, 2022 at 7:59 AM Apache Jenkins Server
> <jenkins@builds.apache.org> wrote:
> >
> > Build: https://ci-builds.apache.org/job/Lucene/job/Lucene-NightlyTests-main/759/
> >
> > No tests ran.
> >
> > Build Log:
> > [...truncated 33 lines...]
> > ERROR: Could not download gradle-wrapper.jar (Server returned HTTP response code: 500 for URL: https://github.com/gradle/gradle/raw/v7.3.3/gradle/wrapper/gradle-wrapper.jar).
> > Build step 'Invoke Gradle script' changed build result to FAILURE
> > Build step 'Invoke Gradle script' marked build as failure
> > Archiving artifacts
> > Recording test results
> > ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
> > Email was triggered for: Failure - Any
> > Sending email for trigger: Failure - Any
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: builds-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: builds-help@lucene.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [JENKINS] Lucene » Lucene-NightlyTests-main - Build # 759 - Failure! [ In reply to ]
+1. Updated the patch.

On Tue, Sep 13, 2022 at 9:24 AM Robert Muir <rcmuir@gmail.com> wrote:
>
> Can also potentially avoid them and reduce the amount of back-n-forth
> by pulling from the ultimate URL instead of redirecting around:
> https://raw.githubusercontent.com/gradle/gradle/v7.3.3/gradle/wrapper/gradle-wrapper.jar
>
> On Tue, Sep 13, 2022 at 3:20 AM Dawid Weiss <dawid.weiss@gmail.com> wrote:
> >
> > These 500/503s are getting annoying. Let's see if it's something that
> > can be fixed with a simple retry mechanism.
> >
> > https://github.com/apache/lucene/pull/11766
> >
> > Dawid
> >
> > On Tue, Sep 13, 2022 at 7:59 AM Apache Jenkins Server
> > <jenkins@builds.apache.org> wrote:
> > >
> > > Build: https://ci-builds.apache.org/job/Lucene/job/Lucene-NightlyTests-main/759/
> > >
> > > No tests ran.
> > >
> > > Build Log:
> > > [...truncated 33 lines...]
> > > ERROR: Could not download gradle-wrapper.jar (Server returned HTTP response code: 500 for URL: https://github.com/gradle/gradle/raw/v7.3.3/gradle/wrapper/gradle-wrapper.jar).
> > > Build step 'Invoke Gradle script' changed build result to FAILURE
> > > Build step 'Invoke Gradle script' marked build as failure
> > > Archiving artifacts
> > > Recording test results
> > > ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
> > > Email was triggered for: Failure - Any
> > > Sending email for trigger: Failure - Any
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: builds-unsubscribe@lucene.apache.org
> > > For additional commands, e-mail: builds-help@lucene.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: dev-help@lucene.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: builds-unsubscribe@lucene.apache.org
> For additional commands, e-mail: builds-help@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [JENKINS] Lucene » Lucene-NightlyTests-main - Build # 759 - Failure! [ In reply to ]
Hi,


How about adding wrapper.jar to our project source code?
then, exclude this jar when we release the source code, Of course, since there is no wrapper.jar in the released source package, it is necessary to download it just at this time.
Another question, why don't we use the official download address[1]?

[1] https://services.gradle.org/distributions/


Best wishes?
Calvin Kirs


On 09/13/2022 15:48?Dawid Weiss<dawid.weiss@gmail.com> wrote?
+1. Updated the patch.

On Tue, Sep 13, 2022 at 9:24 AM Robert Muir <rcmuir@gmail.com> wrote:

Can also potentially avoid them and reduce the amount of back-n-forth
by pulling from the ultimate URL instead of redirecting around:
https://raw.githubusercontent.com/gradle/gradle/v7.3.3/gradle/wrapper/gradle-wrapper.jar

On Tue, Sep 13, 2022 at 3:20 AM Dawid Weiss <dawid.weiss@gmail.com> wrote:

These 500/503s are getting annoying. Let's see if it's something that
can be fixed with a simple retry mechanism.

https://github.com/apache/lucene/pull/11766

Dawid

On Tue, Sep 13, 2022 at 7:59 AM Apache Jenkins Server
<jenkins@builds.apache.org> wrote:

Build: https://ci-builds.apache.org/job/Lucene/job/Lucene-NightlyTests-main/759/

No tests ran.

Build Log:
[...truncated 33 lines...]
ERROR: Could not download gradle-wrapper.jar (Server returned HTTP response code: 500 for URL: https://github.com/gradle/gradle/raw/v7.3.3/gradle/wrapper/gradle-wrapper.jar).
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
Archiving artifacts
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any

---------------------------------------------------------------------
To unsubscribe, e-mail: builds-unsubscribe@lucene.apache.org
For additional commands, e-mail: builds-help@lucene.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: builds-unsubscribe@lucene.apache.org
For additional commands, e-mail: builds-help@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [JENKINS] Lucene » Lucene-NightlyTests-main - Build # 759 - Failure! [ In reply to ]
> How about adding wrapper.jar to our project source code?

This has been discussed on the original issue, with links to other sources:
https://github.com/apache/lucene/issues/10306

I think it's more consistent to have the CI actually retry those
source links for the wrapper... makes errors show up early.

> Another question, why don't we use the official download address[1]?
> [1] https://services.gradle.org/distributions/

I don't know. For github, an internal link will be likely cheaper.
Also, the above page doesn't have wrapper binaries, only sha's?

Dawid

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org