Home
last modified time | relevance | path

Searched refs:TEST_FAIL (Results 1 – 25 of 88) sorted by relevance

1234

/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/send_on_connect/src/
Dmain_l2cap_send_on_connect.c37 TEST_FAIL("Buffer allocation failed"); in chan_connected_cb()
46 TEST_FAIL("Could not send data, error %d", err); in chan_connected_cb()
64 TEST_FAIL("Unexpected data received"); in chan_recv_cb()
105 TEST_FAIL("Failed to send ecred connection request (err %d)", err); in connect_l2cap_channel()
110 TEST_FAIL("Failed to send connection request (err %d)", err); in connect_l2cap_channel()
121 TEST_FAIL("Failed to get free server (err %d)", err); in register_l2cap_server()
129 TEST_FAIL("Failed to connect (err %d)", err); in connected()
143 TEST_FAIL("Connection mismatch %p %p)", default_conn, conn); in disconnected()
165 TEST_FAIL("Failed to stop scanning (err %d)", err); in device_found()
172 TEST_FAIL("Failed to create connection (err %d)", err); in device_found()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/misc/disable/src/
Dmain_disable.c30 TEST_FAIL("Enable failed (err %d)", err); in test_disable_main()
35 TEST_FAIL("Enable failed (err %d)", err); in test_disable_main()
60 TEST_FAIL("Creating ID failed (err %d)", err); in test_disable_set_default_id()
65 TEST_FAIL("Enable failed (err %d)", err); in test_disable_set_default_id()
70 TEST_FAIL("Expected only one ID, but got: %u", id_count); in test_disable_set_default_id()
76 TEST_FAIL("Expected only one ID, but got: %u", id_count); in test_disable_set_default_id()
85 TEST_FAIL("Expected stored ID to be equal to set ID: %s, %s", addr_set_str, in test_disable_set_default_id()
91 TEST_FAIL("Enable failed (err %d)", err); in test_disable_set_default_id()
Dgatt_client_test.c44 TEST_FAIL("Failed to connect to %s (%u)", addr, err); in connected()
98 TEST_FAIL("Could not stop scan: %d"); in device_found()
105 TEST_FAIL("Could not connect to peer: %d", err); in device_found()
117 TEST_FAIL("Did not discover chrc (%x) or long_chrc (%x)", chrc_handle, in discover_func()
139 TEST_FAIL("Discover failed (err %d)", err); in discover_func()
173 TEST_FAIL("Discover failed(err %d)", err); in gatt_discover()
184 TEST_FAIL("Write failed: 0x%02X\n", err); in gatt_write_cb()
214 TEST_FAIL("bt_gatt_write failed: %d", err); in gatt_write()
226 TEST_FAIL("Read failed: 0x%02X\n", err); in gatt_read_cb()
231 TEST_FAIL("chrc data different than expected", err); in gatt_read_cb()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/id/settings/src/
Ddut.c27 TEST_FAIL("Bluetooth init failed (err %d)", err); in run_dut1()
34 TEST_FAIL("Failed to load settings (err %d)", err); in run_dut1()
42 TEST_FAIL("Failed to create a new identity (err %d)", err); in run_dut1()
64 TEST_FAIL("Bluetooth init failed (err %d)", err); in run_dut2()
71 TEST_FAIL("Failed to load settings (err %d)", err); in run_dut2()
78 TEST_FAIL("Wrong ID count (got %d; expected %d)", bt_id_count, expected_id_count); in run_dut2()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/unregister_conn_cb/src/
Dmain.c33 TEST_FAIL("Failed to connect to %s (%u)", addr, err); in connected()
90 TEST_FAIL("Could not stop scan: %d"); in device_found()
96 TEST_FAIL("Could not connect to peer: %d", err); in device_found()
133 TEST_FAIL("Advertising failed to start (err %d)", err); in start_adv()
146 TEST_FAIL("Bluetooth init failed (err %d)", err); in test_peripheral_main()
169 TEST_FAIL("Bluetooth disable failed (err %d)", err); in test_peripheral_main()
185 TEST_FAIL("Bluetooth discover failed (err %d)", err); in test_central_main()
192 TEST_FAIL("Scanning failed to start (err %d)", err); in test_central_main()
202 TEST_FAIL("Disconnect failed (err %d)", err); in test_central_main()
211 TEST_FAIL("Scanning failed to start (err %d)", err); in test_central_main()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/att/eatt/src/
Dcommon.c34 TEST_FAIL("Failed to connect to %s (%u)", addr, conn_err); in connected()
81 TEST_FAIL("Stop LE scan failed (err %d)", err); in device_found()
87 TEST_FAIL("Create conn failed (err %d)", err); in device_found()
99 TEST_FAIL("Can't enable Bluetooth (err %d)", err); in central_setup_and_connect()
104 TEST_FAIL("Scanning failed to start (err %d)", err); in central_setup_and_connect()
113 TEST_FAIL("Failed to start encryption procedure"); in central_setup_and_connect()
127 TEST_FAIL("Can't enable Bluetooth (err %d)", err); in peripheral_setup_and_connect()
132 TEST_FAIL("Advertising failed to start (err %d)", err); in peripheral_setup_and_connect()
158 TEST_FAIL("Disconnection failed (err %d)", err); in disconnect()
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/peripheral/src/
Dtester_rpa_rotation.c59 TEST_FAIL("RPA same for adv sets with same id and RPA sharing disabled"); in validate_rpa_addr_generated_for_adv_sets()
66 TEST_FAIL("RPA not same for adv sets with same id and RPA sharing enabled"); in validate_rpa_addr_generated_for_adv_sets()
70 TEST_FAIL("RPA same for adv sets with different id's"); in validate_rpa_addr_generated_for_adv_sets()
73 TEST_FAIL("RPA same for adv sets with different id's"); in validate_rpa_addr_generated_for_adv_sets()
85 TEST_FAIL("Bluetooth address is not RPA"); in test_address()
112 TEST_FAIL("RPA rotation did not occur within +-10%% of CONFIG_BT_RPA_TIMEOUT"); in test_address()
144 TEST_FAIL("Failed to start scanning"); in start_scanning()
154 TEST_FAIL("Failed to enable bluetooth (err %d)", err); in tester_procedure()
159 TEST_FAIL("Failed to enable settings (err %d)", err); in tester_procedure()
Ddut_rpa_rotation.c74 TEST_FAIL("Failed to create advertiser (%d)", err); in create_adv()
86 TEST_FAIL("Failed to enable bluetooth (err %d)", err); in start_advertising()
91 TEST_FAIL("Failed to enable settings (err %d)", err); in start_advertising()
103 TEST_FAIL("bt_id_create id_a failed (err %d)", id_a); in start_advertising()
108 TEST_FAIL("bt_id_create id_b failed (err %d)", id_b); in start_advertising()
116 TEST_FAIL("bt_id_get returned incorrect number of identities %u", bt_id_count); in start_advertising()
132 TEST_FAIL("Failed to set advertising data for set %d (err %d)", i, err); in start_advertising()
137 TEST_FAIL("Failed to start advertising (err %d)", err); in start_advertising()
Dtester_rpa_expired.c52 TEST_FAIL("Bluetooth address is not RPA"); in test_address()
81 TEST_FAIL("Adv sets should continue with old rpa"); in test_address()
85 TEST_FAIL("New RPA should have been generated"); in test_address()
91 TEST_FAIL("New RPA should have been generated"); in test_address()
95 TEST_FAIL("Adv sets should continue with old rpa"); in test_address()
129 TEST_FAIL("Failed to start scanning"); in start_rpa_scanning()
139 TEST_FAIL("Failed to enable bluetooth (err %d)", err); in tester_verify_rpa_procedure()
144 TEST_FAIL("Failed to enable settings (err %d)", err); in tester_verify_rpa_procedure()
Ddut_rpa_expired.c99 TEST_FAIL("Failed to create advertiser (%d)", err); in create_adv()
111 TEST_FAIL("Failed to enable bluetooth (err %d)", err); in start_rpa_advertising()
116 TEST_FAIL("Failed to enable settings (err %d)", err); in start_rpa_advertising()
129 TEST_FAIL("bt_id_create id_a failed (err %d)", id_a); in start_rpa_advertising()
134 TEST_FAIL("bt_id_create id_b failed (err %d)", id_b); in start_rpa_advertising()
142 TEST_FAIL("bt_id_get returned incorrect number of identities %u", bt_id_count); in start_rpa_advertising()
157 TEST_FAIL("Failed to set advertising data for set %d (err %d)", i, err); in start_rpa_advertising()
162 TEST_FAIL("Failed to start advertising (err %d)", err); in start_rpa_advertising()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/userdata/src/
Dmain_l2cap_userdata.c100 TEST_FAIL("Failed to send ecred connection request (err %d)", err); in connect_l2cap_channel()
110 TEST_FAIL("Failed to get free server (err %d)"); in register_l2cap_server()
118 TEST_FAIL("Failed to connect (err %d)", err); in connected()
132 TEST_FAIL("Connection mismatch %p %p)", default_conn, conn); in disconnected()
154 TEST_FAIL("Failed to stop scanning (err %d)", err); in device_found()
161 TEST_FAIL("Failed to create connection (err %d)", err); in device_found()
175 TEST_FAIL("Bluetooth init failed (err %d)", err); in test_peripheral_main()
181 TEST_FAIL("Advertising failed to start (err %d)", err); in test_peripheral_main()
201 TEST_FAIL("Failed to disconnect (err %d)", err); in test_peripheral_main()
230 TEST_FAIL("Bluetooth discover failed (err %d)", err); in test_central_main()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/security/ccc_update/src/
Dcentral.c52 TEST_FAIL("GATT write ATT error (err %d)", att_err); in gatt_write_cb()
77 TEST_FAIL("GATT write failed (err %d)", err); in gatt_write()
92 TEST_FAIL("Failed to subscribe (att err %d)", err); in ccc_subscribe()
103 TEST_FAIL("Failed to unsubscribe (att err %d)", err); in ccc_unsubscribe()
119 TEST_FAIL("Failed to stop scanner (err %d)", err); in device_found()
125 TEST_FAIL("Could not connect to peer: %s (err %d)", addr_str, err); in device_found()
138 TEST_FAIL("Failed to connect to %s (err %d)", addr_str, err); in connected()
186 TEST_FAIL("Scanning failed to start (err %d)", err); in start_scan()
198 TEST_FAIL("Disconnection failed (err %d)", err); in disconnect()
218 TEST_FAIL("Failed to set security (err %d)", err); in connect_pair_subscribe()
[all …]
Dperipheral.c76 TEST_FAIL("Failed to create advertiser (%d)", err); in create_adv()
93 TEST_FAIL("Failed to start advertiser (err %d)", err); in start_adv()
105 TEST_FAIL("Failed to stop advertiser (err %d)", err); in stop_adv()
116 TEST_FAIL("Failed to connect to %s (err %d)", addr_str, err); in connected()
180 TEST_FAIL("Good client did not subscribed"); in connect_pair_check_subscribtion()
201 TEST_FAIL("Subscribtion has not been restored for bad client"); in connect_wait_unsubscribtion()
211 TEST_FAIL("Bad client didn't manage to update CCC config"); in connect_wait_unsubscribtion()
232 TEST_FAIL("Good client is subscribed"); in connect_restore_sec_check_subscribtion()
242 TEST_FAIL("Good client did not unsubscribe"); in connect_restore_sec_check_subscribtion()
265 TEST_FAIL("Unable to open backchannel"); in peripheral_backchannel_init()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/notify_stress/src/
Dgatt_client_test.c38 TEST_FAIL("Failed to connect to %s (%u)", addr, err); in connected()
68 TEST_FAIL("Encryption failure (%d)", err); in security_changed()
70 TEST_FAIL("Insufficient sec level (%d)", level); in security_changed()
102 TEST_FAIL("Could not stop scan: %d"); in device_found()
108 TEST_FAIL("Could not connect to peer: %d", err); in device_found()
119 TEST_FAIL("Did not discover long_chrc (%x)", long_chrc_handle); in discover_func()
140 TEST_FAIL("Discover failed (err %d)", err); in discover_func()
172 TEST_FAIL("Discover failed(err %d)", err); in gatt_discover()
183 TEST_FAIL("Subscribe failed (err %d)", err); in test_long_subscribed()
196 TEST_FAIL("Unknown handle %d", params->value_handle); in test_long_subscribed()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/iso/cis/src/
Dcis_central.c91 TEST_FAIL("Failed to stop scanning (err %d)", err); in device_found()
99 TEST_FAIL("Failed to create connection (err %d)", err); in device_found()
144 TEST_FAIL("Failed to schedule TX for chan %p: %d", chan, err); in sdu_sent_cb()
169 TEST_FAIL("Bluetooth enable failed (err %d)", err); in init()
213 TEST_FAIL("Failed to create CIG (%d)", err); in create_cig()
229 TEST_FAIL("Failed to reconfigure CIG to new interval (%d)", err); in reconfigure_cig_interval()
236 TEST_FAIL("Failed to reconfigure CIG to same interval (%d)", err); in reconfigure_cig_interval()
246 TEST_FAIL("Failed to reconfigure CIG to new interval (%d)", err); in reconfigure_cig_interval()
264 TEST_FAIL("Failed to reconfigure CIG latency (%d)", err); in reconfigure_cig_latency()
273 TEST_FAIL("Failed to reconfigure CIG for different latencies (%d)", err); in reconfigure_cig_latency()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/notify/src/
Dgatt_client_test.c40 TEST_FAIL("Failed to connect to %s (%u)", addr, err); in connected()
70 TEST_FAIL("Encryption failure (%d)", err); in security_changed()
72 TEST_FAIL("Insufficient sec level (%d)", level); in security_changed()
104 TEST_FAIL("Could not stop scan: %d"); in device_found()
110 TEST_FAIL("Could not connect to peer: %d", err); in device_found()
121 TEST_FAIL("Did not discover chrc (%x) or long_chrc (%x)", chrc_handle, in discover_func()
143 TEST_FAIL("Discover failed (err %d)", err); in discover_func()
178 TEST_FAIL("Discover failed(err %d)", err); in gatt_discover()
189 TEST_FAIL("Subscribe failed (err %d)", err); in test_short_subscribed()
202 TEST_FAIL("Unknown handle %d", params->value_handle); in test_short_subscribed()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/notify_multiple/src/
Dgatt_client_test.c53 TEST_FAIL("Failed to connect to %s (%u)", addr, err); in connected()
89 TEST_FAIL("Encryption failed (%d)", err); in security_changed()
91 TEST_FAIL("Insufficient sec level (%d)", level); in security_changed()
123 TEST_FAIL("Could not stop scan: %d"); in device_found()
129 TEST_FAIL("Could not connect to peer: %d", err); in device_found()
140 TEST_FAIL("Did not discover chrc (%x) or long_chrc (%x)", chrc_handle, in discover_func()
162 TEST_FAIL("Discover failed (err %d)", err); in discover_func()
201 TEST_FAIL("Discover failed(err %d)", err); in gatt_discover()
213 TEST_FAIL("Subscribe failed (err %d)", err); in test_subscribed()
217 TEST_FAIL("params NULL"); in test_subscribed()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/authorization/src/
Dgatt_client_test.c44 TEST_FAIL("Failed to connect to %s (%u)", addr, err); in connected()
99 TEST_FAIL("Could not stop scan: %d"); in device_found()
106 TEST_FAIL("Could not connect to peer: %d", err); in device_found()
120 TEST_FAIL("Did not discover required characterstics"); in discover_func()
141 TEST_FAIL("Discover failed (err %d)", err); in discover_func()
181 TEST_FAIL("Discover failed(err %d)", err); in gatt_discover()
192 TEST_FAIL("Write failed on authorized characteristics: 0x%02X", err); in gatt_write_cb()
196 TEST_FAIL("Write failed on unauthorized characteristics: 0x%02X", err); in gatt_write_cb()
220 TEST_FAIL("bt_gatt_write failed: %d", err); in gatt_write()
244 TEST_FAIL("bt_gatt_write failed: %d", err); in gatt_cp_write()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/ccc_store/src/
Dcentral.c94 TEST_FAIL("Failed to subscribe (att err %d)", err); in ccc_subscribe()
112 TEST_FAIL("Failed to stop scanner (err %d)", err); in device_found()
118 TEST_FAIL("Could not connect to peer: %s (err %d)", addr_str, err); in device_found()
131 TEST_FAIL("Failed to connect to %s (err %d)", addr_str, err); in connected()
179 TEST_FAIL("Scanning failed to start (err %d)", err); in start_scan()
191 TEST_FAIL("Disconnection failed (err %d)", err); in disconnect()
211 TEST_FAIL("Failed to set security (err %d)", err); in connect_pair_subscribe()
240 TEST_FAIL("Failed to set security (err %d)", err); in connect_restore_sec()
248 TEST_FAIL("Not subscribed"); in connect_restore_sec()
284 TEST_FAIL("Bluetooth init failed (err %d)", err); in run_central()
[all …]
Dperipheral.c66 TEST_FAIL("Failed to create advertiser (%d)", err); in create_adv()
83 TEST_FAIL("Failed to start advertiser (err %d)", err); in start_adv()
95 TEST_FAIL("Failed to stop advertiser (err %d)", err); in stop_adv()
106 TEST_FAIL("Failed to connect to %s (err %d)", addr_str, err); in connected()
165 TEST_FAIL("Failed to send notification (err %d)", err); in send_value_notification()
185 TEST_FAIL("Client did not subscribed"); in connect_pair_check_subscribtion()
210 TEST_FAIL("Client is not subscribed"); in connect_restore_sec_check_subscribtion()
256 TEST_FAIL("Bluetooth init failed (err %d)", err); in run_peripheral()
267 TEST_FAIL("Settings load failed (err %d)", err); in run_peripheral()
272 TEST_FAIL("Unpairing failed (err %d)", err); in run_peripheral()
/Zephyr-latest/tests/bsim/bluetooth/host/adv/encrypted/css_sample_data/src/
Dperipheral.c29 TEST_FAIL("Failed to create advertiser (%d)", err); in create_adv()
46 TEST_FAIL("Failed to start advertiser (%d)", err); in start_adv()
64 TEST_FAIL("Computed size of encrypted data does not match the size of the encrypted" in set_ad_data()
72 TEST_FAIL("Error during encryption."); in set_ad_data()
77 TEST_FAIL("Encrypted AD data does not match the ones provided in the sample. (data" in set_ad_data()
89 TEST_FAIL("Failed to set advertising data (%d)", err); in set_ad_data()
104 TEST_FAIL("Bluetooth init failed (err %d)", err); in test_peripheral()
Dcentral.c23 TEST_FAIL("Computed size of data does not match the size of the data from " in data_parse_cb()
34 TEST_FAIL("Received Randomizer does not match the expected one."); in data_parse_cb()
43 TEST_FAIL("Error during decryption."); in data_parse_cb()
49 TEST_FAIL("Decrypted AD data does not match expected sample data. (data set" in data_parse_cb()
88 TEST_FAIL("Scanning failed to start (err %d)", err); in start_scan()
102 TEST_FAIL("Bluetooth init failed (err %d)", err); in test_central()
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/general/src/
Dgatt_client_test.c51 TEST_FAIL("Failed to connect to %s (%u)", addr, err); in connected()
83 TEST_FAIL("Security failed (err %d)", err); in security_changed()
116 TEST_FAIL("Could not stop scan: %d"); in device_found()
123 TEST_FAIL("Could not connect to peer: %d", err); in device_found()
135 TEST_FAIL("Did not discover chrc (%x) or long_chrc (%x)", chrc_handle, in discover_func()
157 TEST_FAIL("Discover failed (err %d)", err); in discover_func()
197 TEST_FAIL("Discover failed(err %d)", err); in gatt_discover()
211 TEST_FAIL("Set security failed (err %d)", err); in update_security()
256 TEST_FAIL("bt_gatt_write failed: %d", err); in gatt_write()
262 TEST_FAIL("Write failed: 0x%02X", att_err); in gatt_write()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/legacy/src/
Dtester.c47 TEST_FAIL("DUT used identity addr instead of RPA"); in cb_expect_rpa()
72 TEST_FAIL("RPA rotation did not occur within +-10%% of CONFIG_BT_RPA_TIMEOUT"); in cb_expect_rpa()
90 TEST_FAIL("Expected public address (0x%x) got 0x%x", BT_ADDR_LE_RANDOM, addr->type); in cb_expect_id()
94 TEST_FAIL("DUT not using identity address"); in cb_expect_id()
126 TEST_FAIL("Failed to enable bluetooth (err %d)", err); in tester_procedure()
132 TEST_FAIL("Failed to start scanning"); in tester_procedure()
/Zephyr-latest/tests/bsim/bluetooth/host/att/eatt_notif/src/
Dclient_test.c54 TEST_FAIL("Failed to connect to %s (%u)", addr, err); in connected()
115 TEST_FAIL("Could not stop scan: %d"); in device_found()
122 TEST_FAIL("Could not connect to peer: %d", err); in device_found()
169 TEST_FAIL("Discover failed(err %d)", err); in gatt_discover()
188 TEST_FAIL("Bluetooth enable failed (err %d)", err); in test_main()
193 TEST_FAIL("Scanning failed to start (err %d)", err); in test_main()
202 TEST_FAIL("Failed to start encryption procedure"); in test_main()
209 TEST_FAIL("Sending credit based connection request failed (err %d)", err); in test_main()
239 TEST_FAIL("Sending credit based connection request failed (err %d)", err); in test_main()

1234