2025-11-05 18:44:48,429 - INFO - Domain Default found not creating 2025-11-05 18:44:48,568 - INFO - Project ctest-TestRoutersBasic-13528683 not found, creating it 2025-11-05 18:44:49,019 - INFO - Created Project:ctest-TestRoutersBasic-13528683, ID : 4d02c489-4796-46b5-8935-1e97a8d6c6fd 2025-11-05 18:44:50,395 - INFO - ================================================================================ 2025-11-05 18:44:50,395 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-05 18:44:50,395 - 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-11-05 18:44:50,647 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-11-05 18:44:50,647 - INFO - Initial checks done. Running the testcase now 2025-11-05 18:44:50,647 - INFO - 2025-11-05 18:44:51,321 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-13528683 2025-11-05 18:44:51,418 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-13528683 2025-11-05 18:44:51,738 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13528683', 'default']} 2025-11-05 18:44:52,012 - DEBUG - Response for create_network : {'network': {'id': '783b00a0-b800-4259-831f-7d9cc6162efd', 'name': 'ctest-vn-69930260', 'tenant_id': '4d02c489479646b589351e97a8d6c6fd', 'project_id': '4d02c489479646b589351e97a8d6c6fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13528683', 'ctest-vn-69930260'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 18:44:52,170 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f1612b3-081e-42d3-b08a-2b154b259055', 'name': '', 'tenant_id': '4d02c489479646b589351e97a8d6c6fd', 'network_id': '783b00a0-b800-4259-831f-7d9cc6162efd', 'ip_version': 4, 'cidr': '153.72.205.192/26', 'allocation_pools': [{'start': '153.72.205.194', 'end': '153.72.205.254'}], 'gateway_ip': '153.72.205.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.72.205.194', 'tags': [], 'project_id': '4d02c489479646b589351e97a8d6c6fd'}} 2025-11-05 18:44:52,186 - INFO - Created VN ctest-vn-69930260 2025-11-05 18:44:52,238 - DEBUG - VN ctest-vn-69930260 UUID is 783b00a0-b800-4259-831f-7d9cc6162efd 2025-11-05 18:44:52,565 - DEBUG - Response for create_network : {'network': {'id': '7a272de6-3f1c-4786-9aa8-36286e3e1f69', 'name': 'ctest-ext_vn-70901012', 'tenant_id': '4d02c489479646b589351e97a8d6c6fd', 'project_id': '4d02c489479646b589351e97a8d6c6fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13528683', 'ctest-ext_vn-70901012'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 18:44:52,721 - DEBUG - Response for create_subnet : {'subnet': {'id': '6910bee0-b1f0-4b23-922a-b7a9271ad0a4', 'name': '', 'tenant_id': '4d02c489479646b589351e97a8d6c6fd', 'network_id': '7a272de6-3f1c-4786-9aa8-36286e3e1f69', 'ip_version': 4, 'cidr': '45.110.153.0/26', 'allocation_pools': [{'start': '45.110.153.2', 'end': '45.110.153.62'}], 'gateway_ip': '45.110.153.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.110.153.2', 'tags': [], 'project_id': '4d02c489479646b589351e97a8d6c6fd'}} 2025-11-05 18:44:52,736 - INFO - Created VN ctest-ext_vn-70901012 2025-11-05 18:44:52,786 - DEBUG - VN ctest-ext_vn-70901012 UUID is 7a272de6-3f1c-4786-9aa8-36286e3e1f69 2025-11-05 18:44:52,976 - DEBUG - Services list from nova: [, , ] 2025-11-05 18:44:53,920 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4653-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4653-1) 2025-11-05 18:44:54,985 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4653-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4653-1) 2025-11-05 18:44:55,045 - INFO - Setting gateway for router 34eb9ff8-f64f-479f-a1f6-7421fdf6092f to network 7a272de6-3f1c-4786-9aa8-36286e3e1f69 2025-11-05 18:44:55,105 - INFO - Adding interface with subnet_id 6f1612b3-081e-42d3-b08a-2b154b259055, port_id None to router 34eb9ff8-f64f-479f-a1f6-7421fdf6092f 2025-11-05 18:44:55,523 - INFO - Waiting for VM ctest-TestRoutersBasic-13528683-01847887 to be up.. 2025-11-05 18:44:55,691 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 18:45:00,762 - DEBUG - VM is in ACTIVE state now 2025-11-05 18:45:00,763 - INFO - VM name : ctest-TestRoutersBasic-13528683-01847887 2025-11-05 18:45:00,834 - DEBUG - VM ctest-TestRoutersBasic-13528683-01847887 ID is 29a48426-aa4c-4251-bbbe-0829aea4b38d 2025-11-05 18:45:00,853 - DEBUG - VM ctest-TestRoutersBasic-13528683-01847887 launched on Node cn-jenkins-deploy-platform-ansible-os-4653-1 2025-11-05 18:45:00,924 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/29a48426-aa4c-4251-bbbe-0829aea4b38d 2025-11-05 18:45:01,216 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/29a48426-aa4c-4251-bbbe-0829aea4b38d 2025-11-05 18:45:01,245 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/56a0a9a6-15d1-402b-9cc9-44ead619e34b 2025-11-05 18:45:04,483 - 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 1004ms') 2025-11-05 18:45:04,483 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13528683-01847887 failed! 2025-11-05 18:45:04,535 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-13528683:ctest-vn-69930260 is 153.72.205.193 and allocation pool is NOT set 2025-11-05 18:45:06,603 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.531 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 = 0.531/1.527/2.523/0.996 ms') 2025-11-05 18:45:06,603 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13528683-01847887 passed 2025-11-05 18:45:06,750 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 18:45:06,750 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13528683-01847887, IP 153.72.205.195, Port 22 2025-11-05 18:45:06,902 - DEBUG - VM ctest-TestRoutersBasic-13528683-01847887 is ready for SSH connections 2025-11-05 18:45:06,902 - INFO - Waiting for VM ctest-TestRoutersBasic-13528683-70834807 to be up.. 2025-11-05 18:45:06,971 - DEBUG - VM is in ACTIVE state now 2025-11-05 18:45:06,971 - INFO - VM name : ctest-TestRoutersBasic-13528683-70834807 2025-11-05 18:45:07,037 - DEBUG - VM ctest-TestRoutersBasic-13528683-70834807 ID is b9717051-0243-4c95-90b0-4e6d12cf633a 2025-11-05 18:45:07,037 - DEBUG - VM ctest-TestRoutersBasic-13528683-70834807 launched on Node cn-jenkins-deploy-platform-ansible-os-4653-1 2025-11-05 18:45:07,102 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b9717051-0243-4c95-90b0-4e6d12cf633a 2025-11-05 18:45:07,109 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c5a613c5-2111-4b7a-9158-19738413f138 2025-11-05 18:45:08,350 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.405 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.405/1.759/3.113/1.354 ms') 2025-11-05 18:45:08,350 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-13528683-70834807 passed 2025-11-05 18:45:08,498 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 18:45:08,498 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13528683-70834807, IP 45.110.153.3, Port 22 2025-11-05 18:45:08,649 - DEBUG - VM ctest-TestRoutersBasic-13528683-70834807 is ready for SSH connections 2025-11-05 18:45:08,649 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 18:45:08,649 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.110.153.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-05 18:45:08,650 - DEBUG - ping -s 56 -c 3 -W 1 45.110.153.3 2025-11-05 18:45:12,618 - DEBUG - PING 45.110.153.3 (45.110.153.3): 56 data bytes 64 bytes from 45.110.153.3: seq=0 ttl=62 time=5.047 ms 64 bytes from 45.110.153.3: seq=1 ttl=62 time=0.928 ms 64 bytes from 45.110.153.3: seq=2 ttl=62 time=1.039 ms --- 45.110.153.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.928/2.338/5.047 ms 2025-11-05 18:45:12,618 - INFO - Ping to IP 45.110.153.3 from VM ctest-TestRoutersBasic-13528683-01847887 passed 2025-11-05 18:45:12,618 - INFO - Deleting interface with subnet_id 6f1612b3-081e-42d3-b08a-2b154b259055, port_id None from router 34eb9ff8-f64f-479f-a1f6-7421fdf6092f 2025-11-05 18:45:12,791 - INFO - Deleting VM ctest-TestRoutersBasic-13528683-70834807 2025-11-05 18:45:12,862 - INFO - Deleting VM ctest-TestRoutersBasic-13528683-01847887 2025-11-05 18:45:12,941 - INFO - Deleting VN ctest-ext_vn-70901012 2025-11-05 18:45:13,005 - DEBUG - VN 7a272de6-3f1c-4786-9aa8-36286e3e1f69 still in use: Unable to complete operation on network 7a272de6-3f1c-4786-9aa8-36286e3e1f69. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6692c9e5-c4a4-474a-93cf-0f35db7f03f0'] 2025-11-05 18:45:13,006 - WARNING - Deleting VN ctest-ext_vn-70901012 failed..Will retry 2025-11-05 18:45:15,096 - DEBUG - Response for deleting network () 2025-11-05 18:45:15,096 - INFO - Deleting VN ctest-vn-69930260 2025-11-05 18:45:15,182 - DEBUG - Response for deleting network () 2025-11-05 18:45:15,435 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 18:45:15,435 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-05 18:45:15,435 - INFO - -------------------------------------------------------------------------------- 2025-11-05 18:45:16,092 - INFO - Deleted project: ctest-TestRoutersBasic-13528683, ID : 4d02c489-4796-46b5-8935-1e97a8d6c6fd