2025-09-29 01:50:47,700 - INFO - Domain Default found not creating 2025-09-29 01:50:47,839 - INFO - Project ctest-TestRoutersBasic-74060319 not found, creating it 2025-09-29 01:50:48,285 - INFO - Created Project:ctest-TestRoutersBasic-74060319, ID : ded60ac2-8b63-4b86-abdf-a6b16c45b2ce 2025-09-29 01:50:49,681 - INFO - ================================================================================ 2025-09-29 01:50:49,681 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-29 01:50:49,681 - 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-09-29 01:50:49,940 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.18': '0'}} with 2025-09-29 01:50:49,940 - INFO - Initial checks done. Running the testcase now 2025-09-29 01:50:49,941 - INFO - 2025-09-29 01:50:50,634 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-74060319 2025-09-29 01:50:50,731 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-74060319 2025-09-29 01:50:51,063 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74060319', 'default']} 2025-09-29 01:50:51,345 - DEBUG - Response for create_network : {'network': {'id': '19b86df2-f895-4f02-859b-cc49c8d30d23', 'name': 'ctest-vn-18063827', 'tenant_id': 'ded60ac28b634b86abdfa6b16c45b2ce', 'project_id': 'ded60ac28b634b86abdfa6b16c45b2ce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74060319', 'ctest-vn-18063827'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 01:50:51,558 - DEBUG - Response for create_subnet : {'subnet': {'id': '980d3c1c-6d84-4b77-9a12-463eb655deab', 'name': '', 'tenant_id': 'ded60ac28b634b86abdfa6b16c45b2ce', 'network_id': '19b86df2-f895-4f02-859b-cc49c8d30d23', 'ip_version': 4, 'cidr': '193.92.65.128/26', 'allocation_pools': [{'start': '193.92.65.130', 'end': '193.92.65.190'}], 'gateway_ip': '193.92.65.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.92.65.130', 'tags': [], 'project_id': 'ded60ac28b634b86abdfa6b16c45b2ce'}} 2025-09-29 01:50:51,574 - INFO - Created VN ctest-vn-18063827 2025-09-29 01:50:51,627 - DEBUG - VN ctest-vn-18063827 UUID is 19b86df2-f895-4f02-859b-cc49c8d30d23 2025-09-29 01:50:51,920 - DEBUG - Response for create_network : {'network': {'id': '79d9fefd-3e60-41e1-86e7-5b5cf4254c15', 'name': 'ctest-ext_vn-34201308', 'tenant_id': 'ded60ac28b634b86abdfa6b16c45b2ce', 'project_id': 'ded60ac28b634b86abdfa6b16c45b2ce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74060319', 'ctest-ext_vn-34201308'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 01:50:52,077 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fccceb5e-2878-4ce5-8d3e-55f7e7553d1d', 'name': '', 'tenant_id': 'ded60ac28b634b86abdfa6b16c45b2ce', 'network_id': '79d9fefd-3e60-41e1-86e7-5b5cf4254c15', 'ip_version': 4, 'cidr': '63.9.206.0/26', 'allocation_pools': [{'start': '63.9.206.2', 'end': '63.9.206.62'}], 'gateway_ip': '63.9.206.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.9.206.2', 'tags': [], 'project_id': 'ded60ac28b634b86abdfa6b16c45b2ce'}} 2025-09-29 01:50:52,093 - INFO - Created VN ctest-ext_vn-34201308 2025-09-29 01:50:52,143 - DEBUG - VN ctest-ext_vn-34201308 UUID is 79d9fefd-3e60-41e1-86e7-5b5cf4254c15 2025-09-29 01:50:52,338 - DEBUG - Services list from nova: [, , ] 2025-09-29 01:50:53,321 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4200-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4200-1) 2025-09-29 01:50:54,428 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4200-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4200-1) 2025-09-29 01:50:54,508 - INFO - Setting gateway for router 8ed81802-a2e2-41b8-b3eb-eec8cd2360fc to network 79d9fefd-3e60-41e1-86e7-5b5cf4254c15 2025-09-29 01:50:54,588 - INFO - Adding interface with subnet_id 980d3c1c-6d84-4b77-9a12-463eb655deab, port_id None to router 8ed81802-a2e2-41b8-b3eb-eec8cd2360fc 2025-09-29 01:50:54,888 - INFO - Waiting for VM ctest-TestRoutersBasic-74060319-57388533 to be up.. 2025-09-29 01:50:55,008 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-29 01:51:00,079 - DEBUG - VM is in ACTIVE state now 2025-09-29 01:51:00,079 - INFO - VM name : ctest-TestRoutersBasic-74060319-57388533 2025-09-29 01:51:00,150 - DEBUG - VM ctest-TestRoutersBasic-74060319-57388533 ID is bc3d7543-56cb-4f93-bd09-e6249e169303 2025-09-29 01:51:00,170 - DEBUG - VM ctest-TestRoutersBasic-74060319-57388533 launched on Node cn-jenkins-deploy-platform-ansible-os-4200-1 2025-09-29 01:51:00,253 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/bc3d7543-56cb-4f93-bd09-e6249e169303 2025-09-29 01:51:00,552 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/bc3d7543-56cb-4f93-bd09-e6249e169303 2025-09-29 01:51:00,582 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/14a27d75-c518-4c16-b34d-a2f5c47cca6a 2025-09-29 01:51:03,841 - 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 1027ms') 2025-09-29 01:51:03,841 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74060319-57388533 failed! 2025-09-29 01:51:03,895 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-74060319:ctest-vn-18063827 is 193.92.65.129 and allocation pool is NOT set 2025-09-29 01:51:05,951 - 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.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.562 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.562/1.902/3.242/1.340 ms') 2025-09-29 01:51:05,951 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74060319-57388533 passed 2025-09-29 01:51:06,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 01:51:06,103 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74060319-57388533, IP 193.92.65.131, Port 22 2025-09-29 01:51:06,262 - DEBUG - VM ctest-TestRoutersBasic-74060319-57388533 is ready for SSH connections 2025-09-29 01:51:06,262 - INFO - Waiting for VM ctest-TestRoutersBasic-74060319-42068537 to be up.. 2025-09-29 01:51:06,340 - DEBUG - VM is in ACTIVE state now 2025-09-29 01:51:06,340 - INFO - VM name : ctest-TestRoutersBasic-74060319-42068537 2025-09-29 01:51:06,412 - DEBUG - VM ctest-TestRoutersBasic-74060319-42068537 ID is 04521eaf-faa4-4501-aa40-3efe053bd567 2025-09-29 01:51:06,413 - DEBUG - VM ctest-TestRoutersBasic-74060319-42068537 launched on Node cn-jenkins-deploy-platform-ansible-os-4200-1 2025-09-29 01:51:06,483 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/04521eaf-faa4-4501-aa40-3efe053bd567 2025-09-29 01:51:06,491 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/e9c7bc4e-1021-4747-afc4-d1ed3b971f5b 2025-09-29 01:51:07,716 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.401 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.401/1.580/2.760/1.179 ms') 2025-09-29 01:51:07,716 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-74060319-42068537 passed 2025-09-29 01:51:07,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 01:51:07,863 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74060319-42068537, IP 63.9.206.3, Port 22 2025-09-29 01:51:08,029 - DEBUG - VM ctest-TestRoutersBasic-74060319-42068537 is ready for SSH connections 2025-09-29 01:51:08,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 01:51:08,029 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.9.206.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-09-29 01:51:08,029 - DEBUG - ping -s 56 -c 3 -W 1 63.9.206.3 2025-09-29 01:51:11,721 - DEBUG - PING 63.9.206.3 (63.9.206.3): 56 data bytes 64 bytes from 63.9.206.3: seq=0 ttl=62 time=5.093 ms 64 bytes from 63.9.206.3: seq=1 ttl=62 time=1.075 ms 64 bytes from 63.9.206.3: seq=2 ttl=62 time=1.212 ms --- 63.9.206.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.075/2.460/5.093 ms 2025-09-29 01:51:11,721 - INFO - Ping to IP 63.9.206.3 from VM ctest-TestRoutersBasic-74060319-57388533 passed 2025-09-29 01:51:11,722 - INFO - Deleting interface with subnet_id 980d3c1c-6d84-4b77-9a12-463eb655deab, port_id None from router 8ed81802-a2e2-41b8-b3eb-eec8cd2360fc 2025-09-29 01:51:11,968 - INFO - Deleting VM ctest-TestRoutersBasic-74060319-42068537 2025-09-29 01:51:12,029 - INFO - Deleting VM ctest-TestRoutersBasic-74060319-57388533 2025-09-29 01:51:12,103 - INFO - Deleting VN ctest-ext_vn-34201308 2025-09-29 01:51:12,163 - DEBUG - VN 79d9fefd-3e60-41e1-86e7-5b5cf4254c15 still in use: Unable to complete operation on network 79d9fefd-3e60-41e1-86e7-5b5cf4254c15. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f0a6cf32-07dd-480c-a330-7b9e05c67e45'] 2025-09-29 01:51:12,163 - WARNING - Deleting VN ctest-ext_vn-34201308 failed..Will retry 2025-09-29 01:51:14,261 - DEBUG - Response for deleting network () 2025-09-29 01:51:14,261 - INFO - Deleting VN ctest-vn-18063827 2025-09-29 01:51:14,366 - DEBUG - Response for deleting network () 2025-09-29 01:51:14,624 - DEBUG - No XMPP flaps were noticed during the test
2025-09-29 01:51:14,624 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-29 01:51:14,624 - INFO - -------------------------------------------------------------------------------- 2025-09-29 01:51:15,295 - INFO - Deleted project: ctest-TestRoutersBasic-74060319, ID : ded60ac2-8b63-4b86-abdf-a6b16c45b2ce