Skip to content

FIX: Do not use Circle's premium layer caching #151

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

Merged
merged 2 commits into from
Mar 10, 2020

Conversation

oesteban
Copy link
Contributor

@oesteban oesteban commented Mar 9, 2020

Seems master is broken for that reason.

@djarecka
Copy link
Collaborator

@oesteban - circle ci required updates, but I'm pretty sure it doesn't solve the problem that some notebooks fail with new nipype

@oesteban
Copy link
Contributor Author

Well, the first step was fixing the CI 👍

@oesteban
Copy link
Contributor Author

Also, compared to old builds in master - it seems tests now go substantially slower. Could that be the cause?

@djarecka
Copy link
Collaborator

sure!
If you are interested, I can share with you what I found while testing it locally.

here are also some older tests from circleci: https://github.com/djarecka/nipype_tutorial/compare/master...djarecka:effigies/test1.5?expand=1

@djarecka
Copy link
Collaborator

@oesteban - well, the test_3 get stuck

@djarecka
Copy link
Collaborator

@oesteban - I was chatting with @effigies about it, I can send you some smaller versions of notebooks - one that passes, the other that fails (get stuck)

@oesteban
Copy link
Contributor Author

Okay, master is already broken - let's merge this one and at least we'll be able to compare. It also adds a nightly build, so we notice when things break earlier.

Let's try to find the problem through some other PR.

@djarecka
Copy link
Collaborator

@oesteban - I've send an email with examples, but just to update conversation here, I believe this is the cell. And interestingly, when I remove the part “Masks and Probability maps” part it can work fine

@djarecka
Copy link
Collaborator

@oesteban - while you are at this, I was thinking that the way we handle Dockerfile is not the best, basically we have generate.sh bash script and Dockerfile in the repo. Should we remove Dockerfile and just generate it before running the test?

Having Dockerfile might be nice for the users, but we can add instruction how to create one

@oesteban
Copy link
Contributor Author

@oesteban - I've send an email with examples, but just to update conversation here, I believe this is the cell. And interestingly, when I remove the part “Masks and Probability maps” part it can work fine

That could possibly be a memory issue. If we are hitting swap at points then it makes sense tests are, in general, suffering from a slow down.

We should try to pin nipype to the latest release after the previous successful build 8 months ago and see when we introduced the problem.

@oesteban
Copy link
Contributor Author

@oesteban - while you are at this, I was thinking that the way we handle Dockerfile is not the best, basically we have generate.sh bash script and Dockerfile in the repo. Should we remove Dockerfile and just generate it before running the test?

Having Dockerfile might be nice for the users, but we can add instruction how to create one

Sounds good, but for a different PR

@djarecka djarecka merged commit 6e4c757 into miykael:master Mar 10, 2020
@djarecka
Copy link
Collaborator

djarecka commented Mar 10, 2020

I'm not sure how this could be a memory issue. The workflow shouldn't rerun the nodes at first place. The test_3 is not just slower, it doesn't finish

you can try to run the notebooks I sent you

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

Successfully merging this pull request may close these issues.

2 participants