-
Notifications
You must be signed in to change notification settings - Fork 327
Open
Description
Describe the bug
Automatic test is not starting/ running on Samsung Galaxy A14 5G but works on another Android phone.
To Reproduce
Steps to reproduce the behavior:
- Git clone this repo.
- Go to
.\documentation\Automated tests
and runtest.bat sample_test_hrm.xml
- The batch script never terminates and stuck with the following message:
=================================================
Nordic Semiconductor Automated Tests batch script
=================================================
Removing old result file...OK
Copying "sample_test_hrm.xml" to /sdcard/Android/data/no.nordicsemi.android.mcp/files/Test...OK
Starting test service...OK
Test started...OK
Waiting for the result...
- Ctrl + C and input
y
to terminate the batch script. - Observe in the notification bar we get "Test failed" with the body "Test suite file not found" from the nRF Connect app.
- Opening nRF Logger app, I get the message "Test suite file not found in Test/sample_test_hrm.xml"
Other observations:
- The test xml file appears to have moved to the phone successfully.
> adb shell ls -lah /sdcard/Android/data/no.nordicsemi.android.mcp/files/Test
total 42K
drwxrws--- 2 shell ext_data_rw 3.3K 2025-02-11 19:55 .
drwxrws--- 3 u0_a269 ext_data_rw 3.3K 2025-01-07 13:11 ..
-rw-rw---- 1 shell ext_data_rw 16K 2024-12-09 01:20 automated_test.xml
-rw-r--r-- 1 shell ext_data_rw 17K 2024-12-07 13:37 sample_test_hrm.xml
- The contents of the file appears intact.
> adb shell cat /sdcard/Android/data/no.nordicsemi.android.mcp/files/Test/sample_test_hrm.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Copyright (c) 2016, Nordic Semiconductor
~ All rights reserved.
~
~ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
~
~ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
~
~ 2. Redistributions in binar
... Truncated by me
Expected behavior
The automatic test should run and return a results file like what I've got on another phone running Android 11.
> test.bat sample_test_hrm.xml
=================================================
Nordic Semiconductor Automated Tests batch script
=================================================
Removing old result file...OK
Copying "sample_test_hrm.xml" to /sdcard/Android/data/no.nordicsemi.android.mcp/files/Test...OK
Starting test service...OK
Test started...OK
Waiting for the result...OK
Result saved in "sample_test_hrm_result.txt".
Screenshots
Versions:
- Android version: Android 14
- Phone model: Samsung Galaxy A14 5G
- App Version: 4.29.1
- ADB version: 1.0.41/ Version 35.0.2-12147458
- Windows 10.0.19045
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
No labels