Skip to content
This repository has been archived by the owner on Mar 28, 2018. It is now read-only.

Mtu tests are not working with Centos and Docker 17 #959

Open
GabyCT opened this issue Jun 8, 2017 · 0 comments
Open

Mtu tests are not working with Centos and Docker 17 #959

GabyCT opened this issue Jun 8, 2017 · 0 comments
Labels

Comments

@GabyCT
Copy link
Contributor

GabyCT commented Jun 8, 2017

This is the specifications
Docker version 17.05.0-ce, build 89658be
cc-oci-runtime version: 2.1.10
spec version: 1.0.0-rc1
commit: b82bbc2

$ bats mtu.bats
✗ Checking MTU values in different interfaces
(from function fail' in file ../../lib//test-common.bash, line 46, from function check_swarm_replicas' in file ../../lib//test-common.bash, line 182,
from function setup' in test file mtu.bats, line 56) check_swarm_replicas "$number_of_replicas" "$SERVICE_NAME" "$timeout"' failed
Error response from daemon: This node is not a swarm manager. Use "docker swarm init" or "docker swarm join" to connect this node to swarm and try again.
INFO: running docker swarm init --advertise-addr eno1
Swarm initialized: current node (zunuf112j5xgrcythukjij8t0) is now a manager.

To add a worker to this swarm, run the following command:

   docker swarm join \
   --token SWMTKN-1-36zook5qzb0jwltpc0hrjkftz1cpqhb5qceet3uj8fc2rfvo4q-d6f9f9ho640ef2th340o5bx91 \
   10.219.4.141:2377

To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions.

INFO: running $DOCKER_EXE service create --name "$SERVICE_NAME" --replicas "
r8ugb499gxnqxr6zlorhsgo2u
Since --detach=false was not specified, tasks will be created in the background.
In a future release, --detach=false will become the default.
INFO: check_replicas ...
ID NAME MODE REPLICAS IMAGE PORTS
r8ugb499gxnq testswarm replicated 0/1 nginx:latest *:8080->80/tcp
INFO: wait for 10
INFO: try 1
ID NAME MODE REPLICAS IMAGE PORTS
r8ugb499gxnq testswarm replicated 0/1 nginx:latest *:8080->80/tcp
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
zltzm70kwnww testswarm.1 nginx:latest localhost.localdomain Running Assigned less than a second ago
INFO: replicas running : 0/1
INFO: try 2
ID NAME MODE REPLICAS IMAGE PORTS
r8ugb499gxnq testswarm replicated 0/1 nginx:latest *:8080->80/tcp
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
tlwonv08h3ma testswarm.1 nginx:latest localhost.localdomain Ready Ready less than a second ago
zltzm70kwnww _ testswarm.1 nginx:latest localhost.localdomain Shutdown Failed 1 second ago "starting container failed: co…"
INFO: replicas running : 0/1
INFO: try 3
ID NAME MODE REPLICAS IMAGE PORTS
r8ugb499gxnq testswarm replicated 0/1 nginx:latest *:8080->80/tcp
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
tlwonv08h3ma testswarm.1 nginx:latest localhost.localdomain Ready Ready 1 second ago
zltzm70kwnww _ testswarm.1 nginx:latest localhost.localdomain Shutdown Failed 2 seconds ago "starting container failed: co…"
INFO: replicas running : 0/1
INFO: try 4
ID NAME MODE REPLICAS IMAGE PORTS
r8ugb499gxnq testswarm replicated 0/1 nginx:latest *:8080->80/tcp
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
tlwonv08h3ma testswarm.1 nginx:latest localhost.localdomain Ready Ready 3 seconds ago
zltzm70kwnww _ testswarm.1 nginx:latest localhost.localdomain Shutdown Failed 3 seconds ago "starting container failed: co…"
INFO: replicas running : 0/1
INFO: try 5
ID NAME MODE REPLICAS IMAGE PORTS
r8ugb499gxnq testswarm replicated 0/1 nginx:latest *:8080->80/tcp
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
tlwonv08h3ma testswarm.1 nginx:latest localhost.localdomain Ready Ready 4 seconds ago
zltzm70kwnww _ testswarm.1 nginx:latest localhost.localdomain Shutdown Failed 4 seconds ago "starting container failed: co…"
INFO: replicas running : 0/1
INFO: try 6
ID NAME MODE REPLICAS IMAGE PORTS
r8ugb499gxnq testswarm replicated 0/1 nginx:latest *:8080->80/tcp
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
j5ijt98w2g7o testswarm.1 nginx:latest localhost.localdomain Ready Preparing less than a second ago
tlwonv08h3ma _ testswarm.1 nginx:latest localhost.localdomain Shutdown Failed less than a second ago "starting container failed: co…"
zltzm70kwnww _ testswarm.1 nginx:latest localhost.localdomain Shutdown Failed 5 seconds ago "starting container failed: co…"
INFO: replicas running : 0/1
INFO: try 7
ID NAME MODE REPLICAS IMAGE PORTS
r8ugb499gxnq testswarm replicated 0/1 nginx:latest *:8080->80/tcp
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
j5ijt98w2g7o testswarm.1 nginx:latest localhost.localdomain Ready Ready 1 second ago
tlwonv08h3ma _ testswarm.1 nginx:latest localhost.localdomain Shutdown Failed 1 second ago "starting container failed: co…"
zltzm70kwnww _ testswarm.1 nginx:latest localhost.localdomain Shutdown Failed 6 seconds ago "starting container failed: co…"
INFO: replicas running : 0/1
INFO: try 8
ID NAME MODE REPLICAS IMAGE PORTS
r8ugb499gxnq testswarm replicated 0/1 nginx:latest *:8080->80/tcp
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
j5ijt98w2g7o testswarm.1 nginx:latest localhost.localdomain Ready Ready 2 seconds ago
tlwonv08h3ma _ testswarm.1 nginx:latest localhost.localdomain Shutdown Failed 2 seconds ago "starting container failed: co…"
zltzm70kwnww _ testswarm.1 nginx:latest localhost.localdomain Shutdown Failed 7 seconds ago "starting container failed: co…"
INFO: replicas running : 0/1
INFO: try 9
ID NAME MODE REPLICAS IMAGE PORTS
r8ugb499gxnq testswarm replicated 0/1 nginx:latest *:8080->80/tcp
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
j5ijt98w2g7o testswarm.1 nginx:latest localhost.localdomain Ready Ready 3 seconds ago
tlwonv08h3ma _ testswarm.1 nginx:latest localhost.localdomain Shutdown Failed 3 seconds ago "starting container failed: co…"
zltzm70kwnww _ testswarm.1 nginx:latest localhost.localdomain Shutdown Failed 9 seconds ago "starting container failed: co…"
INFO: replicas running : 0/1
INFO: try 10
ID NAME MODE REPLICAS IMAGE PORTS
r8ugb499gxnq testswarm replicated 0/1 nginx:latest *:8080->80/tcp
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
j5ijt98w2g7o testswarm.1 nginx:latest localhost.localdomain Ready Ready 4 seconds ago
tlwonv08h3ma _ testswarm.1 nginx:latest localhost.localdomain Shutdown Failed 5 seconds ago "starting container failed: co…"
zltzm70kwnww _ testswarm.1 nginx:latest localhost.localdomain Shutdown Failed 10 seconds ago "starting container failed: co…"
INFO: replicas running : 0/1
FAIL: failed to wait for 1 replicas from service testswarm
testswarm
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS
zunuf112j5xgrcythukjij8t0 * localhost.localdomain Ready Active Leader
Node left the swarm.
Error response from daemon: This node is not a swarm manager. Use "docker swarm init" or "docker swarm join" to connect this node to swarm and try again.

1 test, 1 failure

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants