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
Use before assignment in downloadclient extractools #4493
Comments
…fore_assignment Clients: fix use-before-assignment in download client. Fixes #4493
This does not address the exception though right? It looks like 'tar --version' is the next cmd to be tested. I`m not sure how that can lead to an exception, but there is an increasing number of users hitting the problem. Cheers, |
It mostly does. Rucio will continue to log an error message (which will also allow us to fix the real issue), but should not fail to download anything which doesn't need extraction. The real issue may be related to the parallel test commit which changes some string handling (encode/decode), but we cannot see the root cause until this commit is deployed (it masks the real issue) If you want to speed up things and users are tecky-enough, you can ask them to perform something like that
which will allow us to see the real problem without waiting for the deployement of next rucio release. |
Thanks, I was trying to do just that, and failing. I asked a user. |
User was fast 2021-03-29 11:15:18,901 DEBUG downloadclient.py Failed to execute: "tar --version" Do you see haw that can happen for some users/setup/shell and not others? Cheers, |
Yes, it confirms that it's due to encode/decode change. Now it is even clear why it happens. Was a mystery to me before. |
Motivation
Modification
The logger string should be constructed using the "cmd" variable
The text was updated successfully, but these errors were encountered: