Troubleshooting
Verify that Docker is working correctly
The following command, if it runs successfully, will verify that docker if running correctly.
Docker error messages
Message
Cause
Fix
engine build error: docker build failed: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Docker daemon is not running.
Restart the Docker daemon
read tcp xxx.xxx.xxx.xxx:443 i/o timeout
Cannot connect to remote repository
This is a frequent and probably transient error. Try again.
Troubleshooting
Test plans fail to finish before context expires
This may be caused by high load on the host machine. Try to reduce the load using the following:
Reduce the number of instances
terminate old test plan containers (if any) with
testground terminate
close applications which may cause enough load to interfere with the test
Test plans fail while waiting on a barrier
This may indicate a problem with the sync service or the sidecar. Investigate and try again.
docker logs testground-redis
docker kill testground-redis
Testground containers are killed before plans finished.
It's possible that the the system is killed after running out of memory or that another system problem is occurring.
docker events
docker logs <suspicious_container>
docker stats
Healthchecks
Testground comes equipped with healthchecks
that have some self-fixing features. These healthchecks are able to fix any container that is added by Testground, but it cannot fix anything related to your user account or host system.
To view current healthcheck
status, and issue automatic remediation, use the following commands. Under normal circumstances, this is unnecessary since they will be started automatically if a problem is detected.
Last updated