Deeplight Technology | GMS Certification Automation Report Review and Retesting Guide

This article describes how to review the content of GMS certification automation reports generated by the XTS tool and how to retest the items marked as "failures."

 

 I. Reviewing Failed Test Items

 

Upon completion of the test, a compressed file and a corresponding folder are generated. Open the folder (the folder is for manual review, while the ZIP file is intended for uploading to the Google APA website for report analysis). Do not just copy the compressed file, decompress it yourself, or manually compress the folder before uploading.

 

 

Open the `test_result_failures_suite.html` file (this file lists the failed items separately; it's a smaller report that can be opened quickly, unlike the ZIP report which doesn’t contain this file after extraction). If you open `test_result.html`, it will load the entire test report, which might be too large for the computer to handle.

 

 

 

 

II. Reviewing the GMS Testing Tool in the Report

 

From the Suite, you can see that the GMS testing tool used is CTS, version 14_r3/11432042. We can use the same tool for retesting. Considering that Google releases daily build tools that might fix tool bugs, you can also use tools with versions higher than 14_r3 and build numbers greater than 11432042 for retesting.
Exception: In the cts-on-gsi report, the suite may display VTS, but the actual test should be conducted using the CTS tool (initially, cts-on-gsi was integrated into the VTS tool, but Google later moved it to the CTS tool).

 

 

 III. Formulating Test Commands

 

Full Test: `run (plan)`; `plan` corresponds to cts-on-gsi.
  Running `run cts-on-gsi` will test the entire cts-on-gsi.

 

Module Test: `run (plan) -m (module)`
  Running `run cts-on-gsi -m CtsAppSecurityHostTestCases` will test only that specific module.

 

Single Test: `run (plan) -m (module) -t (test)`
  Running `run cts-on-gsi -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.AdoptableHostTest#testPrimaryStorage` will test that specific item.

 

 

IV. Retesting Failed Items

 

Enter the command `l r` to display the test report. There will be report names corresponding to 0-n; input the command `run retry --retry n` to continue testing the failed items.
Example: `run retry --retry 37`

 

 V. Common GMS Testing Commands

 

 

If the computer is connected to multiple testing devices, `plan` will randomly assign a device for testing. Use the `-s` command to prevent testing the wrong device.

 

  1. `-s (sn number)` allows you to specify the testing device.

 

  2. `--shard-count n` (number of testing devices) allows multiple devices to run a `plan` simultaneously.
     Example: If other testing devices are connected to the computer and you want to perform GTS testing on this computer, and the two GTS testing devices have SNs of `1a1a1a1a` and `2c2c2c2c`, enter the GTS tool and run `run gts --shard-count 2 -s 1a1a1a1a -s 2c2c2c2c`.

 

  3. `--exclude-filter (module)` skips this module.

 

  4. `--retry-type NOT_EXECUTED (module)` completes this module.

 

  5. `--include-filter (module)` or `--include-filter (module)` retries multiple modules simultaneously.

 

  6. `help run` provides common test commands.

 

  7. `help add` provides guidance for creating a subplan.

 

Feel free to contact us for inquiries about Google GMS certification. We can also handle certifications for Google EDLA, Google MADA, Google Auto, Google Lens, Google ARCore, Google TADA, Google Android Watch, Google Android TV, GTV, Google Fast Pair certification and Spatial Audio certification testing for earphone,and other related projects.

 

넳 넲