How do I run Docker Swarm's integration tests?

I’ve followed the instructions at https://github.com/docker/swarm/blob/master/CONTRIBUTING.md to run Swarm’s integration tests, but they do not work. The command ./test/integration/run.sh gives unusual error messages. (See http://pastebin.com/hynTXkNb for the full output).

The message about swappiness is the first thing that looks wrong. My kernel does support it – I tested it. /proc/sys/vm/swappiness is readable and writable, and configurable through sysctl.conf .

  • PhpStorm 2017.1 remote php-cli in docker: Configuration php.ini file does not exist
  • How to re-mount a docker volume without overriding existing files?
  • Why the images information provided by docker info is different from docker images
  • Kubernetes - Automatically populating CloudDNS records from service endpoints
  • How to restore a mongo Docker container on the Mac
  • Docker replicate UID/GID in container from host
  • The next line that looks wrong is the chmod. It tries to access a file in /usr/local/bin – which is wrong because Docker is installed to /usr/bin , and because that file wouldn’t be writable by anyone but root anyway.

    I know the daemon is running, and working correctly. For example:

    user@box:~$ docker run debian /bin/echo 'hello world asdf'
    WARNING: Your kernel does not support memory swappiness capabilities, memory swappiness discarded.
    hello world asdf
    

    Does anyone know how to fix this issue, and get the integration tests running?

    If not, does anyone at least know where to dig into the code in Docker to find out what is failing?

  • Redirect application logs to docker logs
  • Graylog SMTP server without TLS/SSL
  • Visual Studio Team Service fails Task Docker Build
  • Re-using environmental variables in docker-compose yml
  • Doesn't Docker port binding obviate the need for Kubernetes' complex networking model?
  • Docker-selenium-chrome View Browser
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.