2025-02-04 21:34:15,532 - INFO - Domain Default found not creating 2025-02-04 21:34:15,729 - INFO - Project ctest-TestRoutersBasic-63541224 not found, creating it 2025-02-04 21:34:16,262 - INFO - Created Project:ctest-TestRoutersBasic-63541224, ID : c146e499-41b3-4489-aac5-2c277840b6d6 2025-02-04 21:34:17,973 - INFO - ================================================================================ 2025-02-04 21:34:17,973 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-04 21:34:17,973 - 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-04 21:34:18,253 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.5': '0'}} with 2025-02-04 21:34:18,253 - INFO - Initial checks done. Running the testcase now 2025-02-04 21:34:18,253 - INFO - 2025-02-04 21:34:18,988 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-63541224 2025-02-04 21:34:19,088 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-63541224 2025-02-04 21:34:19,412 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63541224', 'default']} 2025-02-04 21:34:19,755 - DEBUG - Response for create_network : {'network': {'id': 'c2da369b-6576-4f3b-baec-655957c2fce1', 'name': 'ctest-vn-29205276', 'tenant_id': 'c146e49941b34489aac52c277840b6d6', 'project_id': 'c146e49941b34489aac52c277840b6d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63541224', 'ctest-vn-29205276'], 'port_security_enabled': True, 'description': ''}} 2025-02-04 21:34:19,920 - DEBUG - Response for create_subnet : {'subnet': {'id': '09219f41-8364-4fde-bc71-717b3d8af97b', 'name': '', 'tenant_id': 'c146e49941b34489aac52c277840b6d6', 'network_id': 'c2da369b-6576-4f3b-baec-655957c2fce1', 'ip_version': 4, 'cidr': '172.110.112.128/26', 'allocation_pools': [{'start': '172.110.112.130', 'end': '172.110.112.190'}], 'gateway_ip': '172.110.112.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.110.112.130', 'tags': [], 'project_id': 'c146e49941b34489aac52c277840b6d6'}} 2025-02-04 21:34:19,953 - INFO - Created VN ctest-vn-29205276 2025-02-04 21:34:20,008 - DEBUG - VN ctest-vn-29205276 UUID is c2da369b-6576-4f3b-baec-655957c2fce1 2025-02-04 21:34:20,346 - DEBUG - Response for create_network : {'network': {'id': '3e803d90-af51-4ebb-bb50-531e607a1101', 'name': 'ctest-ext_vn-67460830', 'tenant_id': 'c146e49941b34489aac52c277840b6d6', 'project_id': 'c146e49941b34489aac52c277840b6d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63541224', 'ctest-ext_vn-67460830'], 'port_security_enabled': True, 'description': ''}} 2025-02-04 21:34:20,540 - DEBUG - Response for create_subnet : {'subnet': {'id': '10d04d41-4168-4c90-9d0b-4555a3a3a511', 'name': '', 'tenant_id': 'c146e49941b34489aac52c277840b6d6', 'network_id': '3e803d90-af51-4ebb-bb50-531e607a1101', 'ip_version': 4, 'cidr': '159.180.44.192/26', 'allocation_pools': [{'start': '159.180.44.194', 'end': '159.180.44.254'}], 'gateway_ip': '159.180.44.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.180.44.194', 'tags': [], 'project_id': 'c146e49941b34489aac52c277840b6d6'}} 2025-02-04 21:34:20,562 - INFO - Created VN ctest-ext_vn-67460830 2025-02-04 21:34:20,616 - DEBUG - VN ctest-ext_vn-67460830 UUID is 3e803d90-af51-4ebb-bb50-531e607a1101 2025-02-04 21:34:20,803 - DEBUG - Services list from nova: [, , ] 2025-02-04 21:34:22,008 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2687-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2687-1) 2025-02-04 21:34:23,315 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2687-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2687-1) 2025-02-04 21:34:23,414 - INFO - Setting gateway for router f0f65904-94e5-48ff-9b5e-18a48a609584 to network 3e803d90-af51-4ebb-bb50-531e607a1101 2025-02-04 21:34:23,489 - INFO - Adding interface with subnet_id 09219f41-8364-4fde-bc71-717b3d8af97b, port_id None to router f0f65904-94e5-48ff-9b5e-18a48a609584 2025-02-04 21:34:23,870 - INFO - Waiting for VM ctest-TestRoutersBasic-63541224-71089550 to be up.. 2025-02-04 21:34:24,084 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-04 21:34:29,185 - DEBUG - VM is in ACTIVE state now 2025-02-04 21:34:29,185 - INFO - VM name : ctest-TestRoutersBasic-63541224-71089550 2025-02-04 21:34:29,280 - DEBUG - VM ctest-TestRoutersBasic-63541224-71089550 ID is bef66af2-98f5-4fdd-9cc4-bcb044bdad04 2025-02-04 21:34:29,303 - DEBUG - VM ctest-TestRoutersBasic-63541224-71089550 launched on Node cn-jenkins-deploy-platform-ansible-os-2687-1 2025-02-04 21:34:29,399 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/bef66af2-98f5-4fdd-9cc4-bcb044bdad04 2025-02-04 21:34:29,731 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/bef66af2-98f5-4fdd-9cc4-bcb044bdad04 2025-02-04 21:34:29,771 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/db134b92-60ec-4f65-b3b2-9ac19efecd9e 2025-02-04 21:34:33,033 - 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 1013ms') 2025-02-04 21:34:33,033 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63541224-71089550 failed! 2025-02-04 21:34:33,088 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-63541224:ctest-vn-29205276 is 172.110.112.129 and allocation pool is NOT set 2025-02-04 21:34:35,157 - 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=5.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.967 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.967/3.210/5.453/2.243 ms') 2025-02-04 21:34:35,157 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63541224-71089550 passed 2025-02-04 21:34:35,320 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-04 21:34:35,320 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63541224-71089550, IP 172.110.112.131, Port 22 2025-02-04 21:34:35,490 - DEBUG - VM ctest-TestRoutersBasic-63541224-71089550 is ready for SSH connections 2025-02-04 21:34:35,491 - INFO - Waiting for VM ctest-TestRoutersBasic-63541224-36293348 to be up.. 2025-02-04 21:34:35,586 - DEBUG - VM is in ACTIVE state now 2025-02-04 21:34:35,586 - INFO - VM name : ctest-TestRoutersBasic-63541224-36293348 2025-02-04 21:34:35,689 - DEBUG - VM ctest-TestRoutersBasic-63541224-36293348 ID is 863238df-3495-4b2e-9889-1ee71a3db367 2025-02-04 21:34:35,689 - DEBUG - VM ctest-TestRoutersBasic-63541224-36293348 launched on Node cn-jenkins-deploy-platform-ansible-os-2687-1 2025-02-04 21:34:35,777 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/863238df-3495-4b2e-9889-1ee71a3db367 2025-02-04 21:34:35,788 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/ed4d1938-dd7e-4470-b122-d0e860420a6f 2025-02-04 21:34:37,061 - 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=4.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.929 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.929/2.874/4.820/1.945 ms') 2025-02-04 21:34:37,061 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-63541224-36293348 passed 2025-02-04 21:34:37,212 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-04 21:34:37,212 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63541224-36293348, IP 159.180.44.195, Port 22 2025-02-04 21:34:37,377 - DEBUG - VM ctest-TestRoutersBasic-63541224-36293348 is ready for SSH connections 2025-02-04 21:34:37,378 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-04 21:34:37,378 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.180.44.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-02-04 21:34:37,378 - DEBUG - ping -s 56 -c 3 -W 1 159.180.44.195 2025-02-04 21:34:41,102 - DEBUG - PING 159.180.44.195 (159.180.44.195): 56 data bytes 64 bytes from 159.180.44.195: seq=0 ttl=62 time=7.009 ms 64 bytes from 159.180.44.195: seq=1 ttl=62 time=1.079 ms 64 bytes from 159.180.44.195: seq=2 ttl=62 time=1.330 ms --- 159.180.44.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.079/3.139/7.009 ms 2025-02-04 21:34:41,102 - INFO - Ping to IP 159.180.44.195 from VM ctest-TestRoutersBasic-63541224-71089550 passed 2025-02-04 21:34:41,102 - INFO - Deleting interface with subnet_id 09219f41-8364-4fde-bc71-717b3d8af97b, port_id None from router f0f65904-94e5-48ff-9b5e-18a48a609584 2025-02-04 21:34:41,319 - INFO - Deleting VM ctest-TestRoutersBasic-63541224-36293348 2025-02-04 21:34:41,412 - INFO - Deleting VM ctest-TestRoutersBasic-63541224-71089550 2025-02-04 21:34:41,535 - INFO - Deleting VN ctest-ext_vn-67460830 2025-02-04 21:34:41,642 - DEBUG - VN 3e803d90-af51-4ebb-bb50-531e607a1101 still in use: Unable to complete operation on network 3e803d90-af51-4ebb-bb50-531e607a1101. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dd17543e-cd1a-4bf5-a1c2-5bde1707a75b'] 2025-02-04 21:34:41,642 - WARNING - Deleting VN ctest-ext_vn-67460830 failed..Will retry 2025-02-04 21:34:43,769 - DEBUG - Response for deleting network () 2025-02-04 21:34:43,769 - INFO - Deleting VN ctest-vn-29205276 2025-02-04 21:34:43,887 - DEBUG - Response for deleting network () 2025-02-04 21:34:44,150 - DEBUG - No XMPP flaps were noticed during the test
2025-02-04 21:34:44,150 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-02-04 21:34:44,150 - INFO - -------------------------------------------------------------------------------- 2025-02-04 21:34:44,859 - INFO - Deleted project: ctest-TestRoutersBasic-63541224, ID : c146e499-41b3-4489-aac5-2c277840b6d6