-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
pebble: 2.4.0 -> 2.6.0 #331721
pebble: 2.4.0 -> 2.6.0 #331721
Conversation
@m1cr0man any information you could share that would help fixing the tests? |
Result of 1 package built:
|
I haven't looked too deep into it but there is a function called check_issuer in the test suite that tries to read and validate the cert's subject to determine if it is still self signed or not: Line 479 in c1e9448
We need to find a new mechanism for checking the issuer or otherwise checking if the cert is issued by pebble or self signed. I would go for the easiest solution you can think of. I was considering testing if the issuer was not minica but that may break in the same way if minica also updates in the future. |
Thanks, that's helpful, @m1cr0man, I see what I can do. Might take me a few days though as my time and attention is required elsewhere currently. |
@GrahamcOfBorg test acme |
Fixing the PR name to stop @r-ryantm opening new ones. |
@m1cr0man haven't been able to make any progress here and I think the understanding required to address this exceeds my current one. Do you think you could help out here? |
Yes I'll try my best to do it this week. |
Much appreciated, @m1cr0man, thank you 🙏 |
Finally got time to find a solution. I'll hopefully commit it tomorrow if the test passes for the new + old versions of pebble. |
As the project is nearing another release, any chance that this PR might make it into it, @m1cr0man? |
Yes, I'm quite hopeful. I apologise for my slowness again. This week is looking good time wise for me. |
Thanks for the update, @m1cr0man, much appreciated 🙂 |
Finally got a PR up :) #346023 I found a relatively simple way to do it in the end. I'm somewhat ashamed it took me a month to make a 10 line change but it is what it is. |
Time to rejoice! Thanks so much, @m1cr0man, for coming up with a fix for the tests! No need to feel ashamed about a small change some time; we all have our obligations that need our attention, even if we'd like to dedicate ourselves to other matters. What's the best way to move forward with this PR and your fix? |
Sure thing, @flokli, this PR branch is now rebased on top of master. |
@ofborg test acme |
@m1cr0man can you take a look at the failure for x86_64-linux? I'm sure it's a flake that'd probably not appear the next time we trigger it, but it might make sense to harden against this too. |
Oh sorry, @afh is the author. 😆 |
I can't see why it gave exit code 1, the output is exactly as expected, and I ran it locally and all is good. Perhaps it got oomkilled right at the end or a cleanup step failed? |
The nixosTests.acme on aarch64-darwin Details include the following:
|
It’s a NixOS test, it’s not expected to build on Darwin (without a Linux builder). |
@ofborg test acme |
Given that all checks passed, except for the darwin checks, which are expected not to run/pass, what is missing in order to get this reviewed and ideally merged? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing.
(I’m assuming you tested that this works on 32‐bit now?) |
I did by:
Does this suffice as testing it works on 32-bit now, @emilazy? |
Yeah, the error looks like a compiler one anyway so checking it builds SGTM :) Thanks for this. |
Description of changes
This is a follow up PR for #322331, which was prematurely merged and reverted in #331718.
Open tasks that beed to be addressed prior merging:
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.