2025-01-04 20:37:02,438 - INFO - Domain Default found not creating 2025-01-04 20:37:02,580 - INFO - Project ctest-TestRoutersBasic-19678447 not found, creating it 2025-01-04 20:37:03,069 - INFO - Created Project:ctest-TestRoutersBasic-19678447, ID : db68170d-b8b0-4987-b3b2-bca89895011b 2025-01-04 20:37:04,625 - INFO - ================================================================================ 2025-01-04 20:37:04,625 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-04 20:37:04,625 - 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 20:37:04,883 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.5': '0'}} with 2025-01-04 20:37:04,884 - INFO - Initial checks done. Running the testcase now 2025-01-04 20:37:04,884 - INFO - 2025-01-04 20:37:05,585 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-19678447 2025-01-04 20:37:05,682 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-19678447 2025-01-04 20:37:06,010 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19678447', 'default']} 2025-01-04 20:37:06,332 - DEBUG - Response for create_network : {'network': {'id': 'c8a3a260-f744-45fe-82ea-6d7efe501c43', 'name': 'ctest-vn-13323547', 'tenant_id': 'db68170db8b04987b3b2bca89895011b', 'project_id': 'db68170db8b04987b3b2bca89895011b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19678447', 'ctest-vn-13323547'], 'port_security_enabled': True, 'description': ''}} 2025-01-04 20:37:06,784 - DEBUG - Response for create_subnet : {'subnet': {'id': '8cb02349-fdf2-46cc-9015-9d9838722eea', 'name': '', 'tenant_id': 'db68170db8b04987b3b2bca89895011b', 'network_id': 'c8a3a260-f744-45fe-82ea-6d7efe501c43', 'ip_version': 4, 'cidr': '152.144.217.64/26', 'allocation_pools': [{'start': '152.144.217.66', 'end': '152.144.217.126'}], 'gateway_ip': '152.144.217.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.144.217.66', 'tags': [], 'project_id': 'db68170db8b04987b3b2bca89895011b'}} 2025-01-04 20:37:06,809 - INFO - Created VN ctest-vn-13323547 2025-01-04 20:37:06,867 - DEBUG - VN ctest-vn-13323547 UUID is c8a3a260-f744-45fe-82ea-6d7efe501c43 2025-01-04 20:37:07,216 - DEBUG - Response for create_network : {'network': {'id': '0512214a-e380-4a67-a98b-6f18b15c3d92', 'name': 'ctest-ext_vn-02393011', 'tenant_id': 'db68170db8b04987b3b2bca89895011b', 'project_id': 'db68170db8b04987b3b2bca89895011b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19678447', 'ctest-ext_vn-02393011'], 'port_security_enabled': True, 'description': ''}} 2025-01-04 20:37:07,438 - DEBUG - Response for create_subnet : {'subnet': {'id': '18e96407-4111-468a-b444-843790b4c477', 'name': '', 'tenant_id': 'db68170db8b04987b3b2bca89895011b', 'network_id': '0512214a-e380-4a67-a98b-6f18b15c3d92', 'ip_version': 4, 'cidr': '196.206.190.0/26', 'allocation_pools': [{'start': '196.206.190.2', 'end': '196.206.190.62'}], 'gateway_ip': '196.206.190.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.206.190.2', 'tags': [], 'project_id': 'db68170db8b04987b3b2bca89895011b'}} 2025-01-04 20:37:07,458 - INFO - Created VN ctest-ext_vn-02393011 2025-01-04 20:37:07,510 - DEBUG - VN ctest-ext_vn-02393011 UUID is 0512214a-e380-4a67-a98b-6f18b15c3d92 2025-01-04 20:37:07,694 - DEBUG - Services list from nova: [, , ] 2025-01-04 20:37:08,762 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2530-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2530-1) 2025-01-04 20:37:09,963 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2530-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2530-1) 2025-01-04 20:37:10,056 - INFO - Setting gateway for router a74527e4-9520-45c7-b363-f71b4787d85c to network 0512214a-e380-4a67-a98b-6f18b15c3d92 2025-01-04 20:37:10,146 - INFO - Adding interface with subnet_id 8cb02349-fdf2-46cc-9015-9d9838722eea, port_id None to router a74527e4-9520-45c7-b363-f71b4787d85c 2025-01-04 20:37:10,710 - INFO - Waiting for VM ctest-TestRoutersBasic-19678447-09610552 to be up.. 2025-01-04 20:37:10,930 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-04 20:37:16,034 - DEBUG - VM is in ACTIVE state now 2025-01-04 20:37:16,035 - INFO - VM name : ctest-TestRoutersBasic-19678447-09610552 2025-01-04 20:37:16,125 - DEBUG - VM ctest-TestRoutersBasic-19678447-09610552 ID is fbed4802-e3c3-43ee-8fe2-d05764ed1e26 2025-01-04 20:37:16,151 - DEBUG - VM ctest-TestRoutersBasic-19678447-09610552 launched on Node cn-jenkins-deploy-platform-ansible-os-2530-1 2025-01-04 20:37:16,233 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/fbed4802-e3c3-43ee-8fe2-d05764ed1e26 2025-01-04 20:37:16,528 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/fbed4802-e3c3-43ee-8fe2-d05764ed1e26 2025-01-04 20:37:16,561 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/aeb689da-0188-4f2b-9a62-5d961f5dbf0d 2025-01-04 20:37:19,819 - 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 1018ms') 2025-01-04 20:37:19,819 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19678447-09610552 failed! 2025-01-04 20:37:19,874 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-19678447:ctest-vn-13323547 is 152.144.217.65 and allocation pool is NOT set 2025-01-04 20:37:21,936 - 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=2.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.630 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.630/1.719/2.808/1.089 ms') 2025-01-04 20:37:21,936 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19678447-09610552 passed 2025-01-04 20:37:22,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 20:37:22,091 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19678447-09610552, IP 152.144.217.67, Port 22 2025-01-04 20:37:22,257 - DEBUG - VM ctest-TestRoutersBasic-19678447-09610552 is ready for SSH connections 2025-01-04 20:37:22,257 - INFO - Waiting for VM ctest-TestRoutersBasic-19678447-51121187 to be up.. 2025-01-04 20:37:22,350 - DEBUG - VM is in ACTIVE state now 2025-01-04 20:37:22,350 - INFO - VM name : ctest-TestRoutersBasic-19678447-51121187 2025-01-04 20:37:22,429 - DEBUG - VM ctest-TestRoutersBasic-19678447-51121187 ID is e0afb6e4-ba38-4b13-bb8e-1f84ed70119a 2025-01-04 20:37:22,429 - DEBUG - VM ctest-TestRoutersBasic-19678447-51121187 launched on Node cn-jenkins-deploy-platform-ansible-os-2530-1 2025-01-04 20:37:22,506 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/e0afb6e4-ba38-4b13-bb8e-1f84ed70119a 2025-01-04 20:37:22,515 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/79b3ed98-c481-47a1-b0e5-3918258ef354 2025-01-04 20:37:23,755 - 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=5.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.712 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.712/2.882/5.053/2.170 ms') 2025-01-04 20:37:23,756 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-19678447-51121187 passed 2025-01-04 20:37:23,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 20:37:23,910 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19678447-51121187, IP 196.206.190.3, Port 22 2025-01-04 20:37:24,066 - DEBUG - VM ctest-TestRoutersBasic-19678447-51121187 is ready for SSH connections 2025-01-04 20:37:24,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 20:37:24,066 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.206.190.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-01-04 20:37:24,067 - DEBUG - ping -s 56 -c 3 -W 1 196.206.190.3 2025-01-04 20:37:27,766 - DEBUG - PING 196.206.190.3 (196.206.190.3): 56 data bytes 64 bytes from 196.206.190.3: seq=0 ttl=62 time=8.664 ms 64 bytes from 196.206.190.3: seq=1 ttl=62 time=1.011 ms 64 bytes from 196.206.190.3: seq=2 ttl=62 time=0.777 ms --- 196.206.190.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.777/3.484/8.664 ms 2025-01-04 20:37:27,766 - INFO - Ping to IP 196.206.190.3 from VM ctest-TestRoutersBasic-19678447-09610552 passed 2025-01-04 20:37:27,766 - INFO - Deleting interface with subnet_id 8cb02349-fdf2-46cc-9015-9d9838722eea, port_id None from router a74527e4-9520-45c7-b363-f71b4787d85c 2025-01-04 20:37:27,986 - INFO - Deleting VM ctest-TestRoutersBasic-19678447-51121187 2025-01-04 20:37:28,057 - INFO - Deleting VM ctest-TestRoutersBasic-19678447-09610552 2025-01-04 20:37:28,132 - INFO - Deleting VN ctest-ext_vn-02393011 2025-01-04 20:37:28,200 - DEBUG - VN 0512214a-e380-4a67-a98b-6f18b15c3d92 still in use: Unable to complete operation on network 0512214a-e380-4a67-a98b-6f18b15c3d92. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a0f6c267-a02c-4d81-8a41-cffef14e1cd4'] 2025-01-04 20:37:28,201 - WARNING - Deleting VN ctest-ext_vn-02393011 failed..Will retry 2025-01-04 20:37:30,326 - DEBUG - Response for deleting network () 2025-01-04 20:37:30,326 - INFO - Deleting VN ctest-vn-13323547 2025-01-04 20:37:30,427 - DEBUG - Response for deleting network () 2025-01-04 20:37:30,680 - DEBUG - No XMPP flaps were noticed during the test 2025-01-04 20:37:30,680 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-01-04 20:37:30,680 - INFO - -------------------------------------------------------------------------------- 2025-01-04 20:37:31,363 - INFO - Deleted project: ctest-TestRoutersBasic-19678447, ID : db68170d-b8b0-4987-b3b2-bca89895011b