2025-05-12 02:23:48,510 - INFO - Domain Default found not creating 2025-05-12 02:23:48,652 - INFO - Project ctest-TestRoutersBasic-94548436 not found, creating it 2025-05-12 02:23:49,099 - INFO - Created Project:ctest-TestRoutersBasic-94548436, ID : c604e532-9c5b-4fc1-9f7f-60305afe72df 2025-05-12 02:23:50,479 - INFO - ================================================================================ 2025-05-12 02:23:50,480 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-12 02:23:50,480 - 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-05-12 02:23:50,733 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with 2025-05-12 02:23:50,733 - INFO - Initial checks done. Running the testcase now 2025-05-12 02:23:50,733 - INFO - 2025-05-12 02:23:51,427 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-94548436 2025-05-12 02:23:51,535 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-94548436 2025-05-12 02:23:51,871 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94548436', 'default']} 2025-05-12 02:23:52,166 - DEBUG - Response for create_network : {'network': {'id': '12b02390-92d8-473c-82a7-47e8a544f6b6', 'name': 'ctest-vn-31654671', 'tenant_id': 'c604e5329c5b4fc19f7f60305afe72df', 'project_id': 'c604e5329c5b4fc19f7f60305afe72df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94548436', 'ctest-vn-31654671'], 'port_security_enabled': True, 'description': ''}} 2025-05-12 02:23:52,314 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f95ddd4b-229b-4bd1-a39d-815c10a70277', 'name': '', 'tenant_id': 'c604e5329c5b4fc19f7f60305afe72df', 'network_id': '12b02390-92d8-473c-82a7-47e8a544f6b6', 'ip_version': 4, 'cidr': '88.196.3.192/26', 'allocation_pools': [{'start': '88.196.3.194', 'end': '88.196.3.254'}], 'gateway_ip': '88.196.3.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.196.3.194', 'tags': [], 'project_id': 'c604e5329c5b4fc19f7f60305afe72df'}} 2025-05-12 02:23:52,332 - INFO - Created VN ctest-vn-31654671 2025-05-12 02:23:52,387 - DEBUG - VN ctest-vn-31654671 UUID is 12b02390-92d8-473c-82a7-47e8a544f6b6 2025-05-12 02:23:52,767 - DEBUG - Response for create_network : {'network': {'id': '2f964537-7705-4476-bc82-995c7c262a05', 'name': 'ctest-ext_vn-93428476', 'tenant_id': 'c604e5329c5b4fc19f7f60305afe72df', 'project_id': 'c604e5329c5b4fc19f7f60305afe72df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94548436', 'ctest-ext_vn-93428476'], 'port_security_enabled': True, 'description': ''}} 2025-05-12 02:23:52,952 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c62ba6ed-17b4-470a-aa1f-75c9b4a4c592', 'name': '', 'tenant_id': 'c604e5329c5b4fc19f7f60305afe72df', 'network_id': '2f964537-7705-4476-bc82-995c7c262a05', 'ip_version': 4, 'cidr': '128.102.43.64/26', 'allocation_pools': [{'start': '128.102.43.66', 'end': '128.102.43.126'}], 'gateway_ip': '128.102.43.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.102.43.66', 'tags': [], 'project_id': 'c604e5329c5b4fc19f7f60305afe72df'}} 2025-05-12 02:23:52,970 - INFO - Created VN ctest-ext_vn-93428476 2025-05-12 02:23:53,023 - DEBUG - VN ctest-ext_vn-93428476 UUID is 2f964537-7705-4476-bc82-995c7c262a05 2025-05-12 02:23:53,231 - DEBUG - Services list from nova: [, , ] 2025-05-12 02:23:54,203 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3297-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3297-1) 2025-05-12 02:23:55,328 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3297-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3297-1) 2025-05-12 02:23:55,410 - INFO - Setting gateway for router 9c56a559-998b-4a0c-851d-47271168d7d5 to network 2f964537-7705-4476-bc82-995c7c262a05 2025-05-12 02:23:55,467 - INFO - Adding interface with subnet_id f95ddd4b-229b-4bd1-a39d-815c10a70277, port_id None to router 9c56a559-998b-4a0c-851d-47271168d7d5 2025-05-12 02:23:55,857 - INFO - Waiting for VM ctest-TestRoutersBasic-94548436-43309187 to be up.. 2025-05-12 02:23:56,086 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-12 02:24:01,183 - DEBUG - VM is in ACTIVE state now 2025-05-12 02:24:01,183 - INFO - VM name : ctest-TestRoutersBasic-94548436-43309187 2025-05-12 02:24:01,259 - DEBUG - VM ctest-TestRoutersBasic-94548436-43309187 ID is dbd37bc4-5cee-473e-97c9-1c9860fc91c0 2025-05-12 02:24:01,277 - DEBUG - VM ctest-TestRoutersBasic-94548436-43309187 launched on Node cn-jenkins-deploy-platform-ansible-os-3297-1 2025-05-12 02:24:01,350 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/dbd37bc4-5cee-473e-97c9-1c9860fc91c0 2025-05-12 02:24:01,645 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/dbd37bc4-5cee-473e-97c9-1c9860fc91c0 2025-05-12 02:24:01,676 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/d3a0ad77-c56c-48be-9034-f8a0490cc2f2 2025-05-12 02:24:04,922 - 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 1003ms') 2025-05-12 02:24:04,922 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-94548436-43309187 failed! 2025-05-12 02:24:04,975 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-94548436:ctest-vn-31654671 is 88.196.3.193 and allocation pool is NOT set 2025-05-12 02:24:07,035 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.399 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.399/1.665/2.932/1.266 ms') 2025-05-12 02:24:07,035 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-94548436-43309187 passed 2025-05-12 02:24:07,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-12 02:24:07,187 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94548436-43309187, IP 88.196.3.195, Port 22 2025-05-12 02:24:07,342 - DEBUG - VM ctest-TestRoutersBasic-94548436-43309187 is ready for SSH connections 2025-05-12 02:24:07,342 - INFO - Waiting for VM ctest-TestRoutersBasic-94548436-33057804 to be up.. 2025-05-12 02:24:07,425 - DEBUG - VM is in ACTIVE state now 2025-05-12 02:24:07,426 - INFO - VM name : ctest-TestRoutersBasic-94548436-33057804 2025-05-12 02:24:07,499 - DEBUG - VM ctest-TestRoutersBasic-94548436-33057804 ID is 2a37138d-40ec-4eda-b9a7-339b2142b65f 2025-05-12 02:24:07,499 - DEBUG - VM ctest-TestRoutersBasic-94548436-33057804 launched on Node cn-jenkins-deploy-platform-ansible-os-3297-1 2025-05-12 02:24:07,571 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/2a37138d-40ec-4eda-b9a7-339b2142b65f 2025-05-12 02:24:07,580 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/2872aed6-9d95-47b4-8b3e-5e249973d5c2 2025-05-12 02:24:08,827 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.381 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.381/1.593/2.805/1.212 ms') 2025-05-12 02:24:08,827 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-94548436-33057804 passed 2025-05-12 02:24:08,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-12 02:24:08,975 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94548436-33057804, IP 128.102.43.67, Port 22 2025-05-12 02:24:09,134 - DEBUG - VM ctest-TestRoutersBasic-94548436-33057804 is ready for SSH connections 2025-05-12 02:24:09,134 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-12 02:24:09,134 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.102.43.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-05-12 02:24:09,134 - DEBUG - ping -s 56 -c 3 -W 1 128.102.43.67 2025-05-12 02:24:13,157 - DEBUG - PING 128.102.43.67 (128.102.43.67): 56 data bytes 64 bytes from 128.102.43.67: seq=0 ttl=62 time=4.404 ms 64 bytes from 128.102.43.67: seq=1 ttl=62 time=0.834 ms 64 bytes from 128.102.43.67: seq=2 ttl=62 time=0.816 ms --- 128.102.43.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.816/2.018/4.404 ms 2025-05-12 02:24:13,157 - INFO - Ping to IP 128.102.43.67 from VM ctest-TestRoutersBasic-94548436-43309187 passed 2025-05-12 02:24:13,157 - INFO - Deleting interface with subnet_id f95ddd4b-229b-4bd1-a39d-815c10a70277, port_id None from router 9c56a559-998b-4a0c-851d-47271168d7d5 2025-05-12 02:24:13,354 - INFO - Deleting VM ctest-TestRoutersBasic-94548436-33057804 2025-05-12 02:24:13,423 - INFO - Deleting VM ctest-TestRoutersBasic-94548436-43309187 2025-05-12 02:24:13,506 - INFO - Deleting VN ctest-ext_vn-93428476 2025-05-12 02:24:13,563 - DEBUG - VN 2f964537-7705-4476-bc82-995c7c262a05 still in use: Unable to complete operation on network 2f964537-7705-4476-bc82-995c7c262a05. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b9626fd4-8731-42ad-8a48-b9650067b919'] 2025-05-12 02:24:13,563 - WARNING - Deleting VN ctest-ext_vn-93428476 failed..Will retry 2025-05-12 02:24:15,667 - DEBUG - Response for deleting network () 2025-05-12 02:24:15,668 - INFO - Deleting VN ctest-vn-31654671 2025-05-12 02:24:15,766 - DEBUG - Response for deleting network () 2025-05-12 02:24:16,024 - DEBUG - No XMPP flaps were noticed during the test
2025-05-12 02:24:16,024 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-05-12 02:24:16,024 - INFO - -------------------------------------------------------------------------------- 2025-05-12 02:24:16,685 - INFO - Deleted project: ctest-TestRoutersBasic-94548436, ID : c604e532-9c5b-4fc1-9f7f-60305afe72df