2025-08-11 02:51:47,107 - INFO - Domain Default found not creating 2025-08-11 02:51:47,240 - INFO - Project ctest-TestRoutersBasic-57825972 not found, creating it 2025-08-11 02:51:47,682 - INFO - Created Project:ctest-TestRoutersBasic-57825972, ID : 423e8164-29e3-4feb-89c1-bd0058d68662 2025-08-11 02:51:48,930 - INFO - ================================================================================ 2025-08-11 02:51:48,930 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-11 02:51:48,930 - 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-08-11 02:51:49,180 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-08-11 02:51:49,180 - INFO - Initial checks done. Running the testcase now 2025-08-11 02:51:49,180 - INFO - 2025-08-11 02:51:49,801 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-57825972 2025-08-11 02:51:49,895 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-57825972 2025-08-11 02:51:50,219 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57825972', 'default']} 2025-08-11 02:51:50,509 - DEBUG - Response for create_network : {'network': {'id': '68cb6d8a-9067-461d-be17-85abd1d2d2d1', 'name': 'ctest-vn-32977716', 'tenant_id': '423e816429e34feb89c1bd0058d68662', 'project_id': '423e816429e34feb89c1bd0058d68662', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57825972', 'ctest-vn-32977716'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:51:50,655 - DEBUG - Response for create_subnet : {'subnet': {'id': '32944a0e-6a47-482c-b9ee-c859b9ee7387', 'name': '', 'tenant_id': '423e816429e34feb89c1bd0058d68662', 'network_id': '68cb6d8a-9067-461d-be17-85abd1d2d2d1', 'ip_version': 4, 'cidr': '98.111.153.128/26', 'allocation_pools': [{'start': '98.111.153.130', 'end': '98.111.153.190'}], 'gateway_ip': '98.111.153.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.111.153.130', 'tags': [], 'project_id': '423e816429e34feb89c1bd0058d68662'}} 2025-08-11 02:51:50,674 - INFO - Created VN ctest-vn-32977716 2025-08-11 02:51:50,727 - DEBUG - VN ctest-vn-32977716 UUID is 68cb6d8a-9067-461d-be17-85abd1d2d2d1 2025-08-11 02:51:51,068 - DEBUG - Response for create_network : {'network': {'id': 'b652c6e3-bc3c-442a-8db6-33e24c3ea56f', 'name': 'ctest-ext_vn-49634164', 'tenant_id': '423e816429e34feb89c1bd0058d68662', 'project_id': '423e816429e34feb89c1bd0058d68662', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57825972', 'ctest-ext_vn-49634164'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:51:51,209 - DEBUG - Response for create_subnet : {'subnet': {'id': '02219657-6359-4259-afb5-92bc5a58f9d6', 'name': '', 'tenant_id': '423e816429e34feb89c1bd0058d68662', 'network_id': 'b652c6e3-bc3c-442a-8db6-33e24c3ea56f', 'ip_version': 4, 'cidr': '24.245.178.128/26', 'allocation_pools': [{'start': '24.245.178.130', 'end': '24.245.178.190'}], 'gateway_ip': '24.245.178.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.245.178.130', 'tags': [], 'project_id': '423e816429e34feb89c1bd0058d68662'}} 2025-08-11 02:51:51,224 - INFO - Created VN ctest-ext_vn-49634164 2025-08-11 02:51:51,279 - DEBUG - VN ctest-ext_vn-49634164 UUID is b652c6e3-bc3c-442a-8db6-33e24c3ea56f 2025-08-11 02:51:51,477 - DEBUG - Services list from nova: [, , ] 2025-08-11 02:51:52,374 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3796-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3796-1) 2025-08-11 02:51:53,378 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3796-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3796-1) 2025-08-11 02:51:53,446 - INFO - Setting gateway for router 4ca55cbe-20ca-40f7-a2c7-2dd506a9b630 to network b652c6e3-bc3c-442a-8db6-33e24c3ea56f 2025-08-11 02:51:53,499 - INFO - Adding interface with subnet_id 32944a0e-6a47-482c-b9ee-c859b9ee7387, port_id None to router 4ca55cbe-20ca-40f7-a2c7-2dd506a9b630 2025-08-11 02:51:53,878 - INFO - Waiting for VM ctest-TestRoutersBasic-57825972-97982748 to be up.. 2025-08-11 02:51:54,070 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 02:51:59,138 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:51:59,138 - INFO - VM name : ctest-TestRoutersBasic-57825972-97982748 2025-08-11 02:51:59,201 - DEBUG - VM ctest-TestRoutersBasic-57825972-97982748 ID is dd3f6322-419d-4ff8-be32-e9590b61fa40 2025-08-11 02:51:59,216 - DEBUG - VM ctest-TestRoutersBasic-57825972-97982748 launched on Node cn-jenkins-deploy-platform-ansible-os-3796-1 2025-08-11 02:51:59,279 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/dd3f6322-419d-4ff8-be32-e9590b61fa40 2025-08-11 02:51:59,538 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/dd3f6322-419d-4ff8-be32-e9590b61fa40 2025-08-11 02:51:59,568 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/28ffa4b7-7f39-41b3-af9b-d0017802e8ea 2025-08-11 02:52:02,820 - 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=7.86 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 7.864/7.864/7.864/0.000 ms') 2025-08-11 02:52:02,820 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57825972-97982748 passed 2025-08-11 02:52:02,971 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:52:02,971 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57825972-97982748, IP 98.111.153.131, Port 22 2025-08-11 02:52:03,127 - DEBUG - VM ctest-TestRoutersBasic-57825972-97982748 is ready for SSH connections 2025-08-11 02:52:03,127 - INFO - Waiting for VM ctest-TestRoutersBasic-57825972-94218400 to be up.. 2025-08-11 02:52:03,200 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:52:03,200 - INFO - VM name : ctest-TestRoutersBasic-57825972-94218400 2025-08-11 02:52:03,279 - DEBUG - VM ctest-TestRoutersBasic-57825972-94218400 ID is f0e0cfee-7ab7-4c65-a3a4-8e536b11aec9 2025-08-11 02:52:03,279 - DEBUG - VM ctest-TestRoutersBasic-57825972-94218400 launched on Node cn-jenkins-deploy-platform-ansible-os-3796-1 2025-08-11 02:52:03,345 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f0e0cfee-7ab7-4c65-a3a4-8e536b11aec9 2025-08-11 02:52:03,355 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/cfd8eb26-154f-4f7f-a8fb-cd37b3afe2e5 2025-08-11 02:52:04,599 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.545 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.545/1.615/2.685/1.070 ms') 2025-08-11 02:52:04,599 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-57825972-94218400 passed 2025-08-11 02:52:04,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:52:04,747 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57825972-94218400, IP 24.245.178.131, Port 22 2025-08-11 02:52:04,903 - DEBUG - VM ctest-TestRoutersBasic-57825972-94218400 is ready for SSH connections 2025-08-11 02:52:04,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:52:04,903 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.245.178.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-11 02:52:04,903 - DEBUG - ping -s 56 -c 3 -W 1 24.245.178.131 2025-08-11 02:52:08,516 - DEBUG - PING 24.245.178.131 (24.245.178.131): 56 data bytes 64 bytes from 24.245.178.131: seq=0 ttl=62 time=7.396 ms 64 bytes from 24.245.178.131: seq=1 ttl=62 time=0.773 ms 64 bytes from 24.245.178.131: seq=2 ttl=62 time=1.182 ms --- 24.245.178.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.773/3.117/7.396 ms 2025-08-11 02:52:08,516 - INFO - Ping to IP 24.245.178.131 from VM ctest-TestRoutersBasic-57825972-97982748 passed 2025-08-11 02:52:08,516 - INFO - Deleting interface with subnet_id 32944a0e-6a47-482c-b9ee-c859b9ee7387, port_id None from router 4ca55cbe-20ca-40f7-a2c7-2dd506a9b630 2025-08-11 02:52:08,833 - INFO - Deleting VM ctest-TestRoutersBasic-57825972-94218400 2025-08-11 02:52:08,898 - INFO - Deleting VM ctest-TestRoutersBasic-57825972-97982748 2025-08-11 02:52:08,972 - INFO - Deleting VN ctest-ext_vn-49634164 2025-08-11 02:52:09,033 - DEBUG - VN b652c6e3-bc3c-442a-8db6-33e24c3ea56f still in use: Unable to complete operation on network b652c6e3-bc3c-442a-8db6-33e24c3ea56f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-00f8535b-8d9b-44a9-a5fb-73c66fa2ada5'] 2025-08-11 02:52:09,033 - WARNING - Deleting VN ctest-ext_vn-49634164 failed..Will retry 2025-08-11 02:52:11,136 - DEBUG - Response for deleting network () 2025-08-11 02:52:11,136 - INFO - Deleting VN ctest-vn-32977716 2025-08-11 02:52:11,226 - DEBUG - Response for deleting network () 2025-08-11 02:52:11,484 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 02:52:11,484 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23]
2025-08-11 02:52:11,484 - INFO - -------------------------------------------------------------------------------- 2025-08-11 02:52:12,122 - INFO - Deleted project: ctest-TestRoutersBasic-57825972, ID : 423e8164-29e3-4feb-89c1-bd0058d68662