2025-03-10 02:23:08,546 - INFO - Domain Default found not creating 2025-03-10 02:23:08,687 - INFO - Project ctest-TestRoutersBasic-90611591 not found, creating it 2025-03-10 02:23:09,207 - INFO - Created Project:ctest-TestRoutersBasic-90611591, ID : c1db6de5-f2b7-4b9b-81f2-badd0efc5341 2025-03-10 02:23:10,745 - INFO - ================================================================================ 2025-03-10 02:23:10,745 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-03-10 02:23:10,745 - 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-03-10 02:23:11,013 - DEBUG - Nothing to compare xmpp stats {'10.0.0.60': {'10.20.0.14': '0'}} with 2025-03-10 02:23:11,013 - INFO - Initial checks done. Running the testcase now 2025-03-10 02:23:11,013 - INFO - 2025-03-10 02:23:11,697 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-90611591 2025-03-10 02:23:11,791 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-90611591 2025-03-10 02:23:12,111 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90611591', 'default']} 2025-03-10 02:23:12,397 - DEBUG - Response for create_network : {'network': {'id': 'f6fd0dad-b060-4c7c-af0f-13d23c41c495', 'name': 'ctest-vn-83722501', 'tenant_id': 'c1db6de5f2b74b9b81f2badd0efc5341', 'project_id': 'c1db6de5f2b74b9b81f2badd0efc5341', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90611591', 'ctest-vn-83722501'], 'port_security_enabled': True, 'description': ''}} 2025-03-10 02:23:12,602 - DEBUG - Response for create_subnet : {'subnet': {'id': '997f94b3-46d6-433b-91fd-5e26a2f4e6ca', 'name': '', 'tenant_id': 'c1db6de5f2b74b9b81f2badd0efc5341', 'network_id': 'f6fd0dad-b060-4c7c-af0f-13d23c41c495', 'ip_version': 4, 'cidr': '51.199.176.128/26', 'allocation_pools': [{'start': '51.199.176.130', 'end': '51.199.176.190'}], 'gateway_ip': '51.199.176.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.199.176.130', 'tags': [], 'project_id': 'c1db6de5f2b74b9b81f2badd0efc5341'}} 2025-03-10 02:23:12,619 - INFO - Created VN ctest-vn-83722501 2025-03-10 02:23:12,671 - DEBUG - VN ctest-vn-83722501 UUID is f6fd0dad-b060-4c7c-af0f-13d23c41c495 2025-03-10 02:23:12,965 - DEBUG - Response for create_network : {'network': {'id': 'e1c426ed-a3b5-4ef7-8425-976ec83d98e3', 'name': 'ctest-ext_vn-84812766', 'tenant_id': 'c1db6de5f2b74b9b81f2badd0efc5341', 'project_id': 'c1db6de5f2b74b9b81f2badd0efc5341', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90611591', 'ctest-ext_vn-84812766'], 'port_security_enabled': True, 'description': ''}} 2025-03-10 02:23:13,173 - DEBUG - Response for create_subnet : {'subnet': {'id': '72147c8c-020c-4881-bef5-c66983183360', 'name': '', 'tenant_id': 'c1db6de5f2b74b9b81f2badd0efc5341', 'network_id': 'e1c426ed-a3b5-4ef7-8425-976ec83d98e3', 'ip_version': 4, 'cidr': '145.251.30.0/26', 'allocation_pools': [{'start': '145.251.30.2', 'end': '145.251.30.62'}], 'gateway_ip': '145.251.30.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.251.30.2', 'tags': [], 'project_id': 'c1db6de5f2b74b9b81f2badd0efc5341'}} 2025-03-10 02:23:13,189 - INFO - Created VN ctest-ext_vn-84812766 2025-03-10 02:23:13,238 - DEBUG - VN ctest-ext_vn-84812766 UUID is e1c426ed-a3b5-4ef7-8425-976ec83d98e3 2025-03-10 02:23:13,435 - DEBUG - Services list from nova: [, , ] 2025-03-10 02:23:14,425 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2827-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2827-1) 2025-03-10 02:23:15,529 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2827-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2827-1) 2025-03-10 02:23:15,591 - INFO - Setting gateway for router 69c0c11e-976e-4c0d-90bc-1c7f639e62ee to network e1c426ed-a3b5-4ef7-8425-976ec83d98e3 2025-03-10 02:23:15,660 - INFO - Adding interface with subnet_id 997f94b3-46d6-433b-91fd-5e26a2f4e6ca, port_id None to router 69c0c11e-976e-4c0d-90bc-1c7f639e62ee 2025-03-10 02:23:16,126 - INFO - Waiting for VM ctest-TestRoutersBasic-90611591-68131546 to be up.. 2025-03-10 02:23:16,326 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-10 02:23:21,397 - DEBUG - VM is in ACTIVE state now 2025-03-10 02:23:21,397 - INFO - VM name : ctest-TestRoutersBasic-90611591-68131546 2025-03-10 02:23:21,462 - DEBUG - VM ctest-TestRoutersBasic-90611591-68131546 ID is 00cceb3a-d0d1-4bde-9135-ccb3c710852a 2025-03-10 02:23:21,478 - DEBUG - VM ctest-TestRoutersBasic-90611591-68131546 launched on Node cn-jenkins-deploy-platform-ansible-os-2827-1 2025-03-10 02:23:21,558 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-machine/00cceb3a-d0d1-4bde-9135-ccb3c710852a 2025-03-10 02:23:21,851 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-machine/00cceb3a-d0d1-4bde-9135-ccb3c710852a 2025-03-10 02:23:21,880 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-machine-interface/49935845-0b03-4a68-8f7b-0d5eb1b0a9d1 2025-03-10 02:23:25,129 - 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 1012ms') 2025-03-10 02:23:25,129 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90611591-68131546 failed! 2025-03-10 02:23:25,183 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-90611591:ctest-vn-83722501 is 51.199.176.129 and allocation pool is NOT set 2025-03-10 02:23:27,243 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.403 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.403/1.553/2.703/1.150 ms') 2025-03-10 02:23:27,243 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90611591-68131546 passed 2025-03-10 02:23:27,395 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-10 02:23:27,395 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90611591-68131546, IP 51.199.176.131, Port 22 2025-03-10 02:23:27,546 - DEBUG - VM ctest-TestRoutersBasic-90611591-68131546 is ready for SSH connections 2025-03-10 02:23:27,546 - INFO - Waiting for VM ctest-TestRoutersBasic-90611591-00720617 to be up.. 2025-03-10 02:23:27,613 - DEBUG - VM is in ACTIVE state now 2025-03-10 02:23:27,613 - INFO - VM name : ctest-TestRoutersBasic-90611591-00720617 2025-03-10 02:23:27,682 - DEBUG - VM ctest-TestRoutersBasic-90611591-00720617 ID is 4b2c53b5-2ebc-4ec2-92b7-373082c0e561 2025-03-10 02:23:27,682 - DEBUG - VM ctest-TestRoutersBasic-90611591-00720617 launched on Node cn-jenkins-deploy-platform-ansible-os-2827-1 2025-03-10 02:23:27,750 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-machine/4b2c53b5-2ebc-4ec2-92b7-373082c0e561 2025-03-10 02:23:27,758 - DEBUG - Requesting: http://10.0.0.60:8082/virtual-machine-interface/ea4759e9-eb10-44eb-82be-60f6487b5caf 2025-03-10 02:23:28,993 - 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.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.577 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 = 0.577/2.027/3.477/1.450 ms') 2025-03-10 02:23:28,993 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-90611591-00720617 passed 2025-03-10 02:23:29,143 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-10 02:23:29,143 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90611591-00720617, IP 145.251.30.3, Port 22 2025-03-10 02:23:29,294 - DEBUG - VM ctest-TestRoutersBasic-90611591-00720617 is ready for SSH connections 2025-03-10 02:23:29,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-10 02:23:29,294 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 145.251.30.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.60, gateway password: c0ntrail123 2025-03-10 02:23:29,294 - DEBUG - ping -s 56 -c 3 -W 1 145.251.30.3 2025-03-10 02:23:33,298 - DEBUG - PING 145.251.30.3 (145.251.30.3): 56 data bytes 64 bytes from 145.251.30.3: seq=0 ttl=62 time=5.943 ms 64 bytes from 145.251.30.3: seq=1 ttl=62 time=0.778 ms 64 bytes from 145.251.30.3: seq=2 ttl=62 time=0.666 ms --- 145.251.30.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.666/2.462/5.943 ms 2025-03-10 02:23:33,298 - INFO - Ping to IP 145.251.30.3 from VM ctest-TestRoutersBasic-90611591-68131546 passed 2025-03-10 02:23:33,298 - INFO - Deleting interface with subnet_id 997f94b3-46d6-433b-91fd-5e26a2f4e6ca, port_id None from router 69c0c11e-976e-4c0d-90bc-1c7f639e62ee 2025-03-10 02:23:33,466 - INFO - Deleting VM ctest-TestRoutersBasic-90611591-00720617 2025-03-10 02:23:33,537 - INFO - Deleting VM ctest-TestRoutersBasic-90611591-68131546 2025-03-10 02:23:33,603 - INFO - Deleting VN ctest-ext_vn-84812766 2025-03-10 02:23:33,663 - DEBUG - VN e1c426ed-a3b5-4ef7-8425-976ec83d98e3 still in use: Unable to complete operation on network e1c426ed-a3b5-4ef7-8425-976ec83d98e3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c0db459b-a5b5-43c7-81b9-f71c42dfc993'] 2025-03-10 02:23:33,664 - WARNING - Deleting VN ctest-ext_vn-84812766 failed..Will retry 2025-03-10 02:23:35,763 - DEBUG - Response for deleting network () 2025-03-10 02:23:35,763 - INFO - Deleting VN ctest-vn-83722501 2025-03-10 02:23:35,866 - DEBUG - Response for deleting network () 2025-03-10 02:23:36,116 - DEBUG - No XMPP flaps were noticed during the test
2025-03-10 02:23:36,116 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-03-10 02:23:36,116 - INFO - -------------------------------------------------------------------------------- 2025-03-10 02:23:36,772 - INFO - Deleted project: ctest-TestRoutersBasic-90611591, ID : c1db6de5-f2b7-4b9b-81f2-badd0efc5341