2025-01-14 17:01:52,382 - INFO - Domain Default found not creating 2025-01-14 17:01:52,576 - INFO - Project ctest-TestRoutersBasic-30266572 not found, creating it 2025-01-14 17:01:53,117 - INFO - Created Project:ctest-TestRoutersBasic-30266572, ID : 5d6927d9-5d70-4bcd-84ce-6792d24d586b 2025-01-14 17:01:54,587 - INFO - ================================================================================ 2025-01-14 17:01:54,587 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-14 17:01:54,587 - 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-14 17:01:54,856 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-01-14 17:01:54,856 - INFO - Initial checks done. Running the testcase now 2025-01-14 17:01:54,856 - INFO - 2025-01-14 17:01:55,556 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-30266572 2025-01-14 17:01:55,657 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-30266572 2025-01-14 17:01:55,995 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30266572', 'default']} 2025-01-14 17:01:56,353 - DEBUG - Response for create_network : {'network': {'id': '704a0bc5-c0a7-43e0-95cc-d2bc6d21eed5', 'name': 'ctest-vn-25096903', 'tenant_id': '5d6927d95d704bcd84ce6792d24d586b', 'project_id': '5d6927d95d704bcd84ce6792d24d586b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30266572', 'ctest-vn-25096903'], 'port_security_enabled': True, 'description': ''}} 2025-01-14 17:01:56,509 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef511eb2-0678-4404-a28c-2021b87390c6', 'name': '', 'tenant_id': '5d6927d95d704bcd84ce6792d24d586b', 'network_id': '704a0bc5-c0a7-43e0-95cc-d2bc6d21eed5', 'ip_version': 4, 'cidr': '85.74.113.0/26', 'allocation_pools': [{'start': '85.74.113.2', 'end': '85.74.113.62'}], 'gateway_ip': '85.74.113.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.74.113.2', 'tags': [], 'project_id': '5d6927d95d704bcd84ce6792d24d586b'}} 2025-01-14 17:01:56,531 - INFO - Created VN ctest-vn-25096903 2025-01-14 17:01:56,585 - DEBUG - VN ctest-vn-25096903 UUID is 704a0bc5-c0a7-43e0-95cc-d2bc6d21eed5 2025-01-14 17:01:56,984 - DEBUG - Response for create_network : {'network': {'id': 'e5b27b28-99f2-4e10-8ef1-96ef694ee2b7', 'name': 'ctest-ext_vn-26998327', 'tenant_id': '5d6927d95d704bcd84ce6792d24d586b', 'project_id': '5d6927d95d704bcd84ce6792d24d586b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30266572', 'ctest-ext_vn-26998327'], 'port_security_enabled': True, 'description': ''}} 2025-01-14 17:01:57,207 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec322e22-8832-43ee-84f1-7e764e995369', 'name': '', 'tenant_id': '5d6927d95d704bcd84ce6792d24d586b', 'network_id': 'e5b27b28-99f2-4e10-8ef1-96ef694ee2b7', 'ip_version': 4, 'cidr': '36.44.134.192/26', 'allocation_pools': [{'start': '36.44.134.194', 'end': '36.44.134.254'}], 'gateway_ip': '36.44.134.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.44.134.194', 'tags': [], 'project_id': '5d6927d95d704bcd84ce6792d24d586b'}} 2025-01-14 17:01:57,235 - INFO - Created VN ctest-ext_vn-26998327 2025-01-14 17:01:57,289 - DEBUG - VN ctest-ext_vn-26998327 UUID is e5b27b28-99f2-4e10-8ef1-96ef694ee2b7 2025-01-14 17:01:57,487 - DEBUG - Services list from nova: [, , ] 2025-01-14 17:01:58,549 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2627-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2627-1) 2025-01-14 17:01:59,697 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2627-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2627-1) 2025-01-14 17:01:59,794 - INFO - Setting gateway for router 234505e4-3171-4ed2-8cb3-2fadb34a9518 to network e5b27b28-99f2-4e10-8ef1-96ef694ee2b7 2025-01-14 17:01:59,876 - INFO - Adding interface with subnet_id ef511eb2-0678-4404-a28c-2021b87390c6, port_id None to router 234505e4-3171-4ed2-8cb3-2fadb34a9518 2025-01-14 17:02:00,327 - INFO - Waiting for VM ctest-TestRoutersBasic-30266572-50972543 to be up.. 2025-01-14 17:02:00,464 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-14 17:02:05,550 - DEBUG - VM is in ACTIVE state now 2025-01-14 17:02:05,550 - INFO - VM name : ctest-TestRoutersBasic-30266572-50972543 2025-01-14 17:02:05,632 - DEBUG - VM ctest-TestRoutersBasic-30266572-50972543 ID is 8fab9fb0-4097-4201-87bd-3bc4d48efb4b 2025-01-14 17:02:05,651 - DEBUG - VM ctest-TestRoutersBasic-30266572-50972543 launched on Node cn-jenkins-deploy-platform-ansible-os-2627-1 2025-01-14 17:02:05,727 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8fab9fb0-4097-4201-87bd-3bc4d48efb4b 2025-01-14 17:02:06,032 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8fab9fb0-4097-4201-87bd-3bc4d48efb4b 2025-01-14 17:02:06,070 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/94d592e2-5c7c-4f05-a88b-9e3b111183eb 2025-01-14 17:02:09,318 - 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-01-14 17:02:09,319 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30266572-50972543 failed! 2025-01-14 17:02:09,377 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-30266572:ctest-vn-25096903 is 85.74.113.1 and allocation pool is NOT set 2025-01-14 17:02:11,437 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.486 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.486/1.809/3.132/1.323 ms') 2025-01-14 17:02:11,438 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-30266572-50972543 passed 2025-01-14 17:02:11,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 17:02:11,553 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30266572-50972543, IP 85.74.113.3, Port 22 2025-01-14 17:02:11,712 - DEBUG - VM ctest-TestRoutersBasic-30266572-50972543 is ready for SSH connections 2025-01-14 17:02:11,712 - INFO - Waiting for VM ctest-TestRoutersBasic-30266572-84608819 to be up.. 2025-01-14 17:02:11,795 - DEBUG - VM is in ACTIVE state now 2025-01-14 17:02:11,795 - INFO - VM name : ctest-TestRoutersBasic-30266572-84608819 2025-01-14 17:02:11,873 - DEBUG - VM ctest-TestRoutersBasic-30266572-84608819 ID is c4ff2c2c-cd52-407e-85d3-e421a2a9bc46 2025-01-14 17:02:11,873 - DEBUG - VM ctest-TestRoutersBasic-30266572-84608819 launched on Node cn-jenkins-deploy-platform-ansible-os-2627-1 2025-01-14 17:02:11,972 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c4ff2c2c-cd52-407e-85d3-e421a2a9bc46 2025-01-14 17:02:11,983 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ef883dbd-e1ab-436c-af14-f45874900d1d 2025-01-14 17:02:13,230 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.633 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.633/1.851/3.069/1.218 ms') 2025-01-14 17:02:13,230 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-30266572-84608819 passed 2025-01-14 17:02:13,393 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 17:02:13,393 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30266572-84608819, IP 36.44.134.195, Port 22 2025-01-14 17:02:13,565 - DEBUG - VM ctest-TestRoutersBasic-30266572-84608819 is ready for SSH connections 2025-01-14 17:02:13,565 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 17:02:13,565 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.44.134.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-01-14 17:02:13,565 - DEBUG - ping -s 56 -c 3 -W 1 36.44.134.195 2025-01-14 17:02:17,576 - DEBUG - PING 36.44.134.195 (36.44.134.195): 56 data bytes 64 bytes from 36.44.134.195: seq=0 ttl=62 time=6.659 ms 64 bytes from 36.44.134.195: seq=1 ttl=62 time=1.605 ms 64 bytes from 36.44.134.195: seq=2 ttl=62 time=1.456 ms --- 36.44.134.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.456/3.240/6.659 ms 2025-01-14 17:02:17,576 - INFO - Ping to IP 36.44.134.195 from VM ctest-TestRoutersBasic-30266572-50972543 passed 2025-01-14 17:02:17,576 - INFO - Deleting interface with subnet_id ef511eb2-0678-4404-a28c-2021b87390c6, port_id None from router 234505e4-3171-4ed2-8cb3-2fadb34a9518 2025-01-14 17:02:17,871 - INFO - Deleting VM ctest-TestRoutersBasic-30266572-84608819 2025-01-14 17:02:17,953 - INFO - Deleting VM ctest-TestRoutersBasic-30266572-50972543 2025-01-14 17:02:18,052 - INFO - Deleting VN ctest-ext_vn-26998327 2025-01-14 17:02:18,155 - DEBUG - VN e5b27b28-99f2-4e10-8ef1-96ef694ee2b7 still in use: Unable to complete operation on network e5b27b28-99f2-4e10-8ef1-96ef694ee2b7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a3338ca6-afd7-42b8-8fd7-83a0cdafc069'] 2025-01-14 17:02:18,155 - WARNING - Deleting VN ctest-ext_vn-26998327 failed..Will retry 2025-01-14 17:02:20,282 - DEBUG - Response for deleting network () 2025-01-14 17:02:20,283 - INFO - Deleting VN ctest-vn-25096903 2025-01-14 17:02:20,396 - DEBUG - Response for deleting network () 2025-01-14 17:02:20,657 - DEBUG - No XMPP flaps were noticed during the test
2025-01-14 17:02:20,657 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-14 17:02:20,657 - INFO - -------------------------------------------------------------------------------- 2025-01-14 17:02:21,356 - INFO - Deleted project: ctest-TestRoutersBasic-30266572, ID : 5d6927d9-5d70-4bcd-84ce-6792d24d586b