2025-04-23 08:56:25,236 - INFO - Domain Default found not creating 2025-04-23 08:56:25,399 - INFO - Project ctest-TestRoutersBasic-24341497 not found, creating it 2025-04-23 08:56:25,921 - INFO - Created Project:ctest-TestRoutersBasic-24341497, ID : 50e257b2-dd14-41ca-938d-3e40a512c345 2025-04-23 08:56:27,555 - INFO - ================================================================================ 2025-04-23 08:56:27,555 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-23 08:56:27,555 - 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-04-23 08:56:27,817 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-04-23 08:56:27,817 - INFO - Initial checks done. Running the testcase now 2025-04-23 08:56:27,817 - INFO - 2025-04-23 08:56:28,646 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-24341497 2025-04-23 08:56:28,750 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-24341497 2025-04-23 08:56:29,078 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24341497', 'default']} 2025-04-23 08:56:29,392 - DEBUG - Response for create_network : {'network': {'id': 'a61bf712-78d3-4b92-a491-53dddd00e7a3', 'name': 'ctest-vn-43319689', 'tenant_id': '50e257b2dd1441ca938d3e40a512c345', 'project_id': '50e257b2dd1441ca938d3e40a512c345', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24341497', 'ctest-vn-43319689'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 08:56:29,595 - DEBUG - Response for create_subnet : {'subnet': {'id': '699cf58f-08b3-4d57-9434-8cb301c32d1a', 'name': '', 'tenant_id': '50e257b2dd1441ca938d3e40a512c345', 'network_id': 'a61bf712-78d3-4b92-a491-53dddd00e7a3', 'ip_version': 4, 'cidr': '45.222.123.128/26', 'allocation_pools': [{'start': '45.222.123.130', 'end': '45.222.123.190'}], 'gateway_ip': '45.222.123.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.222.123.130', 'tags': [], 'project_id': '50e257b2dd1441ca938d3e40a512c345'}} 2025-04-23 08:56:29,618 - INFO - Created VN ctest-vn-43319689 2025-04-23 08:56:29,674 - DEBUG - VN ctest-vn-43319689 UUID is a61bf712-78d3-4b92-a491-53dddd00e7a3 2025-04-23 08:56:30,078 - DEBUG - Response for create_network : {'network': {'id': '95d642aa-9005-41b4-b6e2-b49858e4c9e4', 'name': 'ctest-ext_vn-26388985', 'tenant_id': '50e257b2dd1441ca938d3e40a512c345', 'project_id': '50e257b2dd1441ca938d3e40a512c345', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24341497', 'ctest-ext_vn-26388985'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 08:56:30,291 - DEBUG - Response for create_subnet : {'subnet': {'id': '61fc8b5b-c2b5-4d1a-91c8-97b55b91fa87', 'name': '', 'tenant_id': '50e257b2dd1441ca938d3e40a512c345', 'network_id': '95d642aa-9005-41b4-b6e2-b49858e4c9e4', 'ip_version': 4, 'cidr': '118.242.72.0/26', 'allocation_pools': [{'start': '118.242.72.2', 'end': '118.242.72.62'}], 'gateway_ip': '118.242.72.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.242.72.2', 'tags': [], 'project_id': '50e257b2dd1441ca938d3e40a512c345'}} 2025-04-23 08:56:30,313 - INFO - Created VN ctest-ext_vn-26388985 2025-04-23 08:56:30,370 - DEBUG - VN ctest-ext_vn-26388985 UUID is 95d642aa-9005-41b4-b6e2-b49858e4c9e4 2025-04-23 08:56:30,554 - DEBUG - Services list from nova: [, , ] 2025-04-23 08:56:31,717 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3178-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3178-1) 2025-04-23 08:56:33,009 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3178-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3178-1) 2025-04-23 08:56:33,108 - INFO - Setting gateway for router 4448d75e-0108-4a20-8f56-c5c0dfbd836d to network 95d642aa-9005-41b4-b6e2-b49858e4c9e4 2025-04-23 08:56:33,194 - INFO - Adding interface with subnet_id 699cf58f-08b3-4d57-9434-8cb301c32d1a, port_id None to router 4448d75e-0108-4a20-8f56-c5c0dfbd836d 2025-04-23 08:56:33,833 - INFO - Waiting for VM ctest-TestRoutersBasic-24341497-34503526 to be up.. 2025-04-23 08:56:33,992 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-23 08:56:39,098 - DEBUG - VM is in ACTIVE state now 2025-04-23 08:56:39,098 - INFO - VM name : ctest-TestRoutersBasic-24341497-34503526 2025-04-23 08:56:39,192 - DEBUG - VM ctest-TestRoutersBasic-24341497-34503526 ID is 80fbffe4-55ad-4f2a-a47c-9d6d31f964bc 2025-04-23 08:56:39,214 - DEBUG - VM ctest-TestRoutersBasic-24341497-34503526 launched on Node cn-jenkins-deploy-platform-ansible-os-3178-1 2025-04-23 08:56:39,307 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/80fbffe4-55ad-4f2a-a47c-9d6d31f964bc 2025-04-23 08:56:39,655 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/80fbffe4-55ad-4f2a-a47c-9d6d31f964bc 2025-04-23 08:56:39,690 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/98c7dc31-dc01-4d5f-be28-724157d495ad 2025-04-23 08:56:42,967 - 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-04-23 08:56:42,967 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-24341497-34503526 failed! 2025-04-23 08:56:43,022 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-24341497:ctest-vn-43319689 is 45.222.123.129 and allocation pool is NOT set 2025-04-23 08:56:45,082 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.78 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.780/3.158/3.537/0.378 ms') 2025-04-23 08:56:45,082 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-24341497-34503526 passed 2025-04-23 08:56:45,246 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 08:56:45,246 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-24341497-34503526, IP 45.222.123.131, Port 22 2025-04-23 08:56:45,406 - DEBUG - VM ctest-TestRoutersBasic-24341497-34503526 is ready for SSH connections 2025-04-23 08:56:45,406 - INFO - Waiting for VM ctest-TestRoutersBasic-24341497-92977464 to be up.. 2025-04-23 08:56:45,498 - DEBUG - VM is in ACTIVE state now 2025-04-23 08:56:45,498 - INFO - VM name : ctest-TestRoutersBasic-24341497-92977464 2025-04-23 08:56:45,586 - DEBUG - VM ctest-TestRoutersBasic-24341497-92977464 ID is 769285b2-641a-4c11-b742-12ca795abdbd 2025-04-23 08:56:45,586 - DEBUG - VM ctest-TestRoutersBasic-24341497-92977464 launched on Node cn-jenkins-deploy-platform-ansible-os-3178-1 2025-04-23 08:56:45,664 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/769285b2-641a-4c11-b742-12ca795abdbd 2025-04-23 08:56:45,674 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/028264e8-4f11-4405-b1f1-3f4fdeb341e4 2025-04-23 08:56:46,923 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.897 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.897/2.351/3.805/1.454 ms') 2025-04-23 08:56:46,923 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-24341497-92977464 passed 2025-04-23 08:56:47,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 08:56:47,086 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-24341497-92977464, IP 118.242.72.3, Port 22 2025-04-23 08:56:47,242 - DEBUG - VM ctest-TestRoutersBasic-24341497-92977464 is ready for SSH connections 2025-04-23 08:56:47,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 08:56:47,242 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.242.72.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-23 08:56:47,242 - DEBUG - ping -s 56 -c 3 -W 1 118.242.72.3 2025-04-23 08:56:51,008 - DEBUG - PING 118.242.72.3 (118.242.72.3): 56 data bytes 64 bytes from 118.242.72.3: seq=0 ttl=62 time=5.210 ms 64 bytes from 118.242.72.3: seq=1 ttl=62 time=1.029 ms 64 bytes from 118.242.72.3: seq=2 ttl=62 time=0.882 ms --- 118.242.72.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.882/2.373/5.210 ms 2025-04-23 08:56:51,008 - INFO - Ping to IP 118.242.72.3 from VM ctest-TestRoutersBasic-24341497-34503526 passed 2025-04-23 08:56:51,009 - INFO - Deleting interface with subnet_id 699cf58f-08b3-4d57-9434-8cb301c32d1a, port_id None from router 4448d75e-0108-4a20-8f56-c5c0dfbd836d 2025-04-23 08:56:51,213 - INFO - Deleting VM ctest-TestRoutersBasic-24341497-92977464 2025-04-23 08:56:51,284 - INFO - Deleting VM ctest-TestRoutersBasic-24341497-34503526 2025-04-23 08:56:51,363 - INFO - Deleting VN ctest-ext_vn-26388985 2025-04-23 08:56:51,436 - DEBUG - VN 95d642aa-9005-41b4-b6e2-b49858e4c9e4 still in use: Unable to complete operation on network 95d642aa-9005-41b4-b6e2-b49858e4c9e4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3b704766-5544-491e-bb9e-f6aa36e4fc7d'] 2025-04-23 08:56:51,436 - WARNING - Deleting VN ctest-ext_vn-26388985 failed..Will retry 2025-04-23 08:56:53,557 - DEBUG - Response for deleting network () 2025-04-23 08:56:53,557 - INFO - Deleting VN ctest-vn-43319689 2025-04-23 08:56:53,676 - DEBUG - Response for deleting network () 2025-04-23 08:56:53,947 - DEBUG - No XMPP flaps were noticed during the test
2025-04-23 08:56:53,947 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-23 08:56:53,948 - INFO - -------------------------------------------------------------------------------- 2025-04-23 08:56:54,872 - INFO - Deleted project: ctest-TestRoutersBasic-24341497, ID : 50e257b2-dd14-41ca-938d-3e40a512c345