2025-10-24 10:45:59,760 - INFO - Domain Default found not creating 2025-10-24 10:45:59,911 - INFO - Project ctest-TestRoutersBasic-37500171 not found, creating it 2025-10-24 10:46:00,459 - INFO - Created Project:ctest-TestRoutersBasic-37500171, ID : d3e90928-e8fa-4de9-ab23-8057235228be 2025-10-24 10:46:02,195 - INFO - ================================================================================ 2025-10-24 10:46:02,195 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-24 10:46:02,195 - 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-10-24 10:46:02,462 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-24 10:46:02,462 - INFO - Initial checks done. Running the testcase now 2025-10-24 10:46:02,462 - INFO - 2025-10-24 10:46:03,249 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-37500171 2025-10-24 10:46:03,344 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-37500171 2025-10-24 10:46:03,663 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37500171', 'default']} 2025-10-24 10:46:03,972 - DEBUG - Response for create_network : {'network': {'id': 'e2c0b173-1a23-4af3-95ec-a182ebfbf6ea', 'name': 'ctest-vn-74821392', 'tenant_id': 'd3e90928e8fa4de9ab238057235228be', 'project_id': 'd3e90928e8fa4de9ab238057235228be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37500171', 'ctest-vn-74821392'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 10:46:04,203 - DEBUG - Response for create_subnet : {'subnet': {'id': '81e19d2c-ced3-478e-841c-93c782659db1', 'name': '', 'tenant_id': 'd3e90928e8fa4de9ab238057235228be', 'network_id': 'e2c0b173-1a23-4af3-95ec-a182ebfbf6ea', 'ip_version': 4, 'cidr': '187.255.209.0/26', 'allocation_pools': [{'start': '187.255.209.2', 'end': '187.255.209.62'}], 'gateway_ip': '187.255.209.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.255.209.2', 'tags': [], 'project_id': 'd3e90928e8fa4de9ab238057235228be'}} 2025-10-24 10:46:04,224 - INFO - Created VN ctest-vn-74821392 2025-10-24 10:46:04,275 - DEBUG - VN ctest-vn-74821392 UUID is e2c0b173-1a23-4af3-95ec-a182ebfbf6ea 2025-10-24 10:46:04,631 - DEBUG - Response for create_network : {'network': {'id': 'e220c9f3-c0ef-41a6-a878-d2905efea7d0', 'name': 'ctest-ext_vn-36496752', 'tenant_id': 'd3e90928e8fa4de9ab238057235228be', 'project_id': 'd3e90928e8fa4de9ab238057235228be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37500171', 'ctest-ext_vn-36496752'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 10:46:04,828 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b63afac-8f11-4876-9e6e-d1148b2670ad', 'name': '', 'tenant_id': 'd3e90928e8fa4de9ab238057235228be', 'network_id': 'e220c9f3-c0ef-41a6-a878-d2905efea7d0', 'ip_version': 4, 'cidr': '35.121.97.0/26', 'allocation_pools': [{'start': '35.121.97.2', 'end': '35.121.97.62'}], 'gateway_ip': '35.121.97.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.121.97.2', 'tags': [], 'project_id': 'd3e90928e8fa4de9ab238057235228be'}} 2025-10-24 10:46:04,847 - INFO - Created VN ctest-ext_vn-36496752 2025-10-24 10:46:04,899 - DEBUG - VN ctest-ext_vn-36496752 UUID is e220c9f3-c0ef-41a6-a878-d2905efea7d0 2025-10-24 10:46:05,087 - DEBUG - Services list from nova: [, , ] 2025-10-24 10:46:06,245 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4475-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4475-1) 2025-10-24 10:46:07,484 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4475-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4475-1) 2025-10-24 10:46:07,561 - INFO - Setting gateway for router 3d27fe97-82aa-4f43-bdb3-ba2bada6ae7a to network e220c9f3-c0ef-41a6-a878-d2905efea7d0 2025-10-24 10:46:07,650 - INFO - Adding interface with subnet_id 81e19d2c-ced3-478e-841c-93c782659db1, port_id None to router 3d27fe97-82aa-4f43-bdb3-ba2bada6ae7a 2025-10-24 10:46:07,970 - INFO - Waiting for VM ctest-TestRoutersBasic-37500171-58752362 to be up.. 2025-10-24 10:46:08,131 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-24 10:46:13,210 - DEBUG - VM is in ACTIVE state now 2025-10-24 10:46:13,210 - INFO - VM name : ctest-TestRoutersBasic-37500171-58752362 2025-10-24 10:46:13,292 - DEBUG - VM ctest-TestRoutersBasic-37500171-58752362 ID is 71ed1aeb-27ab-4224-bb93-f939e8a6eea6 2025-10-24 10:46:13,314 - DEBUG - VM ctest-TestRoutersBasic-37500171-58752362 launched on Node cn-jenkins-deploy-platform-ansible-os-4475-1 2025-10-24 10:46:13,392 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/71ed1aeb-27ab-4224-bb93-f939e8a6eea6 2025-10-24 10:46:13,737 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/71ed1aeb-27ab-4224-bb93-f939e8a6eea6 2025-10-24 10:46:13,772 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/50ffb169-61f6-42ec-a1e0-26eef01b5381 2025-10-24 10:46:17,012 - 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-10-24 10:46:17,012 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37500171-58752362 failed! 2025-10-24 10:46:17,067 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-37500171:ctest-vn-74821392 is 187.255.209.1 and allocation pool is NOT set 2025-10-24 10:46:19,127 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.42 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 = 2.415/2.969/3.524/0.554 ms') 2025-10-24 10:46:19,127 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37500171-58752362 passed 2025-10-24 10:46:19,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 10:46:19,280 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37500171-58752362, IP 187.255.209.3, Port 22 2025-10-24 10:46:19,446 - DEBUG - VM ctest-TestRoutersBasic-37500171-58752362 is ready for SSH connections 2025-10-24 10:46:19,446 - INFO - Waiting for VM ctest-TestRoutersBasic-37500171-44340615 to be up.. 2025-10-24 10:46:19,532 - DEBUG - VM is in ACTIVE state now 2025-10-24 10:46:19,532 - INFO - VM name : ctest-TestRoutersBasic-37500171-44340615 2025-10-24 10:46:19,610 - DEBUG - VM ctest-TestRoutersBasic-37500171-44340615 ID is 461256b0-2899-47a0-bbc1-9eedd72ac56b 2025-10-24 10:46:19,610 - DEBUG - VM ctest-TestRoutersBasic-37500171-44340615 launched on Node cn-jenkins-deploy-platform-ansible-os-4475-1 2025-10-24 10:46:19,712 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/461256b0-2899-47a0-bbc1-9eedd72ac56b 2025-10-24 10:46:19,720 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7c7f94f6-78a0-4c75-8092-3e8f190d0ca6 2025-10-24 10:46:20,969 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.26 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 = 3.257/3.425/3.593/0.168 ms') 2025-10-24 10:46:20,969 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-37500171-44340615 passed 2025-10-24 10:46:21,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 10:46:21,124 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37500171-44340615, IP 35.121.97.3, Port 22 2025-10-24 10:46:21,279 - DEBUG - VM ctest-TestRoutersBasic-37500171-44340615 is ready for SSH connections 2025-10-24 10:46:21,279 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 10:46:21,279 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.121.97.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-24 10:46:21,280 - DEBUG - ping -s 56 -c 3 -W 1 35.121.97.3 2025-10-24 10:46:25,053 - DEBUG - PING 35.121.97.3 (35.121.97.3): 56 data bytes 64 bytes from 35.121.97.3: seq=0 ttl=62 time=5.793 ms 64 bytes from 35.121.97.3: seq=1 ttl=62 time=1.065 ms 64 bytes from 35.121.97.3: seq=2 ttl=62 time=0.904 ms --- 35.121.97.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.904/2.587/5.793 ms 2025-10-24 10:46:25,053 - INFO - Ping to IP 35.121.97.3 from VM ctest-TestRoutersBasic-37500171-58752362 passed 2025-10-24 10:46:25,053 - INFO - Deleting interface with subnet_id 81e19d2c-ced3-478e-841c-93c782659db1, port_id None from router 3d27fe97-82aa-4f43-bdb3-ba2bada6ae7a 2025-10-24 10:46:25,246 - INFO - Deleting VM ctest-TestRoutersBasic-37500171-44340615 2025-10-24 10:46:25,320 - INFO - Deleting VM ctest-TestRoutersBasic-37500171-58752362 2025-10-24 10:46:25,413 - INFO - Deleting VN ctest-ext_vn-36496752 2025-10-24 10:46:25,491 - DEBUG - VN e220c9f3-c0ef-41a6-a878-d2905efea7d0 still in use: Unable to complete operation on network e220c9f3-c0ef-41a6-a878-d2905efea7d0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-89ebcdf3-fb4f-44b3-86a6-84c755fbce80'] 2025-10-24 10:46:25,492 - WARNING - Deleting VN ctest-ext_vn-36496752 failed..Will retry 2025-10-24 10:46:27,600 - DEBUG - Response for deleting network () 2025-10-24 10:46:27,600 - INFO - Deleting VN ctest-vn-74821392 2025-10-24 10:46:27,711 - DEBUG - Response for deleting network () 2025-10-24 10:46:27,969 - DEBUG - No XMPP flaps were noticed during the test 2025-10-24 10:46:27,969 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-24 10:46:27,969 - INFO - -------------------------------------------------------------------------------- 2025-10-24 10:46:28,701 - INFO - Deleted project: ctest-TestRoutersBasic-37500171, ID : d3e90928-e8fa-4de9-ab23-8057235228be