Skip to content

subsys: zbus: publish_stats: message_bus.zbus.publish_stats fails #99500

@katgiadla

Description

@katgiadla

Describe the bug

Test tests/subsys/zbus/publish_stats/message_bus.zbus.publish_stats fails.

Observed for:

  • nrf52840dk/nrf52840
  • nrf9160dk@0.14.0/nrf9160
  • nrf54l15dk/nrf54l15/cpuapp
  • nrf52dk/nrf52832
  • nrf5340dk/nrf5340/cpuapp
  • nrf54l15dk/nrf54l15/cpuflpr

Regression

  • This is a regression.

Steps to reproduce

  1. have nrf52840DK connected
  2. go to your zephyr dir
  3. call $ZEPHYR_BASE/scripts/twister -s message_bus.zbus.publish_stats -p nrf52840dk/nrf52840 --device-testing --device-serial /dev/ttyACM0 -v --inline-logs --west-flash="--erase"
  4. See console output with error

Relevant log output

*** Booting Zephyr OS build v4.3.0-390-g9c1fbc8a86ad ***
Running TESTSUITE publish_stats
===================================================================
START - test_channel_metadata

    Assertion failed at /zephyr/tests/subsys/zbus/publish_stats/src/main.c:51: publish_stats_test_channel_metadata: 1000 not within zbus_chan_pub_stats_msg_age(&chan) +/- clock_window

 FAIL - test_channel_metadata in 1.721 seconds
===================================================================
TESTSUITE publish_stats failed.

------ TESTSUITE SUMMARY START ------

SUITE FAIL -   0.00% [publish_stats]: pass = 0, fail = 1, skip = 0, total = 1 duration = 1.721 seconds
 - FAIL - [publish_stats.test_channel_metadata] duration = 1.721 seconds

------ TESTSUITE SUMMARY END ------

===================================================================
RunID: c2e9e58aa722f64f4e539ef957fa4278
PROJECT EXECUTION FAILED

Impact

Annoyance – Minor irritation; no significant impact on usability or functionality.

Environment

OS: Ubuntu 20.04.1 LTS
Toolchain Zephyr SDK 0.17.0
Commit SHA or Version used: 9c1fbc8

Additional Context

Bisect indicates for 18a3838.

Metadata

Metadata

Labels

RegressionSomething, which was working, does not anymorearea: ZbusbugThe issue is a bug, or the PR is fixing a bugplatform: nRFNordic nRFxpriority: lowLow impact/importance bug

Type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions