2025-11-07 22:36:27,890 - INFO - Domain Default found not creating 2025-11-07 22:36:28,039 - INFO - Project ctest-TestRoutersBasic-42741470 not found, creating it 2025-11-07 22:36:28,479 - INFO - Created Project:ctest-TestRoutersBasic-42741470, ID : 5bf84d9b-86f4-4993-b538-c02687bb6907 2025-11-07 22:36:29,913 - INFO - ================================================================================ 2025-11-07 22:36:29,913 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-07 22:36:29,914 - 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-11-07 22:36:30,170 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-11-07 22:36:30,170 - INFO - Initial checks done. Running the testcase now 2025-11-07 22:36:30,170 - INFO - 2025-11-07 22:36:30,883 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-42741470 2025-11-07 22:36:30,980 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-42741470 2025-11-07 22:36:31,299 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42741470', 'default']} 2025-11-07 22:36:31,573 - DEBUG - Response for create_network : {'network': {'id': '58c46759-6b19-4b1b-9a52-352aed212d22', 'name': 'ctest-vn-88551954', 'tenant_id': '5bf84d9b86f44993b538c02687bb6907', 'project_id': '5bf84d9b86f44993b538c02687bb6907', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42741470', 'ctest-vn-88551954'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 22:36:31,717 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fdb7a3ef-53b4-4ef7-a096-90bb7958e980', 'name': '', 'tenant_id': '5bf84d9b86f44993b538c02687bb6907', 'network_id': '58c46759-6b19-4b1b-9a52-352aed212d22', 'ip_version': 4, 'cidr': '134.224.8.128/26', 'allocation_pools': [{'start': '134.224.8.130', 'end': '134.224.8.190'}], 'gateway_ip': '134.224.8.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.224.8.130', 'tags': [], 'project_id': '5bf84d9b86f44993b538c02687bb6907'}} 2025-11-07 22:36:31,733 - INFO - Created VN ctest-vn-88551954 2025-11-07 22:36:31,784 - DEBUG - VN ctest-vn-88551954 UUID is 58c46759-6b19-4b1b-9a52-352aed212d22 2025-11-07 22:36:32,161 - DEBUG - Response for create_network : {'network': {'id': '555f7716-592c-43a2-83a1-38b6a2c233ce', 'name': 'ctest-ext_vn-55373030', 'tenant_id': '5bf84d9b86f44993b538c02687bb6907', 'project_id': '5bf84d9b86f44993b538c02687bb6907', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42741470', 'ctest-ext_vn-55373030'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 22:36:32,349 - DEBUG - Response for create_subnet : {'subnet': {'id': '0103cacc-0fc8-4c55-8575-56efd21b7da5', 'name': '', 'tenant_id': '5bf84d9b86f44993b538c02687bb6907', 'network_id': '555f7716-592c-43a2-83a1-38b6a2c233ce', 'ip_version': 4, 'cidr': '165.48.10.64/26', 'allocation_pools': [{'start': '165.48.10.66', 'end': '165.48.10.126'}], 'gateway_ip': '165.48.10.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.48.10.66', 'tags': [], 'project_id': '5bf84d9b86f44993b538c02687bb6907'}} 2025-11-07 22:36:32,363 - INFO - Created VN ctest-ext_vn-55373030 2025-11-07 22:36:32,411 - DEBUG - VN ctest-ext_vn-55373030 UUID is 555f7716-592c-43a2-83a1-38b6a2c233ce 2025-11-07 22:36:32,610 - DEBUG - Services list from nova: [, , ] 2025-11-07 22:36:33,601 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4673-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4673-1) 2025-11-07 22:36:34,662 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4673-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4673-1) 2025-11-07 22:36:34,725 - INFO - Setting gateway for router c78ce629-56e3-498b-9009-def988a74616 to network 555f7716-592c-43a2-83a1-38b6a2c233ce 2025-11-07 22:36:34,799 - INFO - Adding interface with subnet_id fdb7a3ef-53b4-4ef7-a096-90bb7958e980, port_id None to router c78ce629-56e3-498b-9009-def988a74616 2025-11-07 22:36:35,156 - INFO - Waiting for VM ctest-TestRoutersBasic-42741470-52240081 to be up.. 2025-11-07 22:36:35,272 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-07 22:36:40,351 - DEBUG - VM is in ACTIVE state now 2025-11-07 22:36:40,351 - INFO - VM name : ctest-TestRoutersBasic-42741470-52240081 2025-11-07 22:36:40,424 - DEBUG - VM ctest-TestRoutersBasic-42741470-52240081 ID is 43128ae7-07fa-4ab9-a3c6-60a6c8ae4804 2025-11-07 22:36:40,445 - DEBUG - VM ctest-TestRoutersBasic-42741470-52240081 launched on Node cn-jenkins-deploy-platform-ansible-os-4673-1 2025-11-07 22:36:40,533 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/43128ae7-07fa-4ab9-a3c6-60a6c8ae4804 2025-11-07 22:36:40,835 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/43128ae7-07fa-4ab9-a3c6-60a6c8ae4804 2025-11-07 22:36:40,874 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/17ab207a-ef93-4a52-b35a-9832668a1043 2025-11-07 22:36:44,128 - 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 1007ms') 2025-11-07 22:36:44,128 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42741470-52240081 failed! 2025-11-07 22:36:44,184 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-42741470:ctest-vn-88551954 is 134.224.8.129 and allocation pool is NOT set 2025-11-07 22:36:46,244 - 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.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.415 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.415/1.747/3.080/1.332 ms') 2025-11-07 22:36:46,244 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42741470-52240081 passed 2025-11-07 22:36:46,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 22:36:46,396 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42741470-52240081, IP 134.224.8.131, Port 22 2025-11-07 22:36:46,559 - DEBUG - VM ctest-TestRoutersBasic-42741470-52240081 is ready for SSH connections 2025-11-07 22:36:46,559 - INFO - Waiting for VM ctest-TestRoutersBasic-42741470-53307616 to be up.. 2025-11-07 22:36:46,631 - DEBUG - VM is in ACTIVE state now 2025-11-07 22:36:46,631 - INFO - VM name : ctest-TestRoutersBasic-42741470-53307616 2025-11-07 22:36:46,703 - DEBUG - VM ctest-TestRoutersBasic-42741470-53307616 ID is cf0900e2-05dd-4952-a624-2df42ed6f994 2025-11-07 22:36:46,703 - DEBUG - VM ctest-TestRoutersBasic-42741470-53307616 launched on Node cn-jenkins-deploy-platform-ansible-os-4673-1 2025-11-07 22:36:46,771 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/cf0900e2-05dd-4952-a624-2df42ed6f994 2025-11-07 22:36:46,778 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/21c2901d-8882-423d-9e33-873f03bca95a 2025-11-07 22:36:48,017 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.375 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.375/1.600/2.826/1.225 ms') 2025-11-07 22:36:48,017 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-42741470-53307616 passed 2025-11-07 22:36:48,176 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 22:36:48,176 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42741470-53307616, IP 165.48.10.67, Port 22 2025-11-07 22:36:48,331 - DEBUG - VM ctest-TestRoutersBasic-42741470-53307616 is ready for SSH connections 2025-11-07 22:36:48,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 22:36:48,331 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.48.10.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-07 22:36:48,331 - DEBUG - ping -s 56 -c 3 -W 1 165.48.10.67 2025-11-07 22:36:52,030 - DEBUG - PING 165.48.10.67 (165.48.10.67): 56 data bytes 64 bytes from 165.48.10.67: seq=0 ttl=62 time=6.008 ms 64 bytes from 165.48.10.67: seq=1 ttl=62 time=0.865 ms 64 bytes from 165.48.10.67: seq=2 ttl=62 time=1.229 ms --- 165.48.10.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.865/2.700/6.008 ms 2025-11-07 22:36:52,030 - INFO - Ping to IP 165.48.10.67 from VM ctest-TestRoutersBasic-42741470-52240081 passed 2025-11-07 22:36:52,031 - INFO - Deleting interface with subnet_id fdb7a3ef-53b4-4ef7-a096-90bb7958e980, port_id None from router c78ce629-56e3-498b-9009-def988a74616 2025-11-07 22:36:52,207 - INFO - Deleting VM ctest-TestRoutersBasic-42741470-53307616 2025-11-07 22:36:52,280 - INFO - Deleting VM ctest-TestRoutersBasic-42741470-52240081 2025-11-07 22:36:52,354 - INFO - Deleting VN ctest-ext_vn-55373030 2025-11-07 22:36:52,418 - DEBUG - VN 555f7716-592c-43a2-83a1-38b6a2c233ce still in use: Unable to complete operation on network 555f7716-592c-43a2-83a1-38b6a2c233ce. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a0896c68-426a-45a1-aafe-4376aeb6aebf'] 2025-11-07 22:36:52,418 - WARNING - Deleting VN ctest-ext_vn-55373030 failed..Will retry 2025-11-07 22:36:54,508 - DEBUG - Response for deleting network () 2025-11-07 22:36:54,508 - INFO - Deleting VN ctest-vn-88551954 2025-11-07 22:36:54,608 - DEBUG - Response for deleting network () 2025-11-07 22:36:54,870 - DEBUG - No XMPP flaps were noticed during the test
2025-11-07 22:36:54,870 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-07 22:36:54,871 - INFO - -------------------------------------------------------------------------------- 2025-11-07 22:36:55,537 - INFO - Deleted project: ctest-TestRoutersBasic-42741470, ID : 5bf84d9b-86f4-4993-b538-c02687bb6907