2025-09-22 21:10:48,243 - INFO - Domain Default found not creating 2025-09-22 21:10:48,374 - INFO - Project ctest-TestRoutersBasic-89785267 not found, creating it 2025-09-22 21:10:48,787 - INFO - Created Project:ctest-TestRoutersBasic-89785267, ID : 24b2ef01-3300-45e0-a6eb-664a286c0d18 2025-09-22 21:10:50,118 - INFO - ================================================================================ 2025-09-22 21:10:50,118 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-22 21:10:50,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-22 21:10:50,375 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-22 21:10:50,375 - INFO - Initial checks done. Running the testcase now 2025-09-22 21:10:50,375 - INFO - 2025-09-22 21:10:51,130 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-89785267 2025-09-22 21:10:51,231 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-89785267 2025-09-22 21:10:51,550 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89785267', 'default']} 2025-09-22 21:10:51,821 - DEBUG - Response for create_network : {'network': {'id': '9c0b675e-3511-4eb6-81b2-8752985fc827', 'name': 'ctest-vn-04261457', 'tenant_id': '24b2ef01330045e0a6eb664a286c0d18', 'project_id': '24b2ef01330045e0a6eb664a286c0d18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89785267', 'ctest-vn-04261457'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 21:10:52,007 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a08b9d7-0a6a-45e8-84e6-9f5cbd9d7d41', 'name': '', 'tenant_id': '24b2ef01330045e0a6eb664a286c0d18', 'network_id': '9c0b675e-3511-4eb6-81b2-8752985fc827', 'ip_version': 4, 'cidr': '13.143.103.0/26', 'allocation_pools': [{'start': '13.143.103.2', 'end': '13.143.103.62'}], 'gateway_ip': '13.143.103.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.143.103.2', 'tags': [], 'project_id': '24b2ef01330045e0a6eb664a286c0d18'}} 2025-09-22 21:10:52,024 - INFO - Created VN ctest-vn-04261457 2025-09-22 21:10:52,075 - DEBUG - VN ctest-vn-04261457 UUID is 9c0b675e-3511-4eb6-81b2-8752985fc827 2025-09-22 21:10:52,390 - DEBUG - Response for create_network : {'network': {'id': 'c4be94ab-ffbb-453f-8c21-b687571c1d11', 'name': 'ctest-ext_vn-58982377', 'tenant_id': '24b2ef01330045e0a6eb664a286c0d18', 'project_id': '24b2ef01330045e0a6eb664a286c0d18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89785267', 'ctest-ext_vn-58982377'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 21:10:52,589 - DEBUG - Response for create_subnet : {'subnet': {'id': '780a13d3-0501-446a-b5f3-6b8d4f122465', 'name': '', 'tenant_id': '24b2ef01330045e0a6eb664a286c0d18', 'network_id': 'c4be94ab-ffbb-453f-8c21-b687571c1d11', 'ip_version': 4, 'cidr': '66.231.218.0/26', 'allocation_pools': [{'start': '66.231.218.2', 'end': '66.231.218.62'}], 'gateway_ip': '66.231.218.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.231.218.2', 'tags': [], 'project_id': '24b2ef01330045e0a6eb664a286c0d18'}} 2025-09-22 21:10:52,606 - INFO - Created VN ctest-ext_vn-58982377 2025-09-22 21:10:52,659 - DEBUG - VN ctest-ext_vn-58982377 UUID is c4be94ab-ffbb-453f-8c21-b687571c1d11 2025-09-22 21:10:52,846 - DEBUG - Services list from nova: [, , ] 2025-09-22 21:10:53,772 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4172-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4172-1) 2025-09-22 21:10:54,788 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4172-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4172-1) 2025-09-22 21:10:54,853 - INFO - Setting gateway for router 24f7db97-f7c3-4fa2-9df2-717817381d20 to network c4be94ab-ffbb-453f-8c21-b687571c1d11 2025-09-22 21:10:54,906 - INFO - Adding interface with subnet_id 3a08b9d7-0a6a-45e8-84e6-9f5cbd9d7d41, port_id None to router 24f7db97-f7c3-4fa2-9df2-717817381d20 2025-09-22 21:10:55,154 - INFO - Waiting for VM ctest-TestRoutersBasic-89785267-29556792 to be up.. 2025-09-22 21:10:55,283 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-22 21:11:00,347 - DEBUG - VM is in ACTIVE state now 2025-09-22 21:11:00,348 - INFO - VM name : ctest-TestRoutersBasic-89785267-29556792 2025-09-22 21:11:00,412 - DEBUG - VM ctest-TestRoutersBasic-89785267-29556792 ID is 0aa4aca9-2ea6-46d5-8fd0-71430564ba97 2025-09-22 21:11:00,428 - DEBUG - VM ctest-TestRoutersBasic-89785267-29556792 launched on Node cn-jenkins-deploy-platform-ansible-os-4172-1 2025-09-22 21:11:00,496 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0aa4aca9-2ea6-46d5-8fd0-71430564ba97 2025-09-22 21:11:00,784 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0aa4aca9-2ea6-46d5-8fd0-71430564ba97 2025-09-22 21:11:00,812 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/79c2e24d-c76b-48a4-b1e9-6ba63e15beed 2025-09-22 21:11:04,069 - 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 1032ms') 2025-09-22 21:11:04,069 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-89785267-29556792 failed! 2025-09-22 21:11:04,123 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-89785267:ctest-vn-04261457 is 13.143.103.1 and allocation pool is NOT set 2025-09-22 21:11:06,184 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.338 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.338/2.018/3.698/1.680 ms') 2025-09-22 21:11:06,184 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-89785267-29556792 passed 2025-09-22 21:11:06,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 21:11:06,331 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89785267-29556792, IP 13.143.103.3, Port 22 2025-09-22 21:11:06,487 - DEBUG - VM ctest-TestRoutersBasic-89785267-29556792 is ready for SSH connections 2025-09-22 21:11:06,487 - INFO - Waiting for VM ctest-TestRoutersBasic-89785267-97321955 to be up.. 2025-09-22 21:11:06,552 - DEBUG - VM is in ACTIVE state now 2025-09-22 21:11:06,552 - INFO - VM name : ctest-TestRoutersBasic-89785267-97321955 2025-09-22 21:11:06,615 - DEBUG - VM ctest-TestRoutersBasic-89785267-97321955 ID is c6927914-d50e-4ea1-8247-5fffc965af26 2025-09-22 21:11:06,615 - DEBUG - VM ctest-TestRoutersBasic-89785267-97321955 launched on Node cn-jenkins-deploy-platform-ansible-os-4172-1 2025-09-22 21:11:06,679 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c6927914-d50e-4ea1-8247-5fffc965af26 2025-09-22 21:11:06,686 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c1d8046f-00c6-48d8-a897-d90c44974de8 2025-09-22 21:11:07,910 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.341 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.341/1.544/2.748/1.203 ms') 2025-09-22 21:11:07,910 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-89785267-97321955 passed 2025-09-22 21:11:08,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 21:11:08,059 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89785267-97321955, IP 66.231.218.3, Port 22 2025-09-22 21:11:08,218 - DEBUG - VM ctest-TestRoutersBasic-89785267-97321955 is ready for SSH connections 2025-09-22 21:11:08,218 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 21:11:08,218 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.231.218.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-22 21:11:08,218 - DEBUG - ping -s 56 -c 3 -W 1 66.231.218.3 2025-09-22 21:11:12,180 - DEBUG - PING 66.231.218.3 (66.231.218.3): 56 data bytes 64 bytes from 66.231.218.3: seq=0 ttl=62 time=5.920 ms 64 bytes from 66.231.218.3: seq=1 ttl=62 time=0.759 ms 64 bytes from 66.231.218.3: seq=2 ttl=62 time=0.842 ms --- 66.231.218.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.759/2.507/5.920 ms 2025-09-22 21:11:12,180 - INFO - Ping to IP 66.231.218.3 from VM ctest-TestRoutersBasic-89785267-29556792 passed 2025-09-22 21:11:12,180 - INFO - Deleting interface with subnet_id 3a08b9d7-0a6a-45e8-84e6-9f5cbd9d7d41, port_id None from router 24f7db97-f7c3-4fa2-9df2-717817381d20 2025-09-22 21:11:12,352 - INFO - Deleting VM ctest-TestRoutersBasic-89785267-97321955 2025-09-22 21:11:12,422 - INFO - Deleting VM ctest-TestRoutersBasic-89785267-29556792 2025-09-22 21:11:12,487 - INFO - Deleting VN ctest-ext_vn-58982377 2025-09-22 21:11:12,550 - DEBUG - VN c4be94ab-ffbb-453f-8c21-b687571c1d11 still in use: Unable to complete operation on network c4be94ab-ffbb-453f-8c21-b687571c1d11. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3017af53-875a-412a-a15f-8116213f2cd3'] 2025-09-22 21:11:12,550 - WARNING - Deleting VN ctest-ext_vn-58982377 failed..Will retry 2025-09-22 21:11:14,632 - DEBUG - Response for deleting network () 2025-09-22 21:11:14,632 - INFO - Deleting VN ctest-vn-04261457 2025-09-22 21:11:14,714 - DEBUG - Response for deleting network () 2025-09-22 21:11:14,975 - DEBUG - No XMPP flaps were noticed during the test
2025-09-22 21:11:14,975 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24]
2025-09-22 21:11:14,975 - INFO - -------------------------------------------------------------------------------- 2025-09-22 21:11:15,623 - INFO - Deleted project: ctest-TestRoutersBasic-89785267, ID : 24b2ef01-3300-45e0-a6eb-664a286c0d18