Details
-
Improvement
-
Resolution: Fixed
-
Major
-
11.10
-
None
-
Unknown
-
N/A
-
N/A
-
Description
FTM the idea is to execute the following:
LOGGER.info("Environment information to help debug the failing test:"); LOGGER.info(RuntimeUtils.run("top -b -n 1")); LOGGER.info(RuntimeUtils.run("lsof -i -P -n ")); LOGGER.info(RuntimeUtils.run("docker ps -a")); LOGGER.info(RuntimeUtils.run("docker events --since '15m' --until '0m'"));
- Top: help find out if the test failure is because the CI agent is overloaded
- lsof: help find out if the test failure is because some port is already used by some other process
- docker ps: find out if docker is up and what's running in it
- docker events: detailed logs about what happened on docker in the past 15 minutes before the test failed