2025-06-23 21:25:02,258 - INFO - Domain Default found not creating 2025-06-23 21:25:02,377 - INFO - Project ctest-TestRoutersBasic-29261470 not found, creating it 2025-06-23 21:25:02,788 - INFO - Created Project:ctest-TestRoutersBasic-29261470, ID : ed6336f0-09c2-4fb3-99d7-63b29a382552 2025-06-23 21:25:04,071 - INFO - ================================================================================ 2025-06-23 21:25:04,071 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-23 21:25:04,071 - 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-06-23 21:25:04,332 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-06-23 21:25:04,333 - INFO - Initial checks done. Running the testcase now 2025-06-23 21:25:04,333 - INFO - 2025-06-23 21:25:05,014 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-29261470 2025-06-23 21:25:05,112 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-29261470 2025-06-23 21:25:05,428 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29261470', 'default']} 2025-06-23 21:25:05,690 - DEBUG - Response for create_network : {'network': {'id': '6aebc22e-3e09-479e-8515-a12250b0a6bd', 'name': 'ctest-vn-15654376', 'tenant_id': 'ed6336f009c24fb399d763b29a382552', 'project_id': 'ed6336f009c24fb399d763b29a382552', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29261470', 'ctest-vn-15654376'], 'port_security_enabled': True, 'description': ''}} 2025-06-23 21:25:05,897 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7e3696c-d456-4abc-bbf2-cd8f9148da96', 'name': '', 'tenant_id': 'ed6336f009c24fb399d763b29a382552', 'network_id': '6aebc22e-3e09-479e-8515-a12250b0a6bd', 'ip_version': 4, 'cidr': '194.103.202.0/26', 'allocation_pools': [{'start': '194.103.202.2', 'end': '194.103.202.62'}], 'gateway_ip': '194.103.202.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.103.202.2', 'tags': [], 'project_id': 'ed6336f009c24fb399d763b29a382552'}} 2025-06-23 21:25:05,912 - INFO - Created VN ctest-vn-15654376 2025-06-23 21:25:05,964 - DEBUG - VN ctest-vn-15654376 UUID is 6aebc22e-3e09-479e-8515-a12250b0a6bd 2025-06-23 21:25:06,299 - DEBUG - Response for create_network : {'network': {'id': '3b83838e-3f34-444b-87d8-6a5f4b43d75b', 'name': 'ctest-ext_vn-63424290', 'tenant_id': 'ed6336f009c24fb399d763b29a382552', 'project_id': 'ed6336f009c24fb399d763b29a382552', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29261470', 'ctest-ext_vn-63424290'], 'port_security_enabled': True, 'description': ''}} 2025-06-23 21:25:06,455 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f07eda54-c7af-4197-bb71-aa7f50036c97', 'name': '', 'tenant_id': 'ed6336f009c24fb399d763b29a382552', 'network_id': '3b83838e-3f34-444b-87d8-6a5f4b43d75b', 'ip_version': 4, 'cidr': '102.52.159.0/26', 'allocation_pools': [{'start': '102.52.159.2', 'end': '102.52.159.62'}], 'gateway_ip': '102.52.159.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.52.159.2', 'tags': [], 'project_id': 'ed6336f009c24fb399d763b29a382552'}} 2025-06-23 21:25:06,471 - INFO - Created VN ctest-ext_vn-63424290 2025-06-23 21:25:06,524 - DEBUG - VN ctest-ext_vn-63424290 UUID is 3b83838e-3f34-444b-87d8-6a5f4b43d75b 2025-06-23 21:25:06,707 - DEBUG - Services list from nova: [, , ] 2025-06-23 21:25:07,625 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3525-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3525-1) 2025-06-23 21:25:08,650 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3525-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3525-1) 2025-06-23 21:25:08,720 - INFO - Setting gateway for router d9c0e5de-d6e0-4cb5-847e-5df21da117c7 to network 3b83838e-3f34-444b-87d8-6a5f4b43d75b 2025-06-23 21:25:08,789 - INFO - Adding interface with subnet_id c7e3696c-d456-4abc-bbf2-cd8f9148da96, port_id None to router d9c0e5de-d6e0-4cb5-847e-5df21da117c7 2025-06-23 21:25:09,174 - INFO - Waiting for VM ctest-TestRoutersBasic-29261470-53760441 to be up.. 2025-06-23 21:25:09,361 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-23 21:25:14,429 - DEBUG - VM is in ACTIVE state now 2025-06-23 21:25:14,429 - INFO - VM name : ctest-TestRoutersBasic-29261470-53760441 2025-06-23 21:25:14,497 - DEBUG - VM ctest-TestRoutersBasic-29261470-53760441 ID is bf22616d-7278-4c9e-a566-519cad105cae 2025-06-23 21:25:14,515 - DEBUG - VM ctest-TestRoutersBasic-29261470-53760441 launched on Node cn-jenkins-deploy-platform-ansible-os-3525-1 2025-06-23 21:25:14,598 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bf22616d-7278-4c9e-a566-519cad105cae 2025-06-23 21:25:14,891 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bf22616d-7278-4c9e-a566-519cad105cae 2025-06-23 21:25:14,921 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4e943f07-79ef-4a9d-8983-d549ecc20232 2025-06-23 21:25:18,183 - 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=9.35 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1028ms\r\nrtt min/avg/max/mdev = 9.345/9.345/9.345/0.000 ms') 2025-06-23 21:25:18,183 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29261470-53760441 passed 2025-06-23 21:25:18,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 21:25:18,332 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29261470-53760441, IP 194.103.202.3, Port 22 2025-06-23 21:25:18,488 - DEBUG - VM ctest-TestRoutersBasic-29261470-53760441 is ready for SSH connections 2025-06-23 21:25:18,488 - INFO - Waiting for VM ctest-TestRoutersBasic-29261470-02084858 to be up.. 2025-06-23 21:25:18,558 - DEBUG - VM is in ACTIVE state now 2025-06-23 21:25:18,558 - INFO - VM name : ctest-TestRoutersBasic-29261470-02084858 2025-06-23 21:25:18,620 - DEBUG - VM ctest-TestRoutersBasic-29261470-02084858 ID is 9d86e93c-d47e-4d65-9eff-de7e1e509e9d 2025-06-23 21:25:18,620 - DEBUG - VM ctest-TestRoutersBasic-29261470-02084858 launched on Node cn-jenkins-deploy-platform-ansible-os-3525-1 2025-06-23 21:25:18,679 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9d86e93c-d47e-4d65-9eff-de7e1e509e9d 2025-06-23 21:25:18,687 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fbfd1edc-0a14-4385-a51b-856168816174 2025-06-23 21:25:19,922 - 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.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.842 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.842/2.146/3.451/1.304 ms') 2025-06-23 21:25:19,922 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-29261470-02084858 passed 2025-06-23 21:25:20,068 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 21:25:20,068 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29261470-02084858, IP 102.52.159.3, Port 22 2025-06-23 21:25:20,220 - DEBUG - VM ctest-TestRoutersBasic-29261470-02084858 is ready for SSH connections 2025-06-23 21:25:20,220 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 21:25:20,220 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.52.159.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-06-23 21:25:20,220 - DEBUG - ping -s 56 -c 3 -W 1 102.52.159.3 2025-06-23 21:25:23,878 - DEBUG - PING 102.52.159.3 (102.52.159.3): 56 data bytes 64 bytes from 102.52.159.3: seq=0 ttl=62 time=4.510 ms 64 bytes from 102.52.159.3: seq=1 ttl=62 time=0.717 ms 64 bytes from 102.52.159.3: seq=2 ttl=62 time=0.769 ms --- 102.52.159.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.717/1.998/4.510 ms 2025-06-23 21:25:23,878 - INFO - Ping to IP 102.52.159.3 from VM ctest-TestRoutersBasic-29261470-53760441 passed 2025-06-23 21:25:23,878 - INFO - Deleting interface with subnet_id c7e3696c-d456-4abc-bbf2-cd8f9148da96, port_id None from router d9c0e5de-d6e0-4cb5-847e-5df21da117c7 2025-06-23 21:25:24,042 - INFO - Deleting VM ctest-TestRoutersBasic-29261470-02084858 2025-06-23 21:25:24,097 - INFO - Deleting VM ctest-TestRoutersBasic-29261470-53760441 2025-06-23 21:25:24,156 - INFO - Deleting VN ctest-ext_vn-63424290 2025-06-23 21:25:24,226 - DEBUG - VN 3b83838e-3f34-444b-87d8-6a5f4b43d75b still in use: Unable to complete operation on network 3b83838e-3f34-444b-87d8-6a5f4b43d75b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f84097cd-a72e-413c-bbbb-ad192696bfca'] 2025-06-23 21:25:24,227 - WARNING - Deleting VN ctest-ext_vn-63424290 failed..Will retry 2025-06-23 21:25:26,323 - DEBUG - Response for deleting network () 2025-06-23 21:25:26,323 - INFO - Deleting VN ctest-vn-15654376 2025-06-23 21:25:26,406 - DEBUG - Response for deleting network () 2025-06-23 21:25:26,662 - DEBUG - No XMPP flaps were noticed during the test
2025-06-23 21:25:26,662 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:22]
2025-06-23 21:25:26,662 - INFO - -------------------------------------------------------------------------------- 2025-06-23 21:25:27,322 - INFO - Deleted project: ctest-TestRoutersBasic-29261470, ID : ed6336f0-09c2-4fb3-99d7-63b29a382552