-
Notifications
You must be signed in to change notification settings - Fork 0
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
Refactor benchmark workflow #52
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #52 +/- ##
===========================================
- Coverage 88.51% 46.44% -42.08%
===========================================
Files 16 17 +1
Lines 592 618 +26
===========================================
- Hits 524 287 -237
- Misses 68 331 +263
Flags with carried forward coverage won't be shown. Click here to find out more.
|
This should be ready but I believe we need to install wget on the container, right? @alecandido |
as @alecandido said: please separate a script that you call in the workflow, but that one can run even with out (i.e. locally) |
As you can see, the tests after ebf6342 work. This is because I have just used |
Just to spread the knowledge about how containers are made:
But don't do it, there is already |
In particular, use: curl -o output.html http://google.com/ |
Ah no, wait. My bad, you are using recursive download, so you need Keep going with build and upload, as explained in the instructions above. Also, move the |
Yes, I was already struggling to do recursive download with curl :) |
Anyway I believe I need some to provide the github token in some way because if I do |
As specified in the linked docs, you should give a PAT of yours the P.S.: it is not the |
Ok thanks, now it works. However, maybe the |
No, wait, I'm stupid. I pointed you to the |
Here in |
If you just need However, I tried to run |
But actually the install script fails on the container (so after having done |
Killed signal terminated program is telling you that something killed it, like when you press Ctrl-C... |
Ok, I actually have the new image on
Unfortunately, GitHub just introduced fine-grained PAT, and my classic token, with Both (classic and fine-grained) can be allowed to perform actions on @N3PDF, but @scarrazza or @scarlehoff has to do it explicitly at: (I'm not an admin of @N3PDF, so I can't do it myself) |
Ok, now I've done everything I could: we also have a releasing workflow, such that packages can be built in the CI and released automagically. But it is still failing:
So, not even the Therefore, it is really up to @N3PDF admins, since the Here the guide on how to control permissions for the The moment it is fixed, we can get the new container just by adding a tag, or rerunning the last workflow. Now, I can't do anything more for this PR, it is totally up to @scarrazza and @scarlehoff |
Actually, I can't experiment not being an admin, so I don't know what is on the other side, but maybe is also a GitHub problem. In particular, if you read the output of the first section, "Set up job", there is a dedicated item to "
But consider that 8 hours ago these people (the one providing the push action I'm using) were able to release with an extremely similar workflow: |
Latest update: everything still holds for new packages, I have no idea on how to publish them if the tokens are not accepted. However, for existing packages of which I'm the owner I could solve it. So, not But here the dependency is only So, the solution was to switch benchmark. Now it is still failing because of the dependency on |
Problem with Current problem is that I had to release the version with Composite Output struct, so the old
I believe it should not require a major rework to use the new structure, it's just a matter of updating the usage here and there. I would go for 2. P.S.: now it is not a workflow/containter problem any longer, even if there is something fishy going on from the container side (but EKO isobench are passing...) |
for that exact reason: can you please drop the new releases on the 0.10 branch and commit instead a 0.11 version? Otherwise we run into lot's of trouble all over the place, because poetry thinks they are compatible, which they are not |
I actually thought the were compatible, I didn't remember I dropped the struct. However, you can keep going and reshuffle the tags :) |
I think a tag can not be renamed, can it? (that wouldn't make sense to me ...) and, I guess, the problem is PyPI (since poetry will look there), right? |
With "reshuffle tags" I mean:
|
ok, I believe to have done ... |
So, what is missing here? I see that the workflows are failing for the reason you mentioned, are you taking care of this or should I do something? |
44a1a1f
to
1cd3c83
Compare
Just rebased on |
I am reviewing it now :) |
Everything seems fine now (of course to be also tested on an actual FK computation). Anyway tests are passing and I don't see anything wrong. So I am asking your review again I then I believe we can merge. Thanks for this! @alecandido @felixhekhorn |
@felixhekhorn I have added you at least you know what it is happened :) |
As @alecandido suggested, I am refactoring the workflow in order to download the files needed for benchmarks directly from the server (https://data.nnpdf.science/)