2025-02-12 00:39:01,393 - INFO - Domain Default found not creating 2025-02-12 00:39:01,555 - INFO - Project ctest-TestRoutersBasic-05425792 not found, creating it 2025-02-12 00:39:02,029 - INFO - Created Project:ctest-TestRoutersBasic-05425792, ID : 068dd5fa-ec60-4e1e-86d7-edff1448f128 2025-02-12 00:39:03,437 - INFO - ================================================================================ 2025-02-12 00:39:03,437 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-12 00:39:03,437 - 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-12 00:39:03,692 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.25': '0'}} with 2025-02-12 00:39:03,692 - INFO - Initial checks done. Running the testcase now 2025-02-12 00:39:03,692 - INFO - 2025-02-12 00:39:04,394 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-05425792 2025-02-12 00:39:04,489 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-05425792 2025-02-12 00:39:04,821 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05425792', 'default']} 2025-02-12 00:39:05,129 - DEBUG - Response for create_network : {'network': {'id': 'aa001c45-b880-496f-a91d-a9c3b306109f', 'name': 'ctest-vn-14084145', 'tenant_id': '068dd5faec604e1e86d7edff1448f128', 'project_id': '068dd5faec604e1e86d7edff1448f128', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05425792', 'ctest-vn-14084145'], 'port_security_enabled': True, 'description': ''}} 2025-02-12 00:39:05,297 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f350ef7d-f208-48c7-8510-5881317bf8c3', 'name': '', 'tenant_id': '068dd5faec604e1e86d7edff1448f128', 'network_id': 'aa001c45-b880-496f-a91d-a9c3b306109f', 'ip_version': 4, 'cidr': '83.2.156.128/26', 'allocation_pools': [{'start': '83.2.156.130', 'end': '83.2.156.190'}], 'gateway_ip': '83.2.156.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.2.156.130', 'tags': [], 'project_id': '068dd5faec604e1e86d7edff1448f128'}} 2025-02-12 00:39:05,316 - INFO - Created VN ctest-vn-14084145 2025-02-12 00:39:05,369 - DEBUG - VN ctest-vn-14084145 UUID is aa001c45-b880-496f-a91d-a9c3b306109f 2025-02-12 00:39:05,692 - DEBUG - Response for create_network : {'network': {'id': 'a30cdf18-c2b4-478d-b318-9abc16594c1e', 'name': 'ctest-ext_vn-01511039', 'tenant_id': '068dd5faec604e1e86d7edff1448f128', 'project_id': '068dd5faec604e1e86d7edff1448f128', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05425792', 'ctest-ext_vn-01511039'], 'port_security_enabled': True, 'description': ''}} 2025-02-12 00:39:05,903 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c016d00-88cc-469b-95b9-316d6ffb5203', 'name': '', 'tenant_id': '068dd5faec604e1e86d7edff1448f128', 'network_id': 'a30cdf18-c2b4-478d-b318-9abc16594c1e', 'ip_version': 4, 'cidr': '23.34.102.0/26', 'allocation_pools': [{'start': '23.34.102.2', 'end': '23.34.102.62'}], 'gateway_ip': '23.34.102.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.34.102.2', 'tags': [], 'project_id': '068dd5faec604e1e86d7edff1448f128'}} 2025-02-12 00:39:05,923 - INFO - Created VN ctest-ext_vn-01511039 2025-02-12 00:39:05,977 - DEBUG - VN ctest-ext_vn-01511039 UUID is a30cdf18-c2b4-478d-b318-9abc16594c1e 2025-02-12 00:39:06,149 - DEBUG - Services list from nova: [, , ] 2025-02-12 00:39:07,177 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2724-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2724-1) 2025-02-12 00:39:08,342 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2724-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2724-1) 2025-02-12 00:39:08,417 - INFO - Setting gateway for router d19f5fa0-c405-4350-aa33-9c219aa6f0cb to network a30cdf18-c2b4-478d-b318-9abc16594c1e 2025-02-12 00:39:08,489 - INFO - Adding interface with subnet_id f350ef7d-f208-48c7-8510-5881317bf8c3, port_id None to router d19f5fa0-c405-4350-aa33-9c219aa6f0cb 2025-02-12 00:39:08,961 - INFO - Waiting for VM ctest-TestRoutersBasic-05425792-23667902 to be up.. 2025-02-12 00:39:09,163 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-12 00:39:14,243 - DEBUG - VM is in ACTIVE state now 2025-02-12 00:39:14,243 - INFO - VM name : ctest-TestRoutersBasic-05425792-23667902 2025-02-12 00:39:14,320 - DEBUG - VM ctest-TestRoutersBasic-05425792-23667902 ID is 8f5011c3-b4fe-4c60-a582-b266e82021bf 2025-02-12 00:39:14,341 - DEBUG - VM ctest-TestRoutersBasic-05425792-23667902 launched on Node cn-jenkins-deploy-platform-ansible-os-2724-1 2025-02-12 00:39:14,415 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/8f5011c3-b4fe-4c60-a582-b266e82021bf 2025-02-12 00:39:14,709 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/8f5011c3-b4fe-4c60-a582-b266e82021bf 2025-02-12 00:39:14,740 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/b1c01b7c-338d-4e60-9e74-ec5596b6da4e 2025-02-12 00:39:17,991 - 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 1011ms') 2025-02-12 00:39:17,991 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05425792-23667902 failed! 2025-02-12 00:39:18,049 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-05425792:ctest-vn-14084145 is 83.2.156.129 and allocation pool is NOT set 2025-02-12 00:39:20,107 - 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.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.425 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.425/1.908/3.391/1.483 ms') 2025-02-12 00:39:20,107 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05425792-23667902 passed 2025-02-12 00:39:20,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-12 00:39:20,261 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05425792-23667902, IP 83.2.156.131, Port 22 2025-02-12 00:39:20,421 - DEBUG - VM ctest-TestRoutersBasic-05425792-23667902 is ready for SSH connections 2025-02-12 00:39:20,421 - INFO - Waiting for VM ctest-TestRoutersBasic-05425792-70791423 to be up.. 2025-02-12 00:39:20,506 - DEBUG - VM is in ACTIVE state now 2025-02-12 00:39:20,506 - INFO - VM name : ctest-TestRoutersBasic-05425792-70791423 2025-02-12 00:39:20,585 - DEBUG - VM ctest-TestRoutersBasic-05425792-70791423 ID is 1d201a60-8676-41b1-a58f-df09159035bb 2025-02-12 00:39:20,585 - DEBUG - VM ctest-TestRoutersBasic-05425792-70791423 launched on Node cn-jenkins-deploy-platform-ansible-os-2724-1 2025-02-12 00:39:20,665 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/1d201a60-8676-41b1-a58f-df09159035bb 2025-02-12 00:39:20,673 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/1615b462-bd15-4ed5-ae08-5f8597d7837b 2025-02-12 00:39:21,912 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.412 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.412/1.588/2.764/1.176 ms') 2025-02-12 00:39:21,912 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-05425792-70791423 passed 2025-02-12 00:39:22,065 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-12 00:39:22,065 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05425792-70791423, IP 23.34.102.3, Port 22 2025-02-12 00:39:22,224 - DEBUG - VM ctest-TestRoutersBasic-05425792-70791423 is ready for SSH connections 2025-02-12 00:39:22,224 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-12 00:39:22,224 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.34.102.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2025-02-12 00:39:22,225 - DEBUG - ping -s 56 -c 3 -W 1 23.34.102.3 2025-02-12 00:39:25,961 - DEBUG - PING 23.34.102.3 (23.34.102.3): 56 data bytes 64 bytes from 23.34.102.3: seq=0 ttl=62 time=7.396 ms 64 bytes from 23.34.102.3: seq=1 ttl=62 time=1.101 ms 64 bytes from 23.34.102.3: seq=2 ttl=62 time=0.876 ms --- 23.34.102.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.876/3.124/7.396 ms 2025-02-12 00:39:25,961 - INFO - Ping to IP 23.34.102.3 from VM ctest-TestRoutersBasic-05425792-23667902 passed 2025-02-12 00:39:25,961 - INFO - Deleting interface with subnet_id f350ef7d-f208-48c7-8510-5881317bf8c3, port_id None from router d19f5fa0-c405-4350-aa33-9c219aa6f0cb 2025-02-12 00:39:26,178 - INFO - Deleting VM ctest-TestRoutersBasic-05425792-70791423 2025-02-12 00:39:26,259 - INFO - Deleting VM ctest-TestRoutersBasic-05425792-23667902 2025-02-12 00:39:26,369 - INFO - Deleting VN ctest-ext_vn-01511039 2025-02-12 00:39:26,455 - DEBUG - VN a30cdf18-c2b4-478d-b318-9abc16594c1e still in use: Unable to complete operation on network a30cdf18-c2b4-478d-b318-9abc16594c1e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-566a380a-294d-4574-ba7c-0847a2d53a9d'] 2025-02-12 00:39:26,455 - WARNING - Deleting VN ctest-ext_vn-01511039 failed..Will retry 2025-02-12 00:39:28,560 - DEBUG - Response for deleting network () 2025-02-12 00:39:28,561 - INFO - Deleting VN ctest-vn-14084145 2025-02-12 00:39:28,692 - DEBUG - Response for deleting network () 2025-02-12 00:39:28,955 - DEBUG - No XMPP flaps were noticed during the test
2025-02-12 00:39:28,955 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-02-12 00:39:28,955 - INFO - -------------------------------------------------------------------------------- 2025-02-12 00:39:29,626 - INFO - Deleted project: ctest-TestRoutersBasic-05425792, ID : 068dd5fa-ec60-4e1e-86d7-edff1448f128