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
Problems with test scripts #3043
Comments
It looks like -github/test-oseid.sh should use restart-pcscd.sh as this appears to affect I will leave this up to @Jakuje Something like:
|
@dengert Can you clarify what is the issue? We could update the oseid test to use the script as in the other tests. The https://github.com/OpenSC/OpenSC/blob/master/.github/restart-pcscd.sh does slightly more than is done in the oseid test, but it is mostly maintained by @popovec so I would keep it up to him if he uses the script for some local testing where using the above script would interfere. |
I noticed that sometimes test-openpgp fails. However, I can't say why it happens like that. If this can be prevented by restarting pcscd in test-oseid.sh script, I have no problem with it. Is the following solution suitable? |
I have noticed it too. Since |
that KILL is not on
It is also strange that the problem appears repeatedly only with |
Do you have example of such failed run? I do not think this should be running on a same machine. I think these are some containers that should have separation and one test should not affect the others at runtime. |
OK, I have a failure right now in
(command returning non-zero exit code and cleanup starts
I do not think this is an issue with the test script, but the issue with the openpgp applet od openpgp driver randomly failing. The debug logs are from the profile objects so they are not much helpful. But we can try to run either this command or all the commands in this test with the debug mode to see what is going on there under the hood. |
I have seen: "Failed to generate key: Card command failed" The https://github.com/Yubico/ykneo-openpgp has not been updated in 8 years and applet has a security bug. Is there a better applets to use? Turning on opensc debugging and getting the log would help |
https://github.com/OpenSC/OpenSC/actions/runs/8007038458/job/21870535578?pr=3042 ran OK |
Problem Description
Proposed Resolution
Steps to reproduce
Logs
The text was updated successfully, but these errors were encountered: