2025-04-24 10:05:03,711 - INFO - Domain Default found not creating 2025-04-24 10:05:03,820 - INFO - Project ctest-TestRoutersBasic-78050541 not found, creating it 2025-04-24 10:05:04,273 - INFO - Created Project:ctest-TestRoutersBasic-78050541, ID : a431d8e7-490d-4685-b858-fc9686a327a5 2025-04-24 10:05:05,447 - INFO - ================================================================================ 2025-04-24 10:05:05,448 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-24 10:05:05,448 - 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-04-24 10:05:05,698 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-04-24 10:05:05,698 - INFO - Initial checks done. Running the testcase now 2025-04-24 10:05:05,698 - INFO - 2025-04-24 10:05:06,303 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-78050541 2025-04-24 10:05:06,397 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-78050541 2025-04-24 10:05:06,709 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78050541', 'default']} 2025-04-24 10:05:06,980 - DEBUG - Response for create_network : {'network': {'id': 'ac65bbd9-901f-4596-85dd-56db93293255', 'name': 'ctest-vn-42573853', 'tenant_id': 'a431d8e7490d4685b858fc9686a327a5', 'project_id': 'a431d8e7490d4685b858fc9686a327a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78050541', 'ctest-vn-42573853'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 10:05:07,177 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e2256015-d0ee-45a1-91b5-06446aed1b3e', 'name': '', 'tenant_id': 'a431d8e7490d4685b858fc9686a327a5', 'network_id': 'ac65bbd9-901f-4596-85dd-56db93293255', 'ip_version': 4, 'cidr': '76.22.238.128/26', 'allocation_pools': [{'start': '76.22.238.130', 'end': '76.22.238.190'}], 'gateway_ip': '76.22.238.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.22.238.130', 'tags': [], 'project_id': 'a431d8e7490d4685b858fc9686a327a5'}} 2025-04-24 10:05:07,191 - INFO - Created VN ctest-vn-42573853 2025-04-24 10:05:07,245 - DEBUG - VN ctest-vn-42573853 UUID is ac65bbd9-901f-4596-85dd-56db93293255 2025-04-24 10:05:07,575 - DEBUG - Response for create_network : {'network': {'id': 'defda87e-7b63-493c-9140-0d1437440f5e', 'name': 'ctest-ext_vn-30066519', 'tenant_id': 'a431d8e7490d4685b858fc9686a327a5', 'project_id': 'a431d8e7490d4685b858fc9686a327a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78050541', 'ctest-ext_vn-30066519'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 10:05:07,751 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b384b64-7049-4abc-8816-97f0bf58bf85', 'name': '', 'tenant_id': 'a431d8e7490d4685b858fc9686a327a5', 'network_id': 'defda87e-7b63-493c-9140-0d1437440f5e', 'ip_version': 4, 'cidr': '215.42.208.0/26', 'allocation_pools': [{'start': '215.42.208.2', 'end': '215.42.208.62'}], 'gateway_ip': '215.42.208.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.42.208.2', 'tags': [], 'project_id': 'a431d8e7490d4685b858fc9686a327a5'}} 2025-04-24 10:05:07,765 - INFO - Created VN ctest-ext_vn-30066519 2025-04-24 10:05:07,817 - DEBUG - VN ctest-ext_vn-30066519 UUID is defda87e-7b63-493c-9140-0d1437440f5e 2025-04-24 10:05:07,993 - DEBUG - Services list from nova: [, , ] 2025-04-24 10:05:08,843 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3202-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3202-1) 2025-04-24 10:05:09,799 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3202-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3202-1) 2025-04-24 10:05:09,867 - INFO - Setting gateway for router 80640636-5ae4-4fde-8293-d60c79a553a9 to network defda87e-7b63-493c-9140-0d1437440f5e 2025-04-24 10:05:09,917 - INFO - Adding interface with subnet_id e2256015-d0ee-45a1-91b5-06446aed1b3e, port_id None to router 80640636-5ae4-4fde-8293-d60c79a553a9 2025-04-24 10:05:10,288 - INFO - Waiting for VM ctest-TestRoutersBasic-78050541-28904550 to be up.. 2025-04-24 10:05:10,451 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-24 10:05:15,526 - DEBUG - VM is in ACTIVE state now 2025-04-24 10:05:15,526 - INFO - VM name : ctest-TestRoutersBasic-78050541-28904550 2025-04-24 10:05:15,613 - DEBUG - VM ctest-TestRoutersBasic-78050541-28904550 ID is a01a79d0-bff5-4687-95f0-eac683e2a23e 2025-04-24 10:05:15,630 - DEBUG - VM ctest-TestRoutersBasic-78050541-28904550 launched on Node cn-jenkins-deploy-platform-ansible-os-3202-1 2025-04-24 10:05:15,697 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a01a79d0-bff5-4687-95f0-eac683e2a23e 2025-04-24 10:05:15,956 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a01a79d0-bff5-4687-95f0-eac683e2a23e 2025-04-24 10:05:15,982 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a20e7297-3f7e-4abf-bb28-0b7fff01e85b 2025-04-24 10:05:19,215 - 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=6.36 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1005ms\r\nrtt min/avg/max/mdev = 6.363/6.363/6.363/0.000 ms') 2025-04-24 10:05:19,215 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78050541-28904550 passed 2025-04-24 10:05:19,357 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 10:05:19,357 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78050541-28904550, IP 76.22.238.131, Port 22 2025-04-24 10:05:19,508 - DEBUG - VM ctest-TestRoutersBasic-78050541-28904550 is ready for SSH connections 2025-04-24 10:05:19,509 - INFO - Waiting for VM ctest-TestRoutersBasic-78050541-51485402 to be up.. 2025-04-24 10:05:19,572 - DEBUG - VM is in ACTIVE state now 2025-04-24 10:05:19,572 - INFO - VM name : ctest-TestRoutersBasic-78050541-51485402 2025-04-24 10:05:19,633 - DEBUG - VM ctest-TestRoutersBasic-78050541-51485402 ID is e889d4dc-bc40-4da5-a13a-0dbebb4cfded 2025-04-24 10:05:19,633 - DEBUG - VM ctest-TestRoutersBasic-78050541-51485402 launched on Node cn-jenkins-deploy-platform-ansible-os-3202-1 2025-04-24 10:05:19,692 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e889d4dc-bc40-4da5-a13a-0dbebb4cfded 2025-04-24 10:05:19,701 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b6a4a435-b381-48fb-9e69-bdd91293788d 2025-04-24 10:05:20,925 - 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=2.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.516 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.516/1.444/2.373/0.928 ms') 2025-04-24 10:05:20,925 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-78050541-51485402 passed 2025-04-24 10:05:21,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 10:05:21,073 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78050541-51485402, IP 215.42.208.3, Port 22 2025-04-24 10:05:21,233 - DEBUG - VM ctest-TestRoutersBasic-78050541-51485402 is ready for SSH connections 2025-04-24 10:05:21,233 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 10:05:21,233 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 215.42.208.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-24 10:05:21,233 - DEBUG - ping -s 56 -c 3 -W 1 215.42.208.3 2025-04-24 10:05:25,118 - DEBUG - PING 215.42.208.3 (215.42.208.3): 56 data bytes 64 bytes from 215.42.208.3: seq=0 ttl=62 time=6.256 ms 64 bytes from 215.42.208.3: seq=1 ttl=62 time=0.773 ms 64 bytes from 215.42.208.3: seq=2 ttl=62 time=0.756 ms --- 215.42.208.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.756/2.595/6.256 ms 2025-04-24 10:05:25,118 - INFO - Ping to IP 215.42.208.3 from VM ctest-TestRoutersBasic-78050541-28904550 passed 2025-04-24 10:05:25,118 - INFO - Deleting interface with subnet_id e2256015-d0ee-45a1-91b5-06446aed1b3e, port_id None from router 80640636-5ae4-4fde-8293-d60c79a553a9 2025-04-24 10:05:25,291 - INFO - Deleting VM ctest-TestRoutersBasic-78050541-51485402 2025-04-24 10:05:25,344 - INFO - Deleting VM ctest-TestRoutersBasic-78050541-28904550 2025-04-24 10:05:25,405 - INFO - Deleting VN ctest-ext_vn-30066519 2025-04-24 10:05:25,459 - DEBUG - VN defda87e-7b63-493c-9140-0d1437440f5e still in use: Unable to complete operation on network defda87e-7b63-493c-9140-0d1437440f5e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-968d6d6e-f07b-4d94-808f-7a988ae8df26'] 2025-04-24 10:05:25,460 - WARNING - Deleting VN ctest-ext_vn-30066519 failed..Will retry 2025-04-24 10:05:27,547 - DEBUG - Response for deleting network () 2025-04-24 10:05:27,547 - INFO - Deleting VN ctest-vn-42573853 2025-04-24 10:05:27,635 - DEBUG - Response for deleting network () 2025-04-24 10:05:27,891 - DEBUG - No XMPP flaps were noticed during the test 2025-04-24 10:05:27,891 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:22] 2025-04-24 10:05:27,891 - INFO - -------------------------------------------------------------------------------- 2025-04-24 10:05:28,483 - INFO - Deleted project: ctest-TestRoutersBasic-78050541, ID : a431d8e7-490d-4685-b858-fc9686a327a5