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
fcrypt / gpgme / crypto: test case fails #2341
Comments
Seems like gpgme is also affected:
|
to be honest, no. The return codes are not documentes, but they could mean:
I could not find the meaning of Also I can not reproduce the problem locally, as usual. 😞 |
Thank you for taking a look! Reproducing will be rather difficult, it seems to only occur sporadically and only on the master branch (@sanssecours or did you see it also within a PR?). Who prints
and
? |
I saw this sporadically while working on a PR. It vanished after rebuilding. I think I also saw it on my private jenkins under extremely high load. Is it at all possible that something times out here? |
Maybe! Depending on the implementation of libassuan. |
Status update: I still have no idea how to overcome this issue. Any ideas are welcome! |
Thank you for the update! I think the way forward is to report it to the GPG people. We already know everything relevant, like the exit code. But only they can (if anyone) interpret how this can occur. If they say: ohh, yes, this error sometimes occurs, we should consider that our plugins run gpg again if this error happens. |
Btw. I am not sure if there are still occurrences of this problem. I did not see them recently. |
|
Thank you for the reminder. And on the other build systems the problem never occurred? |
It might have, but according to the description of issue #2439 |
If someone notices a fail, please post it here. |
We also observed the exact same error caused by |
I will rewrite this section to use |
Try to kill the gpg-agent if the shutdown of the agent should fail. This is an attempt to resolve ElektraInitiative#2341 .
Should the error occur again, please feel free to re-open this issue. |
This should resolve possible memory leak triggers introduced with ElektraInitiative#3404 (original issue: ElektraInitiative#2341 ).
The error occurred again, I'm still researching. |
to use fork () and execv () instead of system (). See ElektraInitiative#2341 for full discussion.
to use fork () and execv () instead of system (). See ElektraInitiative#2341 for full discussion.
to use fork () and execv () instead of system (). See ElektraInitiative#2341 for full discussion.
to use fork () and execv () instead of system (). See ElektraInitiative#2341 for full discussion.
Please ping me if the error occurs again. |
Happened with gpgme again. (I don't know if we should open separate issues for every plugin or just keep this meta-issue?)
|
I think it's the same (or very similar) gpg-related error. I don't think it is necessary to open another issue. |
gpgme (or gpgme in combination with valgrind) seems to cause problems if the output of stdout and stderr is being redirected.
I guess this would explain why the test output is written to the log files multiple times.
|
This contribution is related to ElektraInitiative#2341 .
This contribution is related to ElektraInitiative#2341 .
This contribution is related to ElektraInitiative#2341 .
Is this issue fixed now? |
@petermax2 rewrote parts of the crypto tests and moved them to separate CI jobs ( I have not seen these tests fail since those improvements. I think it can be safely closed. |
Glad to hear, that it's working now. Thank you for the feedback! |
Fcrypt test cases failed on master:
https://build.libelektra.org/jenkins/blue/organizations/jenkins/libelektra/detail/master/361/pipeline
@petermax2 any idea?
The text was updated successfully, but these errors were encountered: