2025-02-13 02:39:41,520 - INFO - Domain Default found not creating 2025-02-13 02:39:41,672 - INFO - Project ctest-TestRoutersBasic-59699688 not found, creating it 2025-02-13 02:39:42,181 - INFO - Created Project:ctest-TestRoutersBasic-59699688, ID : fc3bf1ce-6ada-4ec9-8ff1-bb865706e767 2025-02-13 02:39:44,319 - INFO - ================================================================================ 2025-02-13 02:39:44,320 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-13 02:39:44,320 - 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-02-13 02:39:44,593 - DEBUG - Nothing to compare xmpp stats {'10.0.0.47': {'10.20.0.28': '0'}} with 2025-02-13 02:39:44,593 - INFO - Initial checks done. Running the testcase now 2025-02-13 02:39:44,593 - INFO - 2025-02-13 02:39:45,324 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-59699688 2025-02-13 02:39:45,426 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-59699688 2025-02-13 02:39:45,774 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59699688', 'default']} 2025-02-13 02:39:46,091 - DEBUG - Response for create_network : {'network': {'id': 'b9d38fdb-6d07-47ea-83b4-e9376977ad0d', 'name': 'ctest-vn-66135859', 'tenant_id': 'fc3bf1ce6ada4ec98ff1bb865706e767', 'project_id': 'fc3bf1ce6ada4ec98ff1bb865706e767', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59699688', 'ctest-vn-66135859'], 'port_security_enabled': True, 'description': ''}} 2025-02-13 02:39:46,304 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c4b508d-0df4-4897-a4f9-f803159b8851', 'name': '', 'tenant_id': 'fc3bf1ce6ada4ec98ff1bb865706e767', 'network_id': 'b9d38fdb-6d07-47ea-83b4-e9376977ad0d', 'ip_version': 4, 'cidr': '162.17.178.192/26', 'allocation_pools': [{'start': '162.17.178.194', 'end': '162.17.178.254'}], 'gateway_ip': '162.17.178.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.17.178.194', 'tags': [], 'project_id': 'fc3bf1ce6ada4ec98ff1bb865706e767'}} 2025-02-13 02:39:46,329 - INFO - Created VN ctest-vn-66135859 2025-02-13 02:39:46,382 - DEBUG - VN ctest-vn-66135859 UUID is b9d38fdb-6d07-47ea-83b4-e9376977ad0d 2025-02-13 02:39:46,748 - DEBUG - Response for create_network : {'network': {'id': 'ece673fe-a755-49d8-a81e-6de3009e367d', 'name': 'ctest-ext_vn-48105148', 'tenant_id': 'fc3bf1ce6ada4ec98ff1bb865706e767', 'project_id': 'fc3bf1ce6ada4ec98ff1bb865706e767', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59699688', 'ctest-ext_vn-48105148'], 'port_security_enabled': True, 'description': ''}} 2025-02-13 02:39:47,106 - DEBUG - Response for create_subnet : {'subnet': {'id': '94c68554-c4b2-4d21-9e4f-422a140c8dea', 'name': '', 'tenant_id': 'fc3bf1ce6ada4ec98ff1bb865706e767', 'network_id': 'ece673fe-a755-49d8-a81e-6de3009e367d', 'ip_version': 4, 'cidr': '49.249.216.64/26', 'allocation_pools': [{'start': '49.249.216.66', 'end': '49.249.216.126'}], 'gateway_ip': '49.249.216.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.249.216.66', 'tags': [], 'project_id': 'fc3bf1ce6ada4ec98ff1bb865706e767'}} 2025-02-13 02:39:47,130 - INFO - Created VN ctest-ext_vn-48105148 2025-02-13 02:39:47,186 - DEBUG - VN ctest-ext_vn-48105148 UUID is ece673fe-a755-49d8-a81e-6de3009e367d 2025-02-13 02:39:47,385 - DEBUG - Services list from nova: [, , ] 2025-02-13 02:39:48,468 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2732-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2732-1) 2025-02-13 02:39:49,701 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2732-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2732-1) 2025-02-13 02:39:49,806 - INFO - Setting gateway for router 9a2b088b-0e94-43ad-b7be-36c946ff8fed to network ece673fe-a755-49d8-a81e-6de3009e367d 2025-02-13 02:39:49,887 - INFO - Adding interface with subnet_id 2c4b508d-0df4-4897-a4f9-f803159b8851, port_id None to router 9a2b088b-0e94-43ad-b7be-36c946ff8fed 2025-02-13 02:39:50,316 - INFO - Waiting for VM ctest-TestRoutersBasic-59699688-64137025 to be up.. 2025-02-13 02:39:50,495 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-13 02:39:55,591 - DEBUG - VM is in ACTIVE state now 2025-02-13 02:39:55,591 - INFO - VM name : ctest-TestRoutersBasic-59699688-64137025 2025-02-13 02:39:55,686 - DEBUG - VM ctest-TestRoutersBasic-59699688-64137025 ID is 591276f2-ddd2-41b4-ac0e-14fb4dab179e 2025-02-13 02:39:55,710 - DEBUG - VM ctest-TestRoutersBasic-59699688-64137025 launched on Node cn-jenkins-deploy-platform-ansible-os-2732-1 2025-02-13 02:39:55,799 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/591276f2-ddd2-41b4-ac0e-14fb4dab179e 2025-02-13 02:39:56,098 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/591276f2-ddd2-41b4-ac0e-14fb4dab179e 2025-02-13 02:39:56,135 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/babb0ae8-9ffd-40c2-a45b-ec279f3663b1 2025-02-13 02:39:59,431 - 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 1030ms') 2025-02-13 02:39:59,431 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59699688-64137025 failed! 2025-02-13 02:39:59,486 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-59699688:ctest-vn-66135859 is 162.17.178.193 and allocation pool is NOT set 2025-02-13 02:40:01,544 - 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.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.490 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.490/1.800/3.111/1.310 ms') 2025-02-13 02:40:01,545 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59699688-64137025 passed 2025-02-13 02:40:01,698 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 02:40:01,698 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59699688-64137025, IP 162.17.178.195, Port 22 2025-02-13 02:40:01,864 - DEBUG - VM ctest-TestRoutersBasic-59699688-64137025 is ready for SSH connections 2025-02-13 02:40:01,865 - INFO - Waiting for VM ctest-TestRoutersBasic-59699688-75059946 to be up.. 2025-02-13 02:40:01,982 - DEBUG - VM is in ACTIVE state now 2025-02-13 02:40:01,983 - INFO - VM name : ctest-TestRoutersBasic-59699688-75059946 2025-02-13 02:40:02,080 - DEBUG - VM ctest-TestRoutersBasic-59699688-75059946 ID is 708c15d2-856d-4241-85ba-a04648dc82b9 2025-02-13 02:40:02,080 - DEBUG - VM ctest-TestRoutersBasic-59699688-75059946 launched on Node cn-jenkins-deploy-platform-ansible-os-2732-1 2025-02-13 02:40:02,169 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/708c15d2-856d-4241-85ba-a04648dc82b9 2025-02-13 02:40:02,181 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/636c32f1-cca4-440a-9a5f-f8b84517acca 2025-02-13 02:40:03,460 - 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=3.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.452 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.452/1.957/3.462/1.505 ms') 2025-02-13 02:40:03,460 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-59699688-75059946 passed 2025-02-13 02:40:03,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 02:40:03,615 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59699688-75059946, IP 49.249.216.67, Port 22 2025-02-13 02:40:03,788 - DEBUG - VM ctest-TestRoutersBasic-59699688-75059946 is ready for SSH connections 2025-02-13 02:40:03,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 02:40:03,789 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.249.216.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.47, gateway password: c0ntrail123 2025-02-13 02:40:03,789 - DEBUG - ping -s 56 -c 3 -W 1 49.249.216.67 2025-02-13 02:40:07,836 - DEBUG - PING 49.249.216.67 (49.249.216.67): 56 data bytes 64 bytes from 49.249.216.67: seq=0 ttl=62 time=7.820 ms 64 bytes from 49.249.216.67: seq=1 ttl=62 time=1.180 ms 64 bytes from 49.249.216.67: seq=2 ttl=62 time=1.148 ms --- 49.249.216.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.148/3.382/7.820 ms 2025-02-13 02:40:07,836 - INFO - Ping to IP 49.249.216.67 from VM ctest-TestRoutersBasic-59699688-64137025 passed 2025-02-13 02:40:07,836 - INFO - Deleting interface with subnet_id 2c4b508d-0df4-4897-a4f9-f803159b8851, port_id None from router 9a2b088b-0e94-43ad-b7be-36c946ff8fed 2025-02-13 02:40:08,066 - INFO - Deleting VM ctest-TestRoutersBasic-59699688-75059946 2025-02-13 02:40:08,148 - INFO - Deleting VM ctest-TestRoutersBasic-59699688-64137025 2025-02-13 02:40:08,229 - INFO - Deleting VN ctest-ext_vn-48105148 2025-02-13 02:40:08,332 - DEBUG - VN ece673fe-a755-49d8-a81e-6de3009e367d still in use: Unable to complete operation on network ece673fe-a755-49d8-a81e-6de3009e367d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c566d507-ad8c-45c2-a2f4-91c434c3e5e6'] 2025-02-13 02:40:08,332 - WARNING - Deleting VN ctest-ext_vn-48105148 failed..Will retry 2025-02-13 02:40:10,442 - DEBUG - Response for deleting network () 2025-02-13 02:40:10,442 - INFO - Deleting VN ctest-vn-66135859 2025-02-13 02:40:10,567 - DEBUG - Response for deleting network () 2025-02-13 02:40:10,825 - DEBUG - No XMPP flaps were noticed during the test 2025-02-13 02:40:10,825 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-02-13 02:40:10,825 - INFO - -------------------------------------------------------------------------------- 2025-02-13 02:40:11,537 - INFO - Deleted project: ctest-TestRoutersBasic-59699688, ID : fc3bf1ce-6ada-4ec9-8ff1-bb865706e767