2025-01-09 09:15:59,652 - INFO - Domain Default found not creating 2025-01-09 09:15:59,807 - INFO - Project ctest-TestRoutersBasic-65179468 not found, creating it 2025-01-09 09:16:00,267 - INFO - Created Project:ctest-TestRoutersBasic-65179468, ID : bc28b5a3-f40e-4735-9b38-6d713d5b9e9a 2025-01-09 09:16:01,788 - INFO - ================================================================================ 2025-01-09 09:16:01,788 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-09 09:16:01,788 - 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 2025-01-09 09:16:02,048 - DEBUG - Nothing to compare xmpp stats {'10.0.0.46': {'10.20.0.11': '0'}} with 2025-01-09 09:16:02,048 - INFO - Initial checks done. Running the testcase now 2025-01-09 09:16:02,048 - INFO - 2025-01-09 09:16:02,787 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-65179468 2025-01-09 09:16:02,888 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-65179468 2025-01-09 09:16:03,249 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65179468', 'default']} 2025-01-09 09:16:03,617 - DEBUG - Response for create_network : {'network': {'id': '787b6f9a-acc6-482d-9b0a-d577d33223f7', 'name': 'ctest-vn-81766348', 'tenant_id': 'bc28b5a3f40e47359b386d713d5b9e9a', 'project_id': 'bc28b5a3f40e47359b386d713d5b9e9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65179468', 'ctest-vn-81766348'], 'port_security_enabled': True, 'description': ''}} 2025-01-09 09:16:03,839 - DEBUG - Response for create_subnet : {'subnet': {'id': '24f4e279-786e-4e00-bfc3-f4b718976143', 'name': '', 'tenant_id': 'bc28b5a3f40e47359b386d713d5b9e9a', 'network_id': '787b6f9a-acc6-482d-9b0a-d577d33223f7', 'ip_version': 4, 'cidr': '45.66.69.192/26', 'allocation_pools': [{'start': '45.66.69.194', 'end': '45.66.69.254'}], 'gateway_ip': '45.66.69.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.66.69.194', 'tags': [], 'project_id': 'bc28b5a3f40e47359b386d713d5b9e9a'}} 2025-01-09 09:16:03,866 - INFO - Created VN ctest-vn-81766348 2025-01-09 09:16:03,920 - DEBUG - VN ctest-vn-81766348 UUID is 787b6f9a-acc6-482d-9b0a-d577d33223f7 2025-01-09 09:16:04,326 - DEBUG - Response for create_network : {'network': {'id': 'e1954eb9-292c-4428-b979-235972b8ef65', 'name': 'ctest-ext_vn-83056403', 'tenant_id': 'bc28b5a3f40e47359b386d713d5b9e9a', 'project_id': 'bc28b5a3f40e47359b386d713d5b9e9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65179468', 'ctest-ext_vn-83056403'], 'port_security_enabled': True, 'description': ''}} 2025-01-09 09:16:04,574 - DEBUG - Response for create_subnet : {'subnet': {'id': '526b3114-0cb0-4d12-9093-78d031ad3348', 'name': '', 'tenant_id': 'bc28b5a3f40e47359b386d713d5b9e9a', 'network_id': 'e1954eb9-292c-4428-b979-235972b8ef65', 'ip_version': 4, 'cidr': '59.88.15.64/26', 'allocation_pools': [{'start': '59.88.15.66', 'end': '59.88.15.126'}], 'gateway_ip': '59.88.15.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.88.15.66', 'tags': [], 'project_id': 'bc28b5a3f40e47359b386d713d5b9e9a'}} 2025-01-09 09:16:04,592 - INFO - Created VN ctest-ext_vn-83056403 2025-01-09 09:16:04,644 - DEBUG - VN ctest-ext_vn-83056403 UUID is e1954eb9-292c-4428-b979-235972b8ef65 2025-01-09 09:16:04,830 - DEBUG - Services list from nova: [, , ] 2025-01-09 09:16:05,887 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2581-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2581-1) 2025-01-09 09:16:07,063 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2581-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2581-1) 2025-01-09 09:16:07,148 - INFO - Setting gateway for router 1194f3ce-a47e-4b6b-8946-727e67c31275 to network e1954eb9-292c-4428-b979-235972b8ef65 2025-01-09 09:16:07,230 - INFO - Adding interface with subnet_id 24f4e279-786e-4e00-bfc3-f4b718976143, port_id None to router 1194f3ce-a47e-4b6b-8946-727e67c31275 2025-01-09 09:16:07,742 - INFO - Waiting for VM ctest-TestRoutersBasic-65179468-22011869 to be up.. 2025-01-09 09:16:07,933 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-09 09:16:13,022 - DEBUG - VM is in ACTIVE state now 2025-01-09 09:16:13,022 - INFO - VM name : ctest-TestRoutersBasic-65179468-22011869 2025-01-09 09:16:13,109 - DEBUG - VM ctest-TestRoutersBasic-65179468-22011869 ID is 7b2fc82a-5508-46b1-b3a9-cb4b93e83dcf 2025-01-09 09:16:13,130 - DEBUG - VM ctest-TestRoutersBasic-65179468-22011869 launched on Node cn-jenkins-deploy-platform-ansible-os-2581-1 2025-01-09 09:16:13,216 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/7b2fc82a-5508-46b1-b3a9-cb4b93e83dcf 2025-01-09 09:16:13,527 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/7b2fc82a-5508-46b1-b3a9-cb4b93e83dcf 2025-01-09 09:16:13,563 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/e28e5616-53d7-446f-880f-a2d25b3ca817 2025-01-09 09:16:16,824 - 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 1005ms') 2025-01-09 09:16:16,824 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65179468-22011869 failed! 2025-01-09 09:16:16,884 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-65179468:ctest-vn-81766348 is 45.66.69.193 and allocation pool is NOT set 2025-01-09 09:16:18,949 - 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=1 ttl=63 time=2.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.500 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.500/1.731/2.962/1.231 ms') 2025-01-09 09:16:18,949 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65179468-22011869 passed 2025-01-09 09:16:19,132 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 09:16:19,132 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65179468-22011869, IP 45.66.69.195, Port 22 2025-01-09 09:16:19,306 - DEBUG - VM ctest-TestRoutersBasic-65179468-22011869 is ready for SSH connections 2025-01-09 09:16:19,306 - INFO - Waiting for VM ctest-TestRoutersBasic-65179468-62829939 to be up.. 2025-01-09 09:16:19,447 - DEBUG - VM is in ACTIVE state now 2025-01-09 09:16:19,447 - INFO - VM name : ctest-TestRoutersBasic-65179468-62829939 2025-01-09 09:16:19,550 - DEBUG - VM ctest-TestRoutersBasic-65179468-62829939 ID is 287827de-f626-4dfc-84c0-8d376f77e536 2025-01-09 09:16:19,550 - DEBUG - VM ctest-TestRoutersBasic-65179468-62829939 launched on Node cn-jenkins-deploy-platform-ansible-os-2581-1 2025-01-09 09:16:19,638 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/287827de-f626-4dfc-84c0-8d376f77e536 2025-01-09 09:16:19,647 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/d0b3a21e-1b7b-4d96-8be9-5f6a8bdb979c 2025-01-09 09:16:20,901 - 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=1 ttl=63 time=5.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.51 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.512/3.831/5.151/1.319 ms') 2025-01-09 09:16:20,901 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-65179468-62829939 passed 2025-01-09 09:16:21,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 09:16:21,056 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65179468-62829939, IP 59.88.15.67, Port 22 2025-01-09 09:16:21,222 - DEBUG - VM ctest-TestRoutersBasic-65179468-62829939 is ready for SSH connections 2025-01-09 09:16:21,222 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 09:16:21,222 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.88.15.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.46, gateway password: c0ntrail123 2025-01-09 09:16:21,223 - DEBUG - ping -s 56 -c 3 -W 1 59.88.15.67 2025-01-09 09:16:25,242 - DEBUG - PING 59.88.15.67 (59.88.15.67): 56 data bytes 64 bytes from 59.88.15.67: seq=0 ttl=62 time=6.617 ms 64 bytes from 59.88.15.67: seq=1 ttl=62 time=1.441 ms 64 bytes from 59.88.15.67: seq=2 ttl=62 time=1.612 ms --- 59.88.15.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.441/3.223/6.617 ms 2025-01-09 09:16:25,242 - INFO - Ping to IP 59.88.15.67 from VM ctest-TestRoutersBasic-65179468-22011869 passed 2025-01-09 09:16:25,242 - INFO - Deleting interface with subnet_id 24f4e279-786e-4e00-bfc3-f4b718976143, port_id None from router 1194f3ce-a47e-4b6b-8946-727e67c31275 2025-01-09 09:16:25,532 - INFO - Deleting VM ctest-TestRoutersBasic-65179468-62829939 2025-01-09 09:16:25,623 - INFO - Deleting VM ctest-TestRoutersBasic-65179468-22011869 2025-01-09 09:16:25,711 - INFO - Deleting VN ctest-ext_vn-83056403 2025-01-09 09:16:25,974 - DEBUG - VN e1954eb9-292c-4428-b979-235972b8ef65 still in use: Unable to complete operation on network e1954eb9-292c-4428-b979-235972b8ef65. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2baa97bd-cdfd-4853-91fb-c16445e0124b'] 2025-01-09 09:16:25,974 - WARNING - Deleting VN ctest-ext_vn-83056403 failed..Will retry 2025-01-09 09:16:28,106 - DEBUG - Response for deleting network () 2025-01-09 09:16:28,106 - INFO - Deleting VN ctest-vn-81766348 2025-01-09 09:16:28,228 - DEBUG - Response for deleting network () 2025-01-09 09:16:28,486 - DEBUG - No XMPP flaps were noticed during the test
2025-01-09 09:16:28,486 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-01-09 09:16:28,486 - INFO - -------------------------------------------------------------------------------- 2025-01-09 09:16:29,183 - INFO - Deleted project: ctest-TestRoutersBasic-65179468, ID : bc28b5a3-f40e-4735-9b38-6d713d5b9e9a