-
-
Notifications
You must be signed in to change notification settings - Fork 650
Fix anamon invalid type when sending logs #3326
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
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #3326 +/- ##
==========================================
+ Coverage 0.19% 65.50% +65.31%
==========================================
Files 93 113 +20
Lines 12983 15155 +2172
==========================================
+ Hits 25 9928 +9903
+ Misses 12958 5227 -7731
☔ View full report in Codecov by Sentry. |
I will in the following days take care of this PR. This requires more testing and thus will be non-trivial. |
I need to test the ideas I implemented in the temporary commit. I will try to do so in the near future... |
Sigh... Testing this is harder than thought.
I will still continue trying to test this. Missing signatures can be easily fixed... Let's see how far I am able to progress today. |
Update for bug validation:
|
During the testing, I found an orthogonal bug that will be included in this PR (and the backport): Autoinstallations that are using profiles cannot save the files because of the increased validation. |
Python3 tests with Fedora38 were successful. Sadly the tests with CentOS 7 were unsuccessful and as such I need to find out why I get passed a |
The intermediate step to convert this to a str is not needed. We can just write the files as-is directly to the drive. The advantage is that Python 2 and Python 3 behave the same in this regard and as such we don't need to worry about backwards compability.
I was able with this code to push files over the wire with both a CentOS 7 and Fedora 38. I will - just to be sure test now how this behaves with something ancient like CentOS 5. |
I was not able to get older OS versions to run correctly. Since newer versions are working and the code should work identical on older OS versions with Python 2 only, I will merge this PR now. |
Linked Items
Fixes #3324
Description
Fixes anamon invalid type issue.
Behaviour changes
Same as before.
Category
This is related to a:
Tests