2025-02-11 09:29:51,443 - INFO - Domain Default found not creating 2025-02-11 09:29:51,579 - INFO - Project ctest-TestRoutersBasic-73153690 not found, creating it 2025-02-11 09:29:52,028 - INFO - Created Project:ctest-TestRoutersBasic-73153690, ID : 38c2c2bd-da6f-47c2-a197-28359395d2cb 2025-02-11 09:29:53,393 - INFO - ================================================================================ 2025-02-11 09:29:53,393 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-11 09:29:53,393 - 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-02-11 09:29:53,652 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.7': '0'}} with 2025-02-11 09:29:53,652 - INFO - Initial checks done. Running the testcase now 2025-02-11 09:29:53,652 - INFO - 2025-02-11 09:29:54,353 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-73153690 2025-02-11 09:29:54,458 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-73153690 2025-02-11 09:29:54,779 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73153690', 'default']} 2025-02-11 09:29:55,096 - DEBUG - Response for create_network : {'network': {'id': '98591355-e8d0-490d-8ec4-a902c5961f35', 'name': 'ctest-vn-62245154', 'tenant_id': '38c2c2bdda6f47c2a19728359395d2cb', 'project_id': '38c2c2bdda6f47c2a19728359395d2cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73153690', 'ctest-vn-62245154'], 'port_security_enabled': True, 'description': ''}} 2025-02-11 09:29:55,277 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b52dfe5e-adb2-467a-9621-04d7dc2e7e7c', 'name': '', 'tenant_id': '38c2c2bdda6f47c2a19728359395d2cb', 'network_id': '98591355-e8d0-490d-8ec4-a902c5961f35', 'ip_version': 4, 'cidr': '89.163.186.64/26', 'allocation_pools': [{'start': '89.163.186.66', 'end': '89.163.186.126'}], 'gateway_ip': '89.163.186.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.163.186.66', 'tags': [], 'project_id': '38c2c2bdda6f47c2a19728359395d2cb'}} 2025-02-11 09:29:55,295 - INFO - Created VN ctest-vn-62245154 2025-02-11 09:29:55,346 - DEBUG - VN ctest-vn-62245154 UUID is 98591355-e8d0-490d-8ec4-a902c5961f35 2025-02-11 09:29:55,719 - DEBUG - Response for create_network : {'network': {'id': '414e6531-c32b-4f0a-aaed-7ce90a3931d1', 'name': 'ctest-ext_vn-44008450', 'tenant_id': '38c2c2bdda6f47c2a19728359395d2cb', 'project_id': '38c2c2bdda6f47c2a19728359395d2cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73153690', 'ctest-ext_vn-44008450'], 'port_security_enabled': True, 'description': ''}} 2025-02-11 09:29:55,872 - DEBUG - Response for create_subnet : {'subnet': {'id': '605d643c-9e39-4707-9fbe-bcbb37347183', 'name': '', 'tenant_id': '38c2c2bdda6f47c2a19728359395d2cb', 'network_id': '414e6531-c32b-4f0a-aaed-7ce90a3931d1', 'ip_version': 4, 'cidr': '55.103.98.0/26', 'allocation_pools': [{'start': '55.103.98.2', 'end': '55.103.98.62'}], 'gateway_ip': '55.103.98.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.103.98.2', 'tags': [], 'project_id': '38c2c2bdda6f47c2a19728359395d2cb'}} 2025-02-11 09:29:55,890 - INFO - Created VN ctest-ext_vn-44008450 2025-02-11 09:29:55,942 - DEBUG - VN ctest-ext_vn-44008450 UUID is 414e6531-c32b-4f0a-aaed-7ce90a3931d1 2025-02-11 09:29:56,113 - DEBUG - Services list from nova: [, , ] 2025-02-11 09:29:57,098 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2718-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2718-1) 2025-02-11 09:29:58,203 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2718-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2718-1) 2025-02-11 09:29:58,292 - INFO - Setting gateway for router 84614a3d-acad-47a7-86a2-da05b546d3ff to network 414e6531-c32b-4f0a-aaed-7ce90a3931d1 2025-02-11 09:29:58,370 - INFO - Adding interface with subnet_id b52dfe5e-adb2-467a-9621-04d7dc2e7e7c, port_id None to router 84614a3d-acad-47a7-86a2-da05b546d3ff 2025-02-11 09:29:58,911 - INFO - Waiting for VM ctest-TestRoutersBasic-73153690-27774492 to be up.. 2025-02-11 09:29:59,078 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-11 09:30:04,173 - DEBUG - VM is in ACTIVE state now 2025-02-11 09:30:04,173 - INFO - VM name : ctest-TestRoutersBasic-73153690-27774492 2025-02-11 09:30:04,260 - DEBUG - VM ctest-TestRoutersBasic-73153690-27774492 ID is 71ff0876-b0ea-453c-9a6a-dbcff4ecf20f 2025-02-11 09:30:04,279 - DEBUG - VM ctest-TestRoutersBasic-73153690-27774492 launched on Node cn-jenkins-deploy-platform-ansible-os-2718-1 2025-02-11 09:30:04,367 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/71ff0876-b0ea-453c-9a6a-dbcff4ecf20f 2025-02-11 09:30:04,666 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/71ff0876-b0ea-453c-9a6a-dbcff4ecf20f 2025-02-11 09:30:04,699 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/a838f58d-6cbc-421f-888c-76ccf3a8457c 2025-02-11 09:30:07,960 - 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 1010ms') 2025-02-11 09:30:07,960 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-73153690-27774492 failed! 2025-02-11 09:30:08,014 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-73153690:ctest-vn-62245154 is 89.163.186.65 and allocation pool is NOT set 2025-02-11 09:30:10,077 - 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=3.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.584 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.584/2.164/3.744/1.580 ms') 2025-02-11 09:30:10,077 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-73153690-27774492 passed 2025-02-11 09:30:10,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 09:30:10,234 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73153690-27774492, IP 89.163.186.67, Port 22 2025-02-11 09:30:10,390 - DEBUG - VM ctest-TestRoutersBasic-73153690-27774492 is ready for SSH connections 2025-02-11 09:30:10,390 - INFO - Waiting for VM ctest-TestRoutersBasic-73153690-43270043 to be up.. 2025-02-11 09:30:10,465 - DEBUG - VM is in ACTIVE state now 2025-02-11 09:30:10,465 - INFO - VM name : ctest-TestRoutersBasic-73153690-43270043 2025-02-11 09:30:10,542 - DEBUG - VM ctest-TestRoutersBasic-73153690-43270043 ID is 854eb134-0f49-42e5-8f72-9688b3a6113b 2025-02-11 09:30:10,542 - DEBUG - VM ctest-TestRoutersBasic-73153690-43270043 launched on Node cn-jenkins-deploy-platform-ansible-os-2718-1 2025-02-11 09:30:10,622 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/854eb134-0f49-42e5-8f72-9688b3a6113b 2025-02-11 09:30:10,633 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/233d417d-fd36-497c-aee5-afbe0181d20f 2025-02-11 09:30:11,881 - 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=3.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.385 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 = 0.385/1.894/3.403/1.509 ms') 2025-02-11 09:30:11,881 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-73153690-43270043 passed 2025-02-11 09:30:12,034 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 09:30:12,034 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73153690-43270043, IP 55.103.98.3, Port 22 2025-02-11 09:30:12,190 - DEBUG - VM ctest-TestRoutersBasic-73153690-43270043 is ready for SSH connections 2025-02-11 09:30:12,190 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 09:30:12,190 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 55.103.98.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2025-02-11 09:30:12,190 - DEBUG - ping -s 56 -c 3 -W 1 55.103.98.3 2025-02-11 09:30:15,845 - DEBUG - PING 55.103.98.3 (55.103.98.3): 56 data bytes 64 bytes from 55.103.98.3: seq=0 ttl=62 time=4.461 ms 64 bytes from 55.103.98.3: seq=1 ttl=62 time=0.883 ms 64 bytes from 55.103.98.3: seq=2 ttl=62 time=0.823 ms --- 55.103.98.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.823/2.055/4.461 ms 2025-02-11 09:30:15,845 - INFO - Ping to IP 55.103.98.3 from VM ctest-TestRoutersBasic-73153690-27774492 passed 2025-02-11 09:30:15,845 - INFO - Deleting interface with subnet_id b52dfe5e-adb2-467a-9621-04d7dc2e7e7c, port_id None from router 84614a3d-acad-47a7-86a2-da05b546d3ff 2025-02-11 09:30:16,036 - INFO - Deleting VM ctest-TestRoutersBasic-73153690-43270043 2025-02-11 09:30:16,102 - INFO - Deleting VM ctest-TestRoutersBasic-73153690-27774492 2025-02-11 09:30:16,178 - INFO - Deleting VN ctest-ext_vn-44008450 2025-02-11 09:30:16,238 - DEBUG - VN 414e6531-c32b-4f0a-aaed-7ce90a3931d1 still in use: Unable to complete operation on network 414e6531-c32b-4f0a-aaed-7ce90a3931d1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bee4652e-3713-42f4-a089-1c197b98a599'] 2025-02-11 09:30:16,238 - WARNING - Deleting VN ctest-ext_vn-44008450 failed..Will retry 2025-02-11 09:30:18,349 - DEBUG - Response for deleting network () 2025-02-11 09:30:18,349 - INFO - Deleting VN ctest-vn-62245154 2025-02-11 09:30:18,451 - DEBUG - Response for deleting network () 2025-02-11 09:30:18,712 - DEBUG - No XMPP flaps were noticed during the test
2025-02-11 09:30:18,712 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-02-11 09:30:18,712 - INFO - -------------------------------------------------------------------------------- 2025-02-11 09:30:19,370 - INFO - Deleted project: ctest-TestRoutersBasic-73153690, ID : 38c2c2bd-da6f-47c2-a197-28359395d2cb