Skip to content

Fix power monitoring test shutdown signal mismatch - #57

Merged
nee1k merged 1 commit into
mainfrom
fix/power-monitoring-shutdown-signal
Jan 25, 2026
Merged

Fix power monitoring test shutdown signal mismatch#57
nee1k merged 1 commit into
mainfrom
fix/power-monitoring-shutdown-signal

Conversation

@nee1k

@nee1k nee1k commented Jan 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

Fixes the power monitoring test failure where total_cpu_power_consumption and total_gpu_power_consumption properties were not found in the Deployment node.

Root Cause

The EXPERIMENT_END_SIGNAL environment variable was set to test-end-signal, but the sample data (image_mapping_final.json) uses the UUID 6e153711-9823-4ee6-b608-58e2e801db51 as the shutdown signal.

This caused the daemon to:

  1. Never detect the shutdown signal in the event data
  2. Never call process_summary_events() to send power data to Kafka
  3. Result in no power data being written to Neo4j

Changes

  • docker-compose.yml: Update EXPERIMENT_END_SIGNAL to match the UUID in sample data
  • ci.yml: Increase wait time for power data pipeline (daemon shutdown → Kafka → Neo4j)

Test plan

  • Power monitoring test passes: test_power_monitoring_true
  • Deployment node contains total_cpu_power_consumption and total_gpu_power_consumption

The EXPERIMENT_END_SIGNAL was set to 'test-end-signal' but the sample
data uses '6e153711-9823-4ee6-b608-58e2e801db51'. This caused the daemon
to never detect the shutdown signal and never process power summary data.

Changes:
- Update EXPERIMENT_END_SIGNAL to match sample data UUID
- Increase wait time for power data to flow through pipeline
@nee1k
nee1k merged commit 8206d4c into main Jan 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant