Skip to content

CI for Schedulers #2

Closed
Closed

Description

@jakirkham

Linking to @jhamman's comment, one of the challenges here is setting up CI for Dask. There has been some already towards using SGE (particularly at dask-drmaa) for testing. Configuring other schedulers (e.g. SLURM, PBS, LSF, etc.) is possible, but can be a bit tricky. Docker helps with this, but it requires a fair bit of configuration to get right.

One resource that might be useful are these Docker images, which include SLURM and TORQUE (similar to PBS). That said, I'm not sure what license applies to these. Also they may not work out of the box (as was my experience with using their Grid Engine some time back). That said, they should at least provide useful insights on how to get working Docker images for these different cases. For simplicity, would propose building and hosting images for respective schedulers so that CI can just download them.

Activity

  1. mrocklin commented on Mar 1, 2018

    @mrocklin
    Member

    I agree that this is both valuable and somewhat time consuming to set up. If anyone has the time to contribute a CI setup for one of the job schedulers that would be very welcome.

  2. luizirber commented on Mar 1, 2018

    @luizirber

    I can take a look for SLURM (can you assign this issue to me?)

  3. mrocklin commented on Mar 1, 2018

    @mrocklin
    Member

    To be honest I rarely use github assignment. It looks like this is difficult to do without having you as part of the organization (which is currently somewhat challenging). We might have to go with informal assignment for the time being.

    Regardless, thank you for stepping up!

  4. jakirkham commented on Mar 1, 2018

    @jakirkham
    MemberAuthor

    Grid Engine should basically be just copying over what dask-drmaa already has. Maybe that is the best place to start and then we can extend from there. Is Travis CI enabled here?

  5. mrocklin commented on Mar 1, 2018

    @mrocklin
    Member

    Nope. Nothing yet.

  6. jakirkham commented on Mar 1, 2018

    @jakirkham
    MemberAuthor

    Would you be willing to do that? I could copy over the testing code. Just don't think I have permissions to add CI is all.

  7. mrocklin commented on Mar 1, 2018

    @mrocklin
    Member

    Do you know how I can give you that permission?

  8. jakirkham commented on Mar 1, 2018

    @jakirkham
    MemberAuthor

    Think I need to have admin on the repo as it requires the ability to add webhooks. Not sure if there is anything more granular. Honestly don't know if I'd need admin for anything else. Leave it up to you whether to grant it or not.

  9. mrocklin commented on Mar 1, 2018

    @mrocklin
    Member

    OK, you have admin rights. I guess the difference here is the owner/member of the org distinction? Further reason to push on dask/dask#3223

  10. mrocklin commented on Mar 1, 2018

    @mrocklin
    Member

    @jhamman @jedwards4b you two also now have rights on this repository

  11. jakirkham commented on Mar 1, 2018

    @jakirkham
    MemberAuthor

    Thanks.

    Agree that we need to figure out org rights. Will try to make next meeting so we can discuss more.

    Enabled Travis CI, but told it to skip until there is a .travis.yml file.

  12. mrocklin commented on Mar 2, 2018

    @mrocklin
    Member

    Grid Engine should basically be just copying over what dask-drmaa already has. Maybe that is the best place to start and then we can extend from there. Is Travis CI enabled here?

    You know, the funny thing is that if we got a testing system for GE then that might be enough motivation to implement an SGECluster here just to get the test coverage. It's rare that one builds source to capture testing, but in this case the ratio of difficulty in writing testing code and source code is so great that it makes sense :)

    Testament to @jedwards4b 's refactor of JobQueueCluster I guess :)

  13. jhamman commented on Mar 2, 2018

    @jhamman
    Member

    I have a fair bit of SGE experience, and a cluster that I could test this on apart from travis. I'd be happy to contribute the SGECluster. I'll open a separate issue. (see #3).

  14. mrocklin commented on Mar 2, 2018

    @mrocklin
    Member
  15. mrocklin commented on Mar 2, 2018

    @mrocklin
    Member
  16. guillaumeeb commented on Mar 4, 2018

    @guillaumeeb
    Member

    Can non member of the org see what's happening on travis-ci for any dask repository?
    Shall we fork the repository if we want to test/check the CI build?

  17. mrocklin commented on Mar 4, 2018

    @mrocklin
    Member
  18. guillaumeeb commented on Mar 4, 2018

    @guillaumeeb
    Member

    How do you feel about using docker-hub provided images, such as https://hub.docker.com/r/pbspro/pbspro? Do we want to control the entire build cycle or not?
    To go more into detail, this one depends on a build image with no Dockerfile provided (https://hub.docker.com/r/pbspro/pbsbase/), how do you feel about that too?

    And lastly, I believe we want a minimaly representative test cluster, so with one master and two slaves such as what is done for dask/dask-drmaa, and not a one node master/slave cluster?

  19. mrocklin commented on Mar 4, 2018

    @mrocklin
    Member
  20. jhamman commented on Mar 27, 2018

    @jhamman
    Member
  21. guillaumeeb commented on Apr 16, 2018

    @guillaumeeb
    Member

    I propose to close this issue by opening more specific ones, e.g. one for PBS and one for SLURM. We already have basic CI with unit tests and for SGE.
    Are you OK with this?

  22. guillaumeeb commented on Apr 20, 2018

    @guillaumeeb
    Member

    I think this issue can be closed with ##23, #27, #41 and #42.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions