Laszlo Gaal has uploaded this change for review. ( http://gerrit.cloudera.org:8080/12892
Change subject: [Docker] Enable running docker-based tests on Ubuntu 14 ...................................................................... [Docker] Enable running docker-based tests on Ubuntu 14 Tweak the Docker-based test driver to allow it to run on Ubuntu 14.04. 1. Change the memory statistics gathering code to go directly to /proc/meminfo instead of parsing the output of 'free', which varies considerably across OS distributions. This makes test-with-docker.py depend on the MemAvailable field in /proc/meminfo, which should be present on kernels v3.14 and above. This also foregoes forking 'free' once per second. 2. Relax the check for a valid timezone specifier. On Ubuntu 14.04 /etc/localtime is a copy of a timezone file instead of being a symlink to a timezone file. Add an alternative check that accepts this option for timezone synchronization between the host and the Docker containers. 3. Centos 6 did not like the leading dash in the 'ps' command argument list. Change this to a universally accepted form by dropping the leading dash. Tested by running 'ps axho' manually on all OSs supported for Docker-based tests. Change-Id: I6d326611772facc193d8e509a827515f10207808 --- M docker/entrypoint.sh M docker/monitor.py M docker/test-with-docker.py 3 files changed, 49 insertions(+), 21 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/92/12892/1 -- To view, visit http://gerrit.cloudera.org:8080/12892 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I6d326611772facc193d8e509a827515f10207808 Gerrit-Change-Number: 12892 Gerrit-PatchSet: 1 Gerrit-Owner: Laszlo Gaal <[email protected]>
