Willem Melching
77a6f3d034
delay bz2 compression from logging to uploading ( #24392 )
...
* remove log_name
* log without compression
* fix tests
* remove extension for bootlog
* another test fix
* uploader compresses
* also compress in athena
* only compress qlog
* more generic check in do_upload
* fix bootlog compression
* lower loggerd cpu usage
* dont link against bz2
* set core affinity to little cluster
* handle old files
2022-05-03 14:09:17 +02:00
Adeeb Shihadeh
3243d1a81e
move lock clearing to uploader ( #23826 )
...
* move lock clearing to uploader
* test case
2022-02-22 22:30:11 -08:00
Ewout ter Hoeven
332f568a82
Pyupgrade 3.6: Update syntax with Python 3.6+ features ( #23305 )
...
Updated Python code with Python 3.6+ features:
- utf-8 encoding is now the default (PEP 3120)
- Replace list comprehensions by Generator Expressions (PEP 289)
- Replace yield loop by yield from (PEP 380)
- Remove the (object) subclass when defining a class
- Replace the IOError alias by OSError (PEP 3151)
- Define sets with curly braces {} instead of set()
- Remove "r" parameter from open function, which is default
Co-Authored-By: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com >
Co-Authored-By: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com >
Co-authored-by: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com >
Co-authored-by: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com >
2021-12-24 11:18:39 -08:00
Willem Melching
2e0c73fc0c
Remove Raw Upload toggle ( #23143 )
...
* Remove Raw Upload toggle
* fix tests
2021-12-07 11:25:40 +01:00
Willem Melching
77b334a698
swaglog.py: respect LOGPRINT env variable ( #22950 )
...
* swaglog.py: respect LOGPRINT env variable
* only change handler that prints
* keep usefull manager prints
* only print running list
* revert process changes
* fix test
2021-11-18 16:05:06 +01:00
Willem Melching
843a64c72f
Make pylint more strict ( #1626 )
...
* make pylint more strict
* cleanup in progress
* done cleaning up
* no opendbc
2020-06-02 16:29:32 -07:00
Adeeb Shihadeh
efd5dffb1e
enable flake8 E231: missing whitespace after comma
2020-05-31 12:49:11 -07:00
Greg Hogan
337fb1a273
update tests
2020-04-10 09:46:03 -07:00
Willem Melching
3dad97a211
One more BaseException in test_uploader.py
2020-03-30 12:30:21 -07:00
Greg Hogan
f21d0f325e
uploader: do not delete files after uploading ( #1253 )
...
* cffi xattr function wrapper
* xattr wrapper error handling
* xattr tests
* use xattr for tracking files uploaded
* uploader xattr exception handling
* update uploader tests
* remove unused import
* update release build
* xattrs.py -> xattr.py
2020-03-19 18:09:26 -07:00
George Hotz
da079d47d7
logcatd, loggerd, mapd, modeld, proclogd
2020-01-17 11:20:17 -08:00