2025-09-16 09:55:22,861 - INFO - Domain Default found not creating 2025-09-16 09:55:23,026 - INFO - Project ctest-TestRoutersBasic-87773436 not found, creating it 2025-09-16 09:55:23,545 - INFO - Created Project:ctest-TestRoutersBasic-87773436, ID : 5ea2e2ae-1ae5-4f15-89d1-3ccb684cf808 2025-09-16 09:55:25,118 - INFO - ================================================================================ 2025-09-16 09:55:25,118 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-16 09:55:25,118 - 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-09-16 09:55:25,379 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-16 09:55:25,379 - INFO - Initial checks done. Running the testcase now 2025-09-16 09:55:25,380 - INFO - 2025-09-16 09:55:26,113 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-87773436 2025-09-16 09:55:26,209 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-87773436 2025-09-16 09:55:26,541 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87773436', 'default']} 2025-09-16 09:55:26,853 - DEBUG - Response for create_network : {'network': {'id': 'eb8f24ad-b4d6-4884-910e-60d291e82c95', 'name': 'ctest-vn-06884885', 'tenant_id': '5ea2e2ae1ae54f1589d13ccb684cf808', 'project_id': '5ea2e2ae1ae54f1589d13ccb684cf808', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87773436', 'ctest-vn-06884885'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 09:55:27,034 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e868eaa-ae46-41b4-ac56-d8c50b6c9d0f', 'name': '', 'tenant_id': '5ea2e2ae1ae54f1589d13ccb684cf808', 'network_id': 'eb8f24ad-b4d6-4884-910e-60d291e82c95', 'ip_version': 4, 'cidr': '150.52.231.192/26', 'allocation_pools': [{'start': '150.52.231.194', 'end': '150.52.231.254'}], 'gateway_ip': '150.52.231.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.52.231.194', 'tags': [], 'project_id': '5ea2e2ae1ae54f1589d13ccb684cf808'}} 2025-09-16 09:55:27,053 - INFO - Created VN ctest-vn-06884885 2025-09-16 09:55:27,105 - DEBUG - VN ctest-vn-06884885 UUID is eb8f24ad-b4d6-4884-910e-60d291e82c95 2025-09-16 09:55:27,431 - DEBUG - Response for create_network : {'network': {'id': 'eee92b3f-0828-4618-b2df-d1b85372006a', 'name': 'ctest-ext_vn-41918587', 'tenant_id': '5ea2e2ae1ae54f1589d13ccb684cf808', 'project_id': '5ea2e2ae1ae54f1589d13ccb684cf808', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87773436', 'ctest-ext_vn-41918587'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 09:55:27,650 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2220a90-003a-42a5-a92c-d0762174970a', 'name': '', 'tenant_id': '5ea2e2ae1ae54f1589d13ccb684cf808', 'network_id': 'eee92b3f-0828-4618-b2df-d1b85372006a', 'ip_version': 4, 'cidr': '73.173.237.0/26', 'allocation_pools': [{'start': '73.173.237.2', 'end': '73.173.237.62'}], 'gateway_ip': '73.173.237.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.173.237.2', 'tags': [], 'project_id': '5ea2e2ae1ae54f1589d13ccb684cf808'}} 2025-09-16 09:55:27,670 - INFO - Created VN ctest-ext_vn-41918587 2025-09-16 09:55:27,725 - DEBUG - VN ctest-ext_vn-41918587 UUID is eee92b3f-0828-4618-b2df-d1b85372006a 2025-09-16 09:55:27,914 - DEBUG - Services list from nova: [, , ] 2025-09-16 09:55:28,965 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4120-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4120-1) 2025-09-16 09:55:30,178 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4120-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4120-1) 2025-09-16 09:55:30,248 - INFO - Setting gateway for router 991cef29-b947-43c5-9aa9-435bf790f974 to network eee92b3f-0828-4618-b2df-d1b85372006a 2025-09-16 09:55:30,320 - INFO - Adding interface with subnet_id 5e868eaa-ae46-41b4-ac56-d8c50b6c9d0f, port_id None to router 991cef29-b947-43c5-9aa9-435bf790f974 2025-09-16 09:55:30,691 - INFO - Waiting for VM ctest-TestRoutersBasic-87773436-03846224 to be up.. 2025-09-16 09:55:30,838 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-16 09:55:35,926 - DEBUG - VM is in ACTIVE state now 2025-09-16 09:55:35,926 - INFO - VM name : ctest-TestRoutersBasic-87773436-03846224 2025-09-16 09:55:36,008 - DEBUG - VM ctest-TestRoutersBasic-87773436-03846224 ID is eba97655-06c6-4886-936c-c5ec595cecb7 2025-09-16 09:55:36,032 - DEBUG - VM ctest-TestRoutersBasic-87773436-03846224 launched on Node cn-jenkins-deploy-platform-ansible-os-4120-1 2025-09-16 09:55:36,110 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/eba97655-06c6-4886-936c-c5ec595cecb7 2025-09-16 09:55:36,453 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/eba97655-06c6-4886-936c-c5ec595cecb7 2025-09-16 09:55:36,518 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6d604089-9fe5-427d-aed7-f69b176d38d1 2025-09-16 09:55:39,775 - 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 1001ms') 2025-09-16 09:55:39,775 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-87773436-03846224 failed! 2025-09-16 09:55:39,833 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-87773436:ctest-vn-06884885 is 150.52.231.193 and allocation pool is NOT set 2025-09-16 09:55:41,896 - 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=4.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.628 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.628/2.620/4.612/1.992 ms') 2025-09-16 09:55:41,896 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-87773436-03846224 passed 2025-09-16 09:55:42,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 09:55:42,053 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87773436-03846224, IP 150.52.231.195, Port 22 2025-09-16 09:55:42,232 - DEBUG - VM ctest-TestRoutersBasic-87773436-03846224 is ready for SSH connections 2025-09-16 09:55:42,232 - INFO - Waiting for VM ctest-TestRoutersBasic-87773436-67594612 to be up.. 2025-09-16 09:55:42,322 - DEBUG - VM is in ACTIVE state now 2025-09-16 09:55:42,323 - INFO - VM name : ctest-TestRoutersBasic-87773436-67594612 2025-09-16 09:55:42,399 - DEBUG - VM ctest-TestRoutersBasic-87773436-67594612 ID is cb35333a-3bda-4ebd-bcc9-ad10fec2da1c 2025-09-16 09:55:42,400 - DEBUG - VM ctest-TestRoutersBasic-87773436-67594612 launched on Node cn-jenkins-deploy-platform-ansible-os-4120-1 2025-09-16 09:55:42,476 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/cb35333a-3bda-4ebd-bcc9-ad10fec2da1c 2025-09-16 09:55:42,485 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/82263fc0-3b28-4227-ac05-032ff2a30bb3 2025-09-16 09:55:43,727 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.14 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.137/3.177/5.218/2.040 ms') 2025-09-16 09:55:43,727 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-87773436-67594612 passed 2025-09-16 09:55:43,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 09:55:43,886 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87773436-67594612, IP 73.173.237.3, Port 22 2025-09-16 09:55:44,052 - DEBUG - VM ctest-TestRoutersBasic-87773436-67594612 is ready for SSH connections 2025-09-16 09:55:44,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 09:55:44,052 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.173.237.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-16 09:55:44,052 - DEBUG - ping -s 56 -c 3 -W 1 73.173.237.3 2025-09-16 09:55:47,767 - DEBUG - PING 73.173.237.3 (73.173.237.3): 56 data bytes 64 bytes from 73.173.237.3: seq=0 ttl=62 time=6.016 ms 64 bytes from 73.173.237.3: seq=1 ttl=62 time=1.055 ms 64 bytes from 73.173.237.3: seq=2 ttl=62 time=1.158 ms --- 73.173.237.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.055/2.743/6.016 ms 2025-09-16 09:55:47,767 - INFO - Ping to IP 73.173.237.3 from VM ctest-TestRoutersBasic-87773436-03846224 passed 2025-09-16 09:55:47,767 - INFO - Deleting interface with subnet_id 5e868eaa-ae46-41b4-ac56-d8c50b6c9d0f, port_id None from router 991cef29-b947-43c5-9aa9-435bf790f974 2025-09-16 09:55:47,994 - INFO - Deleting VM ctest-TestRoutersBasic-87773436-67594612 2025-09-16 09:55:48,076 - INFO - Deleting VM ctest-TestRoutersBasic-87773436-03846224 2025-09-16 09:55:48,164 - INFO - Deleting VN ctest-ext_vn-41918587 2025-09-16 09:55:48,237 - DEBUG - VN eee92b3f-0828-4618-b2df-d1b85372006a still in use: Unable to complete operation on network eee92b3f-0828-4618-b2df-d1b85372006a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-083231d3-9aff-4b91-a9d1-9a6a292b6ee3'] 2025-09-16 09:55:48,237 - WARNING - Deleting VN ctest-ext_vn-41918587 failed..Will retry 2025-09-16 09:55:50,349 - DEBUG - Response for deleting network () 2025-09-16 09:55:50,350 - INFO - Deleting VN ctest-vn-06884885 2025-09-16 09:55:50,452 - DEBUG - Response for deleting network () 2025-09-16 09:55:50,715 - DEBUG - No XMPP flaps were noticed during the test
2025-09-16 09:55:50,715 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-16 09:55:50,715 - INFO - -------------------------------------------------------------------------------- 2025-09-16 09:55:51,425 - INFO - Deleted project: ctest-TestRoutersBasic-87773436, ID : 5ea2e2ae-1ae5-4f15-89d1-3ccb684cf808