2024-08-27 04:51:09,500 - INFO - Domain Default found not creating
2024-08-27 04:51:09,659 - INFO - Project ctest-TestRoutersBasic-12403606 not found, creating it
2024-08-27 04:51:10,133 - INFO - Created Project:ctest-TestRoutersBasic-12403606, ID : 8601a67c-622d-4223-bb79-0e404b68198e
2024-08-27 04:51:11,776 - INFO - ================================================================================
2024-08-27 04:51:11,777 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-08-27 04:51:11,777 - INFO - TEST DESCRIPTION : Create an external network, a router
set router-gateway to external network
launch a private network and attach it to router
validate left vm pinging right vm through Snat
2024-08-27 04:51:12,031 - DEBUG - Nothing to compare xmpp stats {'10.0.0.44': {'10.20.0.19': '0'}} with
2024-08-27 04:51:12,031 - INFO - Initial checks done. Running the testcase now
2024-08-27 04:51:12,031 - INFO -
2024-08-27 04:51:12,738 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-12403606
2024-08-27 04:51:12,834 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-12403606
2024-08-27 04:51:13,153 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12403606', 'default']}
2024-08-27 04:51:15,383 - DEBUG - Response for create_network : {'network': {'id': 'db5872a8-388e-49a7-a4c5-4e3c6fcc5d95', 'name': 'ctest-vn-61951813', 'tenant_id': '8601a67c622d4223bb790e404b68198e', 'project_id': '8601a67c622d4223bb790e404b68198e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12403606', 'ctest-vn-61951813'], 'port_security_enabled': True, 'description': ''}}
2024-08-27 04:51:15,580 - DEBUG - Response for create_subnet : {'subnet': {'id': '925c31f5-d906-4064-ba02-114a25bf1fe6', 'name': '', 'tenant_id': '8601a67c622d4223bb790e404b68198e', 'network_id': 'db5872a8-388e-49a7-a4c5-4e3c6fcc5d95', 'ip_version': 4, 'cidr': '168.123.155.192/26', 'allocation_pools': [{'start': '168.123.155.194', 'end': '168.123.155.254'}], 'gateway_ip': '168.123.155.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.123.155.194', 'tags': [], 'project_id': '8601a67c622d4223bb790e404b68198e'}}
2024-08-27 04:51:15,604 - INFO - Created VN ctest-vn-61951813
2024-08-27 04:51:15,654 - DEBUG - VN ctest-vn-61951813 UUID is db5872a8-388e-49a7-a4c5-4e3c6fcc5d95
2024-08-27 04:51:15,989 - DEBUG - Response for create_network : {'network': {'id': '2a8bdddd-e8c2-4f38-92e8-451ecf339ad1', 'name': 'ctest-ext_vn-07351659', 'tenant_id': '8601a67c622d4223bb790e404b68198e', 'project_id': '8601a67c622d4223bb790e404b68198e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12403606', 'ctest-ext_vn-07351659'], 'port_security_enabled': True, 'description': ''}}
2024-08-27 04:51:16,134 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd16f441-b510-49f5-924c-b40929c3376c', 'name': '', 'tenant_id': '8601a67c622d4223bb790e404b68198e', 'network_id': '2a8bdddd-e8c2-4f38-92e8-451ecf339ad1', 'ip_version': 4, 'cidr': '139.93.92.0/26', 'allocation_pools': [{'start': '139.93.92.2', 'end': '139.93.92.62'}], 'gateway_ip': '139.93.92.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.93.92.2', 'tags': [], 'project_id': '8601a67c622d4223bb790e404b68198e'}}
2024-08-27 04:51:16,155 - INFO - Created VN ctest-ext_vn-07351659
2024-08-27 04:51:16,209 - DEBUG - VN ctest-ext_vn-07351659 UUID is 2a8bdddd-e8c2-4f38-92e8-451ecf339ad1
2024-08-27 04:51:16,372 - DEBUG - Services list from nova: [, , ]
2024-08-27 04:51:19,575 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1790-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1790-1)
2024-08-27 04:51:23,860 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1790-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1790-1)
2024-08-27 04:51:23,926 - INFO - Setting gateway for router f1c623d0-b4d8-483f-b171-67a30463ff32 to network 2a8bdddd-e8c2-4f38-92e8-451ecf339ad1
2024-08-27 04:51:23,992 - INFO - Adding interface with subnet_id 925c31f5-d906-4064-ba02-114a25bf1fe6, port_id None to router f1c623d0-b4d8-483f-b171-67a30463ff32
2024-08-27 04:51:24,347 - INFO - Waiting for VM ctest-TestRoutersBasic-12403606-78004330 to be up..
2024-08-27 04:51:24,526 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-08-27 04:51:29,611 - DEBUG - VM is in ACTIVE state now
2024-08-27 04:51:29,611 - INFO - VM name : ctest-TestRoutersBasic-12403606-78004330
2024-08-27 04:51:29,688 - DEBUG - VM ctest-TestRoutersBasic-12403606-78004330 ID is 4c7a596f-d791-432e-8743-2a8e2e8b44ac
2024-08-27 04:51:29,708 - DEBUG - VM ctest-TestRoutersBasic-12403606-78004330 launched on Node cn-jenkins-deploy-platform-ansible-os-1790-1
2024-08-27 04:51:29,786 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/4c7a596f-d791-432e-8743-2a8e2e8b44ac
2024-08-27 04:51:30,079 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/4c7a596f-d791-432e-8743-2a8e2e8b44ac
2024-08-27 04:51:30,112 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/9f0931eb-a2aa-47c4-8d49-fd9981315984
2024-08-27 04:51:33,365 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms')
2024-08-27 04:51:33,365 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12403606-78004330 failed!
2024-08-27 04:51:33,418 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-12403606:ctest-vn-61951813 is 168.123.155.193 and allocation pool is NOT set
2024-08-27 04:51:37,489 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=8.89 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 8.893/8.893/8.893/0.000 ms')
2024-08-27 04:51:37,489 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12403606-78004330 passed
2024-08-27 04:51:37,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-08-27 04:51:37,642 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12403606-78004330, IP 168.123.155.195, Port 22
2024-08-27 04:51:40,250 - DEBUG - VM ctest-TestRoutersBasic-12403606-78004330 is ready for SSH connections
2024-08-27 04:51:40,250 - INFO - Waiting for VM ctest-TestRoutersBasic-12403606-96123463 to be up..
2024-08-27 04:51:40,332 - DEBUG - VM is in ACTIVE state now
2024-08-27 04:51:40,332 - INFO - VM name : ctest-TestRoutersBasic-12403606-96123463
2024-08-27 04:51:40,425 - DEBUG - VM ctest-TestRoutersBasic-12403606-96123463 ID is af65e953-c328-4910-9daa-b0d9560f6ac0
2024-08-27 04:51:40,426 - DEBUG - VM ctest-TestRoutersBasic-12403606-96123463 launched on Node cn-jenkins-deploy-platform-ansible-os-1790-1
2024-08-27 04:51:40,521 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/af65e953-c328-4910-9daa-b0d9560f6ac0
2024-08-27 04:51:40,531 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/bf38fe3e-ab7d-455e-a61b-c2e8cacd33e4
2024-08-27 04:51:43,790 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms')
2024-08-27 04:51:43,790 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-12403606-96123463 failed!
2024-08-27 04:51:43,841 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-12403606:ctest-ext_vn-07351659 is 139.93.92.1 and allocation pool is NOT set
2024-08-27 04:51:47,923 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=5.61 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 5.605/5.605/5.605/0.000 ms')
2024-08-27 04:51:47,923 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-12403606-96123463 passed
2024-08-27 04:51:48,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-08-27 04:51:48,074 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12403606-96123463, IP 139.93.92.3, Port 22
2024-08-27 04:51:48,437 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2024-08-27 04:51:48,531 - DEBUG - VM ctest-TestRoutersBasic-12403606-96123463 is NOT ready for SSH connections, VM status: ACTIVE
2024-08-27 04:51:53,531 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-08-27 04:51:53,532 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12403606-96123463, IP 139.93.92.3, Port 22
2024-08-27 04:51:53,685 - DEBUG - VM ctest-TestRoutersBasic-12403606-96123463 is ready for SSH connections
2024-08-27 04:51:53,685 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-08-27 04:51:53,685 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.93.92.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.44, gateway password: c0ntrail123
2024-08-27 04:51:53,685 - DEBUG - ping -s 56 -c 3 -W 1 139.93.92.3
2024-08-27 04:51:59,175 - DEBUG - PING 139.93.92.3 (139.93.92.3): 56 data bytes
64 bytes from 139.93.92.3: seq=0 ttl=62 time=4.205 ms
64 bytes from 139.93.92.3: seq=1 ttl=62 time=1.056 ms
64 bytes from 139.93.92.3: seq=2 ttl=62 time=0.858 ms
--- 139.93.92.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.858/2.039/4.205 ms
2024-08-27 04:51:59,175 - INFO - Ping to IP 139.93.92.3 from VM ctest-TestRoutersBasic-12403606-78004330 passed
2024-08-27 04:51:59,175 - INFO - Deleting interface with subnet_id 925c31f5-d906-4064-ba02-114a25bf1fe6, port_id None from router f1c623d0-b4d8-483f-b171-67a30463ff32
2024-08-27 04:51:59,361 - INFO - Deleting VM ctest-TestRoutersBasic-12403606-96123463
2024-08-27 04:51:59,430 - INFO - Deleting VM ctest-TestRoutersBasic-12403606-78004330
2024-08-27 04:51:59,506 - INFO - Deleting VN ctest-ext_vn-07351659
2024-08-27 04:51:59,590 - DEBUG - VN 2a8bdddd-e8c2-4f38-92e8-451ecf339ad1 still in use: Unable to complete operation on network 2a8bdddd-e8c2-4f38-92e8-451ecf339ad1. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f04b7d47-8873-4f70-829f-350388e9888e']
2024-08-27 04:51:59,591 - WARNING - Deleting VN ctest-ext_vn-07351659 failed..Will retry
2024-08-27 04:52:05,110 - DEBUG - Response for deleting network ()
2024-08-27 04:52:05,110 - INFO - Deleting VN ctest-vn-61951813
2024-08-27 04:52:05,235 - DEBUG - Response for deleting network ()
2024-08-27 04:52:05,491 - DEBUG - No XMPP flaps were noticed during the test
2024-08-27 04:52:05,491 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:54]
2024-08-27 04:52:05,491 - INFO - --------------------------------------------------------------------------------
2024-08-27 04:52:06,165 - INFO - Deleted project: ctest-TestRoutersBasic-12403606, ID : 8601a67c-622d-4223-bb79-0e404b68198e