Skip to content

Instantly share code, notes, and snippets.

@noursaidi
Last active October 9, 2023 17:18
Show Gist options
  • Save noursaidi/fe571a1b0f62f95ca1b6ae51672ccf3d to your computer and use it in GitHub Desktop.
Save noursaidi/fe571a1b0f62f95ca1b6ae51672ccf3d to your computer and use it in GitHub Desktop.
sequencer report

AHU-1

  • Start 2023-10-09T17:10:26Z
  • End: 2023-10-09T17:17:26Z
  • Status: Run completed

Device Identification

Device AHU-1
Site
Make BOS
Model pubber
Software firmware: v1

Summary

Feature Stable Beta Preview
- enumeration 0/0 0/0 1/1
- enumeration.features 0/0 0/0 0/1
pointset 0/0 3/3 0/0
system 1/1 4/5 0/0

Results

Bucket Feature Stage Result Description
enumeration empty_enumeration preview pass Sequence complete
enumeration.features feature_enumeration preview fail device metadata features missing
pointset pointset_publish beta pass Sequence complete
pointset pointset_publish_interval beta pass Sequence complete
pointset pointset_sample_rate beta pass Sequence complete
system config_logging beta pass Sequence complete
system device_config_acked beta fail Sequence complete
system extra_config beta pass Sequence complete
system state_make_model beta pass Sequence complete
system state_software beta pass Sequence complete
system system_last_update stable pass Sequence complete

Schema

Stage Result
stable
beta -
preview -

Sequences

enumeration

empty_enumeration

✓   1. Update config before enumeration not active:
        * Add `discovery` = { "enumerate": {  } }
✓   2. Wait for enumeration not active
✓   3. Update config before matching enumeration generation:
        * Add `discovery.generation` = `generation start time`
✓   4. Wait for matching enumeration generation

--------------------------------------------------------------
✕   5. Update config before cleared enumeration generation: ✕
✕       * Remove `discovery.generation`                     ✕
--------------------------------------------------------------

    6. Wait for cleared enumeration generation
    7. Check that no family enumeration
    8. Check that no feature enumeration
    9. Check that no point enumeration

enumeration.features

feature_enumeration

✓   1. Update config before enumeration not active:
        * Add `discovery` = { "enumerate": { "features": `true` } }
✓   2. Wait for enumeration not active
✓   3. Update config before matching enumeration generation:
        * Add `discovery.generation` = `generation start time`
✓   4. Wait for matching enumeration generation
✓   5. Update config before cleared enumeration generation:
        * Remove `discovery.generation`
✓   6. Wait for cleared enumeration generation
✓   7. Check that no family enumeration

---------------------------------------------------------
✕   8. Check that feature enumeration matches metadata ✕
---------------------------------------------------------

    9. Check that all enumerated features are official buckets
    10. Check that no point enumeration

pointset

pointset_publish

✓   1. Wait for receive a pointset event

pointset_publish_interval

✓   1. Update config before receive at least 4 pointset events:
        * Add `pointset.sample_rate_sec` = `8`
        * Add `pointset.sample_limit_sec` = `5`
✓   2. Wait for receive at least 4 pointset events

----------------------------------------------------------------------------------------------
✕   3. Check that time period between successive pointset events is between 5 and 8 seconds ✕
----------------------------------------------------------------------------------------------

    4. Update config before receive at least 4 pointset events:
        * Set `pointset.sample_rate_sec` = `18`
        * Set `pointset.sample_limit_sec` = `15`
    5. Wait for receive at least 4 pointset events
    6. Check that time period between successive pointset events is between 15 and 18 seconds

pointset_sample_rate

✓   1. Wait for measure initial sample rate
✓   2. Update config before receive at least 5 pointset events:
        * Add `pointset.sample_rate_sec` = `5`
        * Add `pointset.sample_limit_sec` = `1`
✓   3. Wait for receive at least 5 pointset events
✓   4. Check that time period between successive pointset events is between 1 and 5 seconds

system

config_logging

✓   1. Update config set min_loglevel to debug:
        * Set `system.min_loglevel` = `100`
✓   2. Force config update to resend config to device
✓   3. Wait for log category `system.config.receive` level `DEBUG` was logged
✓   4. Wait for log category `system.config.parse` level `DEBUG` was logged
✓   5. Wait for log category `system.config.apply` level `NOTICE` was logged

device_config_acked


-------------------------------
✕   1. Wait for config acked ✕
-------------------------------

extra_config

✓   1. Update config before last_config not null:
        * Set `system.min_loglevel` = `100`
✓   2. Wait for last_config not null
✓   3. Wait for system operational
✓   4. Check that no interesting system status
✓   5. Wait for log category `system.config.receive` level `DEBUG` was logged
✓   6. Wait for last_config updated
✓   7. Wait for system operational
✓   8. Check that no interesting system status
✓   9. Wait for log category `system.config.parse` level `DEBUG` was logged
✓   10. Wait for log category `system.config.apply` level `NOTICE` was logged
✓   11. Wait for log category `system.config.receive` level `DEBUG` was logged
✓   12. Wait for last_config updated again

-------------------------------------
✕   13. Wait for system operational ✕
-------------------------------------

    14. Check that no interesting system status
    15. Wait for log category `system.config.parse` level `DEBUG` was logged
    16. Wait for log category `system.config.apply` level `NOTICE` was logged

state_make_model

✓   1. Check that make and model in state matches make in metadata

state_software

✓   1. Check that software in metadata matches state

system_last_update

✓   1. Wait for state last_config matches config timestamp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment