Skip to content

conmon: add --timer-command to run command every N seconds

7a1b0ec
Select commit
Loading
Failed to load commit list.
Closed

[RFC] conmon: add --timer-command to run command every N seconds #598

conmon: add --timer-command to run command every N seconds
7a1b0ec
Select commit
Loading
Failed to load commit list.
Cirrus CI / build failed Sep 12, 2025 in 1m 11s

Task Summary

Instruction main failed in 01:09

Details

✅ 00:00 clone
❌ 01:09 main

ok 31 ctr logs: log driver as invalid driver should fail
ok 32 ctr logs: multiple log drivers should pass
ok 33 ctr logs: --no-container-partial-message option should pass with journald
ok 34 ctr logs: --no-container-partial-message should warn without journald
ok 35 ctr logs: multiple log drivers with one invalid should fail
ok 36 k8s log rotation: should create valid k8s log format
ok 37 k8s log rotation: should accept log-size-max option
ok 38 k8s log rotation: should handle multiple log drivers with size limits
ok 39 k8s log rotation: should create log file and accept small log size limits
ok 40 k8s log rotation: should handle extremely small rotation limits without crashing
ok 41 k8s log rotation: should properly validate log-size-max parameter bounds
ok 42 k8s log rotation: should create log files that can handle simulated k8s format content
ok 43 k8s log rotation: should handle zero log-size-max gracefully
ok 44 k8s log rotation: should handle negative log-size-max gracefully
ok 45 k8s log rotation: should work with very large log-size-max
ok 46 runtime: simple runtime test
ok 47 runtime: container execution with different log drivers
ok 48 runtime: container execution with multiple log drivers
ok 49 runtime: container with log size limit
ok 50 runtime: container cleanup on completion
ok 51 runtime: invalid runtime binary should fail
ok 52 runtime: configuration validation works
ok 53 OOM detection: conmon binary exists and has OOM detection code
ok 54 OOM detection: memory.events file format is correctly parsed
ok 55 OOM detection: separate counter logic validation
ok 56 OOM detection: race condition handling validation
ok 57 OOM detection: malformed memory.events handling
ok 58 OOM detection: zero counter handling
ok 59 OOM detection: counter increment scenarios
ok 60 OOM detection: file permissions and accessibility # skip Skipping permission test when running as root
ok 61 OOM detection: cgroup v2 detection logic
ok 62 conmon help contains exec option
ok 63 exec requires proper arguments
ok 64 integration: exec exit codes work correctly # skip Cannot create test containers with podman
ok 65 timer-command flag in help
ok 66 invalid timer-command format should fail
ok 67 incomplete timer-command format should fail
ok 68 invalid timer-command ID should fail
ok 69 invalid timer-command interval should fail
ok 70 zero timer-command interval should fail
ok 71 empty timer-command command should fail
ok 72 timer-command argument without timer-command should fail
ok 73 invalid timer-command argument format should fail
ok 74 valid timer-command format should be accepted
ok 75 multiple timer-command entries should be accepted
ok 76 timer-command with arguments should be accepted
not ok 77 timer-commands execute and create files
# (in test file test/07-timer-command.bats, line 165)
#   `return 1' failed
# Timer-command 0 file was not created
ok 78 partial log: container with printf (no newline) generates F-sequence # skip Container runtime not available for functional testing
ok 79 partial log: container with echo (with newline) does NOT generate standalone F-sequence # skip Container runtime not available for functional testing
�[0;31m[ERROR]�[0m Some tests failed!
make: *** [Makefile:80: test] Error 1

Exit status: 2