2025-05-28 11:38:25,829 - INFO - Domain Default found not creating 2025-05-28 11:38:25,965 - INFO - Project ctest-TestRoutersBasic-53258319 not found, creating it 2025-05-28 11:38:26,421 - INFO - Created Project:ctest-TestRoutersBasic-53258319, ID : 6d3d334c-a051-4fae-95a6-60fd80c81f99 2025-05-28 11:38:27,900 - INFO - ================================================================================ 2025-05-28 11:38:27,900 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-28 11:38:27,900 - 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-05-28 11:38:28,157 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0'}} with 2025-05-28 11:38:28,158 - INFO - Initial checks done. Running the testcase now 2025-05-28 11:38:28,158 - INFO - 2025-05-28 11:38:28,926 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-53258319 2025-05-28 11:38:29,020 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-53258319 2025-05-28 11:38:29,335 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53258319', 'default']} 2025-05-28 11:38:29,630 - DEBUG - Response for create_network : {'network': {'id': 'd53a3f72-ba81-4f66-b78f-f2d3947a9bbc', 'name': 'ctest-vn-94231691', 'tenant_id': '6d3d334ca0514fae95a660fd80c81f99', 'project_id': '6d3d334ca0514fae95a660fd80c81f99', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53258319', 'ctest-vn-94231691'], 'port_security_enabled': True, 'description': ''}} 2025-05-28 11:38:29,816 - DEBUG - Response for create_subnet : {'subnet': {'id': '7dc2e159-021e-42ab-b3cd-1b97f27a6ada', 'name': '', 'tenant_id': '6d3d334ca0514fae95a660fd80c81f99', 'network_id': 'd53a3f72-ba81-4f66-b78f-f2d3947a9bbc', 'ip_version': 4, 'cidr': '52.207.247.0/26', 'allocation_pools': [{'start': '52.207.247.2', 'end': '52.207.247.62'}], 'gateway_ip': '52.207.247.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.207.247.2', 'tags': [], 'project_id': '6d3d334ca0514fae95a660fd80c81f99'}} 2025-05-28 11:38:29,833 - INFO - Created VN ctest-vn-94231691 2025-05-28 11:38:29,883 - DEBUG - VN ctest-vn-94231691 UUID is d53a3f72-ba81-4f66-b78f-f2d3947a9bbc 2025-05-28 11:38:30,252 - DEBUG - Response for create_network : {'network': {'id': '4bdcd84d-8ffd-4323-a68a-4323d56b8438', 'name': 'ctest-ext_vn-22984177', 'tenant_id': '6d3d334ca0514fae95a660fd80c81f99', 'project_id': '6d3d334ca0514fae95a660fd80c81f99', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53258319', 'ctest-ext_vn-22984177'], 'port_security_enabled': True, 'description': ''}} 2025-05-28 11:38:30,492 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2f22e4a-b075-4f9b-9168-6831d285f28a', 'name': '', 'tenant_id': '6d3d334ca0514fae95a660fd80c81f99', 'network_id': '4bdcd84d-8ffd-4323-a68a-4323d56b8438', 'ip_version': 4, 'cidr': '57.159.234.192/26', 'allocation_pools': [{'start': '57.159.234.194', 'end': '57.159.234.254'}], 'gateway_ip': '57.159.234.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.159.234.194', 'tags': [], 'project_id': '6d3d334ca0514fae95a660fd80c81f99'}} 2025-05-28 11:38:30,509 - INFO - Created VN ctest-ext_vn-22984177 2025-05-28 11:38:30,559 - DEBUG - VN ctest-ext_vn-22984177 UUID is 4bdcd84d-8ffd-4323-a68a-4323d56b8438 2025-05-28 11:38:30,755 - DEBUG - Services list from nova: [, , ] 2025-05-28 11:38:31,973 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3349-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3349-1) 2025-05-28 11:38:33,168 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3349-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3349-1) 2025-05-28 11:38:33,254 - INFO - Setting gateway for router 0222168c-dcae-41b5-a14b-4addaadf1606 to network 4bdcd84d-8ffd-4323-a68a-4323d56b8438 2025-05-28 11:38:33,312 - INFO - Adding interface with subnet_id 7dc2e159-021e-42ab-b3cd-1b97f27a6ada, port_id None to router 0222168c-dcae-41b5-a14b-4addaadf1606 2025-05-28 11:38:33,724 - INFO - Waiting for VM ctest-TestRoutersBasic-53258319-35075954 to be up.. 2025-05-28 11:38:33,941 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-28 11:38:39,036 - DEBUG - VM is in ACTIVE state now 2025-05-28 11:38:39,036 - INFO - VM name : ctest-TestRoutersBasic-53258319-35075954 2025-05-28 11:38:39,125 - DEBUG - VM ctest-TestRoutersBasic-53258319-35075954 ID is 1adf2ebc-5605-4fcc-99ec-10af0ad86eb9 2025-05-28 11:38:39,144 - DEBUG - VM ctest-TestRoutersBasic-53258319-35075954 launched on Node cn-jenkins-deploy-platform-ansible-os-3349-1 2025-05-28 11:38:39,225 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/1adf2ebc-5605-4fcc-99ec-10af0ad86eb9 2025-05-28 11:38:39,560 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/1adf2ebc-5605-4fcc-99ec-10af0ad86eb9 2025-05-28 11:38:39,592 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/04ae3345-cd5f-4971-b5fd-9ff466af05e4 2025-05-28 11:38:42,845 - 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 1019ms') 2025-05-28 11:38:42,845 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-53258319-35075954 failed! 2025-05-28 11:38:42,903 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-53258319:ctest-vn-94231691 is 52.207.247.1 and allocation pool is NOT set 2025-05-28 11:38:44,963 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.385 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.385/1.671/2.957/1.286 ms') 2025-05-28 11:38:44,964 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-53258319-35075954 passed 2025-05-28 11:38:45,119 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-28 11:38:45,120 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53258319-35075954, IP 52.207.247.3, Port 22 2025-05-28 11:38:45,275 - DEBUG - VM ctest-TestRoutersBasic-53258319-35075954 is ready for SSH connections 2025-05-28 11:38:45,275 - INFO - Waiting for VM ctest-TestRoutersBasic-53258319-69389105 to be up.. 2025-05-28 11:38:45,352 - DEBUG - VM is in ACTIVE state now 2025-05-28 11:38:45,352 - INFO - VM name : ctest-TestRoutersBasic-53258319-69389105 2025-05-28 11:38:45,426 - DEBUG - VM ctest-TestRoutersBasic-53258319-69389105 ID is a34e97e5-9d59-4203-82ea-e6974f72e89a 2025-05-28 11:38:45,426 - DEBUG - VM ctest-TestRoutersBasic-53258319-69389105 launched on Node cn-jenkins-deploy-platform-ansible-os-3349-1 2025-05-28 11:38:45,499 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/a34e97e5-9d59-4203-82ea-e6974f72e89a 2025-05-28 11:38:45,507 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/ad1bd761-ff9a-4224-bf96-5f382501097b 2025-05-28 11:38:46,736 - 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=2.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.375 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.375/1.658/2.942/1.283 ms') 2025-05-28 11:38:46,736 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-53258319-69389105 passed 2025-05-28 11:38:46,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-28 11:38:46,888 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53258319-69389105, IP 57.159.234.195, Port 22 2025-05-28 11:38:47,043 - DEBUG - VM ctest-TestRoutersBasic-53258319-69389105 is ready for SSH connections 2025-05-28 11:38:47,043 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-28 11:38:47,043 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.159.234.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-05-28 11:38:47,043 - DEBUG - ping -s 56 -c 3 -W 1 57.159.234.195 2025-05-28 11:38:51,055 - DEBUG - PING 57.159.234.195 (57.159.234.195): 56 data bytes 64 bytes from 57.159.234.195: seq=0 ttl=62 time=4.206 ms 64 bytes from 57.159.234.195: seq=1 ttl=62 time=0.798 ms 64 bytes from 57.159.234.195: seq=2 ttl=62 time=0.999 ms --- 57.159.234.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.798/2.001/4.206 ms 2025-05-28 11:38:51,055 - INFO - Ping to IP 57.159.234.195 from VM ctest-TestRoutersBasic-53258319-35075954 passed 2025-05-28 11:38:51,055 - INFO - Deleting interface with subnet_id 7dc2e159-021e-42ab-b3cd-1b97f27a6ada, port_id None from router 0222168c-dcae-41b5-a14b-4addaadf1606 2025-05-28 11:38:51,263 - INFO - Deleting VM ctest-TestRoutersBasic-53258319-69389105 2025-05-28 11:38:51,328 - INFO - Deleting VM ctest-TestRoutersBasic-53258319-35075954 2025-05-28 11:38:51,414 - INFO - Deleting VN ctest-ext_vn-22984177 2025-05-28 11:38:51,484 - DEBUG - VN 4bdcd84d-8ffd-4323-a68a-4323d56b8438 still in use: Unable to complete operation on network 4bdcd84d-8ffd-4323-a68a-4323d56b8438. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2c7f9168-babd-4497-bb0f-790ab84b09c2'] 2025-05-28 11:38:51,484 - WARNING - Deleting VN ctest-ext_vn-22984177 failed..Will retry 2025-05-28 11:38:53,595 - DEBUG - Response for deleting network () 2025-05-28 11:38:53,595 - INFO - Deleting VN ctest-vn-94231691 2025-05-28 11:38:53,701 - DEBUG - Response for deleting network () 2025-05-28 11:38:53,961 - DEBUG - No XMPP flaps were noticed during the test 2025-05-28 11:38:53,962 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-05-28 11:38:53,962 - INFO - -------------------------------------------------------------------------------- 2025-05-28 11:38:54,681 - INFO - Deleted project: ctest-TestRoutersBasic-53258319, ID : 6d3d334c-a051-4fae-95a6-60fd80c81f99