user3872486
user3872486

Reputation: 97

android-cts-8.1_r3 execution is not starting

On starting, facing the below issue[followed all the precondition steps]

03-29 04:49:11 W/DynamicConfigPusher: Cannot download and parse json config from URL https://androidpartner.googleapis.com/v1/dynamicconfig/suites/CTS/modules/CtsMediaStressTestCases/version/8.1_r3?key=AIzaSyAbwX5JRlmsLeygY2WWihpIJPXFLueOQ3U
03-29 04:49:11 I/MediaPreparer: Instrumenting package android.mediastress.cts.preconditions.app:
03-29 04:49:17 I/MediaPreparer: Downloading media files from https://dl.google.com/dl/android/cts/android-cts-media-1.4.zip
03-29 05:01:42 E/ModuleDef: TargetSetupError in preparer: com.android.compatibility.common.tradefed.targetprep.MediaPreparer
03-29 05:01:42 E/ModuleDef: Precondition class com.android.compatibility.common.tradefed.targetprep.MediaPreparer failed
03-29 05:01:44 I/MediaPreparer: Instrumenting package android.mediastress.cts.preconditions.app:
03-29 05:01:50 I/MediaPreparer: Downloading media files from https://dl.google.com/dl/android/cts/android-cts-media-1.4.zip

This is happening continuously. No test case run

Upvotes: 0

Views: 1553

Answers (2)

Copy a android-cts-media-1.4.zip to /tmp/android-cts-media/ will fix the issue

Upvotes: 0

giang nguyen
giang nguyen

Reputation: 423

I think it would require you to download and install android-cts-media-1.4.zip and install it to your Android hardware in order to proceed the mediastress test cases:

The resolution param is not required, if you don't put it it will add all the media file in, thus may potentially lead to some failure test cases. But you should probably check again what's your maximum media resolutions allowance via CDD document for your particular Android version. Here are the list of storage options to be brief:

  • 480x360: 98MB
  • 720x480: 193MB
  • 1280x720: 606MB
  • 1920x1080: 1863MB

Upvotes: 0

Related Questions