Google is committed to advancing racial equity for Black communities. See how.

ATS Frequently Asked Questions

How do I fix a LowDiskSpaceException?

When executing a test run, you may see the following error in the host logs:

com.android.tradefed.util.FileUtil$LowDiskSpaceException: Available space on /data/tmp is 0.00 MB. Min is 100 MB.

This error is due to low host storage. /data/tmp is a folder inside the Docker data volume Test Station is using. You can find the actual location by running docker inspect mtt-data.

To fix the issue, you can either remove old test run files using:

docker exec -it mtt find /data/app_default_bucket/test_runs/ -type d -ctime +[number of days] -exec rm -rf {} +

where [number of days] is the number of days of test run files to keep. Test run files older than this value are deleted.

Or you can backup your data and change the data volume location by setting the --data-root option for the Docker daemon.