2025-01-13 18:44:49,126 - INFO - Domain Default found not creating 2025-01-13 18:44:49,265 - INFO - Project ctest-TestRoutersBasic-31875402 not found, creating it 2025-01-13 18:44:49,725 - INFO - Created Project:ctest-TestRoutersBasic-31875402, ID : 59dd69fd-30df-40e0-96dc-1be79e9166b1 2025-01-13 18:44:51,155 - INFO - ================================================================================ 2025-01-13 18:44:51,155 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-13 18:44:51,155 - 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-13 18:44:51,416 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.17': '0'}} with 2025-01-13 18:44:51,416 - INFO - Initial checks done. Running the testcase now 2025-01-13 18:44:51,416 - INFO - 2025-01-13 18:44:52,131 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-31875402 2025-01-13 18:44:52,231 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-31875402 2025-01-13 18:44:52,554 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31875402', 'default']} 2025-01-13 18:44:52,840 - DEBUG - Response for create_network : {'network': {'id': '8112fb76-fa16-4cd0-a7dd-d4545502a237', 'name': 'ctest-vn-90345331', 'tenant_id': '59dd69fd30df40e096dc1be79e9166b1', 'project_id': '59dd69fd30df40e096dc1be79e9166b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31875402', 'ctest-vn-90345331'], 'port_security_enabled': True, 'description': ''}} 2025-01-13 18:44:52,987 - DEBUG - Response for create_subnet : {'subnet': {'id': '6be71b0c-933a-4366-aa10-2708fad1f7c2', 'name': '', 'tenant_id': '59dd69fd30df40e096dc1be79e9166b1', 'network_id': '8112fb76-fa16-4cd0-a7dd-d4545502a237', 'ip_version': 4, 'cidr': '56.145.240.128/26', 'allocation_pools': [{'start': '56.145.240.130', 'end': '56.145.240.190'}], 'gateway_ip': '56.145.240.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.145.240.130', 'tags': [], 'project_id': '59dd69fd30df40e096dc1be79e9166b1'}} 2025-01-13 18:44:53,006 - INFO - Created VN ctest-vn-90345331 2025-01-13 18:44:53,058 - DEBUG - VN ctest-vn-90345331 UUID is 8112fb76-fa16-4cd0-a7dd-d4545502a237 2025-01-13 18:44:53,381 - DEBUG - Response for create_network : {'network': {'id': '8333d08f-ef12-45e3-961e-4c10b9f31e88', 'name': 'ctest-ext_vn-44805906', 'tenant_id': '59dd69fd30df40e096dc1be79e9166b1', 'project_id': '59dd69fd30df40e096dc1be79e9166b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31875402', 'ctest-ext_vn-44805906'], 'port_security_enabled': True, 'description': ''}} 2025-01-13 18:44:53,701 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ae50612-7b1f-4650-84b4-0d6c0e66c83e', 'name': '', 'tenant_id': '59dd69fd30df40e096dc1be79e9166b1', 'network_id': '8333d08f-ef12-45e3-961e-4c10b9f31e88', 'ip_version': 4, 'cidr': '57.171.167.128/26', 'allocation_pools': [{'start': '57.171.167.130', 'end': '57.171.167.190'}], 'gateway_ip': '57.171.167.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.171.167.130', 'tags': [], 'project_id': '59dd69fd30df40e096dc1be79e9166b1'}} 2025-01-13 18:44:53,721 - INFO - Created VN ctest-ext_vn-44805906 2025-01-13 18:44:53,774 - DEBUG - VN ctest-ext_vn-44805906 UUID is 8333d08f-ef12-45e3-961e-4c10b9f31e88 2025-01-13 18:44:53,967 - DEBUG - Services list from nova: [, , ] 2025-01-13 18:44:55,006 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2615-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2615-1) 2025-01-13 18:44:56,150 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2615-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2615-1) 2025-01-13 18:44:56,237 - INFO - Setting gateway for router cfd4d426-6205-4f5c-8793-f121cc8eb76e to network 8333d08f-ef12-45e3-961e-4c10b9f31e88 2025-01-13 18:44:56,299 - INFO - Adding interface with subnet_id 6be71b0c-933a-4366-aa10-2708fad1f7c2, port_id None to router cfd4d426-6205-4f5c-8793-f121cc8eb76e 2025-01-13 18:44:56,704 - INFO - Waiting for VM ctest-TestRoutersBasic-31875402-02455577 to be up.. 2025-01-13 18:44:56,870 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-13 18:45:01,961 - DEBUG - VM is in ACTIVE state now 2025-01-13 18:45:01,962 - INFO - VM name : ctest-TestRoutersBasic-31875402-02455577 2025-01-13 18:45:02,043 - DEBUG - VM ctest-TestRoutersBasic-31875402-02455577 ID is f1056963-e2c6-4549-ac5d-669ec1620368 2025-01-13 18:45:02,062 - DEBUG - VM ctest-TestRoutersBasic-31875402-02455577 launched on Node cn-jenkins-deploy-platform-ansible-os-2615-1 2025-01-13 18:45:02,139 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/f1056963-e2c6-4549-ac5d-669ec1620368 2025-01-13 18:45:02,435 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/f1056963-e2c6-4549-ac5d-669ec1620368 2025-01-13 18:45:02,466 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/6040f711-4371-461e-a122-0eb7a62787af 2025-01-13 18:45:05,725 - 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 1023ms') 2025-01-13 18:45:05,726 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-31875402-02455577 failed! 2025-01-13 18:45:05,790 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-31875402:ctest-vn-90345331 is 56.145.240.129 and allocation pool is NOT set 2025-01-13 18:45:07,853 - 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=6.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.771 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.771/3.415/6.059/2.644 ms') 2025-01-13 18:45:07,853 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-31875402-02455577 passed 2025-01-13 18:45:08,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 18:45:08,007 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31875402-02455577, IP 56.145.240.131, Port 22 2025-01-13 18:45:08,161 - DEBUG - VM ctest-TestRoutersBasic-31875402-02455577 is ready for SSH connections 2025-01-13 18:45:08,162 - INFO - Waiting for VM ctest-TestRoutersBasic-31875402-74699825 to be up.. 2025-01-13 18:45:08,241 - DEBUG - VM is in ACTIVE state now 2025-01-13 18:45:08,241 - INFO - VM name : ctest-TestRoutersBasic-31875402-74699825 2025-01-13 18:45:08,315 - DEBUG - VM ctest-TestRoutersBasic-31875402-74699825 ID is 427f95f2-d37f-41e9-99b3-591d5e2a44a4 2025-01-13 18:45:08,315 - DEBUG - VM ctest-TestRoutersBasic-31875402-74699825 launched on Node cn-jenkins-deploy-platform-ansible-os-2615-1 2025-01-13 18:45:08,387 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/427f95f2-d37f-41e9-99b3-591d5e2a44a4 2025-01-13 18:45:08,397 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/17a9cc47-491e-4752-87e3-d66fc500ea99 2025-01-13 18:45:09,638 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.278 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.278/1.562/2.847/1.284 ms') 2025-01-13 18:45:09,638 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-31875402-74699825 passed 2025-01-13 18:45:09,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 18:45:09,790 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31875402-74699825, IP 57.171.167.131, Port 22 2025-01-13 18:45:09,942 - DEBUG - VM ctest-TestRoutersBasic-31875402-74699825 is ready for SSH connections 2025-01-13 18:45:09,942 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 18:45:09,942 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.171.167.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-01-13 18:45:09,942 - DEBUG - ping -s 56 -c 3 -W 1 57.171.167.131 2025-01-13 18:45:13,936 - DEBUG - PING 57.171.167.131 (57.171.167.131): 56 data bytes 64 bytes from 57.171.167.131: seq=0 ttl=62 time=5.304 ms 64 bytes from 57.171.167.131: seq=1 ttl=62 time=0.793 ms 64 bytes from 57.171.167.131: seq=2 ttl=62 time=0.961 ms --- 57.171.167.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.793/2.352/5.304 ms 2025-01-13 18:45:13,936 - INFO - Ping to IP 57.171.167.131 from VM ctest-TestRoutersBasic-31875402-02455577 passed 2025-01-13 18:45:13,936 - INFO - Deleting interface with subnet_id 6be71b0c-933a-4366-aa10-2708fad1f7c2, port_id None from router cfd4d426-6205-4f5c-8793-f121cc8eb76e 2025-01-13 18:45:14,143 - INFO - Deleting VM ctest-TestRoutersBasic-31875402-74699825 2025-01-13 18:45:14,216 - INFO - Deleting VM ctest-TestRoutersBasic-31875402-02455577 2025-01-13 18:45:14,296 - INFO - Deleting VN ctest-ext_vn-44805906 2025-01-13 18:45:14,374 - DEBUG - VN 8333d08f-ef12-45e3-961e-4c10b9f31e88 still in use: Unable to complete operation on network 8333d08f-ef12-45e3-961e-4c10b9f31e88. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-27986f86-9fbb-4834-9def-a8b450d39d8c'] 2025-01-13 18:45:14,374 - WARNING - Deleting VN ctest-ext_vn-44805906 failed..Will retry 2025-01-13 18:45:16,479 - DEBUG - Response for deleting network () 2025-01-13 18:45:16,480 - INFO - Deleting VN ctest-vn-90345331 2025-01-13 18:45:16,592 - DEBUG - Response for deleting network () 2025-01-13 18:45:16,849 - DEBUG - No XMPP flaps were noticed during the test
2025-01-13 18:45:16,849 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-01-13 18:45:16,849 - INFO - -------------------------------------------------------------------------------- 2025-01-13 18:45:17,523 - INFO - Deleted project: ctest-TestRoutersBasic-31875402, ID : 59dd69fd-30df-40e0-96dc-1be79e9166b1