2025-12-04 02:21:33,595 - INFO - Domain Default found not creating 2025-12-04 02:21:33,769 - INFO - Project ctest-TestRoutersBasic-23268161 not found, creating it 2025-12-04 02:21:34,252 - INFO - Created Project:ctest-TestRoutersBasic-23268161, ID : efc805b5-bbb5-47ea-9c6c-efd9f970f85c 2025-12-04 02:21:35,808 - INFO - ================================================================================ 2025-12-04 02:21:35,808 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-04 02:21:35,808 - 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-12-04 02:21:36,062 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.129': '0'}} with 2025-12-04 02:21:36,062 - INFO - Initial checks done. Running the testcase now 2025-12-04 02:21:36,062 - INFO - 2025-12-04 02:21:36,790 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-23268161 2025-12-04 02:21:36,887 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-23268161 2025-12-04 02:21:37,211 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23268161', 'default']} 2025-12-04 02:21:37,509 - DEBUG - Response for create_network : {'network': {'id': '13afce70-a78e-46fa-b02c-b9ec4210e701', 'name': 'ctest-vn-12325786', 'tenant_id': 'efc805b5bbb547ea9c6cefd9f970f85c', 'project_id': 'efc805b5bbb547ea9c6cefd9f970f85c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23268161', 'ctest-vn-12325786'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 02:21:37,673 - DEBUG - Response for create_subnet : {'subnet': {'id': '036e5a90-50c0-4f37-a720-2ed671b4095c', 'name': '', 'tenant_id': 'efc805b5bbb547ea9c6cefd9f970f85c', 'network_id': '13afce70-a78e-46fa-b02c-b9ec4210e701', 'ip_version': 4, 'cidr': '214.45.92.192/26', 'allocation_pools': [{'start': '214.45.92.194', 'end': '214.45.92.254'}], 'gateway_ip': '214.45.92.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.45.92.194', 'tags': [], 'project_id': 'efc805b5bbb547ea9c6cefd9f970f85c'}} 2025-12-04 02:21:37,695 - INFO - Created VN ctest-vn-12325786 2025-12-04 02:21:37,748 - DEBUG - VN ctest-vn-12325786 UUID is 13afce70-a78e-46fa-b02c-b9ec4210e701 2025-12-04 02:21:38,081 - DEBUG - Response for create_network : {'network': {'id': '14696d13-2483-4a90-af35-9e606935c430', 'name': 'ctest-ext_vn-32004147', 'tenant_id': 'efc805b5bbb547ea9c6cefd9f970f85c', 'project_id': 'efc805b5bbb547ea9c6cefd9f970f85c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23268161', 'ctest-ext_vn-32004147'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 02:21:38,234 - DEBUG - Response for create_subnet : {'subnet': {'id': '60ca94a0-57e9-4b7c-945c-94903167b6a5', 'name': '', 'tenant_id': 'efc805b5bbb547ea9c6cefd9f970f85c', 'network_id': '14696d13-2483-4a90-af35-9e606935c430', 'ip_version': 4, 'cidr': '134.116.215.64/26', 'allocation_pools': [{'start': '134.116.215.66', 'end': '134.116.215.126'}], 'gateway_ip': '134.116.215.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.116.215.66', 'tags': [], 'project_id': 'efc805b5bbb547ea9c6cefd9f970f85c'}} 2025-12-04 02:21:38,253 - INFO - Created VN ctest-ext_vn-32004147 2025-12-04 02:21:38,303 - DEBUG - VN ctest-ext_vn-32004147 UUID is 14696d13-2483-4a90-af35-9e606935c430 2025-12-04 02:21:38,475 - DEBUG - Services list from nova: [, , ] 2025-12-04 02:21:39,562 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4837-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4837-1) 2025-12-04 02:21:40,714 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4837-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4837-1) 2025-12-04 02:21:40,806 - INFO - Setting gateway for router 3b220b9e-91fe-4642-8c92-a8c1e2caa4b0 to network 14696d13-2483-4a90-af35-9e606935c430 2025-12-04 02:21:40,860 - INFO - Adding interface with subnet_id 036e5a90-50c0-4f37-a720-2ed671b4095c, port_id None to router 3b220b9e-91fe-4642-8c92-a8c1e2caa4b0 2025-12-04 02:21:41,194 - INFO - Waiting for VM ctest-TestRoutersBasic-23268161-69141551 to be up.. 2025-12-04 02:21:41,297 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-04 02:21:46,381 - DEBUG - VM is in ACTIVE state now 2025-12-04 02:21:46,381 - INFO - VM name : ctest-TestRoutersBasic-23268161-69141551 2025-12-04 02:21:46,459 - DEBUG - VM ctest-TestRoutersBasic-23268161-69141551 ID is fd7d9490-79d6-479e-b04e-605fe2ae3d74 2025-12-04 02:21:46,484 - DEBUG - VM ctest-TestRoutersBasic-23268161-69141551 launched on Node cn-jenkins-deploy-platform-ansible-os-4837-1 2025-12-04 02:21:46,562 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/fd7d9490-79d6-479e-b04e-605fe2ae3d74 2025-12-04 02:21:46,883 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/fd7d9490-79d6-479e-b04e-605fe2ae3d74 2025-12-04 02:21:46,923 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/02b3eb45-eff0-4d6e-80b6-ea7551ac6444 2025-12-04 02:21:50,178 - 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 1006ms') 2025-12-04 02:21:50,178 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-23268161-69141551 failed! 2025-12-04 02:21:50,235 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-23268161:ctest-vn-12325786 is 214.45.92.193 and allocation pool is NOT set 2025-12-04 02:21:52,295 - 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=5.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.565 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.565/3.245/5.925/2.680 ms') 2025-12-04 02:21:52,295 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-23268161-69141551 passed 2025-12-04 02:21:52,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:21:52,448 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-23268161-69141551, IP 214.45.92.195, Port 22 2025-12-04 02:21:52,603 - DEBUG - VM ctest-TestRoutersBasic-23268161-69141551 is ready for SSH connections 2025-12-04 02:21:52,603 - INFO - Waiting for VM ctest-TestRoutersBasic-23268161-57923238 to be up.. 2025-12-04 02:21:52,690 - DEBUG - VM is in ACTIVE state now 2025-12-04 02:21:52,690 - INFO - VM name : ctest-TestRoutersBasic-23268161-57923238 2025-12-04 02:21:52,776 - DEBUG - VM ctest-TestRoutersBasic-23268161-57923238 ID is a807d9a3-5e62-41c5-9f75-9bff0ed72368 2025-12-04 02:21:52,776 - DEBUG - VM ctest-TestRoutersBasic-23268161-57923238 launched on Node cn-jenkins-deploy-platform-ansible-os-4837-1 2025-12-04 02:21:52,852 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/a807d9a3-5e62-41c5-9f75-9bff0ed72368 2025-12-04 02:21:52,860 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/bf2ac53c-15d9-4b15-abf4-6536d32e6155 2025-12-04 02:21:54,105 - 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=5.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.09 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 = 1.092/3.205/5.319/2.113 ms') 2025-12-04 02:21:54,105 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-23268161-57923238 passed 2025-12-04 02:21:54,256 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:21:54,256 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-23268161-57923238, IP 134.116.215.67, Port 22 2025-12-04 02:21:54,412 - DEBUG - VM ctest-TestRoutersBasic-23268161-57923238 is ready for SSH connections 2025-12-04 02:21:54,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:21:54,412 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.116.215.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-04 02:21:54,412 - DEBUG - ping -s 56 -c 3 -W 1 134.116.215.67 2025-12-04 02:21:58,163 - DEBUG - PING 134.116.215.67 (134.116.215.67): 56 data bytes 64 bytes from 134.116.215.67: seq=0 ttl=62 time=8.225 ms 64 bytes from 134.116.215.67: seq=1 ttl=62 time=1.110 ms 64 bytes from 134.116.215.67: seq=2 ttl=62 time=1.431 ms --- 134.116.215.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.110/3.588/8.225 ms 2025-12-04 02:21:58,163 - INFO - Ping to IP 134.116.215.67 from VM ctest-TestRoutersBasic-23268161-69141551 passed 2025-12-04 02:21:58,164 - INFO - Deleting interface with subnet_id 036e5a90-50c0-4f37-a720-2ed671b4095c, port_id None from router 3b220b9e-91fe-4642-8c92-a8c1e2caa4b0 2025-12-04 02:21:58,362 - INFO - Deleting VM ctest-TestRoutersBasic-23268161-57923238 2025-12-04 02:21:58,439 - INFO - Deleting VM ctest-TestRoutersBasic-23268161-69141551 2025-12-04 02:21:58,532 - INFO - Deleting VN ctest-ext_vn-32004147 2025-12-04 02:21:58,616 - DEBUG - VN 14696d13-2483-4a90-af35-9e606935c430 still in use: Unable to complete operation on network 14696d13-2483-4a90-af35-9e606935c430. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-880d3871-e0ff-4aa1-b47b-375fea54984a'] 2025-12-04 02:21:58,616 - WARNING - Deleting VN ctest-ext_vn-32004147 failed..Will retry 2025-12-04 02:22:00,740 - DEBUG - Response for deleting network () 2025-12-04 02:22:00,740 - INFO - Deleting VN ctest-vn-12325786 2025-12-04 02:22:00,881 - DEBUG - Response for deleting network () 2025-12-04 02:22:01,140 - DEBUG - No XMPP flaps were noticed during the test 2025-12-04 02:22:01,140 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-12-04 02:22:01,140 - INFO - -------------------------------------------------------------------------------- 2025-12-04 02:22:02,173 - INFO - Deleted project: ctest-TestRoutersBasic-23268161, ID : efc805b5-bbb5-47ea-9c6c-efd9f970f85c