Skip to content

"Test suite file not found" while running on Samsung Galaxy A14 5G #233

@PrincipleOfLeastAction

Description

@PrincipleOfLeastAction

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:

  1. Git clone this repo.
  2. Go to .\documentation\Automated tests and run test.bat sample_test_hrm.xml
  3. 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...
  1. Ctrl + C and input y to terminate the batch script.
  2. Observe in the notification bar we get "Test failed" with the body "Test suite file not found" from the nRF Connect app.
  3. Opening nRF Logger app, I get the message "Test suite file not found in Test/sample_test_hrm.xml"

Other observations:

  1. 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
  1. 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

Image

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions