Repository navigation
Add minimal htcondor CI support - #420
Conversation
using minicondor image and single docker Signed-off-by: Till Riedel <[email protected]>
|
I can give this a try in the next few days. |
I count that as a very nice side-effect ! |
|
|
|
Adding CI to a project should give someone immediate commit rights :)
…On Mon, Apr 27, 2020 at 7:33 AM Loïc Estève ***@***.***> wrote:
I thought I'd rather do sth if you add me to the team ;)
I count that as a very nice side-effect !
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#420 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACKZTBNV5DR4AOYBINJRQTROWJUBANCNFSM4MQWXMEQ>
.
|
I remember now that was one of your criterion. This definitely makes sense! @mrocklin while you are around, governance-wise is there some formal process I have to follow as a Dask sub-project when I want to give some commit rights to some people for Dask-Jobqueue ? Also just a FYI, I was going to use the recently created Dask-Jobqueue teams to give permissions for Issue triaging and things like that, but I have not managed to find the time to do that yet ! |
|
Yes, get any one of the other maintainers to agree with you:
https://github.com/dask/governance/blob/master/membership.md#write-privileges
…On Mon, Apr 27, 2020 at 7:40 AM Loïc Estève ***@***.***> wrote:
Adding CI to a project should give someone immediate commit rights :)
I remember now that was one of your criterion. This definitely makes sense!
@mrocklin <https://github.com/mrocklin> while you are around,
governance-wise is there some formal process I have to follow as a Dask
sub-project when I want to give some commit rights to some people for
Dask-Jobqueue ?
Also just a FYI, I was going to use the recently created Dask-Jobqueue
teams to give permissions for Issue triaging and things like that, but I
have not managed to find the time to do that yet !
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#420 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACKZTBETZ5QMQHWWZ25KBDROWKN3ANCNFSM4MQWXMEQ>
.
|
|
I tried this out locally inside a Docker container but after the first two tests pass the third errors and everything seems to be hanging: |
|
Yep this one looks like a real error (that was in the CI build as well after I pushed a fix for the |
|
Maybe something you can do is to look at It could well be that there is some |
|
Actually the 2 submitted workers die silently when run. This is really strange: If I enable debug and run them manually with exactly the same submit file the whole test starts to run again. All the assertions actually seem to work and I can run the whole ci successfully. Besides the point, that the workers should not die (will have to insert some more logging), there probably should be some timeout/retry/detection mechanism. The script waits even as there are no jobs in the queue anymore... |
|
Actually one more strange thing (possible unrelated), the dask worker alias seems to be set to "--name 0" . When I used condor_run for debugging strangly the client would not start if I would not chose another name. will run if you set name to 1. So 0 might be interpreted as None... |
|
Seems fixed now: did not have file permission. HTCondor was even faster than none :) (I think there are quite some things to do to make error handling better and debugging a bit easier. ) |
Signed-off-by: Till Riedel <[email protected]>
|
@mivade, can you review it again now that all checks actually pass? I corrected both the error in the CI and some the legacy stuff in the test. |
|
Looks good to me. |
|
That looks good. I am going to merge this one, thanks a lot! Also welcome to In an ideal world, it would be great if HTCondor CI was a bit closer to the other CI, in particular:
In any case that can certainly be done in a separate PR. Also I am curious about Was that useful to test your script locallly ? Does that differentiate between |
|
Thanks alot for merging!!
I can do that easily. I saw a huge benefit in having everything in one file. But some stuff also turned out to be a bit stupid (e.g. when rerunning the script). It gives a little bit better speed when executing the CI (otherwise it is largely equivalent, it just does not create any layers in the docker image as a Dockerfile would do)
I am happy to do this, if it brings along any advantage either running or debugging the CI. As said before I like my single file ;). Actually starting the scheduler seperately would mean just running the docker image and this would mean implicitly passing parameters between the scripts (e.g. the name of the image/container), which I do not like.
Yes, made it a lot easier for me to run the CI locally. Exactly: runs command only if executed, not if sourced. Repeating to source and then executing the step led to me being utterly confused if I really did everything in the right order on my local shell. Will do the changes with the Dokerfile in a combined PR with implementing better debuggability. |
I set up a really minimal ci/htcondor.sh to address #247. No other files needed sofar.
A test fails, but this seems to be actually a real issue:
Please give it a try!
I thought I'd rather do sth if you add me to the team ;)