2025-02-20 00:18:44,508 - INFO - Domain Default found not creating 2025-02-20 00:18:44,664 - INFO - Project ctest-TestRoutersBasic-77144737 not found, creating it 2025-02-20 00:18:45,166 - INFO - Created Project:ctest-TestRoutersBasic-77144737, ID : 55db9fcd-2260-4414-9b29-cf773070f7a9 2025-02-20 00:18:46,781 - INFO - ================================================================================ 2025-02-20 00:18:46,781 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-20 00:18:46,781 - 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-20 00:18:47,036 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.8': '0'}} with 2025-02-20 00:18:47,036 - INFO - Initial checks done. Running the testcase now 2025-02-20 00:18:47,036 - INFO - 2025-02-20 00:18:47,831 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-77144737 2025-02-20 00:18:47,933 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-77144737 2025-02-20 00:18:48,261 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77144737', 'default']} 2025-02-20 00:18:48,577 - DEBUG - Response for create_network : {'network': {'id': 'c8c7058f-6183-4838-ae81-12d450c8a6e3', 'name': 'ctest-vn-66521946', 'tenant_id': '55db9fcd226044149b29cf773070f7a9', 'project_id': '55db9fcd226044149b29cf773070f7a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77144737', 'ctest-vn-66521946'], 'port_security_enabled': True, 'description': ''}} 2025-02-20 00:18:48,803 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f6ea5a9-1d18-440b-a67b-f61565719e79', 'name': '', 'tenant_id': '55db9fcd226044149b29cf773070f7a9', 'network_id': 'c8c7058f-6183-4838-ae81-12d450c8a6e3', 'ip_version': 4, 'cidr': '114.209.8.64/26', 'allocation_pools': [{'start': '114.209.8.66', 'end': '114.209.8.126'}], 'gateway_ip': '114.209.8.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.209.8.66', 'tags': [], 'project_id': '55db9fcd226044149b29cf773070f7a9'}} 2025-02-20 00:18:48,822 - INFO - Created VN ctest-vn-66521946 2025-02-20 00:18:48,877 - DEBUG - VN ctest-vn-66521946 UUID is c8c7058f-6183-4838-ae81-12d450c8a6e3 2025-02-20 00:18:49,208 - DEBUG - Response for create_network : {'network': {'id': 'e6d11606-caea-4444-b9da-0aff488feb5b', 'name': 'ctest-ext_vn-52273952', 'tenant_id': '55db9fcd226044149b29cf773070f7a9', 'project_id': '55db9fcd226044149b29cf773070f7a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77144737', 'ctest-ext_vn-52273952'], 'port_security_enabled': True, 'description': ''}} 2025-02-20 00:18:49,401 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a1f792b4-10d3-4176-a07d-2bae4c73e314', 'name': '', 'tenant_id': '55db9fcd226044149b29cf773070f7a9', 'network_id': 'e6d11606-caea-4444-b9da-0aff488feb5b', 'ip_version': 4, 'cidr': '1.189.138.64/26', 'allocation_pools': [{'start': '1.189.138.66', 'end': '1.189.138.126'}], 'gateway_ip': '1.189.138.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.189.138.66', 'tags': [], 'project_id': '55db9fcd226044149b29cf773070f7a9'}} 2025-02-20 00:18:49,420 - INFO - Created VN ctest-ext_vn-52273952 2025-02-20 00:18:49,473 - DEBUG - VN ctest-ext_vn-52273952 UUID is e6d11606-caea-4444-b9da-0aff488feb5b 2025-02-20 00:18:49,639 - DEBUG - Services list from nova: [, , ] 2025-02-20 00:18:50,762 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2747-1) 2025-02-20 00:18:51,988 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2747-1) 2025-02-20 00:18:52,095 - INFO - Setting gateway for router 0f10e55c-b26d-4a0f-8e92-cc1defec6258 to network e6d11606-caea-4444-b9da-0aff488feb5b 2025-02-20 00:18:52,178 - INFO - Adding interface with subnet_id 8f6ea5a9-1d18-440b-a67b-f61565719e79, port_id None to router 0f10e55c-b26d-4a0f-8e92-cc1defec6258 2025-02-20 00:18:52,561 - INFO - Waiting for VM ctest-TestRoutersBasic-77144737-64261821 to be up.. 2025-02-20 00:18:52,714 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-20 00:18:57,796 - DEBUG - VM is in ACTIVE state now 2025-02-20 00:18:57,796 - INFO - VM name : ctest-TestRoutersBasic-77144737-64261821 2025-02-20 00:18:57,881 - DEBUG - VM ctest-TestRoutersBasic-77144737-64261821 ID is db95e118-06c2-4dff-84d4-aeedf2500cdb 2025-02-20 00:18:57,902 - DEBUG - VM ctest-TestRoutersBasic-77144737-64261821 launched on Node cn-jenkins-deploy-platform-ansible-os-2747-1 2025-02-20 00:18:57,979 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/db95e118-06c2-4dff-84d4-aeedf2500cdb 2025-02-20 00:18:58,404 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/db95e118-06c2-4dff-84d4-aeedf2500cdb 2025-02-20 00:18:58,436 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/61b84001-167f-4e44-a187-59acd0092521 2025-02-20 00:19:01,686 - 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 1003ms') 2025-02-20 00:19:01,686 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77144737-64261821 failed! 2025-02-20 00:19:01,745 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-77144737:ctest-vn-66521946 is 114.209.8.65 and allocation pool is NOT set 2025-02-20 00:19:03,801 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.837 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.837/2.390/3.944/1.553 ms') 2025-02-20 00:19:03,801 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77144737-64261821 passed 2025-02-20 00:19:03,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-20 00:19:03,957 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77144737-64261821, IP 114.209.8.67, Port 22 2025-02-20 00:19:04,123 - DEBUG - VM ctest-TestRoutersBasic-77144737-64261821 is ready for SSH connections 2025-02-20 00:19:04,123 - INFO - Waiting for VM ctest-TestRoutersBasic-77144737-67390666 to be up.. 2025-02-20 00:19:04,236 - DEBUG - VM is in ACTIVE state now 2025-02-20 00:19:04,236 - INFO - VM name : ctest-TestRoutersBasic-77144737-67390666 2025-02-20 00:19:04,319 - DEBUG - VM ctest-TestRoutersBasic-77144737-67390666 ID is f7d09a4e-30d0-45b7-8df1-243e87b4019a 2025-02-20 00:19:04,319 - DEBUG - VM ctest-TestRoutersBasic-77144737-67390666 launched on Node cn-jenkins-deploy-platform-ansible-os-2747-1 2025-02-20 00:19:04,399 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/f7d09a4e-30d0-45b7-8df1-243e87b4019a 2025-02-20 00:19:04,409 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/5ccc9fc8-5dc1-4327-a538-6eaef9be7b70 2025-02-20 00:19:05,658 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.54 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.538/3.682/5.827/2.144 ms') 2025-02-20 00:19:05,658 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-77144737-67390666 passed 2025-02-20 00:19:05,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-20 00:19:05,813 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77144737-67390666, IP 1.189.138.67, Port 22 2025-02-20 00:19:05,968 - DEBUG - VM ctest-TestRoutersBasic-77144737-67390666 is ready for SSH connections 2025-02-20 00:19:05,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-20 00:19:05,968 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.189.138.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-02-20 00:19:05,968 - DEBUG - ping -s 56 -c 3 -W 1 1.189.138.67 2025-02-20 00:19:09,714 - DEBUG - PING 1.189.138.67 (1.189.138.67): 56 data bytes 64 bytes from 1.189.138.67: seq=0 ttl=62 time=7.163 ms 64 bytes from 1.189.138.67: seq=1 ttl=62 time=1.107 ms 64 bytes from 1.189.138.67: seq=2 ttl=62 time=1.192 ms --- 1.189.138.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.107/3.154/7.163 ms 2025-02-20 00:19:09,714 - INFO - Ping to IP 1.189.138.67 from VM ctest-TestRoutersBasic-77144737-64261821 passed 2025-02-20 00:19:09,715 - INFO - Deleting interface with subnet_id 8f6ea5a9-1d18-440b-a67b-f61565719e79, port_id None from router 0f10e55c-b26d-4a0f-8e92-cc1defec6258 2025-02-20 00:19:09,941 - INFO - Deleting VM ctest-TestRoutersBasic-77144737-67390666 2025-02-20 00:19:10,046 - INFO - Deleting VM ctest-TestRoutersBasic-77144737-64261821 2025-02-20 00:19:10,121 - INFO - Deleting VN ctest-ext_vn-52273952 2025-02-20 00:19:10,213 - DEBUG - VN e6d11606-caea-4444-b9da-0aff488feb5b still in use: Unable to complete operation on network e6d11606-caea-4444-b9da-0aff488feb5b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eea8b89a-b155-4e5d-9f8f-cc2354328025'] 2025-02-20 00:19:10,213 - WARNING - Deleting VN ctest-ext_vn-52273952 failed..Will retry 2025-02-20 00:19:12,347 - DEBUG - Response for deleting network () 2025-02-20 00:19:12,347 - INFO - Deleting VN ctest-vn-66521946 2025-02-20 00:19:12,518 - DEBUG - Response for deleting network () 2025-02-20 00:19:12,776 - DEBUG - No XMPP flaps were noticed during the test
2025-02-20 00:19:12,776 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-02-20 00:19:12,776 - INFO - -------------------------------------------------------------------------------- 2025-02-20 00:19:13,542 - INFO - Deleted project: ctest-TestRoutersBasic-77144737, ID : 55db9fcd-2260-4414-9b29-cf773070f7a9