* check end_event while uploading, throw abort exception if we need to shut down/restart
* fix
* draft test
stash
* Revert - there's no easy way to know if it breaks early in upload loop
or not yet
This reverts commit ad893687e1.
* todo for now
old-commit-hash: 3009a51c06
* enable random order
* logprint info
* revert that
* better logging
* go to dfu
* try to flash every panda if not up to date
* revert panda debugging
old-commit-hash: a5d99e0ebb
* use OP prefix for logmessage
* cleanup paths too
* cleanup the paths too
* add hw.py to release
* fix those issues
* fix unittests
* fix unittests
* fix unittests
* do swaglog_ipc properly across all the files
* fix that
* fix swaglog in c++
* review suggestions
old-commit-hash: bfe990b112
* switch to pytest
* static analysis
* fix the helpers
* static analysis
* remove that
* more parallel test
* cleanup
* static analysis
* durations min and tolerance
* reduce those iterations
* sleep time could be decreased too
* in case it's negative
* try using caching
* remove parallelization for first PR
* PR Cleanup
* reduce diff
* fix that
* bump panda
old-commit-hash: ca435d3447
* 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
old-commit-hash: 77a6f3d034
* athena: uploads, show which items fail on error
* fix upload-id
* no more 404
* Update selfdrive/athena/athenad.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 3ffebf4df5
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>
old-commit-hash: 332f568a82
* return current upload item in listUploadQueue
* update progress on read
* move to file helpers
* use dict instead of global
old-commit-hash: 28823917ea
* athenad: fix log sort
* add test for logs to send
* use temp dir for logs
* fix changing SWAGLOG_DIR
* better way to patch SWAGLOG_DIR
* fix grammar
old-commit-hash: 0964871239
* switch some uploader messages to debug log
* use allow_sleep
* log when not request or response
* test both with params and without params
old-commit-hash: 1e3f8b014e
* log to file and send through athena
* rename logging level
* pass thru log formatter
* logMessage is TEXT
* send queue always strings
* switch to xattr and lower priority queue
* enable cloud logging for devices
* time or size based log rotation
* basename -> dirname
* remove HARDWARE.get_cloudlog_enabled
* fix errors
* fix another exception
* xattrs need to be bytes
* sending works
* cleanup files at start
* add id and adjust formatting
* do not send active log file
* better names
* separate log formatters
* fix formatter super init
* fix log file order
* ensure file always has file formatter
* i see why there was no formatter
* apply same formatting to cpp log msgs
* apply same formatting to cpp log msgs
* update queue names in tests
* strip deprecated keys in STATUS_PACKET
* strip DEPRECATED from dict recursively
* athena log queue test
* instanceof instead of type
* isinstance instead of type
* use super
* remove logentries
* last_scan param unused
* comment about special log msg attr names
* add dict_helpers.py to release files
* use monotonic time and counter for log rotation
* update for adjusted log file naming
* use monotonic clock for tracking last log file scan
old-commit-hash: 3d48bd934d