Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feedstocks not converted once in main #18287

Closed
bandersen23 opened this issue Mar 10, 2022 · 44 comments
Closed

Feedstocks not converted once in main #18287

bandersen23 opened this issue Mar 10, 2022 · 44 comments
Labels

Comments

@bandersen23
Copy link
Contributor

bandersen23 commented Mar 10, 2022

Bug:

I’ve had three recipes stuck in the main branch for 3-4 days and haven’t been built by CI yet.

They are griffe, mkdocstrings-python, and mkdocstrings-python-legacy.

It looks like a 403 error on Travis CI when I look at the GitHub actions log. @conda-forge/core - could you check this out?

@bandersen23 bandersen23 changed the title Feedstocks not built Feedstocks not converted once in main Mar 10, 2022
@beckermr
Copy link
Member

I deleted the conda-forge/mkdocstrings-python-legacy-feedstock repo to see if that helps.

@beckermr
Copy link
Member

That didn't work. @chrisburr You've had success here before. Any ideas?

@chrisburr
Copy link
Member

We ended up needing to open a ticket as it was a bug on their side. I'll make a reproducer and report it again.

@q-posev
Copy link

q-posev commented Mar 11, 2022

I suppose this issue is related to the following in the output log of the Create feedstocks workflow:

subprocess.CalledProcessError: Command '['conda', 'smithy', 'register-ci', '--without-appveyor', '--without-webservice', '--feedstock_directory', '/tmp/tmphbfrna8u__feedstocks/trexio-feedstock', '--organization', 'conda-forge']' returned non-zero exit status 1.

Does it prevent the recently added packages (e.g. trexio) from being pushed to the conda-forge feedstock?

@chrisburr
Copy link
Member

Here is the previous issue #15891. I've opened a support ticket with Travis and will follow up here when I get a response.

Does it prevent the recently added packages (e.g. trexio) from being pushed to the conda-forge feedstock?

Yes, we can't push code to feedstocks before the various CI providers have been registered successfully.

@bandersen23
Copy link
Contributor Author

Thanks for looking into this @chrisburr and @beckermr!

@bandersen23
Copy link
Contributor Author

@chrisburr and @beckermr - I noticed all but mkdocstrings-python-legacy were built today - any thoughts on why that one isn't built yet?

@beckermr
Copy link
Member

I'm not sure. Let's wait a few hours and see what happens. It's failed on both circle and Travis. I reset everything just now so maybe it will go through.

@bandersen23
Copy link
Contributor Author

@beckermr Still no luck...

@jakirkham
Copy link
Member

Possibly related to this ( conda-forge/status#126 )?

@beckermr
Copy link
Member

Ahhhh. For the time period over the weekend you may be right! Sorry about that!

@bandersen23
Copy link
Contributor Author

No worries! Any timeline for it getting migrated?

@beckermr
Copy link
Member

We converted a recipe 36 minutes ago. So I am wondering if this is fully fixed and we just have to wait.

@chrisburr did you hear back from Travis CI help at all?

@chrisburr
Copy link
Member

I chased them up this morning (~8 hours ago) but no response yet.

@jakirkham
Copy link
Member

Given we are seeing some feedstocks convert and others not, wonder if it is worth deleting the partially converted feedstocks and then rerunning conversion. Just in case they have some funky state, which is causing us hang ups for whatever reason.

@beckermr
Copy link
Member

I did that previously and yes we should try again!

@bandersen23
Copy link
Contributor Author

Should I resubmit the recipe in a new PR?

@beckermr
Copy link
Member

Nope. We'll keep working on it. So sorry for the delay.

@jakirkham
Copy link
Member

Looks like a bunch of them just cleared. Though mkdocstrings-python-legacy is still in there. Maybe let's give it a bit and see if it also clears.

@beckermr
Copy link
Member

Something's out of sync and the job to make the feedstocks is running twice. Hopefully the tokens are ok.

@jakirkham
Copy link
Member

Agreed. The last job that ran didn't actually start until after the commit was pushed to remove the already converted recipes ( c0f2720 ). There was a job before that that canceled itself (seems there was one just recently like that as well).

@jakirkham
Copy link
Member

Actually I don't think it is anything too weird. It took ~20mins to complete the conversion jobs and our cron jobs run every 10 minutes. That's just enough time to have 2 overlapping jobs like that. Probably less of an issue now that we have cleared a bunch of recipes out.

Though if we were looking to change things, we could run less frequently. Or somehow adjust the cron job to skip if one is already running. Though we are kind of already doing that in the job, but maybe there is a way GH Actions could handle that for us (alleviating the need for the job to even run).

@jakirkham
Copy link
Member

It just ran on mkdocstrings-python-legacy and failed again. Only took ~2mins to run being the only recipe. Went ahead and just deleted that repo to start fresh. Maybe a 2nd fresh start will do better?

@jakirkham
Copy link
Member

jakirkham commented Mar 15, 2022

It seems to be stuck on CircleCI?

Edit: Deleted the repo again, which removed it from CircleCI. Retrying...

Edit 2: Same issue

@BastianZim
Copy link
Member

Though if we were looking to change things, we could run less frequently. Or somehow adjust the cron job to skip if one is already running. Though we are kind of already doing that in the job, but maybe there is a way GH Actions could handle that for us (alleviating the need for the job to even run).

There is https://github.blog/changelog/2021-04-19-github-actions-limit-workflow-run-or-job-concurrency/ but last time I discussed it with @beckermr it seemed like it doesn't have all the features that we'd need.

@beckermr
Copy link
Member

The code should already skip duplicate jobs. I wonder if that broke.

@jakirkham
Copy link
Member

jakirkham commented Mar 15, 2022

Not from what I could tell. It seemed to behave as expected. Please see this comment ( #18287 (comment) ). Should add the overlapping job did cancel itself.

@beckermr
Copy link
Member

Ohhh great! Then I was confused. Yay!

@jakirkham
Copy link
Member

No worries :)

@bandersen23
Copy link
Contributor Author

bandersen23 commented Mar 15, 2022

Since every other feedstock seems to be created, it seems easiest to remove the recipe and to push it again... would that fix it? Would that fully reset the CI jobs?

@beckermr
Copy link
Member

It would not. This is an issue in the circle and or Travis backends. We can make the feedstock without those services but we'd prefer not to.

@bandersen23
Copy link
Contributor Author

I understand that. Any further thoughts on this?

@beckermr
Copy link
Member

So I cannot even get this feedstock to build by hand in the circle ci app online.

@bandersen23
Copy link
Contributor Author

That's odd... I just checked and was able to build it locally with boa so I don't think there's a problem with the recipe?

conda mambabuild mkdocstrings-python-legacy

@beckermr
Copy link
Member

no I mean circleci running on the repo at all.

@jakirkham
Copy link
Member

Yeah I had to create a config file in the repo to setup CircleCI

@beckermr
Copy link
Member

I'm at a loss on what to do here. Maybe we remove circle for this one. Others are working just fine.

@jakirkham
Copy link
Member

Is there an easy way to do that?

@beckermr
Copy link
Member

We can edit the ci scripts on staged-recipes.

@isuruf
Copy link
Member

isuruf commented Mar 16, 2022

Yes, let's disable circle-ci for now, convert mkdocstrings-python-legacy and re-enable circle-ci

@beckermr
Copy link
Member

I'll do this tonight when staged-recipes activity has died down a bit.

@beckermr
Copy link
Member

OK done!. We are so sorry for the delay with this one and thank you for waiting!

@jakirkham
Copy link
Member

Thanks Matt! 😄

@bandersen23
Copy link
Contributor Author

Thank you so much! No worries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

7 participants