2025-04-28 02:06:12,157 - INFO - Domain Default found not creating 2025-04-28 02:06:12,280 - INFO - Project ctest-TestRoutersBasic-75164276 not found, creating it 2025-04-28 02:06:12,689 - INFO - Created Project:ctest-TestRoutersBasic-75164276, ID : 0f0b7226-a8d9-4da7-b9c7-20ed551765cc 2025-04-28 02:06:14,011 - INFO - ================================================================================ 2025-04-28 02:06:14,011 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-28 02:06:14,011 - 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-28 02:06:14,275 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.209': '0'}} with 2025-04-28 02:06:14,275 - INFO - Initial checks done. Running the testcase now 2025-04-28 02:06:14,275 - INFO - 2025-04-28 02:06:14,949 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-75164276 2025-04-28 02:06:15,045 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-75164276 2025-04-28 02:06:15,369 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75164276', 'default']} 2025-04-28 02:06:15,638 - DEBUG - Response for create_network : {'network': {'id': 'fb1d13aa-bccc-4c4e-a4e1-42c9f80032d5', 'name': 'ctest-vn-52709619', 'tenant_id': '0f0b7226a8d94da7b9c720ed551765cc', 'project_id': '0f0b7226a8d94da7b9c720ed551765cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75164276', 'ctest-vn-52709619'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 02:06:15,811 - DEBUG - Response for create_subnet : {'subnet': {'id': '010a7f96-7e23-45cc-a81a-c60d158a7410', 'name': '', 'tenant_id': '0f0b7226a8d94da7b9c720ed551765cc', 'network_id': 'fb1d13aa-bccc-4c4e-a4e1-42c9f80032d5', 'ip_version': 4, 'cidr': '84.90.6.64/26', 'allocation_pools': [{'start': '84.90.6.66', 'end': '84.90.6.126'}], 'gateway_ip': '84.90.6.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.90.6.66', 'tags': [], 'project_id': '0f0b7226a8d94da7b9c720ed551765cc'}} 2025-04-28 02:06:15,827 - INFO - Created VN ctest-vn-52709619 2025-04-28 02:06:15,877 - DEBUG - VN ctest-vn-52709619 UUID is fb1d13aa-bccc-4c4e-a4e1-42c9f80032d5 2025-04-28 02:06:16,213 - DEBUG - Response for create_network : {'network': {'id': '26b5ab17-3e20-4945-b127-eb07d5439e1f', 'name': 'ctest-ext_vn-16942364', 'tenant_id': '0f0b7226a8d94da7b9c720ed551765cc', 'project_id': '0f0b7226a8d94da7b9c720ed551765cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75164276', 'ctest-ext_vn-16942364'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 02:06:16,346 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c97c244a-65e6-40ae-af07-6ba838f80d7c', 'name': '', 'tenant_id': '0f0b7226a8d94da7b9c720ed551765cc', 'network_id': '26b5ab17-3e20-4945-b127-eb07d5439e1f', 'ip_version': 4, 'cidr': '46.128.109.0/26', 'allocation_pools': [{'start': '46.128.109.2', 'end': '46.128.109.62'}], 'gateway_ip': '46.128.109.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.128.109.2', 'tags': [], 'project_id': '0f0b7226a8d94da7b9c720ed551765cc'}} 2025-04-28 02:06:16,361 - INFO - Created VN ctest-ext_vn-16942364 2025-04-28 02:06:16,413 - DEBUG - VN ctest-ext_vn-16942364 UUID is 26b5ab17-3e20-4945-b127-eb07d5439e1f 2025-04-28 02:06:16,675 - DEBUG - Services list from nova: [, , ] 2025-04-28 02:06:17,629 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3232-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3232-1) 2025-04-28 02:06:18,697 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3232-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3232-1) 2025-04-28 02:06:18,775 - INFO - Setting gateway for router 9ee7119e-169f-4228-a251-a70e57b33413 to network 26b5ab17-3e20-4945-b127-eb07d5439e1f 2025-04-28 02:06:18,852 - INFO - Adding interface with subnet_id 010a7f96-7e23-45cc-a81a-c60d158a7410, port_id None to router 9ee7119e-169f-4228-a251-a70e57b33413 2025-04-28 02:06:19,212 - INFO - Waiting for VM ctest-TestRoutersBasic-75164276-73502315 to be up.. 2025-04-28 02:06:19,372 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-28 02:06:24,440 - DEBUG - VM is in ACTIVE state now 2025-04-28 02:06:24,440 - INFO - VM name : ctest-TestRoutersBasic-75164276-73502315 2025-04-28 02:06:24,509 - DEBUG - VM ctest-TestRoutersBasic-75164276-73502315 ID is d5c66881-f027-41aa-9ea0-0b39b606b8fd 2025-04-28 02:06:24,526 - DEBUG - VM ctest-TestRoutersBasic-75164276-73502315 launched on Node cn-jenkins-deploy-platform-ansible-os-3232-1 2025-04-28 02:06:24,598 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d5c66881-f027-41aa-9ea0-0b39b606b8fd 2025-04-28 02:06:24,885 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d5c66881-f027-41aa-9ea0-0b39b606b8fd 2025-04-28 02:06:24,918 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/08ed5fb6-a69c-4ed9-a9b9-a200c2961089 2025-04-28 02:06:28,178 - 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=2 ttl=63 time=11.7 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 11.711/11.711/11.711/0.000 ms') 2025-04-28 02:06:28,178 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75164276-73502315 passed 2025-04-28 02:06:28,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 02:06:28,329 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75164276-73502315, IP 84.90.6.67, Port 22 2025-04-28 02:06:28,481 - DEBUG - VM ctest-TestRoutersBasic-75164276-73502315 is ready for SSH connections 2025-04-28 02:06:28,481 - INFO - Waiting for VM ctest-TestRoutersBasic-75164276-60825880 to be up.. 2025-04-28 02:06:28,547 - DEBUG - VM is in ACTIVE state now 2025-04-28 02:06:28,547 - INFO - VM name : ctest-TestRoutersBasic-75164276-60825880 2025-04-28 02:06:28,608 - DEBUG - VM ctest-TestRoutersBasic-75164276-60825880 ID is a2452d7c-f011-4d79-9646-db2cef1ba2ea 2025-04-28 02:06:28,608 - DEBUG - VM ctest-TestRoutersBasic-75164276-60825880 launched on Node cn-jenkins-deploy-platform-ansible-os-3232-1 2025-04-28 02:06:28,671 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a2452d7c-f011-4d79-9646-db2cef1ba2ea 2025-04-28 02:06:28,679 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3b2203d6-61c9-4264-a6f6-43ba6a1bac8e 2025-04-28 02:06:29,914 - 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.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.849 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.849/2.690/4.531/1.841 ms') 2025-04-28 02:06:29,914 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-75164276-60825880 passed 2025-04-28 02:06:30,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 02:06:30,074 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75164276-60825880, IP 46.128.109.3, Port 22 2025-04-28 02:06:30,229 - DEBUG - VM ctest-TestRoutersBasic-75164276-60825880 is ready for SSH connections 2025-04-28 02:06:30,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 02:06:30,229 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.128.109.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-04-28 02:06:30,229 - DEBUG - ping -s 56 -c 3 -W 1 46.128.109.3 2025-04-28 02:06:34,153 - DEBUG - PING 46.128.109.3 (46.128.109.3): 56 data bytes 64 bytes from 46.128.109.3: seq=0 ttl=62 time=7.192 ms 64 bytes from 46.128.109.3: seq=1 ttl=62 time=0.743 ms 64 bytes from 46.128.109.3: seq=2 ttl=62 time=0.774 ms --- 46.128.109.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.743/2.903/7.192 ms 2025-04-28 02:06:34,153 - INFO - Ping to IP 46.128.109.3 from VM ctest-TestRoutersBasic-75164276-73502315 passed 2025-04-28 02:06:34,153 - INFO - Deleting interface with subnet_id 010a7f96-7e23-45cc-a81a-c60d158a7410, port_id None from router 9ee7119e-169f-4228-a251-a70e57b33413 2025-04-28 02:06:34,326 - INFO - Deleting VM ctest-TestRoutersBasic-75164276-60825880 2025-04-28 02:06:34,386 - INFO - Deleting VM ctest-TestRoutersBasic-75164276-73502315 2025-04-28 02:06:34,449 - INFO - Deleting VN ctest-ext_vn-16942364 2025-04-28 02:06:34,516 - DEBUG - VN 26b5ab17-3e20-4945-b127-eb07d5439e1f still in use: Unable to complete operation on network 26b5ab17-3e20-4945-b127-eb07d5439e1f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6cfd276a-cf02-427e-803c-f865216c2ea2'] 2025-04-28 02:06:34,517 - WARNING - Deleting VN ctest-ext_vn-16942364 failed..Will retry 2025-04-28 02:06:36,602 - DEBUG - Response for deleting network () 2025-04-28 02:06:36,602 - INFO - Deleting VN ctest-vn-52709619 2025-04-28 02:06:36,695 - DEBUG - Response for deleting network () 2025-04-28 02:06:36,954 - DEBUG - No XMPP flaps were noticed during the test
2025-04-28 02:06:36,954 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:22]
2025-04-28 02:06:36,954 - INFO - -------------------------------------------------------------------------------- 2025-04-28 02:06:37,590 - INFO - Deleted project: ctest-TestRoutersBasic-75164276, ID : 0f0b7226-a8d9-4da7-b9c7-20ed551765cc