-
Notifications
You must be signed in to change notification settings - Fork 8.4k
Labels
bugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: nRFNordic nRFxNordic nRFxpriority: lowLow impact/importance bugLow impact/importance bug
Description
- Describe the bug
The tests: - tests/drivers/clock_control/nrf_clock_control/drivers.clock.nrf_clock_control
Observed for
- nrf54h20dk@0.9.0/nrf54h20/cpuapp
To Reproduce
Steps to reproduce the behavior:
- have nrf54h20dk@0.9.0/nrf54h20/cpuapp connected
- go to your zephyr dir
- call ./scripts/twister -T tests/drivers/clock_control/nrf_clock_control/ -p nrf54h20dk@0.9.0/nrf54h20/cpuapp --device-testing --device-serial /dev/ttyACM0 -v --inline-logs
- See console output with error
Expected behavior
Valid console output
Impact
Not clear
Logs and console output
D: initial request GDFS_FREQ_LOW
*** Booting Zephyr OS build v4.1.0-rc1-8-gff4dc62f0e52 ***
W: Init not done!
Running TESTSUITE nrf2_clock_control
===================================================================
START - test_cpuapp_hsfll_control
APPLICATION DOMAIN HSFLL test
D: Trim ABB for default voltage.
D: Waiting for backend init
D: nrfs_dvfs_init
D: nrfs_dvfs_init_prepare_request
D: nrfs_dvfs_evt_handler
D: DVFS handler EVT_INIT_DONE
D: DVFS handler EVT_INIT_DONE handled
D: DVFS init done.
Applying clock (clock@d000) spec: frequency 128000000, accuracy 0, precision 0
Clock under test: clock@d000
D: nrfs_dvfs_evt_handler
D: DVFS handler EVT_OPPOINT_REQ_CONFIRMED 0
D: Requested LD freq setting: 1
D: nrfs_dvfs_evt_handler
D: DVFS handler EVT_OPPOINT_SCALING_PREPARE
D: Current LD freq setting: 0
D: Checking if downscaling YES
D: Current LD freq setting: 0
D: Prepare to scale, oppoint freq 1
D: Current LD freq setting: 0
D: Current LD freq setting: 0
D: Checking if downscaling YES
D: Current LD freq setting: 0
D: Perform scaling background job if needed.
D: Current LD freq setting: 0
D: Checking if downscaling YES
D: Current LD freq setting: 0
D: DVFS handler EVT_OPPOINT_SCALING_PREPARE handled
D: Scaling finnish oppoint freq 1
D: Current LD freq setting: 0
D: Checking if downscaling YES
D: Current LD freq setting: 0
D: Current LD freq setting: 0
D: Checking if downscaling YES
D: Current LD freq setting: 0
D: Current LD freq setting: 1
Clock control request return value: 0
Clock control request response code: 0
Applying clock (clock@d000) spec: frequency 320000000, accuracy 0, precision 0
Clock under test: clock@d000
D: nrfs_dvfs_evt_handler
D: DVFS handler EVT_OPPOINT_REQ_CONFIRMED 1
D: Requested LD freq setting: 0
D: nrfs_dvfs_evt_handler
D: DVFS handler EVT_OPPOINT_SCALING_DONE
D: Scaling finnish oppoint freq 0
D: Current LD freq setting: 1
D: Checking if downscaling NO
D: Current LD freq setting: 1
D: Current LD freq setting: 1
D: Checking if downscaling NO
D: Current LD freq setting: 1
D: Current LD freq setting: 0
D: DVFS handler EVT_OPPOINT_SCALING_DONE handled
Clock control request return value: 0
Clock control request response code: 0
Applying clock (clock@d000) spec: frequency 64000000, accuracy 0, precision 0
Clock under test: clock@d000
Assertion failed at ../../../../../../../../../zephyr/tests/drivers/clock_control/nrf_clock_control/src/main.c:167: test_request_release_clock_spec: ret not between 0 and 2 inclusive
D: nrfs_dvfs_evt_handler
D: DVFS handler EVT_OPPOINT_REQ_CONFIRMED 0
D: Requested LD freq setting: 2
D: nrfs_dvfs_evt_handler
D: DVFS handler EVT_OPPOINT_SCALING_PREPARE
D: Current LD freq setting: 0
D: Checking if downscaling YES
D: Current LD freq setting: 0
D: Prepare to scale, oppoint freq 2
D: Current LD freq setting: 0
D: Current LD freq setting: 0
D: Checking if downscaling YES
D: Current LD freq setting: 0
D: Perform scaling background job if needed.
D: Current LD freq setting: 0
D: Checking if downscaling YES
D: Current LD freq setting: 0
D: DVFS handler EVT_OPPOINT_SCALING_PREPARE handled
FAIL - teD: Scaling finnish oppoint freq 2
D: Current LD freq setting: 0
D: Checking if downscaling YES
D: Current LD freq setting: 0
D: Current LD freq setting: 0
D: Checking if downscaling YES
D: Current LD freq setting: 0
D: Current LD freq setting: 2
st_cpuapp_hsfll_control in 5.181 seconds
===================================================================
START - test_fll16m_control
FLL16M test
Applying clock (fll16m) spec: frequency 16000000, accuracy 20000, precision 0
Clock under test: fll16m
Clock control request return value: 0
Clock control request response code: 0
Applying clock (fll16m) spec: frequency 16000000, accuracy 5020, precision 0
Clock under test: fll16m
Clock control request return value: 0
Clock control request response code: 0
Applying clock (fll16m) spec: frequency 16000000, accuracy 30, precision 0
Clock under test: fll16m
D: HFXOSTARTED: 1
Clock control request return value: 0
Clock control request response code: 0
PASS - test_fll16m_control in 3.052 seconds
===================================================================
START - test_global_hsfll_control
Global HSFLL test
Applying clock (hsfll120) spec: frequency 320000000, accuracy 0, precision 0
Clock under test: hsfll120
D: requesting GDFS_FREQ_HIGH
Clock control request return value: 0
Clock control request response code: 0
Applying clock (hsfll120) spec: frequency 256000000, accuracy 0, precision 0
Clock under test: hsfll120
D: requesting GDFS_FREQ_MEDHIGH
Clock control request return value: 0
Clock control request response code: 0
Applying clock (hsfll120) spec: frequency 128000000, accuracy 0, precision 0
Clock under test: hsfll120
D: requesting GDFS_FREQ_MEDLOW
Clock control request return value: 0
Clock control request response code: 0
Applying clock (hsfll120) spec: frequency 64000000, accuracy 0, precision 0
Clock under test: hsfll120
D: requesting GDFS_FREQ_LOW
Clock control request return value: 0
Clock control request response code: 0
D: requesting GDFS_FREQ_LOW
PASS - test_global_hsfll_control in 4.081 seconds
===================================================================
START - test_invalid_fll16m_clock_spec_response
FLL16M invalid clock specification test
Applying clock (fll16m) spec: frequency 16000000, accuracy 20, precision 0
E: invalid accuracy
Clock control request return value: -22
Clock control request response code: 0
Applying clock (fll16m) spec: frequency 19000000, accuracy 0, precision 0
E: invalid frequency
Clock control request return value: -22
Clock control request response code: 0
Applying clock (fll16m) spec: frequency 16000000, accuracy 0, precision 1
E: invalid precision
Clock control request return value: -22
Clock control request response code: 0
PASS - test_invalid_fll16m_clock_spec_response in 0.051 seconds
===================================================================
START - test_lfclk_control
LFCLK test
Applying clock (lfclk) spec: frequency 32768, accuracy 0, precision 0
Clock under test: lfclk
Clock control request return value: 0
Clock control request response code: 0
Applying clock (lfclk) spec: frequency 32768, accuracy 20, precision 0
Clock under test: lfclk
Clock control request return value: 0
Clock control request response code: 0
Applying clock (lfclk) spec: frequency 32768, accuracy 20, precision 1
Clock under test: lfclk
Clock control request return value: 0
Clock control request response code: 0
PASS - test_lfclk_control in 3.298 seconds
===================================================================
START - test_safe_request_cancellation
Safe clock request cancellation
Clock under test: lfclk
Clock control request return value: 0
Clock control request response code: 0
Clock control safe cancellation return value: 6
PASS - test_safe_request_cancellation in 0.017 seconds
===================================================================
TESTSUITE nrf2_clock_control failed.
------ TESTSUITE SUMMARY START ------
SUITE FAIL - 83.33% [nrf2_clock_control]: pass = 5, fail = 1, skip = 0, total = 6 duration = 15.680 seconds
- FAIL - [nrf2_clock_control.test_cpuapp_hsfll_control] duration = 5.181 seconds
- PASS - [nrf2_clock_control.test_fll16m_control] duration = 3.052 seconds
- PASS - [nrf2_clock_control.test_global_hsfll_control] duration = 4.081 seconds
- PASS - [nrf2_clock_control.test_invalid_fll16m_clock_spec_response] duration = 0.051 seconds
- PASS - [nrf2_clock_control.test_lfclk_control] duration = 3.298 seconds
- PASS - [nrf2_clock_control.test_safe_request_cancellation] duration = 0.017 seconds
------ TESTSUITE SUMMARY END ------
===================================================================
PROJECT EXECUTION FAILED
Environment (please complete the following information):
- OS: Ubuntu 20.04.1 LTS
- Toolchain Zephyr SDK 0.17.0
- Commit SHA or Version used: v4.1.0-rc1-8-gff4dc62f0e52
Metadata
Metadata
Assignees
Labels
bugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: nRFNordic nRFxNordic nRFxpriority: lowLow impact/importance bugLow impact/importance bug
Type
Projects
Status
Done