2025-01-02 21:09:58,242 - INFO - Domain Default found not creating 2025-01-02 21:09:58,445 - INFO - Project ctest-TestRoutersBasic-39717987 not found, creating it 2025-01-02 21:09:58,947 - INFO - Created Project:ctest-TestRoutersBasic-39717987, ID : 77d57a83-fadf-466f-bb82-e9d7d474326a 2025-01-02 21:10:00,519 - INFO - ================================================================================ 2025-01-02 21:10:00,519 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-02 21:10:00,519 - 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-02 21:10:00,788 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.5': '0'}} with 2025-01-02 21:10:00,788 - INFO - Initial checks done. Running the testcase now 2025-01-02 21:10:00,788 - INFO - 2025-01-02 21:10:01,524 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-39717987 2025-01-02 21:10:01,626 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-39717987 2025-01-02 21:10:01,962 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39717987', 'default']} 2025-01-02 21:10:02,317 - DEBUG - Response for create_network : {'network': {'id': 'd58f1511-0899-401f-abb9-6abca67f50bc', 'name': 'ctest-vn-72718258', 'tenant_id': '77d57a83fadf466fbb82e9d7d474326a', 'project_id': '77d57a83fadf466fbb82e9d7d474326a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39717987', 'ctest-vn-72718258'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 21:10:02,564 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f42a9b00-80cb-4f1d-b423-60dbd261a218', 'name': '', 'tenant_id': '77d57a83fadf466fbb82e9d7d474326a', 'network_id': 'd58f1511-0899-401f-abb9-6abca67f50bc', 'ip_version': 4, 'cidr': '197.46.248.64/26', 'allocation_pools': [{'start': '197.46.248.66', 'end': '197.46.248.126'}], 'gateway_ip': '197.46.248.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.46.248.66', 'tags': [], 'project_id': '77d57a83fadf466fbb82e9d7d474326a'}} 2025-01-02 21:10:02,589 - INFO - Created VN ctest-vn-72718258 2025-01-02 21:10:02,646 - DEBUG - VN ctest-vn-72718258 UUID is d58f1511-0899-401f-abb9-6abca67f50bc 2025-01-02 21:10:03,064 - DEBUG - Response for create_network : {'network': {'id': '8b45a1c7-56b5-498c-b9a2-b49d84b8fc1b', 'name': 'ctest-ext_vn-85578582', 'tenant_id': '77d57a83fadf466fbb82e9d7d474326a', 'project_id': '77d57a83fadf466fbb82e9d7d474326a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39717987', 'ctest-ext_vn-85578582'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 21:10:03,320 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ccaf76ed-a3a3-40a6-88c2-5d899efc5d8a', 'name': '', 'tenant_id': '77d57a83fadf466fbb82e9d7d474326a', 'network_id': '8b45a1c7-56b5-498c-b9a2-b49d84b8fc1b', 'ip_version': 4, 'cidr': '150.221.192.64/26', 'allocation_pools': [{'start': '150.221.192.66', 'end': '150.221.192.126'}], 'gateway_ip': '150.221.192.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.221.192.66', 'tags': [], 'project_id': '77d57a83fadf466fbb82e9d7d474326a'}} 2025-01-02 21:10:03,344 - INFO - Created VN ctest-ext_vn-85578582 2025-01-02 21:10:03,402 - DEBUG - VN ctest-ext_vn-85578582 UUID is 8b45a1c7-56b5-498c-b9a2-b49d84b8fc1b 2025-01-02 21:10:03,594 - DEBUG - Services list from nova: [, , ] 2025-01-02 21:10:04,651 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2512-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2512-1) 2025-01-02 21:10:05,872 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2512-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2512-1) 2025-01-02 21:10:05,962 - INFO - Setting gateway for router 2b2d953f-57dd-44e3-a8f9-af09fac4acbd to network 8b45a1c7-56b5-498c-b9a2-b49d84b8fc1b 2025-01-02 21:10:06,050 - INFO - Adding interface with subnet_id f42a9b00-80cb-4f1d-b423-60dbd261a218, port_id None to router 2b2d953f-57dd-44e3-a8f9-af09fac4acbd 2025-01-02 21:10:06,540 - INFO - Waiting for VM ctest-TestRoutersBasic-39717987-12181880 to be up.. 2025-01-02 21:10:06,736 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-02 21:10:11,836 - DEBUG - VM is in ACTIVE state now 2025-01-02 21:10:11,837 - INFO - VM name : ctest-TestRoutersBasic-39717987-12181880 2025-01-02 21:10:11,922 - DEBUG - VM ctest-TestRoutersBasic-39717987-12181880 ID is 7015d4c7-df02-423c-af21-1e4816a79217 2025-01-02 21:10:11,945 - DEBUG - VM ctest-TestRoutersBasic-39717987-12181880 launched on Node cn-jenkins-deploy-platform-ansible-os-2512-1 2025-01-02 21:10:12,035 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/7015d4c7-df02-423c-af21-1e4816a79217 2025-01-02 21:10:12,334 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/7015d4c7-df02-423c-af21-1e4816a79217 2025-01-02 21:10:12,372 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/331c4dec-742b-4620-8a15-cc331e058c9b 2025-01-02 21:10:15,632 - 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 1006ms') 2025-01-02 21:10:15,632 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-39717987-12181880 failed! 2025-01-02 21:10:15,690 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-39717987:ctest-vn-72718258 is 197.46.248.65 and allocation pool is NOT set 2025-01-02 21:10:17,756 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.607 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.607/1.838/3.070/1.231 ms') 2025-01-02 21:10:17,756 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-39717987-12181880 passed 2025-01-02 21:10:17,914 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 21:10:17,914 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39717987-12181880, IP 197.46.248.67, Port 22 2025-01-02 21:10:18,077 - DEBUG - VM ctest-TestRoutersBasic-39717987-12181880 is ready for SSH connections 2025-01-02 21:10:18,077 - INFO - Waiting for VM ctest-TestRoutersBasic-39717987-74615384 to be up.. 2025-01-02 21:10:18,172 - DEBUG - VM is in ACTIVE state now 2025-01-02 21:10:18,173 - INFO - VM name : ctest-TestRoutersBasic-39717987-74615384 2025-01-02 21:10:18,261 - DEBUG - VM ctest-TestRoutersBasic-39717987-74615384 ID is 606cad66-ef52-4535-aa92-6980ca61f03d 2025-01-02 21:10:18,261 - DEBUG - VM ctest-TestRoutersBasic-39717987-74615384 launched on Node cn-jenkins-deploy-platform-ansible-os-2512-1 2025-01-02 21:10:18,357 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/606cad66-ef52-4535-aa92-6980ca61f03d 2025-01-02 21:10:18,371 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/66d503d8-2b11-4f1c-ab54-5f3a3b7245de 2025-01-02 21:10:19,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=5.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.921 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.921/2.987/5.054/2.066 ms') 2025-01-02 21:10:19,639 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-39717987-74615384 passed 2025-01-02 21:10:19,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 21:10:19,794 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39717987-74615384, IP 150.221.192.67, Port 22 2025-01-02 21:10:19,962 - DEBUG - VM ctest-TestRoutersBasic-39717987-74615384 is ready for SSH connections 2025-01-02 21:10:19,962 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 21:10:19,963 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.221.192.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-01-02 21:10:19,963 - DEBUG - ping -s 56 -c 3 -W 1 150.221.192.67 2025-01-02 21:10:23,643 - DEBUG - PING 150.221.192.67 (150.221.192.67): 56 data bytes 64 bytes from 150.221.192.67: seq=0 ttl=62 time=8.851 ms 64 bytes from 150.221.192.67: seq=1 ttl=62 time=1.055 ms 64 bytes from 150.221.192.67: seq=2 ttl=62 time=0.908 ms --- 150.221.192.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.908/3.604/8.851 ms 2025-01-02 21:10:23,643 - INFO - Ping to IP 150.221.192.67 from VM ctest-TestRoutersBasic-39717987-12181880 passed 2025-01-02 21:10:23,643 - INFO - Deleting interface with subnet_id f42a9b00-80cb-4f1d-b423-60dbd261a218, port_id None from router 2b2d953f-57dd-44e3-a8f9-af09fac4acbd 2025-01-02 21:10:23,858 - INFO - Deleting VM ctest-TestRoutersBasic-39717987-74615384 2025-01-02 21:10:23,932 - INFO - Deleting VM ctest-TestRoutersBasic-39717987-12181880 2025-01-02 21:10:24,028 - INFO - Deleting VN ctest-ext_vn-85578582 2025-01-02 21:10:24,128 - DEBUG - VN 8b45a1c7-56b5-498c-b9a2-b49d84b8fc1b still in use: Unable to complete operation on network 8b45a1c7-56b5-498c-b9a2-b49d84b8fc1b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-97e8a252-2c75-4fea-b868-a3b1d3b50bdd'] 2025-01-02 21:10:24,129 - WARNING - Deleting VN ctest-ext_vn-85578582 failed..Will retry 2025-01-02 21:10:26,267 - DEBUG - Response for deleting network () 2025-01-02 21:10:26,268 - INFO - Deleting VN ctest-vn-72718258 2025-01-02 21:10:26,392 - DEBUG - Response for deleting network () 2025-01-02 21:10:26,657 - DEBUG - No XMPP flaps were noticed during the test
2025-01-02 21:10:26,657 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-02 21:10:26,657 - INFO - -------------------------------------------------------------------------------- 2025-01-02 21:10:27,380 - INFO - Deleted project: ctest-TestRoutersBasic-39717987, ID : 77d57a83-fadf-466f-bb82-e9d7d474326a