2025-10-06 12:08:47,507 - INFO - Domain Default found not creating 2025-10-06 12:08:47,651 - INFO - Project ctest-TestRoutersBasic-79847777 not found, creating it 2025-10-06 12:08:48,171 - INFO - Created Project:ctest-TestRoutersBasic-79847777, ID : a518af72-b7e8-4b5c-bf9f-e93b159a25b8 2025-10-06 12:08:49,526 - INFO - ================================================================================ 2025-10-06 12:08:49,526 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-06 12:08:49,526 - 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-06 12:08:49,778 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-10-06 12:08:49,778 - INFO - Initial checks done. Running the testcase now 2025-10-06 12:08:49,778 - INFO - 2025-10-06 12:08:50,457 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-79847777 2025-10-06 12:08:50,550 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-79847777 2025-10-06 12:08:50,870 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79847777', 'default']} 2025-10-06 12:08:51,133 - DEBUG - Response for create_network : {'network': {'id': 'c97f8494-1050-485a-a209-c88be4e2bde4', 'name': 'ctest-vn-63116999', 'tenant_id': 'a518af72b7e84b5cbf9fe93b159a25b8', 'project_id': 'a518af72b7e84b5cbf9fe93b159a25b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79847777', 'ctest-vn-63116999'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 12:08:51,267 - DEBUG - Response for create_subnet : {'subnet': {'id': '51339953-1540-4dfc-bde4-432604a488dd', 'name': '', 'tenant_id': 'a518af72b7e84b5cbf9fe93b159a25b8', 'network_id': 'c97f8494-1050-485a-a209-c88be4e2bde4', 'ip_version': 4, 'cidr': '136.180.144.128/26', 'allocation_pools': [{'start': '136.180.144.130', 'end': '136.180.144.190'}], 'gateway_ip': '136.180.144.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.180.144.130', 'tags': [], 'project_id': 'a518af72b7e84b5cbf9fe93b159a25b8'}} 2025-10-06 12:08:51,282 - INFO - Created VN ctest-vn-63116999 2025-10-06 12:08:51,334 - DEBUG - VN ctest-vn-63116999 UUID is c97f8494-1050-485a-a209-c88be4e2bde4 2025-10-06 12:08:51,618 - DEBUG - Response for create_network : {'network': {'id': 'd263c8d8-c26e-4c73-bb3c-45da9bf6376d', 'name': 'ctest-ext_vn-89486087', 'tenant_id': 'a518af72b7e84b5cbf9fe93b159a25b8', 'project_id': 'a518af72b7e84b5cbf9fe93b159a25b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79847777', 'ctest-ext_vn-89486087'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 12:08:51,801 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aecb7645-7dba-47d6-8540-2b69df9ff252', 'name': '', 'tenant_id': 'a518af72b7e84b5cbf9fe93b159a25b8', 'network_id': 'd263c8d8-c26e-4c73-bb3c-45da9bf6376d', 'ip_version': 4, 'cidr': '51.238.27.0/26', 'allocation_pools': [{'start': '51.238.27.2', 'end': '51.238.27.62'}], 'gateway_ip': '51.238.27.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.238.27.2', 'tags': [], 'project_id': 'a518af72b7e84b5cbf9fe93b159a25b8'}} 2025-10-06 12:08:51,818 - INFO - Created VN ctest-ext_vn-89486087 2025-10-06 12:08:51,866 - DEBUG - VN ctest-ext_vn-89486087 UUID is d263c8d8-c26e-4c73-bb3c-45da9bf6376d 2025-10-06 12:08:52,060 - DEBUG - Services list from nova: [, , ] 2025-10-06 12:08:53,000 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4222-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4222-1) 2025-10-06 12:08:54,096 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4222-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4222-1) 2025-10-06 12:08:54,159 - INFO - Setting gateway for router 538b1ea2-8c86-4558-a4c6-0c0b39a060c5 to network d263c8d8-c26e-4c73-bb3c-45da9bf6376d 2025-10-06 12:08:54,226 - INFO - Adding interface with subnet_id 51339953-1540-4dfc-bde4-432604a488dd, port_id None to router 538b1ea2-8c86-4558-a4c6-0c0b39a060c5 2025-10-06 12:08:54,586 - INFO - Waiting for VM ctest-TestRoutersBasic-79847777-46124254 to be up.. 2025-10-06 12:08:54,761 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-06 12:08:59,827 - DEBUG - VM is in ACTIVE state now 2025-10-06 12:08:59,827 - INFO - VM name : ctest-TestRoutersBasic-79847777-46124254 2025-10-06 12:08:59,896 - DEBUG - VM ctest-TestRoutersBasic-79847777-46124254 ID is 7b527983-2994-4ce6-91a3-b50cd3d7f5ba 2025-10-06 12:08:59,915 - DEBUG - VM ctest-TestRoutersBasic-79847777-46124254 launched on Node cn-jenkins-deploy-platform-ansible-os-4222-1 2025-10-06 12:08:59,981 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/7b527983-2994-4ce6-91a3-b50cd3d7f5ba 2025-10-06 12:09:00,285 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/7b527983-2994-4ce6-91a3-b50cd3d7f5ba 2025-10-06 12:09:00,322 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/09451702-ab46-45b4-b7b4-5648d6c4fae2 2025-10-06 12:09:03,563 - 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 1007ms') 2025-10-06 12:09:03,563 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79847777-46124254 failed! 2025-10-06 12:09:03,618 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-79847777:ctest-vn-63116999 is 136.180.144.129 and allocation pool is NOT set 2025-10-06 12:09:05,681 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.33 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.326/2.532/2.738/0.206 ms') 2025-10-06 12:09:05,682 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79847777-46124254 passed 2025-10-06 12:09:05,830 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 12:09:05,830 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79847777-46124254, IP 136.180.144.131, Port 22 2025-10-06 12:09:05,989 - DEBUG - VM ctest-TestRoutersBasic-79847777-46124254 is ready for SSH connections 2025-10-06 12:09:05,989 - INFO - Waiting for VM ctest-TestRoutersBasic-79847777-51334692 to be up.. 2025-10-06 12:09:06,062 - DEBUG - VM is in ACTIVE state now 2025-10-06 12:09:06,063 - INFO - VM name : ctest-TestRoutersBasic-79847777-51334692 2025-10-06 12:09:06,125 - DEBUG - VM ctest-TestRoutersBasic-79847777-51334692 ID is 0c5a7d60-2b52-44e6-a208-dbe8547baf59 2025-10-06 12:09:06,125 - DEBUG - VM ctest-TestRoutersBasic-79847777-51334692 launched on Node cn-jenkins-deploy-platform-ansible-os-4222-1 2025-10-06 12:09:06,185 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/0c5a7d60-2b52-44e6-a208-dbe8547baf59 2025-10-06 12:09:06,191 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/0d7339af-50b8-4459-8267-fd2acb9ab9a1 2025-10-06 12:09:07,429 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.388 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.388/1.595/2.802/1.207 ms') 2025-10-06 12:09:07,430 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-79847777-51334692 passed 2025-10-06 12:09:07,578 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 12:09:07,578 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79847777-51334692, IP 51.238.27.3, Port 22 2025-10-06 12:09:07,729 - DEBUG - VM ctest-TestRoutersBasic-79847777-51334692 is ready for SSH connections 2025-10-06 12:09:07,729 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 12:09:07,729 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 51.238.27.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-10-06 12:09:07,729 - DEBUG - ping -s 56 -c 3 -W 1 51.238.27.3 2025-10-06 12:09:11,426 - DEBUG - PING 51.238.27.3 (51.238.27.3): 56 data bytes 64 bytes from 51.238.27.3: seq=0 ttl=62 time=4.128 ms 64 bytes from 51.238.27.3: seq=1 ttl=62 time=0.791 ms 64 bytes from 51.238.27.3: seq=2 ttl=62 time=1.148 ms --- 51.238.27.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.791/2.022/4.128 ms 2025-10-06 12:09:11,426 - INFO - Ping to IP 51.238.27.3 from VM ctest-TestRoutersBasic-79847777-46124254 passed 2025-10-06 12:09:11,426 - INFO - Deleting interface with subnet_id 51339953-1540-4dfc-bde4-432604a488dd, port_id None from router 538b1ea2-8c86-4558-a4c6-0c0b39a060c5 2025-10-06 12:09:11,594 - INFO - Deleting VM ctest-TestRoutersBasic-79847777-51334692 2025-10-06 12:09:11,654 - INFO - Deleting VM ctest-TestRoutersBasic-79847777-46124254 2025-10-06 12:09:11,718 - INFO - Deleting VN ctest-ext_vn-89486087 2025-10-06 12:09:11,779 - DEBUG - VN d263c8d8-c26e-4c73-bb3c-45da9bf6376d still in use: Unable to complete operation on network d263c8d8-c26e-4c73-bb3c-45da9bf6376d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-67c87b51-0bdc-40bf-803b-846be770227d'] 2025-10-06 12:09:11,779 - WARNING - Deleting VN ctest-ext_vn-89486087 failed..Will retry 2025-10-06 12:09:13,878 - DEBUG - Response for deleting network () 2025-10-06 12:09:13,878 - INFO - Deleting VN ctest-vn-63116999 2025-10-06 12:09:13,993 - DEBUG - Response for deleting network () 2025-10-06 12:09:14,266 - DEBUG - No XMPP flaps were noticed during the test
2025-10-06 12:09:14,266 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-06 12:09:14,266 - INFO - -------------------------------------------------------------------------------- 2025-10-06 12:09:14,917 - INFO - Deleted project: ctest-TestRoutersBasic-79847777, ID : a518af72-b7e8-4b5c-bf9f-e93b159a25b8