From 0b3a13056cac75ceea45dc1734679e95a624e55c Mon Sep 17 00:00:00 2001 From: Hake Huang Date: Wed, 30 Aug 2023 12:53:04 +0800 Subject: [PATCH] zephyr-v3.4.0-2851-g34fddd8b4c09: nxp weekly test nxp weekly test Signed-off-by: Hake Huang --- .../lpcxpresso55s28.xml | 52 + .../mimxrt1060_evk.xml | 2177 ++++++++++ .../mimxrt1160_evk_cm7.xml | 2177 ++++++++++ .../mimxrt1170_evk_cm7.xml | 3609 +++++++++++++++++ .../mimxrt595_evk_cm33.xml | 3350 +++++++++++++++ .../mimxrt685_evk_cm33.xml | 2763 +++++++++++++ 6 files changed, 14128 insertions(+) create mode 100644 results/zephyr-v3.4.0-2851-g34fddd8b4c09/lpcxpresso55s28.xml create mode 100644 results/zephyr-v3.4.0-2851-g34fddd8b4c09/mimxrt1060_evk.xml create mode 100644 results/zephyr-v3.4.0-2851-g34fddd8b4c09/mimxrt1160_evk_cm7.xml create mode 100644 results/zephyr-v3.4.0-2851-g34fddd8b4c09/mimxrt1170_evk_cm7.xml create mode 100644 results/zephyr-v3.4.0-2851-g34fddd8b4c09/mimxrt595_evk_cm33.xml create mode 100644 results/zephyr-v3.4.0-2851-g34fddd8b4c09/mimxrt685_evk_cm33.xml diff --git a/results/zephyr-v3.4.0-2851-g34fddd8b4c09/lpcxpresso55s28.xml b/results/zephyr-v3.4.0-2851-g34fddd8b4c09/lpcxpresso55s28.xml new file mode 100644 index 00000000..2f2fc994 --- /dev/null +++ b/results/zephyr-v3.4.0-2851-g34fddd8b4c09/lpcxpresso55s28.xml @@ -0,0 +1,52 @@ +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 + +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false + +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.157 seconds +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 + +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false + +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.157 seconds +[IK ))) START - test_usb_disable + +Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/usb/device/src/main.c:96: device_usb_test_usb_disable: (usb_disable() not equal to TC_PASS) +usb_disable() failed +FAIL - test_usb_disable in 0.023 seconds + \ No newline at end of file diff --git a/results/zephyr-v3.4.0-2851-g34fddd8b4c09/mimxrt1060_evk.xml b/results/zephyr-v3.4.0-2851-g34fddd8b4c09/mimxrt1060_evk.xml new file mode 100644 index 00000000..bce3dcfc --- /dev/null +++ b/results/zephyr-v3.4.0-2851-g34fddd8b4c09/mimxrt1060_evk.xml @@ -0,0 +1,2177 @@ +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 + +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false + +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.121 seconds +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.069 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.087 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.063 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.099 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.121 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.221 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.142 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.079 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.236 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 0.751 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.135 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.081 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.072 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.104 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.065 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.215 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.252 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.069 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.087 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.063 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.099 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.121 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.221 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.142 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.079 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.236 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 0.751 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.135 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.081 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.072 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.104 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.065 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.215 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.252 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.069 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.087 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.063 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.099 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.121 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.221 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.142 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.079 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.236 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 0.751 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.135 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.081 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.072 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.104 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.065 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.215 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.252 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 + +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false + +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.121 seconds +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.069 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.087 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.063 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.099 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.121 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.221 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.142 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.079 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.236 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 0.750 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.135 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.081 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.072 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.104 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.065 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.215 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.252 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.069 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.087 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.063 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.099 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.121 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.221 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.142 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.079 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.236 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 0.750 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.135 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.081 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.072 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.104 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.065 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.215 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.252 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.069 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.087 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.063 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.099 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.121 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.221 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.142 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.079 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.236 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 0.750 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.135 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.081 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.072 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.104 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.065 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.215 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.252 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 + \ No newline at end of file diff --git a/results/zephyr-v3.4.0-2851-g34fddd8b4c09/mimxrt1160_evk_cm7.xml b/results/zephyr-v3.4.0-2851-g34fddd8b4c09/mimxrt1160_evk_cm7.xml new file mode 100644 index 00000000..20822920 --- /dev/null +++ b/results/zephyr-v3.4.0-2851-g34fddd8b4c09/mimxrt1160_evk_cm7.xml @@ -0,0 +1,2177 @@ +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 + +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false + +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.121 seconds +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.069 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.087 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.063 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.099 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.121 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.221 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.142 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.080 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.237 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 0.751 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.136 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.082 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.072 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.104 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.065 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.215 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.252 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.069 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.087 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.063 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.099 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.121 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.221 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.142 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.080 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.237 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 0.751 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.136 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.082 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.072 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.104 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.065 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.215 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.252 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.069 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.087 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.063 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.099 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.121 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.221 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.142 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.080 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.237 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 0.751 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.136 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.082 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.072 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.104 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.065 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.215 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.252 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 + +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false + +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.121 seconds +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.069 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.087 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.063 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.099 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.121 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.221 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.142 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.080 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.236 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 0.751 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.136 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.082 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.073 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.104 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.065 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.215 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.252 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.069 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.087 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.063 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.099 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.121 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.221 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.142 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.080 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.236 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 0.751 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.136 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.082 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.073 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.104 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.065 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.215 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.252 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.069 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.087 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.063 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.099 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.121 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.221 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.142 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.080 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.236 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 0.751 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.136 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.082 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.073 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.104 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.065 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.215 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.252 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 + \ No newline at end of file diff --git a/results/zephyr-v3.4.0-2851-g34fddd8b4c09/mimxrt1170_evk_cm7.xml b/results/zephyr-v3.4.0-2851-g34fddd8b4c09/mimxrt1170_evk_cm7.xml new file mode 100644 index 00000000..accaf4f9 --- /dev/null +++ b/results/zephyr-v3.4.0-2851-g34fddd8b4c09/mimxrt1170_evk_cm7.xml @@ -0,0 +1,3609 @@ +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 + +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false + +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.121 seconds +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.069 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.087 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.063 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.099 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.121 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.221 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.142 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.080 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.236 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 2.131 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.136 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.082 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.072 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.104 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.065 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.215 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.252 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.069 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.087 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.063 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.099 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.121 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.221 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.142 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.080 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.236 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 2.131 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.136 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.082 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.072 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.104 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.065 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.215 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.252 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.069 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.087 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.063 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.099 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.121 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.221 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.142 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.080 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.236 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 2.131 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.136 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.082 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.072 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.104 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.065 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.215 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.252 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 + +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false + +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.121 seconds +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.069 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.087 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.063 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.099 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.121 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.221 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.142 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.080 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.236 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 2.131 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.135 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.081 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.072 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.104 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.065 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.215 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.252 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.069 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.087 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.063 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.099 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.121 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.221 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.142 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.080 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.236 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 2.131 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.135 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.081 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.072 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.104 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.065 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.215 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.252 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.069 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.087 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.063 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.099 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.121 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.221 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.142 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.080 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.236 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 2.131 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.135 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.081 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.072 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.104 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.065 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.215 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.252 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE net_block_transfer +=================================================================== +START - test_build_first_block_for_send +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_build_first_block_for_send in 0.012 seconds +=================================================================== +START - test_one_block_with_big_buffer +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_one_block_with_big_buffer in 0.012 seconds +=================================================================== +START - test_init_message_use_big_buffer +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_init_message_use_big_buffer in 0.012 seconds +=================================================================== +START - test_build_blocks_for_send_exactly_2_blocks +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_build_blocks_for_send_exactly_2_blocks in 0.012 seconds +=================================================================== +START - test_block_context +PASS - test_block_context in 0.001 seconds +=================================================================== +START - test_build_blocks_for_send_more_than_2_blocks +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_build_blocks_for_send_more_than_2_blocks in 0.012 seconds +=================================================================== +START - test_build_blocks_for_send_exactly_2_blocks +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_build_blocks_for_send_exactly_2_blocks in 0.012 seconds +=================================================================== +START - test_init_message_use_big_buffer +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_init_message_use_big_buffer in 0.012 seconds +=================================================================== +START - test_block_context +PASS - test_block_context in 0.001 seconds +=================================================================== +START - test_build_first_block_for_send +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_build_first_block_for_send in 0.012 seconds +=================================================================== +START - test_build_blocks_for_send_more_than_2_blocks +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_build_blocks_for_send_more_than_2_blocks in 0.012 seconds +=================================================================== +START - test_one_block_with_big_buffer +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_one_block_with_big_buffer in 0.012 seconds +=================================================================== +START - test_build_blocks_for_send_more_than_2_blocks +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_build_blocks_for_send_more_than_2_blocks in 0.012 seconds +=================================================================== +START - test_init_message_use_big_buffer +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_init_message_use_big_buffer in 0.012 seconds +=================================================================== +START - test_one_block_with_big_buffer +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_one_block_with_big_buffer in 0.012 seconds +=================================================================== +START - test_build_first_block_for_send +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_build_first_block_for_send in 0.012 seconds +=================================================================== +START - test_block_context +PASS - test_block_context in 0.001 seconds +=================================================================== +START - test_build_blocks_for_send_exactly_2_blocks +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_build_blocks_for_send_exactly_2_blocks in 0.012 seconds +=================================================================== +TESTSUITE net_block_transfer succeeded +Running TESTSUITE net_block_transfer +=================================================================== +START - test_build_first_block_for_send +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_build_first_block_for_send in 0.012 seconds +=================================================================== +START - test_build_blocks_for_send_more_than_2_blocks +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_build_blocks_for_send_more_than_2_blocks in 0.012 seconds +=================================================================== +START - test_build_blocks_for_send_exactly_2_blocks +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_build_blocks_for_send_exactly_2_blocks in 0.012 seconds +=================================================================== +START - test_init_message_use_big_buffer +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_init_message_use_big_buffer in 0.012 seconds +=================================================================== +START - test_block_context +PASS - test_block_context in 0.001 seconds +=================================================================== +START - test_one_block_with_big_buffer +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_one_block_with_big_buffer in 0.012 seconds +=================================================================== +START - test_build_first_block_for_send +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_build_first_block_for_send in 0.012 seconds +=================================================================== +START - test_build_blocks_for_send_more_than_2_blocks +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_build_blocks_for_send_more_than_2_blocks in 0.012 seconds +=================================================================== +START - test_build_blocks_for_send_exactly_2_blocks +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_build_blocks_for_send_exactly_2_blocks in 0.012 seconds +=================================================================== +START - test_init_message_use_big_buffer +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_init_message_use_big_buffer in 0.012 seconds +=================================================================== +START - test_block_context +PASS - test_block_context in 0.001 seconds +=================================================================== +START - test_one_block_with_big_buffer +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_one_block_with_big_buffer in 0.012 seconds +=================================================================== +START - test_one_block_with_big_buffer +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_one_block_with_big_buffer in 0.012 seconds +=================================================================== +START - test_build_blocks_for_send_more_than_2_blocks +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_build_blocks_for_send_more_than_2_blocks in 0.012 seconds +=================================================================== +START - test_block_context +PASS - test_block_context in 0.001 seconds +=================================================================== +START - test_init_message_use_big_buffer +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_init_message_use_big_buffer in 0.012 seconds +=================================================================== +START - test_build_first_block_for_send +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_build_first_block_for_send in 0.012 seconds +=================================================================== +START - test_build_blocks_for_send_exactly_2_blocks +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_build_blocks_for_send_exactly_2_blocks in 0.012 seconds +=================================================================== +TESTSUITE net_block_transfer succeeded +Running TESTSUITE net_block_transfer +=================================================================== +START - test_block_context +PASS - test_block_context in 0.001 seconds +=================================================================== +START - test_build_first_block_for_send +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_build_first_block_for_send in 0.012 seconds +=================================================================== +START - test_build_blocks_for_send_exactly_2_blocks +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_build_blocks_for_send_exactly_2_blocks in 0.012 seconds +=================================================================== +START - test_init_message_use_big_buffer +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_init_message_use_big_buffer in 0.012 seconds +=================================================================== +START - test_build_blocks_for_send_more_than_2_blocks +body_encode_buffer_slab: free: 3, allocated: 1, max. allocated: 1 +body_encode_buffer_slab: free: 4, allocated: 0, max. allocated: 1 +PASS - test_build_blocks_for_send_more_than_2_blocks in 0.012 seconds +=================================================================== +START - test_one_block_with_big_buffer +START - test_cycle_ready_CC + +Assertion failed at WEST_TOPDIR/zephyr/tests/net/conn_mgr/src/main.c:190: cycle_ready_ifaces: (stats.conn_count not equal to 1) +NET_EVENT_L4_CONNECTED should be fired when connectivity is gained. +FAIL - test_cycle_ready_CC in 0.022 seconds +START - test_slice_perthread + +Assertion failed at WEST_TOPDIR/zephyr/tests/kernel/sched/schedule_api/src/test_slice_scheduling.c:159: slice_expired: ((dt - PERTHREAD_SLICE_TICKS) <= TICK_SLOP is false) +slice expired >4 ticks late (dt=63) +FAIL - test_slice_perthread in 0.032 seconds +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE userspace +=================================================================== +START - test_access_after_revoke +E: thread 0x80000200 (2) does not have permission on k_sem 0x8000325c +E: permission bitmap +E: 08 00 |.. +E: syscall z_vrfy_k_sem_take failed check: access denied +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00000000 +E: xpsr: 0x00000000 +E: Faulting instruction address (r15/pc): 0x00000000 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_access_after_revoke) +Caught system error -- reason 3 +System error was expected +PASS - test_access_after_revoke in 0.050 seconds +=================================================================== +START - test_bad_syscall +E: Bad system call id 2147483647 invoked +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00000000 +E: xpsr: 0x00000000 +E: Faulting instruction address (r15/pc): 0x00000000 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_bad_syscall) +Caught system error -- reason 3 +System error was expected +PASS - test_bad_syscall in 0.036 seconds +=================================================================== +START - test_disable_mmu_mpu +E: ***** BUS FAULT ***** +E: Imprecise data bus error +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0xe000ed00 r12/ip: 0x30005f63 r14/lr: 0x300032dd +E: xpsr: 0x41000000 +E: Faulting instruction address (r15/pc): 0x300032dc +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_disable_mmu_mpu) +Caught system error -- reason 0 +System error was expected +PASS - test_disable_mmu_mpu in 0.021 seconds +=================================================================== +START - test_is_usermode +PASS - test_is_usermode in 0.001 seconds +=================================================================== +START - test_kernel_only_thread +kernel only thread in kernel mode +ASSERTION FAIL [z_stack_is_user_capable(_kernel.cpus[0].current->stack_obj)] @ WEST_TOPDIR/zephyr/kernel/thread.c:836 +dropping to user mode with kernel-only stack object +E: r0/a1: 0x00000004 r1/a2: 0x00000344 r2/a3: 0x4007c000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x3000f93f +E: xpsr: 0x41000000 +E: Faulting instruction address (r15/pc): 0x3000f958 +E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0 +E: Current thread: 0x80000060 (kernel_only_thread) +Caught system error -- reason 4 +System error was expected +PASS - test_kernel_only_thread in 0.501 seconds +=================================================================== +START - test_object_recycle +PASS - test_object_recycle in 0.001 seconds +=================================================================== +START - test_oops_exception +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000003 +E: r3/a4: 0x80000010 r12/ip: 0x30005f63 r14/lr: 0x30005fc7 +E: xpsr: 0x41000000 +E: Faulting instruction address (r15/pc): 0x30003088 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_oops_exception) +Caught system error -- reason 3 +System error was expected +PASS - test_oops_exception in 0.016 seconds +=================================================================== +START - test_oops_maxint +E: r0/a1: 0x7fffffff r1/a2: 0x00000000 r2/a3: 0x00000003 +E: r3/a4: 0x80000010 r12/ip: 0x30005f63 r14/lr: 0x30005fc7 +E: xpsr: 0x41000000 +E: Faulting instruction address (r15/pc): 0x300030ac +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_oops_maxint) +Caught system error -- reason 3 +System error was expected +PASS - test_oops_maxint in 0.015 seconds +=================================================================== +START - test_oops_oops +E: r0/a1: 0x00000003 r1/a2: 0x00000000 r2/a3: 0x00000003 +E: r3/a4: 0x80000010 r12/ip: 0x30005f63 r14/lr: 0x30005fc7 +E: xpsr: 0x41000000 +E: Faulting instruction address (r15/pc): 0x30003064 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_oops_oops) +Caught system error -- reason 3 +System error was expected +PASS - test_oops_oops in 0.015 seconds +=================================================================== +START - test_oops_panic +E: r0/a1: 0x00000004 r1/a2: 0x00000000 r2/a3: 0x00000003 +E: r3/a4: 0x80000010 r12/ip: 0x30005f63 r14/lr: 0x30005fc7 +E: xpsr: 0x41000000 +E: Faulting instruction address (r15/pc): 0x30003040 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_oops_panic) +Caught system error -- reason 3 +System error was expected +PASS - test_oops_panic in 0.015 seconds +=================================================================== +START - test_oops_stackcheck +E: r0/a1: 0x00000002 r1/a2: 0x00000000 r2/a3: 0x00000002 +E: r3/a4: 0x80000010 r12/ip: 0x30005f63 r14/lr: 0x30005fc7 +E: xpsr: 0x41000000 +E: Faulting instruction address (r15/pc): 0x300030d0 +E: >>> ZEPHYR FATAL ERROR 2: Stack overflow on CPU 0 +E: Current thread: 0x80000200 (test_oops_stackcheck) +Caught system error -- reason 2 +System error was expected +PASS - test_oops_stackcheck in 0.016 seconds +=================================================================== +START - test_pass_noperms_object +E: thread 0x80000200 (2) does not have permission on k_sem 0x80000704 +E: permission bitmap +E: 00 00 |.. +E: syscall z_vrfy_k_sem_init failed check: access denied +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00000000 +E: xpsr: 0x00000000 +E: Faulting instruction address (r15/pc): 0x00000000 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_pass_noperms_object) +Caught system error -- reason 3 +System error was expected +PASS - test_pass_noperms_object in 0.049 seconds +=================================================================== +START - test_pass_user_object +E: 0x8000002c is not a valid k_sem +E: address is not a known kernel object +E: syscall z_vrfy_k_sem_init failed check: access denied +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00000000 +E: xpsr: 0x00000000 +E: Faulting instruction address (r15/pc): 0x00000000 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_pass_user_object) +Caught system error -- reason 3 +System error was expected +PASS - test_pass_user_object in 0.044 seconds +=================================================================== +START - test_read_kernel_data +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x80000778 +E: r0/a1: 0x300171d0 r1/a2: 0x00000000 r2/a3: 0x00000001 +E: r3/a4: 0x80000778 r12/ip: 0x30005f63 r14/lr: 0x300034c5 +E: xpsr: 0x01000000 +E: Faulting instruction address (r15/pc): 0x300034c8 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_read_kernel_data) +Caught system error -- reason 0 +System error was expected +PASS - test_read_kernel_data in 0.007 seconds +=================================================================== +START - test_read_kernram +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x80000a88 +E: r0/a1: 0x300142e4 r1/a2: 0x00000000 r2/a3: 0x00000001 +E: r3/a4: 0x80000a80 r12/ip: 0x30005f63 r14/lr: 0x300035bd +E: xpsr: 0x01000000 +E: Faulting instruction address (r15/pc): 0x300035c0 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_read_kernram) +Caught system error -- reason 0 +System error was expected +PASS - test_read_kernram in 0.006 seconds +=================================================================== +START - test_read_kobject_user_pipe +E: syscall z_vrfy_k_pipe_put failed check: Memory region 0x8000325c (size 1) read access denied +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00000000 +E: xpsr: 0x00000000 +E: Faulting instruction address (r15/pc): 0x00000000 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_read_kobject_user_pipe) +Caught system error -- reason 3 +System error was expected +PASS - test_read_kobject_user_pipe in 0.041 seconds +=================================================================== +START - test_read_other_stack +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x80001fc4 +E: r0/a1: 0x30013f80 r1/a2: 0x80001fc4 r2/a3: 0x00000001 +E: r3/a4: 0x80000010 r12/ip: 0x3000f497 r14/lr: 0x300033bf +E: xpsr: 0x21000000 +E: Faulting instruction address (r15/pc): 0x300033c0 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000130 (unknown) +Caught system error -- reason 0 +System error was expected +PASS - test_read_other_stack in 0.006 seconds +=================================================================== +START - test_read_priv_stack +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x80002500 +E: r0/a1: 0x30013fd7 r1/a2: 0x00000000 r2/a3: 0x00000001 +E: r3/a4: 0x80002500 r12/ip: 0x30005f63 r14/lr: 0x30003441 +E: xpsr: 0x01000000 +E: Faulting instruction address (r15/pc): 0x30003446 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_read_priv_stack) +Caught system error -- reason 0 +System error was expected +PASS - test_read_priv_stack in 0.007 seconds +=================================================================== +START - test_revoke_noperms_object +E: thread 0x80000200 (2) does not have permission on k_sem 0x80000704 +E: permission bitmap +E: 00 00 |.. +E: syscall z_vrfy_k_object_release failed check: object 0x80000704 access denied +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00000000 +E: xpsr: 0x00000000 +E: Faulting instruction address (r15/pc): 0x00000000 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_revoke_noperms_object) +Caught system error -- reason 3 +System error was expected +PASS - test_revoke_noperms_object in 0.051 seconds +=================================================================== +START - test_start_kernel_thread +E: syscall z_vrfy_k_thread_create failed check: options & K_USER +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00000000 +E: xpsr: 0x00000000 +E: Faulting instruction address (r15/pc): 0x00000000 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_start_kernel_thread) +Caught system error -- reason 3 +System error was expected +PASS - test_start_kernel_thread in 0.039 seconds +=================================================================== +START - test_syscall_context +PASS - test_syscall_context in 0.001 seconds +=================================================================== +START - test_tls_leakage +PASS - test_tls_leakage in 0.001 seconds +=================================================================== +START - test_tls_pointer +tls pointer for thread 0x80000130: 0x800024fc +stack buffer reported bounds: [0x80002440, 0x80002500) +stack object bounds: [0x80002400, 0x80002500) +PASS - test_tls_pointer in 0.014 seconds +=================================================================== +START - test_unimplemented_syscall +E: Unimplemented system call +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00000000 +E: xpsr: 0x00000000 +E: Faulting instruction address (r15/pc): 0x00000000 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_unimplemented_syscall) +Caught system error -- reason 3 +System error was expected +PASS - test_unimplemented_syscall in 0.036 seconds +=================================================================== +START - test_user_mode_enter +PASS - test_user_mode_enter in 0.001 seconds +=================================================================== +START - test_write_control +PASS - test_write_control in 0.001 seconds +=================================================================== +START - test_write_kernel_data +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x80000778 +E: r0/a1: 0x00000000 r1/a2: 0x30013e80 r2/a3: 0x00000001 +E: r3/a4: 0x80000778 r12/ip: 0x30005f63 r14/lr: 0x3000348b +E: xpsr: 0x01000000 +E: Faulting instruction address (r15/pc): 0x3000348e +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_write_kernel_data) +Caught system error -- reason 0 +System error was expected +PASS - test_write_kernel_data in 0.024 seconds +=================================================================== +START - test_write_kernram +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x80000a88 +E: r0/a1: 0x00000000 r1/a2: 0x30013e80 r2/a3: 0x00000001 +E: r3/a4: 0x80000a80 r12/ip: 0x30005f63 r14/lr: 0x30003583 +E: xpsr: 0x01000000 +E: Faulting instruction address (r15/pc): 0x30003584 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_write_kernram) +Caught system error -- reason 0 +System error was expected +PASS - test_write_kernram in 0.007 seconds +=================================================================== +START - test_write_kernro +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x300138f0 +E: r0/a1: 0x00000000 r1/a2: 0x3001403e r2/a3: 0x30013d2a +E: r3/a4: 0xffffffea r12/ip: 0x30005f63 r14/lr: 0x30003533 +E: xpsr: 0x21000000 +E: Faulting instruction address (r15/pc): 0x30003538 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_write_kernro) +Caught system error -- reason 0 +System error was expected +PASS - test_write_kernro in 0.006 seconds +=================================================================== +START - test_write_kerntext +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x30008f0d +E: r0/a1: 0x30008f0d r1/a2: 0x00000000 r2/a3: 0x30008f11 +E: r3/a4: 0x30008f0d r12/ip: 0x30005f63 r14/lr: 0x3000329f +E: xpsr: 0x81000000 +E: Faulting instruction address (r15/pc): 0x3000faf4 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_write_kerntext) +Caught system error -- reason 0 +System error was expected +PASS - test_write_kerntext in 0.007 seconds +=================================================================== +START - test_write_kobject_user_pipe +E: syscall z_vrfy_k_pipe_get failed check: Memory region 0x8000325c (size 1) write access denied +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00000000 +E: xpsr: 0x00000000 +E: Faulting instruction address (r15/pc): 0x00000000 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_write_kobject_user_pipe) +Caught system error -- reason 3 +System error was expected +PASS - test_write_kobject_user_pipe in 0.042 seconds +=================================================================== +START - test_write_other_stack +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x80001fc4 +E: r0/a1: 0x00000000 r1/a2: 0x80001fc4 r2/a3: 0x30013d2a +E: r3/a4: 0x00000002 r12/ip: 0x3000f497 r14/lr: 0x30003387 +E: xpsr: 0x21000000 +E: Faulting instruction address (r15/pc): 0x3000338a +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000130 (unknown) +Caught system error -- reason 0 +System error was expected +PASS - test_write_other_stack in 0.006 seconds +=================================================================== +START - test_write_priv_stack +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x80002500 +E: r0/a1: 0x00000000 r1/a2: 0x30013e80 r2/a3: 0x0000002a +E: r3/a4: 0x80002500 r12/ip: 0x30005f63 r14/lr: 0x30003403 +E: xpsr: 0x01000000 +E: Faulting instruction address (r15/pc): 0x30003408 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_write_priv_stack) +Caught system error -- reason 0 +System error was expected +PASS - test_write_priv_stack in 0.007 seconds +=================================================================== +TESTSUITE userspace succeeded +Running TESTSUITE userspace_domain +=================================================================== +START - test_1st_init_and_access_other_memdomain +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x8000003c +E: r0/a1: 0x8000003c r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000001 r12/ip: 0x3000f497 r14/lr: 0x3000f4a3 +E: xpsr: 0x21000000 +E: Faulting instruction address (r15/pc): 0x30003148 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000130 (unknown) +Caught system error -- reason 0 +System error was expected +PASS - test_1st_init_and_access_other_memdomain in 0.022 seconds +=================================================================== +START - test_domain_add_part_drop_to_user +PASS - test_domain_add_part_drop_to_user in 0.002 seconds +=================================================================== +START - test_domain_add_thread_drop_to_user +PASS - test_domain_add_thread_drop_to_user in 0.002 seconds +=================================================================== +START - test_domain_remove_part_drop_to_user +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x80000040 +E: r0/a1: 0x80000040 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000001 r12/ip: 0x3000f497 r14/lr: 0x3000f4a3 +E: xpsr: 0x21000000 +E: Faulting instruction address (r15/pc): 0x30003148 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_domain_remove_part_drop_to) +Caught system error -- reason 0 +System error was expected +PASS - test_domain_remove_part_drop_to_user in 0.025 seconds +=================================================================== +TESTSUITE userspace_domain succeeded +Running TESTSUITE userspace_domain_ctx +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE userspace +=================================================================== +START - test_access_after_revoke +E: thread 0x80000200 (2) does not have permission on k_sem 0x8000325c +E: permission bitmap +E: 08 00 |.. +E: syscall z_vrfy_k_sem_take failed check: access denied +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00000000 +E: xpsr: 0x00000000 +E: Faulting instruction address (r15/pc): 0x00000000 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_access_after_revoke) +Caught system error -- reason 3 +System error was expected +PASS - test_access_after_revoke in 0.050 seconds +=================================================================== +START - test_bad_syscall +E: Bad system call id 2147483647 invoked +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00000000 +E: xpsr: 0x00000000 +E: Faulting instruction address (r15/pc): 0x00000000 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_bad_syscall) +Caught system error -- reason 3 +System error was expected +PASS - test_bad_syscall in 0.036 seconds +=================================================================== +START - test_disable_mmu_mpu +E: ***** BUS FAULT ***** +E: Imprecise data bus error +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0xe000ed00 r12/ip: 0x30005f63 r14/lr: 0x300032dd +E: xpsr: 0x41000000 +E: Faulting instruction address (r15/pc): 0x300032dc +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_disable_mmu_mpu) +Caught system error -- reason 0 +System error was expected +PASS - test_disable_mmu_mpu in 0.021 seconds +=================================================================== +START - test_is_usermode +PASS - test_is_usermode in 0.001 seconds +=================================================================== +START - test_kernel_only_thread +kernel only thread in kernel mode +ASSERTION FAIL [z_stack_is_user_capable(_kernel.cpus[0].current->stack_obj)] @ WEST_TOPDIR/zephyr/kernel/thread.c:836 +dropping to user mode with kernel-only stack object +E: r0/a1: 0x00000004 r1/a2: 0x00000344 r2/a3: 0x4007c000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x3000f93f +E: xpsr: 0x41000000 +E: Faulting instruction address (r15/pc): 0x3000f958 +E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0 +E: Current thread: 0x80000060 (kernel_only_thread) +Caught system error -- reason 4 +System error was expected +PASS - test_kernel_only_thread in 0.501 seconds +=================================================================== +START - test_object_recycle +PASS - test_object_recycle in 0.001 seconds +=================================================================== +START - test_oops_exception +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000003 +E: r3/a4: 0x80000010 r12/ip: 0x30005f63 r14/lr: 0x30005fc7 +E: xpsr: 0x41000000 +E: Faulting instruction address (r15/pc): 0x30003088 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_oops_exception) +Caught system error -- reason 3 +System error was expected +PASS - test_oops_exception in 0.016 seconds +=================================================================== +START - test_oops_maxint +E: r0/a1: 0x7fffffff r1/a2: 0x00000000 r2/a3: 0x00000003 +E: r3/a4: 0x80000010 r12/ip: 0x30005f63 r14/lr: 0x30005fc7 +E: xpsr: 0x41000000 +E: Faulting instruction address (r15/pc): 0x300030ac +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_oops_maxint) +Caught system error -- reason 3 +System error was expected +PASS - test_oops_maxint in 0.015 seconds +=================================================================== +START - test_oops_oops +E: r0/a1: 0x00000003 r1/a2: 0x00000000 r2/a3: 0x00000003 +E: r3/a4: 0x80000010 r12/ip: 0x30005f63 r14/lr: 0x30005fc7 +E: xpsr: 0x41000000 +E: Faulting instruction address (r15/pc): 0x30003064 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_oops_oops) +Caught system error -- reason 3 +System error was expected +PASS - test_oops_oops in 0.015 seconds +=================================================================== +START - test_oops_panic +E: r0/a1: 0x00000004 r1/a2: 0x00000000 r2/a3: 0x00000003 +E: r3/a4: 0x80000010 r12/ip: 0x30005f63 r14/lr: 0x30005fc7 +E: xpsr: 0x41000000 +E: Faulting instruction address (r15/pc): 0x30003040 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_oops_panic) +Caught system error -- reason 3 +System error was expected +PASS - test_oops_panic in 0.015 seconds +=================================================================== +START - test_oops_stackcheck +E: r0/a1: 0x00000002 r1/a2: 0x00000000 r2/a3: 0x00000002 +E: r3/a4: 0x80000010 r12/ip: 0x30005f63 r14/lr: 0x30005fc7 +E: xpsr: 0x41000000 +E: Faulting instruction address (r15/pc): 0x300030d0 +E: >>> ZEPHYR FATAL ERROR 2: Stack overflow on CPU 0 +E: Current thread: 0x80000200 (test_oops_stackcheck) +Caught system error -- reason 2 +System error was expected +PASS - test_oops_stackcheck in 0.016 seconds +=================================================================== +START - test_pass_noperms_object +E: thread 0x80000200 (2) does not have permission on k_sem 0x80000704 +E: permission bitmap +E: 00 00 |.. +E: syscall z_vrfy_k_sem_init failed check: access denied +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00000000 +E: xpsr: 0x00000000 +E: Faulting instruction address (r15/pc): 0x00000000 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_pass_noperms_object) +Caught system error -- reason 3 +System error was expected +PASS - test_pass_noperms_object in 0.049 seconds +=================================================================== +START - test_pass_user_object +E: 0x8000002c is not a valid k_sem +E: address is not a known kernel object +E: syscall z_vrfy_k_sem_init failed check: access denied +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00000000 +E: xpsr: 0x00000000 +E: Faulting instruction address (r15/pc): 0x00000000 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_pass_user_object) +Caught system error -- reason 3 +System error was expected +PASS - test_pass_user_object in 0.044 seconds +=================================================================== +START - test_read_kernel_data +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x80000778 +E: r0/a1: 0x300171d0 r1/a2: 0x00000000 r2/a3: 0x00000001 +E: r3/a4: 0x80000778 r12/ip: 0x30005f63 r14/lr: 0x300034c5 +E: xpsr: 0x01000000 +E: Faulting instruction address (r15/pc): 0x300034c8 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_read_kernel_data) +Caught system error -- reason 0 +System error was expected +PASS - test_read_kernel_data in 0.007 seconds +=================================================================== +START - test_read_kernram +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x80000a88 +E: r0/a1: 0x300142e4 r1/a2: 0x00000000 r2/a3: 0x00000001 +E: r3/a4: 0x80000a80 r12/ip: 0x30005f63 r14/lr: 0x300035bd +E: xpsr: 0x01000000 +E: Faulting instruction address (r15/pc): 0x300035c0 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_read_kernram) +Caught system error -- reason 0 +System error was expected +PASS - test_read_kernram in 0.006 seconds +=================================================================== +START - test_read_kobject_user_pipe +E: syscall z_vrfy_k_pipe_put failed check: Memory region 0x8000325c (size 1) read access denied +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00000000 +E: xpsr: 0x00000000 +E: Faulting instruction address (r15/pc): 0x00000000 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_read_kobject_user_pipe) +Caught system error -- reason 3 +System error was expected +PASS - test_read_kobject_user_pipe in 0.041 seconds +=================================================================== +START - test_read_other_stack +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x80001fc4 +E: r0/a1: 0x30013f80 r1/a2: 0x80001fc4 r2/a3: 0x00000001 +E: r3/a4: 0x80000010 r12/ip: 0x3000f497 r14/lr: 0x300033bf +E: xpsr: 0x21000000 +E: Faulting instruction address (r15/pc): 0x300033c0 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000130 (unknown) +Caught system error -- reason 0 +System error was expected +PASS - test_read_other_stack in 0.006 seconds +=================================================================== +START - test_read_priv_stack +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x80002500 +E: r0/a1: 0x30013fd7 r1/a2: 0x00000000 r2/a3: 0x00000001 +E: r3/a4: 0x80002500 r12/ip: 0x30005f63 r14/lr: 0x30003441 +E: xpsr: 0x01000000 +E: Faulting instruction address (r15/pc): 0x30003446 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_read_priv_stack) +Caught system error -- reason 0 +System error was expected +PASS - test_read_priv_stack in 0.007 seconds +=================================================================== +START - test_revoke_noperms_object +E: thread 0x80000200 (2) does not have permission on k_sem 0x80000704 +E: permission bitmap +E: 00 00 |.. +E: syscall z_vrfy_k_object_release failed check: object 0x80000704 access denied +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00000000 +E: xpsr: 0x00000000 +E: Faulting instruction address (r15/pc): 0x00000000 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_revoke_noperms_object) +Caught system error -- reason 3 +System error was expected +PASS - test_revoke_noperms_object in 0.051 seconds +=================================================================== +START - test_start_kernel_thread +E: syscall z_vrfy_k_thread_create failed check: options & K_USER +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00000000 +E: xpsr: 0x00000000 +E: Faulting instruction address (r15/pc): 0x00000000 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_start_kernel_thread) +Caught system error -- reason 3 +System error was expected +PASS - test_start_kernel_thread in 0.039 seconds +=================================================================== +START - test_syscall_context +PASS - test_syscall_context in 0.001 seconds +=================================================================== +START - test_tls_leakage +PASS - test_tls_leakage in 0.001 seconds +=================================================================== +START - test_tls_pointer +tls pointer for thread 0x80000130: 0x800024fc +stack buffer reported bounds: [0x80002440, 0x80002500) +stack object bounds: [0x80002400, 0x80002500) +PASS - test_tls_pointer in 0.014 seconds +=================================================================== +START - test_unimplemented_syscall +E: Unimplemented system call +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00000000 +E: xpsr: 0x00000000 +E: Faulting instruction address (r15/pc): 0x00000000 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_unimplemented_syscall) +Caught system error -- reason 3 +System error was expected +PASS - test_unimplemented_syscall in 0.036 seconds +=================================================================== +START - test_user_mode_enter +PASS - test_user_mode_enter in 0.001 seconds +=================================================================== +START - test_write_control +PASS - test_write_control in 0.001 seconds +=================================================================== +START - test_write_kernel_data +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x80000778 +E: r0/a1: 0x00000000 r1/a2: 0x30013e80 r2/a3: 0x00000001 +E: r3/a4: 0x80000778 r12/ip: 0x30005f63 r14/lr: 0x3000348b +E: xpsr: 0x01000000 +E: Faulting instruction address (r15/pc): 0x3000348e +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_write_kernel_data) +Caught system error -- reason 0 +System error was expected +PASS - test_write_kernel_data in 0.024 seconds +=================================================================== +START - test_write_kernram +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x80000a88 +E: r0/a1: 0x00000000 r1/a2: 0x30013e80 r2/a3: 0x00000001 +E: r3/a4: 0x80000a80 r12/ip: 0x30005f63 r14/lr: 0x30003583 +E: xpsr: 0x01000000 +E: Faulting instruction address (r15/pc): 0x30003584 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_write_kernram) +Caught system error -- reason 0 +System error was expected +PASS - test_write_kernram in 0.007 seconds +=================================================================== +START - test_write_kernro +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x300138f0 +E: r0/a1: 0x00000000 r1/a2: 0x3001403e r2/a3: 0x30013d2a +E: r3/a4: 0xffffffea r12/ip: 0x30005f63 r14/lr: 0x30003533 +E: xpsr: 0x21000000 +E: Faulting instruction address (r15/pc): 0x30003538 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_write_kernro) +Caught system error -- reason 0 +System error was expected +PASS - test_write_kernro in 0.006 seconds +=================================================================== +START - test_write_kerntext +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x30008f0d +E: r0/a1: 0x30008f0d r1/a2: 0x00000000 r2/a3: 0x30008f11 +E: r3/a4: 0x30008f0d r12/ip: 0x30005f63 r14/lr: 0x3000329f +E: xpsr: 0x81000000 +E: Faulting instruction address (r15/pc): 0x3000faf4 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_write_kerntext) +Caught system error -- reason 0 +System error was expected +PASS - test_write_kerntext in 0.007 seconds +=================================================================== +START - test_write_kobject_user_pipe +E: syscall z_vrfy_k_pipe_get failed check: Memory region 0x8000325c (size 1) write access denied +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00000000 +E: xpsr: 0x00000000 +E: Faulting instruction address (r15/pc): 0x00000000 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_write_kobject_user_pipe) +Caught system error -- reason 3 +System error was expected +PASS - test_write_kobject_user_pipe in 0.042 seconds +=================================================================== +START - test_write_other_stack +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x80001fc4 +E: r0/a1: 0x00000000 r1/a2: 0x80001fc4 r2/a3: 0x30013d2a +E: r3/a4: 0x00000002 r12/ip: 0x3000f497 r14/lr: 0x30003387 +E: xpsr: 0x21000000 +E: Faulting instruction address (r15/pc): 0x3000338a +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000130 (unknown) +Caught system error -- reason 0 +System error was expected +PASS - test_write_other_stack in 0.006 seconds +=================================================================== +START - test_write_priv_stack +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x80002500 +E: r0/a1: 0x00000000 r1/a2: 0x30013e80 r2/a3: 0x0000002a +E: r3/a4: 0x80002500 r12/ip: 0x30005f63 r14/lr: 0x30003403 +E: xpsr: 0x01000000 +E: Faulting instruction address (r15/pc): 0x30003408 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_write_priv_stack) +Caught system error -- reason 0 +System error was expected +PASS - test_write_priv_stack in 0.007 seconds +=================================================================== +TESTSUITE userspace succeeded +Running TESTSUITE userspace_domain +=================================================================== +START - test_1st_init_and_access_other_memdomain +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x8000003c +E: r0/a1: 0x8000003c r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000001 r12/ip: 0x3000f497 r14/lr: 0x3000f4a3 +E: xpsr: 0x21000000 +E: Faulting instruction address (r15/pc): 0x30003148 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000130 (unknown) +Caught system error -- reason 0 +System error was expected +PASS - test_1st_init_and_access_other_memdomain in 0.022 seconds +=================================================================== +START - test_domain_add_part_drop_to_user +PASS - test_domain_add_part_drop_to_user in 0.002 seconds +=================================================================== +START - test_domain_add_thread_drop_to_user +PASS - test_domain_add_thread_drop_to_user in 0.002 seconds +=================================================================== +START - test_domain_remove_part_drop_to_user +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x80000040 +E: r0/a1: 0x80000040 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000001 r12/ip: 0x3000f497 r14/lr: 0x3000f4a3 +E: xpsr: 0x21000000 +E: Faulting instruction address (r15/pc): 0x30003148 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_domain_remove_part_drop_to) +Caught system error -- reason 0 +System error was expected +PASS - test_domain_remove_part_drop_to_user in 0.025 seconds +=================================================================== +TESTSUITE userspace_domain succeeded +Running TESTSUITE userspace_domain_ctx +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE userspace +=================================================================== +START - test_access_after_revoke +E: thread 0x80000200 (2) does not have permission on k_sem 0x8000325c +E: permission bitmap +E: 08 00 |.. +E: syscall z_vrfy_k_sem_take failed check: access denied +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00000000 +E: xpsr: 0x00000000 +E: Faulting instruction address (r15/pc): 0x00000000 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_access_after_revoke) +Caught system error -- reason 3 +System error was expected +PASS - test_access_after_revoke in 0.050 seconds +=================================================================== +START - test_bad_syscall +E: Bad system call id 2147483647 invoked +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00000000 +E: xpsr: 0x00000000 +E: Faulting instruction address (r15/pc): 0x00000000 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_bad_syscall) +Caught system error -- reason 3 +System error was expected +PASS - test_bad_syscall in 0.036 seconds +=================================================================== +START - test_disable_mmu_mpu +E: ***** BUS FAULT ***** +E: Imprecise data bus error +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0xe000ed00 r12/ip: 0x30005f63 r14/lr: 0x300032dd +E: xpsr: 0x41000000 +E: Faulting instruction address (r15/pc): 0x300032dc +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_disable_mmu_mpu) +Caught system error -- reason 0 +System error was expected +PASS - test_disable_mmu_mpu in 0.021 seconds +=================================================================== +START - test_is_usermode +PASS - test_is_usermode in 0.001 seconds +=================================================================== +START - test_kernel_only_thread +kernel only thread in kernel mode +ASSERTION FAIL [z_stack_is_user_capable(_kernel.cpus[0].current->stack_obj)] @ WEST_TOPDIR/zephyr/kernel/thread.c:836 +dropping to user mode with kernel-only stack object +E: r0/a1: 0x00000004 r1/a2: 0x00000344 r2/a3: 0x4007c000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x3000f93f +E: xpsr: 0x41000000 +E: Faulting instruction address (r15/pc): 0x3000f958 +E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0 +E: Current thread: 0x80000060 (kernel_only_thread) +Caught system error -- reason 4 +System error was expected +PASS - test_kernel_only_thread in 0.501 seconds +=================================================================== +START - test_object_recycle +PASS - test_object_recycle in 0.001 seconds +=================================================================== +START - test_oops_exception +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000003 +E: r3/a4: 0x80000010 r12/ip: 0x30005f63 r14/lr: 0x30005fc7 +E: xpsr: 0x41000000 +E: Faulting instruction address (r15/pc): 0x30003088 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_oops_exception) +Caught system error -- reason 3 +System error was expected +PASS - test_oops_exception in 0.016 seconds +=================================================================== +START - test_oops_maxint +E: r0/a1: 0x7fffffff r1/a2: 0x00000000 r2/a3: 0x00000003 +E: r3/a4: 0x80000010 r12/ip: 0x30005f63 r14/lr: 0x30005fc7 +E: xpsr: 0x41000000 +E: Faulting instruction address (r15/pc): 0x300030ac +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_oops_maxint) +Caught system error -- reason 3 +System error was expected +PASS - test_oops_maxint in 0.015 seconds +=================================================================== +START - test_oops_oops +E: r0/a1: 0x00000003 r1/a2: 0x00000000 r2/a3: 0x00000003 +E: r3/a4: 0x80000010 r12/ip: 0x30005f63 r14/lr: 0x30005fc7 +E: xpsr: 0x41000000 +E: Faulting instruction address (r15/pc): 0x30003064 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_oops_oops) +Caught system error -- reason 3 +System error was expected +PASS - test_oops_oops in 0.015 seconds +=================================================================== +START - test_oops_panic +E: r0/a1: 0x00000004 r1/a2: 0x00000000 r2/a3: 0x00000003 +E: r3/a4: 0x80000010 r12/ip: 0x30005f63 r14/lr: 0x30005fc7 +E: xpsr: 0x41000000 +E: Faulting instruction address (r15/pc): 0x30003040 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_oops_panic) +Caught system error -- reason 3 +System error was expected +PASS - test_oops_panic in 0.015 seconds +=================================================================== +START - test_oops_stackcheck +E: r0/a1: 0x00000002 r1/a2: 0x00000000 r2/a3: 0x00000002 +E: r3/a4: 0x80000010 r12/ip: 0x30005f63 r14/lr: 0x30005fc7 +E: xpsr: 0x41000000 +E: Faulting instruction address (r15/pc): 0x300030d0 +E: >>> ZEPHYR FATAL ERROR 2: Stack overflow on CPU 0 +E: Current thread: 0x80000200 (test_oops_stackcheck) +Caught system error -- reason 2 +System error was expected +PASS - test_oops_stackcheck in 0.016 seconds +=================================================================== +START - test_pass_noperms_object +E: thread 0x80000200 (2) does not have permission on k_sem 0x80000704 +E: permission bitmap +E: 00 00 |.. +E: syscall z_vrfy_k_sem_init failed check: access denied +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00000000 +E: xpsr: 0x00000000 +E: Faulting instruction address (r15/pc): 0x00000000 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_pass_noperms_object) +Caught system error -- reason 3 +System error was expected +PASS - test_pass_noperms_object in 0.049 seconds +=================================================================== +START - test_pass_user_object +E: 0x8000002c is not a valid k_sem +E: address is not a known kernel object +E: syscall z_vrfy_k_sem_init failed check: access denied +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00000000 +E: xpsr: 0x00000000 +E: Faulting instruction address (r15/pc): 0x00000000 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_pass_user_object) +Caught system error -- reason 3 +System error was expected +PASS - test_pass_user_object in 0.044 seconds +=================================================================== +START - test_read_kernel_data +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x80000778 +E: r0/a1: 0x300171d0 r1/a2: 0x00000000 r2/a3: 0x00000001 +E: r3/a4: 0x80000778 r12/ip: 0x30005f63 r14/lr: 0x300034c5 +E: xpsr: 0x01000000 +E: Faulting instruction address (r15/pc): 0x300034c8 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_read_kernel_data) +Caught system error -- reason 0 +System error was expected +PASS - test_read_kernel_data in 0.007 seconds +=================================================================== +START - test_read_kernram +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x80000a88 +E: r0/a1: 0x300142e4 r1/a2: 0x00000000 r2/a3: 0x00000001 +E: r3/a4: 0x80000a80 r12/ip: 0x30005f63 r14/lr: 0x300035bd +E: xpsr: 0x01000000 +E: Faulting instruction address (r15/pc): 0x300035c0 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_read_kernram) +Caught system error -- reason 0 +System error was expected +PASS - test_read_kernram in 0.006 seconds +=================================================================== +START - test_read_kobject_user_pipe +E: syscall z_vrfy_k_pipe_put failed check: Memory region 0x8000325c (size 1) read access denied +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00000000 +E: xpsr: 0x00000000 +E: Faulting instruction address (r15/pc): 0x00000000 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_read_kobject_user_pipe) +Caught system error -- reason 3 +System error was expected +PASS - test_read_kobject_user_pipe in 0.041 seconds +=================================================================== +START - test_read_other_stack +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x80001fc4 +E: r0/a1: 0x30013f80 r1/a2: 0x80001fc4 r2/a3: 0x00000001 +E: r3/a4: 0x80000010 r12/ip: 0x3000f497 r14/lr: 0x300033bf +E: xpsr: 0x21000000 +E: Faulting instruction address (r15/pc): 0x300033c0 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000130 (unknown) +Caught system error -- reason 0 +System error was expected +PASS - test_read_other_stack in 0.006 seconds +=================================================================== +START - test_read_priv_stack +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x80002500 +E: r0/a1: 0x30013fd7 r1/a2: 0x00000000 r2/a3: 0x00000001 +E: r3/a4: 0x80002500 r12/ip: 0x30005f63 r14/lr: 0x30003441 +E: xpsr: 0x01000000 +E: Faulting instruction address (r15/pc): 0x30003446 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_read_priv_stack) +Caught system error -- reason 0 +System error was expected +PASS - test_read_priv_stack in 0.007 seconds +=================================================================== +START - test_revoke_noperms_object +E: thread 0x80000200 (2) does not have permission on k_sem 0x80000704 +E: permission bitmap +E: 00 00 |.. +E: syscall z_vrfy_k_object_release failed check: object 0x80000704 access denied +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00000000 +E: xpsr: 0x00000000 +E: Faulting instruction address (r15/pc): 0x00000000 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_revoke_noperms_object) +Caught system error -- reason 3 +System error was expected +PASS - test_revoke_noperms_object in 0.051 seconds +=================================================================== +START - test_start_kernel_thread +E: syscall z_vrfy_k_thread_create failed check: options & K_USER +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00000000 +E: xpsr: 0x00000000 +E: Faulting instruction address (r15/pc): 0x00000000 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_start_kernel_thread) +Caught system error -- reason 3 +System error was expected +PASS - test_start_kernel_thread in 0.039 seconds +=================================================================== +START - test_syscall_context +PASS - test_syscall_context in 0.001 seconds +=================================================================== +START - test_tls_leakage +PASS - test_tls_leakage in 0.001 seconds +=================================================================== +START - test_tls_pointer +tls pointer for thread 0x80000130: 0x800024fc +stack buffer reported bounds: [0x80002440, 0x80002500) +stack object bounds: [0x80002400, 0x80002500) +PASS - test_tls_pointer in 0.014 seconds +=================================================================== +START - test_unimplemented_syscall +E: Unimplemented system call +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00000000 +E: xpsr: 0x00000000 +E: Faulting instruction address (r15/pc): 0x00000000 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_unimplemented_syscall) +Caught system error -- reason 3 +System error was expected +PASS - test_unimplemented_syscall in 0.036 seconds +=================================================================== +START - test_user_mode_enter +PASS - test_user_mode_enter in 0.001 seconds +=================================================================== +START - test_write_control +PASS - test_write_control in 0.001 seconds +=================================================================== +START - test_write_kernel_data +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x80000778 +E: r0/a1: 0x00000000 r1/a2: 0x30013e80 r2/a3: 0x00000001 +E: r3/a4: 0x80000778 r12/ip: 0x30005f63 r14/lr: 0x3000348b +E: xpsr: 0x01000000 +E: Faulting instruction address (r15/pc): 0x3000348e +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_write_kernel_data) +Caught system error -- reason 0 +System error was expected +PASS - test_write_kernel_data in 0.024 seconds +=================================================================== +START - test_write_kernram +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x80000a88 +E: r0/a1: 0x00000000 r1/a2: 0x30013e80 r2/a3: 0x00000001 +E: r3/a4: 0x80000a80 r12/ip: 0x30005f63 r14/lr: 0x30003583 +E: xpsr: 0x01000000 +E: Faulting instruction address (r15/pc): 0x30003584 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_write_kernram) +Caught system error -- reason 0 +System error was expected +PASS - test_write_kernram in 0.007 seconds +=================================================================== +START - test_write_kernro +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x300138f0 +E: r0/a1: 0x00000000 r1/a2: 0x3001403e r2/a3: 0x30013d2a +E: r3/a4: 0xffffffea r12/ip: 0x30005f63 r14/lr: 0x30003533 +E: xpsr: 0x21000000 +E: Faulting instruction address (r15/pc): 0x30003538 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_write_kernro) +Caught system error -- reason 0 +System error was expected +PASS - test_write_kernro in 0.006 seconds +=================================================================== +START - test_write_kerntext +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x30008f0d +E: r0/a1: 0x30008f0d r1/a2: 0x00000000 r2/a3: 0x30008f11 +E: r3/a4: 0x30008f0d r12/ip: 0x30005f63 r14/lr: 0x3000329f +E: xpsr: 0x81000000 +E: Faulting instruction address (r15/pc): 0x3000faf4 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_write_kerntext) +Caught system error -- reason 0 +System error was expected +PASS - test_write_kerntext in 0.007 seconds +=================================================================== +START - test_write_kobject_user_pipe +E: syscall z_vrfy_k_pipe_get failed check: Memory region 0x8000325c (size 1) write access denied +E: r0/a1: 0x00000000 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x00000000 +E: xpsr: 0x00000000 +E: Faulting instruction address (r15/pc): 0x00000000 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x80000200 (test_write_kobject_user_pipe) +Caught system error -- reason 3 +System error was expected +PASS - test_write_kobject_user_pipe in 0.042 seconds +=================================================================== +START - test_write_other_stack +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x80001fc4 +E: r0/a1: 0x00000000 r1/a2: 0x80001fc4 r2/a3: 0x30013d2a +E: r3/a4: 0x00000002 r12/ip: 0x3000f497 r14/lr: 0x30003387 +E: xpsr: 0x21000000 +E: Faulting instruction address (r15/pc): 0x3000338a +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000130 (unknown) +Caught system error -- reason 0 +System error was expected +PASS - test_write_other_stack in 0.006 seconds +=================================================================== +START - test_write_priv_stack +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x80002500 +E: r0/a1: 0x00000000 r1/a2: 0x30013e80 r2/a3: 0x0000002a +E: r3/a4: 0x80002500 r12/ip: 0x30005f63 r14/lr: 0x30003403 +E: xpsr: 0x01000000 +E: Faulting instruction address (r15/pc): 0x30003408 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_write_priv_stack) +Caught system error -- reason 0 +System error was expected +PASS - test_write_priv_stack in 0.007 seconds +=================================================================== +TESTSUITE userspace succeeded +Running TESTSUITE userspace_domain +=================================================================== +START - test_1st_init_and_access_other_memdomain +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x8000003c +E: r0/a1: 0x8000003c r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000001 r12/ip: 0x3000f497 r14/lr: 0x3000f4a3 +E: xpsr: 0x21000000 +E: Faulting instruction address (r15/pc): 0x30003148 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000130 (unknown) +Caught system error -- reason 0 +System error was expected +PASS - test_1st_init_and_access_other_memdomain in 0.022 seconds +=================================================================== +START - test_domain_add_part_drop_to_user +PASS - test_domain_add_part_drop_to_user in 0.002 seconds +=================================================================== +START - test_domain_add_thread_drop_to_user +PASS - test_domain_add_thread_drop_to_user in 0.002 seconds +=================================================================== +START - test_domain_remove_part_drop_to_user +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x80000040 +E: r0/a1: 0x80000040 r1/a2: 0x00000000 r2/a3: 0x00000000 +E: r3/a4: 0x00000001 r12/ip: 0x3000f497 r14/lr: 0x3000f4a3 +E: xpsr: 0x21000000 +E: Faulting instruction address (r15/pc): 0x30003148 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x80000200 (test_domain_remove_part_drop_to) +Caught system error -- reason 0 +System error was expected +PASS - test_domain_remove_part_drop_to_user in 0.025 seconds +=================================================================== +TESTSUITE userspace_domain succeeded +Running TESTSUITE userspace_domain_ctx + \ No newline at end of file diff --git a/results/zephyr-v3.4.0-2851-g34fddd8b4c09/mimxrt595_evk_cm33.xml b/results/zephyr-v3.4.0-2851-g34fddd8b4c09/mimxrt595_evk_cm33.xml new file mode 100644 index 00000000..194e889f --- /dev/null +++ b/results/zephyr-v3.4.0-2851-g34fddd8b4c09/mimxrt595_evk_cm33.xml @@ -0,0 +1,3350 @@ +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 + +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false + +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.122 seconds +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.070 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.088 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.064 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.100 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.122 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.222 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.143 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.080 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.238 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 15.068 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.137 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.082 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.073 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.105 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.066 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.216 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.253 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.070 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.088 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.064 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.100 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.122 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.222 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.143 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.080 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.238 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 15.068 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.137 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.082 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.073 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.105 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.066 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.216 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.253 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.070 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.088 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.064 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.100 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.122 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.222 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.143 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.080 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.238 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 15.068 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.137 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.082 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.073 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.105 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.066 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.216 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.253 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 + +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false + +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.122 seconds +SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE power_mgmt +=================================================================== +START - test_pm_dummyinit +I: PM dummy single-thread test started for one cycle +I: About to enter light sleep +PM > +I: Wake from Light Sleep +PM < +I: PM sleep residency 0.003 seconds +I: About to enter deep Sleep +PM > R Wake from Deep Sleep +PM < +I: PM sleep residency 1.105 seconds +I: PM dummy single-thread completed +PASS - test_pm_dummyinit in 1.129 seconds +=================================================================== +START - test_pm_multithread +I: Thread task A init +I: Thread task B init +I: PM multi-thread test started for cycles: 2 +I: Suspend... +I: About to enter light sleep +PM > +I: Wake from Light Sleep +PM < +I: PM sleep residency 0.004 seconds +I: Resume +I: Suspend... +I: About to enter deep sleep +PM > R*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE power_mgmt +=================================================================== +START - test_pm_dummyinit +I: PM dummy single-thread test started for one *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE power_mgmt +=================================================================== +START - test_pm_dummyinit +I: PM dummy single-thread test started for one cycle +I: About to enter light sleep +PM > +I: Wake from Light Sleep +PM < +I: PM sleep residency 0.003 seconds +I: About to enter deep Sleep +PM > R Wak*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.070 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.088 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.064 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.100 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.122 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.222 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.143 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.081 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.238 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 15.068 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.137 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.083 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.073 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.105 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.066 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.216 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.253 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE power_mgmt +=================================================================== +START - test_pm_dummyinit +I: PM dummy single-thread test started for one cycle +I: About to enter light sleep +PM > +I: Wake from Light Sleep +PM < +I: PM sleep residency 0.003 seconds +I: About to enter deep Sleep +PM > R Wake from Deep Sleep +PM < +I: PM sleep residency 1.105 seconds +I: PM dummy single-thread completed +PASS - test_pm_dummyinit in 1.129 seconds +=================================================================== +START - test_pm_multithread +I: Thread task A init +I: Thread task B init +I: PM multi-thread test started for cycles: 2 +I: Suspend... +I: About to enter light sleep +PM > +I: Wake from Light Sleep +PM < +I: PM sleep residency 0.004 seconds +I: Resume +I: Suspend... +I: About to enter deep sleep +PM > R*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE power_mgmt +=================================================================== +START - test_pm_dummyinit +I: PM dummy single-thread test started for one *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE power_mgmt +=================================================================== +START - test_pm_dummyinit +I: PM dummy single-thread test started for one cycle +I: About to enter light sleep +PM > +I: Wake from Light Sleep +PM < +I: PM sleep residency 0.003 seconds +I: About to enter deep Sleep +PM > R Wak*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.070 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.088 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.064 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.100 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.122 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.222 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.143 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.081 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.238 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 15.068 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.137 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.083 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.073 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.105 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.066 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.216 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.253 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE power_mgmt +=================================================================== +START - test_pm_dummyinit +I: PM dummy single-thread test started for one cycle +I: About to enter light sleep +PM > +I: Wake from Light Sleep +PM < +I: PM sleep residency 0.003 seconds +I: About to enter deep Sleep +PM > R Wake from Deep Sleep +PM < +I: PM sleep residency 1.105 seconds +I: PM dummy single-thread completed +PASS - test_pm_dummyinit in 1.129 seconds +=================================================================== +START - test_pm_multithread +I: Thread task A init +I: Thread task B init +I: PM multi-thread test started for cycles: 2 +I: Suspend... +I: About to enter light sleep +PM > +I: Wake from Light Sleep +PM < +I: PM sleep residency 0.004 seconds +I: Resume +I: Suspend... +I: About to enter deep sleep +PM > R*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE power_mgmt +=================================================================== +START - test_pm_dummyinit +I: PM dummy single-thread test started for one *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE power_mgmt +=================================================================== +START - test_pm_dummyinit +I: PM dummy single-thread test started for one cycle +I: About to enter light sleep +PM > +I: Wake from Light Sleep +PM < +I: PM sleep residency 0.003 seconds +I: About to enter deep Sleep +PM > R Wak*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.070 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.088 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.064 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.100 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.122 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.222 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.143 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.081 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.238 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 15.068 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.137 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.083 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.073 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.105 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.066 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.216 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.253 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE power_mgmt +=================================================================== +START - test_pm_dummyinit +I: PM dummy single-thread test started for one cycle +I: About to enter light sleep +PM > +I: Wake from Light Sleep +PM < +I: PM sleep residency 0.003 seconds +I: About to enter deep Sleep +PM > R Wake from Deep Sleep +PM < +I: PM sleep residency 1.105 seconds +I: PM dummy single-thread completed +PASS - test_pm_dummyinit in 1.129 seconds +=================================================================== +START - test_pm_multithread +I: Thread task A init +I: Thread task B init +I: PM multi-thread test started for cycles: 2 +I: Suspend... +I: About to enter light sleep +PM > +I: Wake from Light Sleep +PM < +I: PM sleep residency 0.004 seconds +I: Resume +I: Suspend... +I: About to enter deep sleep +PM > R*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE power_mgmt +=================================================================== +START - test_pm_dummyinit +I: PM dummy single-thread test started for one *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE power_mgmt +=================================================================== +START - test_pm_dummyinit +I: PM dummy single-thread test started for one cycle +I: About to enter light sleep +PM > +I: Wake from Light Sleep +PM < +I: PM sleep residency 0.003 seconds +I: About to enter deep Sleep +PM > R Wak*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.070 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.088 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.064 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.100 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.122 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.222 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.143 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.081 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.238 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 15.068 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.137 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.083 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.073 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.105 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.066 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.216 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.253 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE power_mgmt +=================================================================== +START - test_pm_dummyinit +I: PM dummy single-thread test started for one cycle +I: About to enter light sleep +PM > +I: Wake from Light Sleep +PM < +I: PM sleep residency 0.003 seconds +I: About to enter deep Sleep +PM > R Wake from Deep Sleep +PM < +I: PM sleep residency 1.105 seconds +I: PM dummy single-thread completed +PASS - test_pm_dummyinit in 1.129 seconds +=================================================================== +START - test_pm_multithread +I: Thread task A init +I: Thread task B init +I: PM multi-thread test started for cycles: 2 +I: Suspend... +I: About to enter light sleep +PM > +I: Wake from Light Sleep +PM < +I: PM sleep residency 0.004 seconds +I: Resume +I: Suspend... +I: About to enter deep sleep +PM > R*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE power_mgmt +=================================================================== +START - test_pm_dummyinit +I: PM dummy single-thread test started for one *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE power_mgmt +=================================================================== +START - test_pm_dummyinit +I: PM dummy single-thread test started for one cycle +I: About to enter light sleep +PM > +I: Wake from Light Sleep +PM < +I: PM sleep residency 0.003 seconds +I: About to enter deep Sleep +PM > R Wak*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.070 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.088 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.064 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.100 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.122 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.222 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.143 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.081 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.238 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 15.068 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.137 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.083 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.073 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.105 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.066 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.216 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.253 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE tickless_concept +=================================================================== +START - test_tickless_slice +elapsed slice 110, expected: <100, 110> +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE thread_tls +=================================================================== +E: num_parts of 3 exceeds maximum allowable partitions (2) +ASSERTION FAIL [ret == 0] @ WEST_TOPDIR/zephyr/tests/kernel/threads/tls/src/main.c:219 +k_mem_domain_init() failed -22 +E: r0/a1: 0x00000004 r1/a2: 0x000000db r2/a3: 0x00000016 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x1800dbab +E: xpsr: 0x49000000 +E: Faulting instruction address (r15/pc): 0x1800dbc4 +E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0 +E: Current thread: 0x30181280 (main) +E: Halting system +SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE tickless_concept +=================================================================== +START - test_tickless_slice +elapsed slice 110, expected: <100, 110> +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE thread_tls +=================================================================== +E: num_parts of 3 exceeds maximum allowable partitions (2) +ASSERTION FAIL [ret == 0] @ WEST_TOPDIR/zephyr/tests/kernel/threads/tls/src/main.c:219 +k_mem_domain_init() failed -22 +E: r0/a1: 0x00000004 r1/a2: 0x000000db r2/a3: 0x00000016 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x1800dbab +E: xpsr: 0x49000000 +E: Faulting instruction address (r15/pc): 0x1800dbc4 +E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0 +E: Current thread: 0x30181280 (main) +E: Halting system +SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE tickless_concept +=================================================================== +START - test_tickless_slice +elapsed slice 110, expected: <100, 110> +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE thread_tls +=================================================================== +E: num_parts of 3 exceeds maximum allowable partitions (2) +ASSERTION FAIL [ret == 0] @ WEST_TOPDIR/zephyr/tests/kernel/threads/tls/src/main.c:219 +k_mem_domain_init() failed -22 +E: r0/a1: 0x00000004 r1/a2: 0x000000db r2/a3: 0x00000016 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x1800dbab +E: xpsr: 0x49000000 +E: Faulting instruction address (r15/pc): 0x1800dbc4 +E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0 +E: Current thread: 0x30181280 (main) +E: Halting system +START - test_mem_part_remove_error_zerosize +FAIL - test_mem_part_remove_error_zerosize in 0.001 seconds +START - test_mem_part_error_wraparound +FAIL - test_mem_part_error_wraparound in 0.001 seconds +START - test_mem_part_add_error_zerosize +FAIL - test_mem_part_add_error_zerosize in 0.001 seconds +START - test_mem_part_add_error_null +FAIL - test_mem_part_add_error_null in 0.001 seconds +START - test_mem_domain_init_fail +FAIL - test_mem_domain_init_fail in 0.001 seconds +START - test_mem_domain_remove_part_fail +FAIL - test_mem_domain_remove_part_fail in 0.001 seconds +START - test_mem_part_assert_add_overmax +FAIL - test_mem_part_assert_add_overmax in 0.001 seconds +START - test_mem_part_overlap +FAIL - test_mem_part_overlap in 0.001 seconds +START - test_mem_domain_migration +FAIL - test_mem_domain_migration in 0.001 seconds +START - test_mem_domain_boot_threads +FAIL - test_mem_domain_boot_threads in 0.001 seconds +START - test_mem_domain_api_supervisor_only +FAIL - test_mem_domain_api_supervisor_only in 0.001 seconds +START - test_mem_domain_remove_add_partition +FAIL - test_mem_domain_remove_add_partition in 0.001 seconds +START - test_mem_domain_no_writes_to_ro +FAIL - test_mem_domain_no_writes_to_ro in 0.001 seconds +START - test_mem_domain_invalid_access +FAIL - test_mem_domain_invalid_access in 0.001 seconds +START - test_mem_domain_valid_access +FAIL - test_mem_domain_valid_access in 0.001 seconds +START - test_sleep_abs + +Assertion failed at WEST_TOPDIR/zephyr/tests/kernel/timer/timer_api/src/main.c:807: timer_api_test_sleep_abs: (late >= 0 && late <= MAX(2, k_us_to_ticks_ceil32(250)) is false) +expected wakeup at 309, got 319 (late 10) +FAIL - test_sleep_abs in 0.027 seconds +SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE device_runtime_api +=================================================================== +START - test_api +W: Unbalanced suspend +W: Unbalanced suspend +W: Unbalanced suspend +PASS - test_api in 0.007 seconds +=================================================================== +START - test_pm_device_runtime_auto +PASS - test_pm_device_runtime_auto in 0.001 seconds +=================================================================== +START - test_unsupported +PASS - test_unsupported in 0.001 seconds +=================================================================== +TESTSUITE device_runtime_api succeeded +------ TESTSUITE SUMMARY START ------ +SUITE PASS - 100.00% [device_runtime_api]: pass = 3, fail = 0, skip = 0, total = 3 duration = 0.009 seconds +- PASS - [device_runtime_api.test_api] duration = 0.007 seconds +- PASS - [device_runtime_api.test_pm_device_runtime_auto] duration = 0.001 seconds +- PASS - [device_runtime_api.test_unsupported] duration = 0.001 seconds +------ TESTSUITE SUMMARY END ------ +====================================*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE mbedtls_fn +=================================================================== +E: no free partition slots available +Failed to add memory partition (-28) +E: r0/a1: 0x00000003 r1/a2: 0x00000016 r2/a3: 0x00000016 +E: r3/a4: 0x18004ac5 r12/ip: 0x00000000 r14/lr: 0x18001ad5 +E: xpsr: 0x49000000 +E: Faulting instruction address (r15/pc): 0x18001ae0 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x30184f18 (main) +E: Halting system +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE fat_fs_basic +=================================================================== +E: fs not mounted (mp == 0x30180fc4) +START - test_usb_disable + +Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/usb/device/src/main.c:96: device_usb_test_usb_disable: (usb_disable() not equal to TC_PASS) +usb_disable() failed +FAIL - test_usb_disable in 0.016 seconds +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE sd_stack +=================================================================== +START - test_0_init +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE sd_stack +=================================================================== +START - test_0_init +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE sd_stack +=================================================================== +START - test_0_init +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE sd_stack +=================================================================== +START - test_0_init +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE sd_stack +=================================================================== +START - test_0_init +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE sd_stack +=================================================================== +START - test_0_init +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +E: no free partition slots available +Running TESTSUITE newlib_thread_safety_locks +=================================================================== +START - test_env_lock +PASS - test_env_lock in 0.001 seconds +=================================================================== +START - test_malloc_lock +PASS - test_malloc_lock in 0.001 seconds +=================================================================== +START - test_retargetable_lock_mutex +PASS - test_retargetable_lock_mutex in 0.001 seconds +=================================================================== +START - test_retargetable_lock_sem +PASS - test_retargetable_lock_sem in 0.001 seconds +=================================================================== +START - test_sfp_lock +PASS - test_sfp_lock in 0.001 seconds +=================================================================== +START - test_sinit_lock +PASS - test_sinit_lock in 0.001 seconds +=================================================================== +START - test_tz_lock +PASS - test_tz_lock in 0.001 seconds +=================================================================== +TESTSUITE newlib_thread_safety_locks succeeded +Running TESTSUITE newlib_thread_safety_stress +=================================================================== +START - test_malloc_thread_safety +Created 64 worker threads. +Waiting 30 seconds to see if any failures occur ... +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x301a0ee4 +E: r0/a1: 0x00000020 r1/a2: 0x00000120 r2/a3: 0x00000020 +E: r3/a4: 0x00000121 r12/ip: 0x00000002 r14/lr: 0x1800ebf9 +E: xpsr: 0x61000000 +E: Faulting instruction address (r15/pc): 0x1800ea02 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x301817b8 (unknown) +E: Halting system +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +E: no free partition slots available +Running TESTSUITE newlib_thread_safety_locks +=================================================================== +START - test_env_lock +PASS - test_env_lock in 0.001 seconds +=================================================================== +START - test_malloc_lock +PASS - test_malloc_lock in 0.001 seconds +=================================================================== +START - test_retargetable_lock_mutex +PASS - test_retargetable_lock_mutex in 0.001 seconds +=================================================================== +START - test_retargetable_lock_sem +PASS - test_retargetable_lock_sem in 0.001 seconds +=================================================================== +START - test_sfp_lock +PASS - test_sfp_lock in 0.001 seconds +=================================================================== +START - test_sinit_lock +PASS - test_sinit_lock in 0.001 seconds +=================================================================== +START - test_tz_lock +PASS - test_tz_lock in 0.001 seconds +=================================================================== +TESTSUITE newlib_thread_safety_locks succeeded +Running TESTSUITE newlib_thread_safety_stress +=================================================================== +START - test_malloc_thread_safety +Created 64 worker threads. +Waiting 30 seconds to see if any failures occur ... +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x301a0700 +E: r0/a1: 0x301a0700 r1/a2: 0x301a0700 r2/a3: 0x0000000c +E: r3/a4: 0x301a0701 r12/ip: 0x1800f449 r14/lr: 0x1800e931 +E: xpsr: 0x61000000 +E: Faulting instruction address (r15/pc): 0x1800e41c +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x30180fd8 (unknown) +E: Halting system + \ No newline at end of file diff --git a/results/zephyr-v3.4.0-2851-g34fddd8b4c09/mimxrt685_evk_cm33.xml b/results/zephyr-v3.4.0-2851-g34fddd8b4c09/mimxrt685_evk_cm33.xml new file mode 100644 index 00000000..d34dde96 --- /dev/null +++ b/results/zephyr-v3.4.0-2851-g34fddd8b4c09/mimxrt685_evk_cm33.xml @@ -0,0 +1,2763 @@ +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE mbedtls_fn +=================================================================== +E: no free partition slots available +Failed to add memory partition (-28) +E: r0/a1: 0x00000003 r1/a2: 0x00000016 r2/a3: 0x00000016 +E: r3/a4: 0x180049b9 r12/ip: 0x00000000 r14/lr: 0x18001a3d +E: xpsr: 0x49000000 +E: Faulting instruction address (r15/pc): 0x18001a48 +E: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0 +E: Current thread: 0x30184ab8 (main) +E: Halting system +START - test_output_voltage +Testing LDO2, 64 voltage/s (tolerance: 35000 uV) +Set: 1500000, read: 1720000 uV + +Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/regulator/voltage/src/main.c:100: regulator_voltage_test_output_voltage: val_mv * 1000 not between volt_uv - tols[i] and volt_uv + tols[i] inclusive + +FAIL - test_output_voltage in 0.047 seconds +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +E: no free partition slots available +Running TESTSUITE newlib_thread_safety_locks +=================================================================== +START - test_env_lock +PASS - test_env_lock in 0.001 seconds +=================================================================== +START - test_malloc_lock +PASS - test_malloc_lock in 0.001 seconds +=================================================================== +START - test_retargetable_lock_mutex +PASS - test_retargetable_lock_mutex in 0.001 seconds +=================================================================== +START - test_retargetable_lock_sem +PASS - test_retargetable_lock_sem in 0.001 seconds +=================================================================== +START - test_sfp_lock +PASS - test_sfp_lock in 0.001 seconds +=================================================================== +START - test_sinit_lock +PASS - test_sinit_lock in 0.001 seconds +=================================================================== +START - test_tz_lock +PASS - test_tz_lock in 0.001 seconds +=================================================================== +TESTSUITE newlib_thread_safety_locks succeeded +Running TESTSUITE newlib_thread_safety_stress +=================================================================== +START - test_malloc_thread_safety +Created 64 worker threads. +Waiting 30 seconds to see if any failures occur ... +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x301a0a84 +E: r0/a1: 0x00000020 r1/a2: 0x00000580 r2/a3: 0x00000020 +E: r3/a4: 0x00000581 r12/ip: 0x00000002 r14/lr: 0x1800dfd5 +E: xpsr: 0x61000000 +E: Faulting instruction address (r15/pc): 0x1800ddde +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x30181358 (unknown) +E: Halting system +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +E: no free partition slots available +Running TESTSUITE newlib_thread_safety_locks +=================================================================== +START - test_env_lock +PASS - test_env_lock in 0.001 seconds +=================================================================== +START - test_malloc_lock +PASS - test_malloc_lock in 0.001 seconds +=================================================================== +START - test_retargetable_lock_mutex +PASS - test_retargetable_lock_mutex in 0.001 seconds +=================================================================== +START - test_retargetable_lock_sem +PASS - test_retargetable_lock_sem in 0.001 seconds +=================================================================== +START - test_sfp_lock +PASS - test_sfp_lock in 0.001 seconds +=================================================================== +START - test_sinit_lock +PASS - test_sinit_lock in 0.001 seconds +=================================================================== +START - test_tz_lock +PASS - test_tz_lock in 0.001 seconds +=================================================================== +TESTSUITE newlib_thread_safety_locks succeeded +Running TESTSUITE newlib_thread_safety_stress +=================================================================== +START - test_malloc_thread_safety +Created 64 worker threads. +Waiting 30 seconds to see if any failures occur ... +E: ***** MPU FAULT ***** +E: Data Access Violation +E: MMFAR Address: 0x301a0240 +E: r0/a1: 0x301a0240 r1/a2: 0x301a0240 r2/a3: 0x0000000c +E: r3/a4: 0x301a0241 r12/ip: 0x1800e825 r14/lr: 0x1800dd0d +E: xpsr: 0x61000000 +E: Faulting instruction address (r15/pc): 0x1800d7f8 +E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0 +E: Current thread: 0x30180b78 (unknown) +E: Halting system +SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE device_runtime_api +=================================================================== +START - test_api +W: Unbalanced suspend +W: Unbalanced suspend +W: Unbalanced suspend +PASS - test_api in 0.007 seconds +=================================================================== +START - test_pm_device_runtime_auto +PASS - test_pm_device_runtime_auto in 0.001 seconds +=================================================================== +START - test_unsupported +PASS - test_unsupported in 0.001 seconds +=================================================================== +TESTSUITE device_runtime_api succeeded +------ TESTSUITE SUMMARY START ------ +SUITE PASS - 100.00% [device_runtime_api]: pass = 3, fail = 0, skip = 0, total = 3 duration = 0.009 seconds +- PASS - [device_runtime_api.test_api] duration = 0.007 seconds +- PASS - [device_runtime_api.test_pm_device_runtime_auto] duration = 0.001 seconds +- PASS - [device_runtime_api.test_unsupported] duration = 0.001 seconds +------ TESTSUITE SUMMARY END ------ +=================================================================== +RunID: 8d93b7141bef1bb67929bec247655284 +PROJECT EXECUTION SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE device_runtime_api +=================================================================== +START - test_api +W: Unbalanced suspend +W: Unbalanced suspend +W: Unbalanced suspend +PASS - test_api in 0.007 seconds +=================================================================== +START - test_pm_device_runtime_auto +PASS - test_pm_device_runtime_auto in 0.001 seconds +=================================================================== +START - test_unsupported +PASS - test_unsupported in 0.001 seconds +=================================================================== +TESTSUITE device_runtime_api succeeded +------ TESTSUITE SUMMARY START ------ +SUITE PASS - 100.00% [device_runtime_api]: pass = 3, fail = 0, skip = 0, total = 3 duration = 0.009 seconds +- PASS - [device_runtime_api.test_api] duration = 0.007 seconds +- PASS - [device_runtime_api.test_pm_device_runtime_auto] duration = 0.001 seconds +- PASS - [device_runtime_api.test_unsupported] duration = 0.001 seconds +------ TESTSUITE SUMMARY END ------ +=================================================================== +RunID: 8d93b7141bef1bb67929bec247655284 +PROJECT EXECUTION SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE device_runtime_api +=================================================================== +START - test_api +W: Unbalanced suspend +W: Unbalanced suspend +W: Unbalanced suspend +PASS - test_api in 0.007 seconds +=================================================================== +START - test_pm_device_runtime_auto +PASS - test_pm_device_runtime_auto in 0.001 seconds +=================================================================== +START - test_unsupported +PASS - test_unsupported in 0.001 seconds +=================================================================== +TESTSUITE device_runtime_api succeeded +------ TESTSUITE SUMMARY START ------ +SUITE PASS - 100.00% [device_runtime_api]: pass = 3, fail = 0, skip = 0, total = 3 duration = 0.009 seconds +- PASS - [device_runtime_api.test_api] duration = 0.007 seconds +- PASS - [device_runtime_api.test_pm_device_runtime_auto] duration = 0.001 seconds +- PASS - [device_runtime_api.test_unsupported] duration = 0.001 seconds +------ TESTSUITE SUMMARY END ------ +=================================================================== +RunID: 8d93b7141bef1bb67929bec247655284 +PROJECT EXECUTION SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE device_runtime_api +=================================================================== +START - test_api +W: Unbalanced suspend +W: Unbalanced suspend +W: Unbalanced suspend +PASS - test_api in 0.007 seconds +=================================================================== +START - test_pm_device_runtime_auto +PASS - test_pm_device_runtime_auto in 0.001 seconds +=================================================================== +START - test_unsupported +PASS - test_unsupported in 0.001 seconds +=================================================================== +TESTSUITE device_runtime_api succeeded +------ TESTSUITE SUMMARY START ------ +SUITE PASS - 100.00% [device_runtime_api]: pass = 3, fail = 0, skip = 0, total = 3 duration = 0.009 seconds +- PASS - [device_runtime_api.test_api] duration = 0.007 seconds +- PASS - [device_runtime_api.test_pm_device_runtime_auto] duration = 0.001 seconds +- PASS - [device_runtime_api.test_unsupported] duration = 0.001 seconds +------ TESTSUITE SUMMARY END ------ +=================================================================== +RunID: 8d93b7141bef1bb67929bec247655284 +PROJECT EXECUTION SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE device_runtime_api +=================================================================== +START - test_api +W: Unbalanced suspend +W: Unbalanced suspend +W: Unbalanced suspend +PASS - test_api in 0.007 seconds +=================================================================== +START - test_pm_device_runtime_auto +PASS - test_pm_device_runtime_auto in 0.001 seconds +=================================================================== +START - test_unsupported +PASS - test_unsupported in 0.001 seconds +=================================================================== +TESTSUITE device_runtime_api succeeded +------ TESTSUITE SUMMARY START ------ +SUITE PASS - 100.00% [device_runtime_api]: pass = 3, fail = 0, skip = 0, total = 3 duration = 0.009 seconds +- PASS - [device_runtime_api.test_api] duration = 0.007 seconds +- PASS - [device_runtime_api.test_pm_device_runtime_auto] duration = 0.001 seconds +- PASS - [device_runtime_api.test_unsupported] duration = 0.001 seconds +------ TESTSUITE SUMMARY END ------ +=================================================================== +RunID: 8d93b7141bef1bb67929bec247655284 +PROJECT EXECUTION SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE device_runtime_api +=================================================================== +START - test_api +W: Unbalanced suspend +W: Unbalanced suspend +W: Unbalanced suspend +PASS - test_api in 0.007 seconds +=================================================================== +START - test_pm_device_runtime_auto +PASS - test_pm_device_runtime_auto in 0.001 seconds +=================================================================== +START - test_unsupported +PASS - test_unsupported in 0.001 seconds +=================================================================== +TESTSUITE device_runtime_api succeeded +------ TESTSUITE SUMMARY START ------ +SUITE PASS - 100.00% [device_runtime_api]: pass = 3, fail = 0, skip = 0, total = 3 duration = 0.009 seconds +- PASS - [device_runtime_api.test_api] duration = 0.007 seconds +- PASS - [device_runtime_api.test_pm_device_runtime_auto] duration = 0.001 seconds +- PASS - [device_runtime_api.test_unsupported] duration = 0.001 seconds +------ TESTSUITE SUMMARY END ------ +=================================================================== +RunID: 8d93b7141bef1bb67929bec247655284 +PROJECT EXECUTION SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE device_runtime_api +=================================================================== +START - test_api +W: Unbalanced suspend +W: Unbalanced suspend +W: Unbalanced suspend +PASS - test_api in 0.007 seconds +=================================================================== +START - test_pm_device_runtime_auto +PASS - test_pm_device_runtime_auto in 0.001 seconds +=================================================================== +START - test_unsupported +PASS - test_unsupported in 0.001 seconds +=================================================================== +TESTSUITE device_runtime_api succeeded +------ TESTSUITE SUMMARY START ------ +SUITE PASS - 100.00% [device_runtime_api]: pass = 3, fail = 0, skip = 0, total = 3 duration = 0.009 seconds +- PASS - [device_runtime_api.test_api] duration = 0.007 seconds +- PASS - [device_runtime_api.test_pm_device_runtime_auto] duration = 0.001 seconds +- PASS - [device_runtime_api.test_unsupported] duration = 0.001 seconds +------ TESTSUITE SUMMARY END ------ +=================================================================== +RunID: 8d93b7141bef1bb67929bec247655284 +PROJECT EXECUTION SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE device_runtime_api +=================================================================== +START - test_api +W: Unbalanced suspend +W: Unbalanced suspend +W: Unbalanced suspend +PASS - test_api in 0.007 seconds +=================================================================== +START - test_pm_device_runtime_auto +PASS - test_pm_device_runtime_auto in 0.001 seconds +=================================================================== +START - test_unsupported +PASS - test_unsupported in 0.001 seconds +=================================================================== +TESTSUITE device_runtime_api succeeded +------ TESTSUITE SUMMARY START ------ +SUITE PASS - 100.00% [device_runtime_api]: pass = 3, fail = 0, skip = 0, total = 3 duration = 0.009 seconds +- PASS - [device_runtime_api.test_api] duration = 0.007 seconds +- PASS - [device_runtime_api.test_pm_device_runtime_auto] duration = 0.001 seconds +- PASS - [device_runtime_api.test_unsupported] duration = 0.001 seconds +------ TESTSUITE SUMMARY END ------ +=================================================================== +RunID: 8d93b7141bef1bb67929bec247655284 +PROJECT EXECUTION SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE device_runtime_api +=================================================================== +START - test_api +W: Unbalanced suspend +W: Unbalanced suspend +W: Unbalanced suspend +PASS - test_api in 0.007 seconds +=================================================================== +START - test_pm_device_runtime_auto +PASS - test_pm_device_runtime_auto in 0.001 seconds +=================================================================== +START - test_unsupported +PASS - test_unsupported in 0.001 seconds +=================================================================== +TESTSUITE device_runtime_api succeeded +------ TESTSUITE SUMMARY START ------ +SUITE PASS - 100.00% [device_runtime_api]: pass = 3, fail = 0, skip = 0, total = 3 duration = 0.009 seconds +- PASS - [device_runtime_api.test_api] duration = 0.007 seconds +- PASS - [device_runtime_api.test_pm_device_runtime_auto] duration = 0.001 seconds +- PASS - [device_runtime_api.test_unsupported] duration = 0.001 seconds +------ TESTSUITE SUMMARY END ------ +=================================================================== +RunID: 8d93b7141bef1bb67929bec247655284 +PROJECT EXECUTION SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE device_runtime_api +=================================================================== +START - test_api +W: Unbalanced suspend +W: Unbalanced suspend +W: Unbalanced suspend +PASS - test_api in 0.007 seconds +=================================================================== +START - test_pm_device_runtime_auto +PASS - test_pm_device_runtime_auto in 0.001 seconds +=================================================================== +START - test_unsupported +PASS - test_unsupported in 0.001 seconds +=================================================================== +TESTSUITE device_runtime_api succeeded +------ TESTSUITE SUMMARY START ------ +SUITE PASS - 100.00% [device_runtime_api]: pass = 3, fail = 0, skip = 0, total = 3 duration = 0.009 seconds +- PASS - [device_runtime_api.test_api] duration = 0.007 seconds +- PASS - [device_runtime_api.test_pm_device_runtime_auto] duration = 0.001 seconds +- PASS - [device_runtime_api.test_unsupported] duration = 0.001 seconds +------ TESTSUITE SUMMARY END ------ +=================================================================== +RunID: 8d93b7141bef1bb67929bec247655284 +PROJECT EXECUTION SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE device_runtime_api +=================================================================== +START - test_api +W: Unbalanced suspend +W: Unbalanced suspend +W: Unbalanced suspend +PASS - test_api in 0.007 seconds +=================================================================== +START - test_pm_device_runtime_auto +PASS - test_pm_device_runtime_auto in 0.001 seconds +=================================================================== +START - test_unsupported +PASS - test_unsupported in 0.001 seconds +=================================================================== +TESTSUITE device_runtime_api succeeded +------ TESTSUITE SUMMARY START ------ +SUITE PASS - 100.00% [device_runtime_api]: pass = 3, fail = 0, skip = 0, total = 3 duration = 0.009 seconds +- PASS - [device_runtime_api.test_api] duration = 0.007 seconds +- PASS - [device_runtime_api.test_pm_device_runtime_auto] duration = 0.001 seconds +- PASS - [device_runtime_api.test_unsupported] duration = 0.001 seconds +------ TESTSUITE SUMMARY END ------ +=================================================================== +RunID: 8d93b7141bef1bb67929bec247655284 +PROJECT EXECUTION SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE device_runtime_api +=================================================================== +START - test_api +W: Unbalanced suspend +W: Unbalanced suspend +W: Unbalanced suspend +PASS - test_api in 0.007 seconds +=================================================================== +START - test_pm_device_runtime_auto +PASS - test_pm_device_runtime_auto in 0.001 seconds +=================================================================== +START - test_unsupported +PASS - test_unsupported in 0.001 seconds +=================================================================== +TESTSUITE device_runtime_api succeeded +------ TESTSUITE SUMMARY START ------ +SUITE PASS - 100.00% [device_runtime_api]: pass = 3, fail = 0, skip = 0, total = 3 duration = 0.009 seconds +- PASS - [device_runtime_api.test_api] duration = 0.007 seconds +- PASS - [device_runtime_api.test_pm_device_runtime_auto] duration = 0.001 seconds +- PASS - [device_runtime_api.test_unsupported] duration = 0.001 seconds +------ TESTSUITE SUMMARY END ------ +=================================================================== +RunID: 8d93b7141bef1bb67929bec247655284 +PROJECT EXECUTION SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE device_runtime_api +=================================================================== +START - test_api +W: Unbalanced suspend +W: Unbalanced suspend +W: Unbalanced suspend +PASS - test_api in 0.007 seconds +=================================================================== +START - test_pm_device_runtime_auto +PASS - test_pm_device_runtime_auto in 0.001 seconds +=================================================================== +START - test_unsupported +PASS - test_unsupported in 0.001 seconds +=================================================================== +TESTSUITE device_runtime_api succeeded +------ TESTSUITE SUMMARY START ------ +SUITE PASS - 100.00% [device_runtime_api]: pass = 3, fail = 0, skip = 0, total = 3 duration = 0.009 seconds +- PASS - [device_runtime_api.test_api] duration = 0.007 seconds +- PASS - [device_runtime_api.test_pm_device_runtime_auto] duration = 0.001 seconds +- PASS - [device_runtime_api.test_unsupported] duration = 0.001 seconds +------ TESTSUITE SUMMARY END ------ +=================================================================== +RunID: 8d93b7141bef1bb67929bec247655284 +PROJECT EXECUTION SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE device_runtime_api +=================================================================== +START - test_api +W: Unbalanced suspend +W: Unbalanced suspend +W: Unbalanced suspend +PASS - test_api in 0.007 seconds +=================================================================== +START - test_pm_device_runtime_auto +PASS - test_pm_device_runtime_auto in 0.001 seconds +=================================================================== +START - test_unsupported +PASS - test_unsupported in 0.001 seconds +=================================================================== +TESTSUITE device_runtime_api succeeded +------ TESTSUITE SUMMARY START ------ +SUITE PASS - 100.00% [device_runtime_api]: pass = 3, fail = 0, skip = 0, total = 3 duration = 0.009 seconds +- PASS - [device_runtime_api.test_api] duration = 0.007 seconds +- PASS - [device_runtime_api.test_pm_device_runtime_auto] duration = 0.001 seconds +- PASS - [device_runtime_api.test_unsupported] duration = 0.001 seconds +------ TESTSUITE SUMMARY END ------ +=================================================================== +RunID: 8d93b7141bef1bb67929bec247655284 +PROJECT EXECUTION SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE device_runtime_api +=================================================================== +START - test_api +W: Unbalanced suspend +W: Unbalanced suspend +W: Unbalanced suspend +PASS - test_api in 0.007 seconds +=================================================================== +START - test_pm_device_runtime_auto +PASS - test_pm_device_runtime_auto in 0.001 seconds +=================================================================== +START - test_unsupported +PASS - test_unsupported in 0.001 seconds +=================================================================== +TESTSUITE device_runtime_api succeeded +------ TESTSUITE SUMMARY START ------ +SUITE PASS - 100.00% [device_runtime_api]: pass = 3, fail = 0, skip = 0, total = 3 duration = 0.009 seconds +- PASS - [device_runtime_api.test_api] duration = 0.007 seconds +- PASS - [device_runtime_api.test_pm_device_runtime_auto] duration = 0.001 seconds +- PASS - [device_runtime_api.test_unsupported] duration = 0.001 seconds +------ TESTSUITE SUMMARY END ------ +=================================================================== +RunID: 8d93b7141bef1bb67929bec247655284 +PROJECT EXECUTION SUCCESSFUL *** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +START - test_sleep_abs + +Assertion failed at WEST_TOPDIR/zephyr/tests/kernel/timer/timer_api/src/main.c:807: timer_api_test_sleep_abs: (late >= 0 && late <= MAX(2, k_us_to_ticks_ceil32(250)) is false) +expected wakeup at 221, got 228 (late 7) +FAIL - test_sleep_abs in 0.027 seconds +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE timer_api +=================================================================== +START - test_sleep_abs +Assertion failed at WEST_TOPDIR/zephyr/tests/kernel/timer/timer_api/src/main.c:807: timer_api_test_sleep_abs: (late >= 0 && late <= MAX(2, k_us_to_ticks_ceil32(250)) is false) +expected wakeup at 221, got 228 (late 7) +FAIL - test_sleep_abs in 0.027 seconds +=================================================================== +START - test_time_conversions +PASS - test_time_conversions in 0.026 seconds +=================================================================== +START - test_timeout_abs +PASS - test_timeout_abs in 0.001 seconds +=================================================================== +START - test_timer_duration_period +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE device_runtime_api +=================================================================== +START - test_api +W: Unbalanced suspend +W: Unbalanced suspend +W: Unbalanced suspend +PASS - test_api in 0.007 seconds +=================================================================== +START - test_pm_device_runtime_auto +PASS - test_pm_device_runtime_auto in 0.001 seconds +=================================================================== +START - test_unsupported +PASS - test_unsupported in 0.001 seconds +=================================================================== +TESTSUITE device_runtime_api succeeded +------ TESTSUITE SUMMARY START ------ +SUITE PASS - 100.00% [device_runtime_api]: pass = 3, fail = 0, skip = 0, total = 3 duration = 0.009 seconds +- PASS - [device_runtime_api.test_api] duration = 0.007 seconds +- PASS - [device_runtime_api.test_pm_device_runtime_auto] duration = 0.001 seconds +- PASS - [device_runtime_api.test_unsupported] duration = 0.001 seconds +------ TESTSUITE SUMMARY END ------ +=================================================================== +RunID: 8d93b7141bef1bb67929bec247655284 +START - test_usb_disable + +Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/usb/device/src/main.c:96: device_usb_test_usb_disable: (usb_disable() not equal to TC_PASS) +usb_disable() failed +FAIL - test_usb_disable in 0.016 seconds +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 + +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false + +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.123 seconds +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.070 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.088 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.064 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.100 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.123 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.222 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.144 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.081 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.238 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 15.068 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.137 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.083 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.073 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.105 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.066 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.217 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.254 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.070 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.088 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.064 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.100 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.123 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.222 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.144 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.081 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.238 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 15.068 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.137 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.083 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.073 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.105 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.066 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.217 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.254 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.070 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.088 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.064 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.100 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.123 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.222 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.144 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.081 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.238 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 15.068 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.137 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.083 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.073 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.105 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.066 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.217 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.254 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 + +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false + +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.123 seconds +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.070 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.088 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.064 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.100 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.123 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.222 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.144 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.081 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.238 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 15.068 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.137 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.083 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.073 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.105 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.066 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.217 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.254 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.070 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.088 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.064 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.100 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.123 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.222 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.144 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.081 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.238 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 15.068 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.137 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.083 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.073 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.105 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.066 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.217 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.254 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE lwm2m_rd_client +=================================================================== +START - test_bootstrap_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +D: Bootstrap callback (code:4.0) +E: Failed with code 4.0 (Bad Request). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 0 +PASS - test_bootstrap_fail in 0.070 seconds +=================================================================== +START - test_bootstrap_no_srv_fallback_to_register +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +W: sec_obj_inst: No matching servers found. +W: Bootstrap server not found! Try normal registration. +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_bootstrap_no_srv_fallback_to_register in 0.088 seconds +=================================================================== +START - test_bootstrap_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +W: Bootstrap Timeout +I: *** LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_FAILURE +D: State: 1 +PASS - test_bootstrap_timeout in 0.064 seconds +=================================================================== +START - test_deregistration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +W: De-Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_deregistration_timeout in 0.100 seconds +=================================================================== +START - test_engine_trigger_bootstrap +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: Server Initiated Bootstrap +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +W: Bootstrap process ongoing +D: State: 1 +I: Expecting event 2, events: +I: [1] = 9 +Assertion failed at WEST_TOPDIR/zephyr/tests/net/lib/lwm2m/lwm2m_rd_client/src/main.c:620: lwm2m_rd_client_test_engine_trigger_bootstrap: expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_BOOTSTRAP_REG_COMPLETE) is false +D: State: 2 +I: Bootstrap started with endpoint 'Test' with client lifetime 0 +D: Register ID with bootstrap server as 'ep=Test' +FAIL - test_engine_trigger_bootstrap in 1.123 seconds +=================================================================== +START - test_error_on_registration_update +D: Bootstrap callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying. +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +E: error -1 when sending registration message +E: Registration update err: -1 +E: Failed to update registration. Falling back to full registration +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Update Done +D: State: 9 +PASS - test_error_on_registration_update in 0.222 seconds +=================================================================== +START - test_network_error_on_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +D: State: 17 +D: State: 17 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +E: error -1 when sending registration message +E: Registration err: -1 +I: *** LWM2M_RD_CLIENT_EVENT_NETWORK_ERROR +PASS - test_network_error_on_registration in 0.144 seconds +=================================================================== +START - test_no_context +W: Cannot stop. Wrong context +D: lwm2m_rd_client_pause() +E: Cannot pause. No context +W: Cannot resume, state is not suspended +PASS - test_no_context in 0.012 seconds +=================================================================== +START - test_register_update_too_small_lifetime_to_default +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: Overwrite a server lifetime with default +I: RD Client started with endpoint 'Test' with client lifetime 60 +I: Overwrite a server lifetime with default +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_register_update_too_small_lifetime_to_default in 0.081 seconds +=================================================================== +START - test_registration_update_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +W: Registration Update Timeout +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +PASS - test_registration_update_timeout in 0.238 seconds +=================================================================== +START - test_rx_off +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +D: State: 9 +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_rx_off in 15.068 seconds +=================================================================== +START - test_socket_error +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +E: RD Client socket error: 5 +D: State: 17 +D: State: 17 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_socket_error in 0.137 seconds +=================================================================== +START - test_socket_error_on_stop +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: State: 15 +E: RD Client socket error: 5 +I: *** LWM2M_RD_CLIENT_EVENT_DEREGISTER_FAILURE +D: State: 0 +PASS - test_socket_error_on_stop in 1.083 seconds +=================================================================== +START - test_start_registration_fail +D: Deregister callback (code:2.1) +E: Failed with code 2.1 (Unknown). Not Retrying +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +E: Unexpected endpoint data returned. ret = 0 +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_fail in 0.073 seconds +=================================================================== +START - test_start_registration_ok +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +I: Stop LWM2M Client: Test +D: State: 14 +I: Deregister from 'jATO2yn9u7' +D: Deregister callback (code:2.2) +I: Deregistration success +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +PASS - test_start_registration_ok in 0.105 seconds +=================================================================== +START - test_start_registration_timeout +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +W: Registration Timeout +I: *** LWM2M_RD_CLIENT_EVENT_DISCONNECT +I: *** LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT +D: State: 1 +PASS - test_start_registration_timeout in 0.066 seconds +=================================================================== +START - test_start_registration_update +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +PASS - test_start_registration_update in 0.217 seconds +=================================================================== +START - test_start_registration_update_fail +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: State: 10 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:0.0) +E: Failed with code 0.0 (Unknown). Retrying registration. +W: Registration Update fail -> trigger full registration +D: State: 7 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:0.0) +E: Failed with code 0.0 (Unknown). Not Retrying. +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE +D: State: 0 +PASS - test_start_registration_update_fail in 0.254 seconds +=================================================================== +START - test_suspend_resume_registration +I: Start LWM2M Client: Test +D: State: 1 +D: State: 6 +I: RD Client started with endpoint 'Test' with client lifetime 60 +D: registration sent [192.168.1.1:4444] +D: Registration callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE +I: Registration Done (EP='jATO2yn9u7') +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +I: Resume Client state +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE +D: State: 11 +D: registration sent [192.168.1.1:4444] +I: Update callback (code:2.1) +I: *** LWM2M_RD_CLIENT_EVENT_REG_UPDATE_COMPLETE +I: Update Done +D: State: 9 +I: *** LWM2M_RD_CLIENT_EVENT_QUEUE_MODE_RX_OFF +D: lwm2m_rd_client_pause() +I: Suspend client +I: *** LWM2M_RD_CLIENT_EVENT_ENGINE_SUSPENDED +D: State: 13 +START - test_sleep_abs + +Assertion failed at WEST_TOPDIR/zephyr/tests/kernel/timer/timer_api/src/main.c:807: timer_api_test_sleep_abs: (late >= 0 && late <= MAX(2, k_us_to_ticks_ceil32(250)) is false) +expected wakeup at 221, got 228 (late 7) +FAIL - test_sleep_abs in 0.027 seconds +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE thread_tls +=================================================================== +E: num_parts of 3 exceeds maximum allowable partitions (2) +ASSERTION FAIL [ret == 0] @ WEST_TOPDIR/zephyr/tests/kernel/threads/tls/src/main.c:219 +k_mem_domain_init() failed -22 +E: r0/a1: 0x00000004 r1/a2: 0x000000db r2/a3: 0x00000016 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x1800cf5f +E: xpsr: 0x49000000 +E: Faulting instruction address (r15/pc): 0x1800cf78 +E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0 +E: Current thread: 0x30180e20 (main) +E: Halting system +*** Booting Zephyr OS build zephyr-v3.4.0-2851-g34fddd8b4c09 *** +Running TESTSUITE thread_tls +=================================================================== +E: num_parts of 3 exceeds maximum allowable partitions (2) +ASSERTION FAIL [ret == 0] @ WEST_TOPDIR/zephyr/tests/kernel/threads/tls/src/main.c:219 +k_mem_domain_init() failed -22 +E: r0/a1: 0x00000004 r1/a2: 0x000000db r2/a3: 0x00000016 +E: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x1800cf5f +E: xpsr: 0x49000000 +E: Faulting instruction address (r15/pc): 0x1800cf78 +E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0 +E: Current thread: 0x30180e20 (main) +E: Halting system +START - test_mem_part_remove_error_zerosize +FAIL - test_mem_part_remove_error_zerosize in 0.001 seconds +START - test_mem_part_error_wraparound +FAIL - test_mem_part_error_wraparound in 0.001 seconds +START - test_mem_part_add_error_zerosize +FAIL - test_mem_part_add_error_zerosize in 0.001 seconds +START - test_mem_part_add_error_null +FAIL - test_mem_part_add_error_null in 0.001 seconds +START - test_mem_domain_init_fail +FAIL - test_mem_domain_init_fail in 0.001 seconds +START - test_mem_domain_remove_part_fail +FAIL - test_mem_domain_remove_part_fail in 0.001 seconds +START - test_mem_part_assert_add_overmax +FAIL - test_mem_part_assert_add_overmax in 0.001 seconds +START - test_mem_part_overlap +FAIL - test_mem_part_overlap in 0.001 seconds +START - test_mem_domain_migration +FAIL - test_mem_domain_migration in 0.001 seconds +START - test_mem_domain_boot_threads +FAIL - test_mem_domain_boot_threads in 0.001 seconds +START - test_mem_domain_api_supervisor_only +FAIL - test_mem_domain_api_supervisor_only in 0.001 seconds +START - test_mem_domain_remove_add_partition +FAIL - test_mem_domain_remove_add_partition in 0.001 seconds +START - test_mem_domain_no_writes_to_ro +FAIL - test_mem_domain_no_writes_to_ro in 0.001 seconds +START - test_mem_domain_invalid_access +FAIL - test_mem_domain_invalid_access in 0.001 seconds +START - test_mem_domain_valid_access +FAIL - test_mem_domain_valid_access in 0.001 seconds + \ No newline at end of file