2025-01-04 19:47:09,029 - INFO - Domain Default found not creating 2025-01-04 19:47:09,182 - INFO - Project ctest-TestRoutersBasic-77302214 not found, creating it 2025-01-04 19:47:09,660 - INFO - Created Project:ctest-TestRoutersBasic-77302214, ID : a0b57402-61d3-4227-a06f-f880b37d80e1 2025-01-04 19:47:11,262 - INFO - ================================================================================ 2025-01-04 19:47:11,262 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-04 19:47:11,262 - 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-01-04 19:47:11,526 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.14': '0'}} with 2025-01-04 19:47:11,526 - INFO - Initial checks done. Running the testcase now 2025-01-04 19:47:11,526 - INFO - 2025-01-04 19:47:12,242 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-77302214 2025-01-04 19:47:12,342 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-77302214 2025-01-04 19:47:12,686 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77302214', 'default']} 2025-01-04 19:47:13,000 - DEBUG - Response for create_network : {'network': {'id': '78122423-fa14-4476-9453-fcdf295df6a7', 'name': 'ctest-vn-16242090', 'tenant_id': 'a0b5740261d34227a06ff880b37d80e1', 'project_id': 'a0b5740261d34227a06ff880b37d80e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77302214', 'ctest-vn-16242090'], 'port_security_enabled': True, 'description': ''}} 2025-01-04 19:47:13,230 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e0065cb-3ee6-432e-90c0-9a2777a5806b', 'name': '', 'tenant_id': 'a0b5740261d34227a06ff880b37d80e1', 'network_id': '78122423-fa14-4476-9453-fcdf295df6a7', 'ip_version': 4, 'cidr': '204.237.41.128/26', 'allocation_pools': [{'start': '204.237.41.130', 'end': '204.237.41.190'}], 'gateway_ip': '204.237.41.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.237.41.130', 'tags': [], 'project_id': 'a0b5740261d34227a06ff880b37d80e1'}} 2025-01-04 19:47:13,254 - INFO - Created VN ctest-vn-16242090 2025-01-04 19:47:13,318 - DEBUG - VN ctest-vn-16242090 UUID is 78122423-fa14-4476-9453-fcdf295df6a7 2025-01-04 19:47:13,654 - DEBUG - Response for create_network : {'network': {'id': 'aa49797b-d238-422c-acb5-336847d547f0', 'name': 'ctest-ext_vn-84406292', 'tenant_id': 'a0b5740261d34227a06ff880b37d80e1', 'project_id': 'a0b5740261d34227a06ff880b37d80e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77302214', 'ctest-ext_vn-84406292'], 'port_security_enabled': True, 'description': ''}} 2025-01-04 19:47:13,869 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ac44d7e-b8a8-4f19-b9d8-2a218dfcab60', 'name': '', 'tenant_id': 'a0b5740261d34227a06ff880b37d80e1', 'network_id': 'aa49797b-d238-422c-acb5-336847d547f0', 'ip_version': 4, 'cidr': '28.42.230.0/26', 'allocation_pools': [{'start': '28.42.230.2', 'end': '28.42.230.62'}], 'gateway_ip': '28.42.230.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.42.230.2', 'tags': [], 'project_id': 'a0b5740261d34227a06ff880b37d80e1'}} 2025-01-04 19:47:13,893 - INFO - Created VN ctest-ext_vn-84406292 2025-01-04 19:47:13,947 - DEBUG - VN ctest-ext_vn-84406292 UUID is aa49797b-d238-422c-acb5-336847d547f0 2025-01-04 19:47:14,131 - DEBUG - Services list from nova: [, , ] 2025-01-04 19:47:15,215 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2529-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2529-1) 2025-01-04 19:47:16,445 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2529-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2529-1) 2025-01-04 19:47:16,531 - INFO - Setting gateway for router f996da3c-00bd-4409-8cc6-e5ec38634372 to network aa49797b-d238-422c-acb5-336847d547f0 2025-01-04 19:47:16,618 - INFO - Adding interface with subnet_id 6e0065cb-3ee6-432e-90c0-9a2777a5806b, port_id None to router f996da3c-00bd-4409-8cc6-e5ec38634372 2025-01-04 19:47:17,038 - INFO - Waiting for VM ctest-TestRoutersBasic-77302214-95647504 to be up.. 2025-01-04 19:47:17,179 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-04 19:47:22,282 - DEBUG - VM is in ACTIVE state now 2025-01-04 19:47:22,282 - INFO - VM name : ctest-TestRoutersBasic-77302214-95647504 2025-01-04 19:47:22,370 - DEBUG - VM ctest-TestRoutersBasic-77302214-95647504 ID is d957f0af-d378-434a-b70f-c14d0f60c90f 2025-01-04 19:47:22,390 - DEBUG - VM ctest-TestRoutersBasic-77302214-95647504 launched on Node cn-jenkins-deploy-platform-ansible-os-2529-1 2025-01-04 19:47:22,468 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/d957f0af-d378-434a-b70f-c14d0f60c90f 2025-01-04 19:47:22,772 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/d957f0af-d378-434a-b70f-c14d0f60c90f 2025-01-04 19:47:22,805 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/622d210e-8648-45f0-a556-eaba3fe2b4ab 2025-01-04 19:47:26,051 - 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-01-04 19:47:26,051 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77302214-95647504 failed! 2025-01-04 19:47:26,111 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-77302214:ctest-vn-16242090 is 204.237.41.129 and allocation pool is NOT set 2025-01-04 19:47:28,176 - 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=5.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.949 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.949/3.258/5.568/2.309 ms') 2025-01-04 19:47:28,176 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77302214-95647504 passed 2025-01-04 19:47:28,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 19:47:28,330 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77302214-95647504, IP 204.237.41.131, Port 22 2025-01-04 19:47:28,497 - DEBUG - VM ctest-TestRoutersBasic-77302214-95647504 is ready for SSH connections 2025-01-04 19:47:28,497 - INFO - Waiting for VM ctest-TestRoutersBasic-77302214-31909757 to be up.. 2025-01-04 19:47:28,580 - DEBUG - VM is in ACTIVE state now 2025-01-04 19:47:28,580 - INFO - VM name : ctest-TestRoutersBasic-77302214-31909757 2025-01-04 19:47:28,668 - DEBUG - VM ctest-TestRoutersBasic-77302214-31909757 ID is d73ff30b-2bf3-4fc8-ae19-eca322ae9a5b 2025-01-04 19:47:28,668 - DEBUG - VM ctest-TestRoutersBasic-77302214-31909757 launched on Node cn-jenkins-deploy-platform-ansible-os-2529-1 2025-01-04 19:47:28,744 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/d73ff30b-2bf3-4fc8-ae19-eca322ae9a5b 2025-01-04 19:47:28,753 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/78038e85-2fd1-46ea-b592-9eb29cf41685 2025-01-04 19:47:29,999 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.336 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.336/1.801/3.267/1.465 ms') 2025-01-04 19:47:30,000 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-77302214-31909757 passed 2025-01-04 19:47:30,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 19:47:30,155 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77302214-31909757, IP 28.42.230.3, Port 22 2025-01-04 19:47:30,314 - DEBUG - VM ctest-TestRoutersBasic-77302214-31909757 is ready for SSH connections 2025-01-04 19:47:30,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 19:47:30,314 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.42.230.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-01-04 19:47:30,315 - DEBUG - ping -s 56 -c 3 -W 1 28.42.230.3 2025-01-04 19:47:34,077 - DEBUG - PING 28.42.230.3 (28.42.230.3): 56 data bytes 64 bytes from 28.42.230.3: seq=0 ttl=62 time=8.000 ms 64 bytes from 28.42.230.3: seq=1 ttl=62 time=0.964 ms 64 bytes from 28.42.230.3: seq=2 ttl=62 time=0.942 ms --- 28.42.230.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.942/3.302/8.000 ms 2025-01-04 19:47:34,077 - INFO - Ping to IP 28.42.230.3 from VM ctest-TestRoutersBasic-77302214-95647504 passed 2025-01-04 19:47:34,077 - INFO - Deleting interface with subnet_id 6e0065cb-3ee6-432e-90c0-9a2777a5806b, port_id None from router f996da3c-00bd-4409-8cc6-e5ec38634372 2025-01-04 19:47:34,282 - INFO - Deleting VM ctest-TestRoutersBasic-77302214-31909757 2025-01-04 19:47:34,359 - INFO - Deleting VM ctest-TestRoutersBasic-77302214-95647504 2025-01-04 19:47:34,455 - INFO - Deleting VN ctest-ext_vn-84406292 2025-01-04 19:47:34,527 - DEBUG - VN aa49797b-d238-422c-acb5-336847d547f0 still in use: Unable to complete operation on network aa49797b-d238-422c-acb5-336847d547f0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e803db6d-34f8-4ff4-9637-4da477820576'] 2025-01-04 19:47:34,527 - WARNING - Deleting VN ctest-ext_vn-84406292 failed..Will retry 2025-01-04 19:47:36,634 - DEBUG - Response for deleting network () 2025-01-04 19:47:36,634 - INFO - Deleting VN ctest-vn-16242090 2025-01-04 19:47:36,739 - DEBUG - Response for deleting network () 2025-01-04 19:47:37,004 - DEBUG - No XMPP flaps were noticed during the test
2025-01-04 19:47:37,004 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-04 19:47:37,004 - INFO - -------------------------------------------------------------------------------- 2025-01-04 19:47:37,682 - INFO - Deleted project: ctest-TestRoutersBasic-77302214, ID : a0b57402-61d3-4227-a06f-f880b37d80e1