Error while executing android CTS, using android test suit version: 15_r2 and above version through Jenkins

Hello,
As I’m facing bellow mentioned error while executing android CTS, using android test suit version: 15_r1 / 15_r2 through Jenkins,
Could you please help us to resolve the following error.

Note: The same Android Compatibility Test Suite 14_r5 is working fine, from 15 - V-OS is not working.

Error:
cts-console >
Received EOF.
Input interrupted; quitting…

CTS execution Command:
sudo -S ./cts-tradefed run cts-dev --module CtsVirtualDevicesCameraCtsTestCases -s $DEVICE_ID

Android Compatibility Test Suite 15_r2 (12309945)
Jenkins version: 2.452.1

Hello and welcome to this community, @k.theepan. :wave:

It looks like you’re running into an error with the message Received EOF. Input interrupted; quitting…, which usually means that the CTS execution is getting cut off for some reason. This could be related to how things are set up or maybe something’s not quite right with the command itself. :thinking:

Let’s try a few things to see if we can get this sorted out:

  1. Double-check your Jenkins setup to make sure it’s all good for running the CTS command. Also, confirm that the Jenkins user has the right permissions to carry out the command.
  2. Take a look at the environment variables in your Jenkins job settings. Variables like DEVICE_ID should be properly configured.
  3. Go over the CTS command syntax and make sure it matches the Android Compatibility Test Suite version you’re working with.
  4. Review the CTS logs for any detailed error messages. Sometimes they can give you more clues about what’s stopping the execution.
  5. Test the CTS command directly on the Jenkins server outside of Jenkins itself. This can help figure out if the issue is Jenkins-specific.
  6. Keep your Jenkins plugins, particularly those related to Android and shell execution, up to date.
1 Like

Hello poddingue, thank you for your quick response.

From your suggestion,

  • DEVICE_ID variable is taking properly.
    *Same Android Compatibility Test Suite version is working fine in “Linux - Terminal” and same command also.
    *Same thing is not working in Jenkins.
    *Jenkins plugins will check and update.

Latest android models are using Android Compatibility Test Suite version 15_r1 and above version, so we are struck-up in the work.

Could you please help to resolve this issue.