2025-10-09 20:25:58,156 - INFO - Domain Default found not creating 2025-10-09 20:25:58,558 - INFO - Project ctest-TestRoutersBasic-17185164 not found, creating it 2025-10-09 20:25:59,165 - INFO - Created Project:ctest-TestRoutersBasic-17185164, ID : 848e6d22-715b-4af7-91a4-df32fd9bc7a5 2025-10-09 20:26:01,270 - INFO - ================================================================================ 2025-10-09 20:26:01,270 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-09 20:26:01,270 - 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-09 20:26:01,568 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-10-09 20:26:01,568 - INFO - Initial checks done. Running the testcase now 2025-10-09 20:26:01,568 - INFO - 2025-10-09 20:26:02,509 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-17185164 2025-10-09 20:26:02,612 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-17185164 2025-10-09 20:26:03,004 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17185164', 'default']} 2025-10-09 20:26:03,314 - DEBUG - Response for create_network : {'network': {'id': '529cb204-cd77-4458-b09c-184f424fc239', 'name': 'ctest-vn-58671082', 'tenant_id': '848e6d22715b4af791a4df32fd9bc7a5', 'project_id': '848e6d22715b4af791a4df32fd9bc7a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17185164', 'ctest-vn-58671082'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 20:26:03,549 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab225dc9-513f-436f-9848-d5c00787db24', 'name': '', 'tenant_id': '848e6d22715b4af791a4df32fd9bc7a5', 'network_id': '529cb204-cd77-4458-b09c-184f424fc239', 'ip_version': 4, 'cidr': '109.27.93.64/26', 'allocation_pools': [{'start': '109.27.93.66', 'end': '109.27.93.126'}], 'gateway_ip': '109.27.93.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.27.93.66', 'tags': [], 'project_id': '848e6d22715b4af791a4df32fd9bc7a5'}} 2025-10-09 20:26:03,569 - INFO - Created VN ctest-vn-58671082 2025-10-09 20:26:03,620 - DEBUG - VN ctest-vn-58671082 UUID is 529cb204-cd77-4458-b09c-184f424fc239 2025-10-09 20:26:04,086 - DEBUG - Response for create_network : {'network': {'id': 'cdc6a426-6c99-42fb-b483-97347215077d', 'name': 'ctest-ext_vn-18468638', 'tenant_id': '848e6d22715b4af791a4df32fd9bc7a5', 'project_id': '848e6d22715b4af791a4df32fd9bc7a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17185164', 'ctest-ext_vn-18468638'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 20:26:04,328 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e928c35-20c5-45a9-8272-97c19e2c7848', 'name': '', 'tenant_id': '848e6d22715b4af791a4df32fd9bc7a5', 'network_id': 'cdc6a426-6c99-42fb-b483-97347215077d', 'ip_version': 4, 'cidr': '97.144.118.128/26', 'allocation_pools': [{'start': '97.144.118.130', 'end': '97.144.118.190'}], 'gateway_ip': '97.144.118.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.144.118.130', 'tags': [], 'project_id': '848e6d22715b4af791a4df32fd9bc7a5'}} 2025-10-09 20:26:04,347 - INFO - Created VN ctest-ext_vn-18468638 2025-10-09 20:26:04,400 - DEBUG - VN ctest-ext_vn-18468638 UUID is cdc6a426-6c99-42fb-b483-97347215077d 2025-10-09 20:26:04,653 - DEBUG - Services list from nova: [, , ] 2025-10-09 20:26:06,213 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4276-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4276-1) 2025-10-09 20:26:07,665 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4276-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4276-1) 2025-10-09 20:26:07,742 - INFO - Setting gateway for router 2ce21a40-df59-4496-a4fb-d8a7184bd440 to network cdc6a426-6c99-42fb-b483-97347215077d 2025-10-09 20:26:07,829 - INFO - Adding interface with subnet_id ab225dc9-513f-436f-9848-d5c00787db24, port_id None to router 2ce21a40-df59-4496-a4fb-d8a7184bd440 2025-10-09 20:26:08,172 - INFO - Waiting for VM ctest-TestRoutersBasic-17185164-73393788 to be up.. 2025-10-09 20:26:08,315 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 20:26:13,441 - DEBUG - VM is in ACTIVE state now 2025-10-09 20:26:13,441 - INFO - VM name : ctest-TestRoutersBasic-17185164-73393788 2025-10-09 20:26:13,606 - DEBUG - VM ctest-TestRoutersBasic-17185164-73393788 ID is bb9994c4-2370-4c51-aa08-b35e4f091fde 2025-10-09 20:26:13,649 - DEBUG - VM ctest-TestRoutersBasic-17185164-73393788 launched on Node cn-jenkins-deploy-platform-ansible-os-4276-1 2025-10-09 20:26:13,813 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/bb9994c4-2370-4c51-aa08-b35e4f091fde 2025-10-09 20:26:14,169 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/bb9994c4-2370-4c51-aa08-b35e4f091fde 2025-10-09 20:26:14,219 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/67e1c4e4-aa74-40c7-8432-6d808c5420e1 2025-10-09 20:26:17,559 - 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 1035ms') 2025-10-09 20:26:17,559 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17185164-73393788 failed! 2025-10-09 20:26:17,619 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-17185164:ctest-vn-58671082 is 109.27.93.65 and allocation pool is NOT set 2025-10-09 20:26:19,696 - 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=4.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.90 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 = 1.900/3.419/4.938/1.519 ms') 2025-10-09 20:26:19,696 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17185164-73393788 passed 2025-10-09 20:26:19,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:26:19,881 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17185164-73393788, IP 109.27.93.67, Port 22 2025-10-09 20:26:20,082 - DEBUG - VM ctest-TestRoutersBasic-17185164-73393788 is ready for SSH connections 2025-10-09 20:26:20,082 - INFO - Waiting for VM ctest-TestRoutersBasic-17185164-60425685 to be up.. 2025-10-09 20:26:20,222 - DEBUG - VM is in ACTIVE state now 2025-10-09 20:26:20,222 - INFO - VM name : ctest-TestRoutersBasic-17185164-60425685 2025-10-09 20:26:20,343 - DEBUG - VM ctest-TestRoutersBasic-17185164-60425685 ID is 9b065a00-7254-46c1-8ce6-6ceaeda93ce1 2025-10-09 20:26:20,343 - DEBUG - VM ctest-TestRoutersBasic-17185164-60425685 launched on Node cn-jenkins-deploy-platform-ansible-os-4276-1 2025-10-09 20:26:20,506 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/9b065a00-7254-46c1-8ce6-6ceaeda93ce1 2025-10-09 20:26:20,515 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/2ca464e0-0093-4296-a47e-e8e0314bcd53 2025-10-09 20:26:21,782 - 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=4.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.618 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.618/2.359/4.101/1.741 ms') 2025-10-09 20:26:21,782 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-17185164-60425685 passed 2025-10-09 20:26:21,956 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:26:21,957 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17185164-60425685, IP 97.144.118.131, Port 22 2025-10-09 20:26:22,152 - DEBUG - VM ctest-TestRoutersBasic-17185164-60425685 is ready for SSH connections 2025-10-09 20:26:22,152 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:26:22,152 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 97.144.118.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-09 20:26:22,152 - DEBUG - ping -s 56 -c 3 -W 1 97.144.118.131 2025-10-09 20:26:26,309 - DEBUG - PING 97.144.118.131 (97.144.118.131): 56 data bytes 64 bytes from 97.144.118.131: seq=0 ttl=62 time=10.686 ms 64 bytes from 97.144.118.131: seq=1 ttl=62 time=2.241 ms 64 bytes from 97.144.118.131: seq=2 ttl=62 time=2.132 ms --- 97.144.118.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 2.132/5.019/10.686 ms 2025-10-09 20:26:26,309 - INFO - Ping to IP 97.144.118.131 from VM ctest-TestRoutersBasic-17185164-73393788 passed 2025-10-09 20:26:26,309 - INFO - Deleting interface with subnet_id ab225dc9-513f-436f-9848-d5c00787db24, port_id None from router 2ce21a40-df59-4496-a4fb-d8a7184bd440 2025-10-09 20:26:26,646 - INFO - Deleting VM ctest-TestRoutersBasic-17185164-60425685 2025-10-09 20:26:26,739 - INFO - Deleting VM ctest-TestRoutersBasic-17185164-73393788 2025-10-09 20:26:26,813 - INFO - Deleting VN ctest-ext_vn-18468638 2025-10-09 20:26:26,879 - DEBUG - VN cdc6a426-6c99-42fb-b483-97347215077d still in use: Unable to complete operation on network cdc6a426-6c99-42fb-b483-97347215077d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-11c1a7f3-1d3c-46e5-9ba9-d6822a59eda1'] 2025-10-09 20:26:26,879 - WARNING - Deleting VN ctest-ext_vn-18468638 failed..Will retry 2025-10-09 20:26:29,112 - DEBUG - Response for deleting network () 2025-10-09 20:26:29,113 - INFO - Deleting VN ctest-vn-58671082 2025-10-09 20:26:29,244 - DEBUG - Response for deleting network () 2025-10-09 20:26:29,548 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 20:26:29,548 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-10-09 20:26:29,548 - INFO - -------------------------------------------------------------------------------- 2025-10-09 20:26:30,319 - INFO - Deleted project: ctest-TestRoutersBasic-17185164, ID : 848e6d22-715b-4af7-91a4-df32fd9bc7a5