2025-02-11 19:35:57,422 - INFO - Domain Default found not creating 2025-02-11 19:35:57,583 - INFO - Project ctest-TestRoutersBasic-06085809 not found, creating it 2025-02-11 19:35:58,108 - INFO - Created Project:ctest-TestRoutersBasic-06085809, ID : 16599916-6ad0-4b88-be45-7e61bb37b563 2025-02-11 19:35:59,657 - INFO - ================================================================================ 2025-02-11 19:35:59,657 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-11 19:35:59,657 - 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-11 19:35:59,916 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.31': '0'}} with 2025-02-11 19:35:59,916 - INFO - Initial checks done. Running the testcase now 2025-02-11 19:35:59,916 - INFO - 2025-02-11 19:36:00,655 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-06085809 2025-02-11 19:36:00,755 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-06085809 2025-02-11 19:36:01,098 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06085809', 'default']} 2025-02-11 19:36:01,459 - DEBUG - Response for create_network : {'network': {'id': 'be9bb89a-d184-4f61-ad83-ddd00afd44e0', 'name': 'ctest-vn-88040333', 'tenant_id': '165999166ad04b88be457e61bb37b563', 'project_id': '165999166ad04b88be457e61bb37b563', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06085809', 'ctest-vn-88040333'], 'port_security_enabled': True, 'description': ''}} 2025-02-11 19:36:01,646 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9cff12c-5e2e-4461-b73f-eb51eee29077', 'name': '', 'tenant_id': '165999166ad04b88be457e61bb37b563', 'network_id': 'be9bb89a-d184-4f61-ad83-ddd00afd44e0', 'ip_version': 4, 'cidr': '142.104.12.192/26', 'allocation_pools': [{'start': '142.104.12.194', 'end': '142.104.12.254'}], 'gateway_ip': '142.104.12.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.104.12.194', 'tags': [], 'project_id': '165999166ad04b88be457e61bb37b563'}} 2025-02-11 19:36:01,670 - INFO - Created VN ctest-vn-88040333 2025-02-11 19:36:01,726 - DEBUG - VN ctest-vn-88040333 UUID is be9bb89a-d184-4f61-ad83-ddd00afd44e0 2025-02-11 19:36:02,094 - DEBUG - Response for create_network : {'network': {'id': '807aa265-b31a-416e-94b9-d469237aa38f', 'name': 'ctest-ext_vn-55461637', 'tenant_id': '165999166ad04b88be457e61bb37b563', 'project_id': '165999166ad04b88be457e61bb37b563', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06085809', 'ctest-ext_vn-55461637'], 'port_security_enabled': True, 'description': ''}} 2025-02-11 19:36:02,275 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac6f7063-8b4a-44c1-9a6f-89e0186d2d71', 'name': '', 'tenant_id': '165999166ad04b88be457e61bb37b563', 'network_id': '807aa265-b31a-416e-94b9-d469237aa38f', 'ip_version': 4, 'cidr': '8.33.109.128/26', 'allocation_pools': [{'start': '8.33.109.130', 'end': '8.33.109.190'}], 'gateway_ip': '8.33.109.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.33.109.130', 'tags': [], 'project_id': '165999166ad04b88be457e61bb37b563'}} 2025-02-11 19:36:02,298 - INFO - Created VN ctest-ext_vn-55461637 2025-02-11 19:36:02,355 - DEBUG - VN ctest-ext_vn-55461637 UUID is 807aa265-b31a-416e-94b9-d469237aa38f 2025-02-11 19:36:02,545 - DEBUG - Services list from nova: [, , ] 2025-02-11 19:36:03,648 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2722-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2722-1) 2025-02-11 19:36:05,023 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2722-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2722-1) 2025-02-11 19:36:05,250 - INFO - Setting gateway for router b275a0fd-7568-4441-940b-35ea51afbfb5 to network 807aa265-b31a-416e-94b9-d469237aa38f 2025-02-11 19:36:05,391 - INFO - Adding interface with subnet_id b9cff12c-5e2e-4461-b73f-eb51eee29077, port_id None to router b275a0fd-7568-4441-940b-35ea51afbfb5 2025-02-11 19:36:06,129 - INFO - Waiting for VM ctest-TestRoutersBasic-06085809-71024100 to be up.. 2025-02-11 19:36:06,311 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-11 19:36:11,403 - DEBUG - VM is in ACTIVE state now 2025-02-11 19:36:11,403 - INFO - VM name : ctest-TestRoutersBasic-06085809-71024100 2025-02-11 19:36:11,494 - DEBUG - VM ctest-TestRoutersBasic-06085809-71024100 ID is 40c7b5e4-ea26-48c2-9485-edff10fd5d61 2025-02-11 19:36:11,518 - DEBUG - VM ctest-TestRoutersBasic-06085809-71024100 launched on Node cn-jenkins-deploy-platform-ansible-os-2722-1 2025-02-11 19:36:11,613 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/40c7b5e4-ea26-48c2-9485-edff10fd5d61 2025-02-11 19:36:11,914 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/40c7b5e4-ea26-48c2-9485-edff10fd5d61 2025-02-11 19:36:11,951 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/bbe26c77-0ba4-4c3a-902e-20d858fa292f 2025-02-11 19:36:15,229 - 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 1027ms') 2025-02-11 19:36:15,229 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06085809-71024100 failed! 2025-02-11 19:36:15,286 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-06085809:ctest-vn-88040333 is 142.104.12.193 and allocation pool is NOT set 2025-02-11 19:36:17,351 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.456 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.456/1.825/3.195/1.369 ms') 2025-02-11 19:36:17,351 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06085809-71024100 passed 2025-02-11 19:36:17,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 19:36:17,511 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06085809-71024100, IP 142.104.12.195, Port 22 2025-02-11 19:36:17,666 - DEBUG - VM ctest-TestRoutersBasic-06085809-71024100 is ready for SSH connections 2025-02-11 19:36:17,666 - INFO - Waiting for VM ctest-TestRoutersBasic-06085809-95991400 to be up.. 2025-02-11 19:36:17,744 - DEBUG - VM is in ACTIVE state now 2025-02-11 19:36:17,745 - INFO - VM name : ctest-TestRoutersBasic-06085809-95991400 2025-02-11 19:36:17,838 - DEBUG - VM ctest-TestRoutersBasic-06085809-95991400 ID is b3324660-49e6-4c23-9784-efdd394ddea1 2025-02-11 19:36:17,838 - DEBUG - VM ctest-TestRoutersBasic-06085809-95991400 launched on Node cn-jenkins-deploy-platform-ansible-os-2722-1 2025-02-11 19:36:17,925 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/b3324660-49e6-4c23-9784-efdd394ddea1 2025-02-11 19:36:17,937 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/b89dfc2c-8ced-4c41-87a2-fd748a978bdf 2025-02-11 19:36:19,186 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.561 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.561/1.802/3.044/1.241 ms') 2025-02-11 19:36:19,186 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-06085809-95991400 passed 2025-02-11 19:36:19,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 19:36:19,343 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06085809-95991400, IP 8.33.109.131, Port 22 2025-02-11 19:36:19,502 - DEBUG - VM ctest-TestRoutersBasic-06085809-95991400 is ready for SSH connections 2025-02-11 19:36:19,502 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 19:36:19,502 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.33.109.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-02-11 19:36:19,502 - DEBUG - ping -s 56 -c 3 -W 1 8.33.109.131 2025-02-11 19:36:23,223 - DEBUG - PING 8.33.109.131 (8.33.109.131): 56 data bytes 64 bytes from 8.33.109.131: seq=0 ttl=62 time=4.268 ms 64 bytes from 8.33.109.131: seq=1 ttl=62 time=1.378 ms 64 bytes from 8.33.109.131: seq=2 ttl=62 time=1.256 ms --- 8.33.109.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.256/2.300/4.268 ms 2025-02-11 19:36:23,223 - INFO - Ping to IP 8.33.109.131 from VM ctest-TestRoutersBasic-06085809-71024100 passed 2025-02-11 19:36:23,223 - INFO - Deleting interface with subnet_id b9cff12c-5e2e-4461-b73f-eb51eee29077, port_id None from router b275a0fd-7568-4441-940b-35ea51afbfb5 2025-02-11 19:36:23,437 - INFO - Deleting VM ctest-TestRoutersBasic-06085809-95991400 2025-02-11 19:36:23,506 - INFO - Deleting VM ctest-TestRoutersBasic-06085809-71024100 2025-02-11 19:36:23,592 - INFO - Deleting VN ctest-ext_vn-55461637 2025-02-11 19:36:23,655 - DEBUG - VN 807aa265-b31a-416e-94b9-d469237aa38f still in use: Unable to complete operation on network 807aa265-b31a-416e-94b9-d469237aa38f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1ca1d1e4-56fb-4036-8aaf-3a625c59341b'] 2025-02-11 19:36:23,656 - WARNING - Deleting VN ctest-ext_vn-55461637 failed..Will retry 2025-02-11 19:36:25,771 - DEBUG - Response for deleting network () 2025-02-11 19:36:25,771 - INFO - Deleting VN ctest-vn-88040333 2025-02-11 19:36:25,891 - DEBUG - Response for deleting network () 2025-02-11 19:36:26,160 - DEBUG - No XMPP flaps were noticed during the test 2025-02-11 19:36:26,160 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2025-02-11 19:36:26,160 - INFO - -------------------------------------------------------------------------------- 2025-02-11 19:36:26,882 - INFO - Deleted project: ctest-TestRoutersBasic-06085809, ID : 16599916-6ad0-4b88-be45-7e61bb37b563