Zulip Chat Archive

Stream: general

Topic: AppVeyor build failing


Scott Morrison (May 01 2019 at 23:45):

Hi @Simon Hudon, could you have a look at https://github.com/leanprover-community/mathlib/pull/910 for me? The AppVeyor build has failed, and I don't know what to do about this. Having steps to the PR that mysteriously fail is no good. :-( It's hard enough already.

Bryan Gin-ge Chen (May 02 2019 at 00:12):

The issue seems to be that the update-mathlib test makes several requests to the github API and this is being rate-limited. (This seems to be hitting several other PRs as well).

Scott Morrison (May 02 2019 at 01:04):

I'd really like to see these script tests disabled for PRs that don't modify the scripts.

Simon Hudon (May 02 2019 at 01:08):

Yeah, the thing is that we can do that for travis but even if we don't run those tests, GitHub will expect a successful AppVeyor test

Bryan Gin-ge Chen (May 02 2019 at 01:09):

Can we wrap the appveyor script in some fancy git diff conditional?

Bryan Gin-ge Chen (May 02 2019 at 01:13):

Maybe something like if [[ -n $(git diff HEAD master scripts/)]]

Bryan Gin-ge Chen (May 02 2019 at 01:17):

Oh wait, I guess there's some commented out lines that do the same thing.

Simon Hudon (May 02 2019 at 01:18):

that's try but you need to make a trivial build happen when those conditions aren't satisfied.

Scott Morrison (May 02 2019 at 02:18):

What is the work-around at the moment? Several of my PRs are red because of AppVeyor, and I don't know what to do.

Simon Hudon (May 02 2019 at 02:20):

Which ones?

Scott Morrison (May 02 2019 at 02:20):

https://github.com/leanprover-community/mathlib/pull/926

Scott Morrison (May 02 2019 at 02:21):

https://github.com/leanprover-community/mathlib/pull/935

Scott Morrison (May 02 2019 at 02:21):

https://github.com/leanprover-community/mathlib/pull/931

Scott Morrison (May 02 2019 at 02:21):

https://github.com/leanprover-community/mathlib/pull/926

Simon Hudon (May 02 2019 at 02:31):

I made a change on AppVeyor which I thought was already there. PRs from leanprover-community should no longer have this issue.

Simon Hudon (May 02 2019 at 02:37):

All good?

Patrick Massot (May 02 2019 at 12:58):

All good?

No: https://ci.appveyor.com/project/cipher1024/mathlib/branch/master

Patrick Massot (May 02 2019 at 12:59):

This is not a PR, this is mathlib master

Scott Morrison (May 05 2019 at 19:58):

I just had another AppVeyor failure testing update-mathlib on a "just maths" PR.

Scott Morrison (May 05 2019 at 19:58):

https://ci.appveyor.com/project/cipher1024/mathlib-3r2np/builds/24320557/job/wuq0ved0jo40eybs

Simon Hudon (May 05 2019 at 21:25):

Solved

Scott Morrison (May 06 2019 at 13:45):

And today an update-mathlib failure on travis: https://travis-ci.org/leanprover-community/mathlib/jobs/528680165

Johan Commelin (May 06 2019 at 13:49):

If I click that link, I don't see the failure :sad: Did someone restart the build?

Scott Morrison (May 06 2019 at 13:50):

Ah, I restarted it. I thought the URL would point to the old build, still.

Johan Commelin (May 06 2019 at 13:52):

I looked a bit, but couldn't easily find the logs for the old build. (I'm on a flaky connection, so clicking links isn't very fast...)

Mario Carneiro (May 06 2019 at 14:24):

It's tricky to get build logs from restarted builds. I think the data exists but you have to talk to Travis people

Mario Carneiro (May 06 2019 at 14:25):

https://github.com/travis-ci/travis-ci/issues/2993

Johan Commelin (May 10 2019 at 14:28):

@Simon Hudon Here is another misbehaving critter: #993

Sebastien Gouezel (May 10 2019 at 14:35):

Also #966

Johan Commelin (May 10 2019 at 14:36):

The AppVeyor test is only there to test things on a certain OS developed in Redmond, right?

Simon Hudon (May 10 2019 at 14:54):

That's right. That's the one reason

Simon Hudon (May 10 2019 at 14:56):

@Sebastien Gouezel and @Johan Commelin how long ago did you merge with master?

Sebastien Gouezel (May 10 2019 at 14:58):

Github says: 20 hours ago.

Johan Commelin (May 10 2019 at 15:04):

Same for me... should be somewhere in the last 30 hours.

Simon Hudon (May 10 2019 at 15:20):

That's odd

Simon Hudon (May 10 2019 at 15:20):

Ok, I'll look into it

Johan Commelin (May 10 2019 at 15:21):

Thanks!

Simon Hudon (May 10 2019 at 15:26):

@Sebastien Gouezel In the travis file, where you see

      if: type != pull_request OR head_repo = leanprover-community/mathlib
      if: type != cron

can you replace it with this?

      if: type != cron && (type != pull_request OR head_repo = leanprover-community/mathlib)

Sebastien Gouezel (May 10 2019 at 18:46):

Done. Let's see if it makes a difference.

Simon Hudon (May 10 2019 at 19:18):

You only replaced it once. It's there four times

Sebastien Gouezel (May 10 2019 at 19:22):

Oh, crap. Done again, hopefully I didn't miss one this time.

Simon Hudon (May 10 2019 at 19:26):

You can see that you didn't miss one by looking: https://travis-ci.org/leanprover-community/mathlib/builds/530898018. All the script testing has been disabled.


Last updated: Dec 20 2023 at 11:08 UTC