2025-03-26 09:33:23,474 - INFO - Domain Default found not creating 2025-03-26 09:33:23,653 - INFO - Project ctest-TestRoutersBasic-84798583 not found, creating it 2025-03-26 09:33:24,160 - INFO - Created Project:ctest-TestRoutersBasic-84798583, ID : 927b5b09-19cc-439f-b274-c44548a8524c 2025-03-26 09:33:25,574 - INFO - ================================================================================ 2025-03-26 09:33:25,574 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-03-26 09:33:25,575 - 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-03-26 09:33:25,836 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-03-26 09:33:25,836 - INFO - Initial checks done. Running the testcase now 2025-03-26 09:33:25,836 - INFO - 2025-03-26 09:33:26,542 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-84798583 2025-03-26 09:33:26,638 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-84798583 2025-03-26 09:33:26,962 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84798583', 'default']} 2025-03-26 09:33:27,263 - DEBUG - Response for create_network : {'network': {'id': '7b622d97-26f3-49cf-8672-6cd7aa8057c5', 'name': 'ctest-vn-42547282', 'tenant_id': '927b5b0919cc439fb274c44548a8524c', 'project_id': '927b5b0919cc439fb274c44548a8524c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84798583', 'ctest-vn-42547282'], 'port_security_enabled': True, 'description': ''}} 2025-03-26 09:33:27,436 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cee5910d-5a45-4d4f-9c4a-cc5a530aae1b', 'name': '', 'tenant_id': '927b5b0919cc439fb274c44548a8524c', 'network_id': '7b622d97-26f3-49cf-8672-6cd7aa8057c5', 'ip_version': 4, 'cidr': '101.115.191.64/26', 'allocation_pools': [{'start': '101.115.191.66', 'end': '101.115.191.126'}], 'gateway_ip': '101.115.191.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.115.191.66', 'tags': [], 'project_id': '927b5b0919cc439fb274c44548a8524c'}} 2025-03-26 09:33:27,458 - INFO - Created VN ctest-vn-42547282 2025-03-26 09:33:27,514 - DEBUG - VN ctest-vn-42547282 UUID is 7b622d97-26f3-49cf-8672-6cd7aa8057c5 2025-03-26 09:33:27,834 - DEBUG - Response for create_network : {'network': {'id': '7a3e1fda-6833-4be7-abee-abcb19a31b92', 'name': 'ctest-ext_vn-52418852', 'tenant_id': '927b5b0919cc439fb274c44548a8524c', 'project_id': '927b5b0919cc439fb274c44548a8524c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84798583', 'ctest-ext_vn-52418852'], 'port_security_enabled': True, 'description': ''}} 2025-03-26 09:33:28,060 - DEBUG - Response for create_subnet : {'subnet': {'id': 'adf62cb3-ea8c-4cce-92a5-06e82ddf07e2', 'name': '', 'tenant_id': '927b5b0919cc439fb274c44548a8524c', 'network_id': '7a3e1fda-6833-4be7-abee-abcb19a31b92', 'ip_version': 4, 'cidr': '39.2.101.0/26', 'allocation_pools': [{'start': '39.2.101.2', 'end': '39.2.101.62'}], 'gateway_ip': '39.2.101.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.2.101.2', 'tags': [], 'project_id': '927b5b0919cc439fb274c44548a8524c'}} 2025-03-26 09:33:28,079 - INFO - Created VN ctest-ext_vn-52418852 2025-03-26 09:33:28,134 - DEBUG - VN ctest-ext_vn-52418852 UUID is 7a3e1fda-6833-4be7-abee-abcb19a31b92 2025-03-26 09:33:28,302 - DEBUG - Services list from nova: [, , ] 2025-03-26 09:33:29,300 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2957-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2957-1) 2025-03-26 09:33:30,492 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2957-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2957-1) 2025-03-26 09:33:30,588 - INFO - Setting gateway for router 2e56ccfa-21b5-4c81-b6df-00623b1482a4 to network 7a3e1fda-6833-4be7-abee-abcb19a31b92 2025-03-26 09:33:30,653 - INFO - Adding interface with subnet_id cee5910d-5a45-4d4f-9c4a-cc5a530aae1b, port_id None to router 2e56ccfa-21b5-4c81-b6df-00623b1482a4 2025-03-26 09:33:31,180 - INFO - Waiting for VM ctest-TestRoutersBasic-84798583-24587282 to be up.. 2025-03-26 09:33:31,407 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-26 09:33:36,490 - DEBUG - VM is in ACTIVE state now 2025-03-26 09:33:36,490 - INFO - VM name : ctest-TestRoutersBasic-84798583-24587282 2025-03-26 09:33:36,570 - DEBUG - VM ctest-TestRoutersBasic-84798583-24587282 ID is 7d4c1198-65da-4c0e-97d9-ceb11bfd8533 2025-03-26 09:33:36,589 - DEBUG - VM ctest-TestRoutersBasic-84798583-24587282 launched on Node cn-jenkins-deploy-platform-ansible-os-2957-1 2025-03-26 09:33:36,662 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/7d4c1198-65da-4c0e-97d9-ceb11bfd8533 2025-03-26 09:33:36,954 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/7d4c1198-65da-4c0e-97d9-ceb11bfd8533 2025-03-26 09:33:36,985 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/4126718d-f16d-4e03-91c3-4c0fa0622265 2025-03-26 09:33:40,252 - 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 1015ms') 2025-03-26 09:33:40,252 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84798583-24587282 failed! 2025-03-26 09:33:40,310 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-84798583:ctest-vn-42547282 is 101.115.191.65 and allocation pool is NOT set 2025-03-26 09:33:42,373 - 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.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.477 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.477/1.964/3.452/1.487 ms') 2025-03-26 09:33:42,373 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84798583-24587282 passed 2025-03-26 09:33:42,522 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-26 09:33:42,522 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84798583-24587282, IP 101.115.191.67, Port 22 2025-03-26 09:33:42,684 - DEBUG - VM ctest-TestRoutersBasic-84798583-24587282 is ready for SSH connections 2025-03-26 09:33:42,684 - INFO - Waiting for VM ctest-TestRoutersBasic-84798583-32417526 to be up.. 2025-03-26 09:33:42,769 - DEBUG - VM is in ACTIVE state now 2025-03-26 09:33:42,769 - INFO - VM name : ctest-TestRoutersBasic-84798583-32417526 2025-03-26 09:33:42,857 - DEBUG - VM ctest-TestRoutersBasic-84798583-32417526 ID is 3b7c8ef8-51c4-4f35-9a70-1c0ede276814 2025-03-26 09:33:42,857 - DEBUG - VM ctest-TestRoutersBasic-84798583-32417526 launched on Node cn-jenkins-deploy-platform-ansible-os-2957-1 2025-03-26 09:33:42,934 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/3b7c8ef8-51c4-4f35-9a70-1c0ede276814 2025-03-26 09:33:42,943 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/bf1cd99a-25de-40cc-9d11-22f816c285ae 2025-03-26 09:33:44,184 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.585 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.585/1.877/3.169/1.292 ms') 2025-03-26 09:33:44,184 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-84798583-32417526 passed 2025-03-26 09:33:44,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-26 09:33:44,334 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84798583-32417526, IP 39.2.101.3, Port 22 2025-03-26 09:33:44,490 - DEBUG - VM ctest-TestRoutersBasic-84798583-32417526 is ready for SSH connections 2025-03-26 09:33:44,490 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-26 09:33:44,490 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.2.101.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-03-26 09:33:44,491 - DEBUG - ping -s 56 -c 3 -W 1 39.2.101.3 2025-03-26 09:33:48,498 - DEBUG - PING 39.2.101.3 (39.2.101.3): 56 data bytes 64 bytes from 39.2.101.3: seq=0 ttl=62 time=6.179 ms 64 bytes from 39.2.101.3: seq=1 ttl=62 time=0.774 ms 64 bytes from 39.2.101.3: seq=2 ttl=62 time=0.879 ms --- 39.2.101.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.774/2.610/6.179 ms 2025-03-26 09:33:48,499 - INFO - Ping to IP 39.2.101.3 from VM ctest-TestRoutersBasic-84798583-24587282 passed 2025-03-26 09:33:48,499 - INFO - Deleting interface with subnet_id cee5910d-5a45-4d4f-9c4a-cc5a530aae1b, port_id None from router 2e56ccfa-21b5-4c81-b6df-00623b1482a4 2025-03-26 09:33:49,084 - INFO - Deleting VM ctest-TestRoutersBasic-84798583-32417526 2025-03-26 09:33:49,157 - INFO - Deleting VM ctest-TestRoutersBasic-84798583-24587282 2025-03-26 09:33:49,247 - INFO - Deleting VN ctest-ext_vn-52418852 2025-03-26 09:33:49,388 - DEBUG - VN 7a3e1fda-6833-4be7-abee-abcb19a31b92 still in use: Unable to complete operation on network 7a3e1fda-6833-4be7-abee-abcb19a31b92. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bbbe2f52-bc5a-4788-a893-96cd0647b9b1'] 2025-03-26 09:33:49,388 - WARNING - Deleting VN ctest-ext_vn-52418852 failed..Will retry 2025-03-26 09:33:51,493 - DEBUG - Response for deleting network () 2025-03-26 09:33:51,493 - INFO - Deleting VN ctest-vn-42547282 2025-03-26 09:33:51,597 - DEBUG - Response for deleting network () 2025-03-26 09:33:51,856 - DEBUG - No XMPP flaps were noticed during the test 2025-03-26 09:33:51,856 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-03-26 09:33:51,856 - INFO - -------------------------------------------------------------------------------- 2025-03-26 09:33:52,546 - INFO - Deleted project: ctest-TestRoutersBasic-84798583, ID : 927b5b09-19cc-439f-b274-c44548a8524c