Releases
v2.5.0
v2.5.0 (2024-03-28)
Bug Fixes
dispatcher: Fix pickle error on formula factory when using spawn method
processor/k8s: Close socket interface of target actor when stopping
processor/k8s: Fix pylint logging-too-few-args
warning
processor/k8s: Fix reversed container name/id parameters
processor/libvirt: Add missing Poison Pill message handler to actor
Build System
Bump PowerAPI package version to 2.5.0
chglog: Update header pattern to allow /
character in scope
deps: Bump codecov/codecov-action from 4.1.0 to 4.1.1
deps: Bump actions/setup-python from 5.0.0 to 5.1.0
deps: Bump python from 36d57d7
to 5dc6f84
deps: Bump github/codeql-action from 3.24.8 to 3.24.9
deps: Bump github/codeql-action from 3.24.7 to 3.24.8
Code Refactoring
cli: Improve k8s pre-processor cli args help text
cli: Remove unused timeout parameters for k8s pre-processor
handler: Remove debug print in Poison Pill message handler
processor: Clean ProcessorActor
base class and state
processor: Use super() to get the parent class
processor/k8s: Fix pylint warnings in monitor agent
processor/k8s: Map HWPCReport
to its corresponding handler
processor/k8s: Rework background metadata cache update agent
processor/libvirt: Fix flake8 warnings in actor module
Features
actor: Remove Poison Pill message in signal handler
cli: Update default paramaters value in k8s pre-processor factory
cli: Rename k8s pre-processor config arguments
cli/generator: Remove monitor and update pre-processor factory
processor/k8s: Wait for monitor agent to terminate before stopping actor
processor/k8s: Use resource id of V1PodList instead of V1Pod items
processor/k8s: Exit monitor process when receiving SIGINT/TERM
processor/k8s: Shutdown Manager
before shutting down actor
processor/k8s: More robust processing of container statuses
processor/k8s: Fill metadata cache from k8s API at startup
processor/k8s: Add method to clear metadata cache entries
processor/k8s: Add cgroups path validation before setting metadata
processor/k8s: Move monitor agent initialization in actor setup
processor/k8s: Drop reports with unknown kubernetes target
processor/k8s: Put the container metadata inside a k8s
dict entry
processor/k8s: Rework actor and report handlers code
processor/k8s: Add container metadata cache manager
Tests
unit/cli: Remove monitor tests
unit/cli: Fix CodeQL warnings about unused imports
unit/dispatcher: Fix deadlocks in Dispatcher actor tests
unit/processor: Remove unused fixtures
unit/processor/k8s: Add processor actor unit tests
unit/processor/k8s: Rename monitor agent tests file
unit/processor/k8s: Add monitor unit tests
unit/processor/k8s: Add utils
module unit tests
unit/processor/k8s: Fix pylint f-string-without-interpolation
warning
unit/processor/k8s: Rename actor tests file
unit/processor/k8s: Add tests for metadata cache manager
unit/processor/k8s: Fix pylint warnings about fixtures
utils: Use Manager for the Actors mailbox Queue
You can’t perform that action at this time.