2025-09-26 00:15:34,988 - INFO - Domain Default found not creating 2025-09-26 00:15:35,159 - INFO - Project ctest-TestRoutersBasic-46938020 not found, creating it 2025-09-26 00:15:35,657 - INFO - Created Project:ctest-TestRoutersBasic-46938020, ID : abe42edc-ea07-4b81-94dd-0528aea8bb52 2025-09-26 00:15:37,139 - INFO - ================================================================================ 2025-09-26 00:15:37,139 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-26 00:15:37,139 - 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-09-26 00:15:37,390 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-09-26 00:15:37,390 - INFO - Initial checks done. Running the testcase now 2025-09-26 00:15:37,390 - INFO - 2025-09-26 00:15:38,106 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-46938020 2025-09-26 00:15:38,202 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-46938020 2025-09-26 00:15:38,522 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46938020', 'default']} 2025-09-26 00:15:38,799 - DEBUG - Response for create_network : {'network': {'id': '6aaeb443-fdd8-41af-82f6-94085cd3379b', 'name': 'ctest-vn-23972440', 'tenant_id': 'abe42edcea074b8194dd0528aea8bb52', 'project_id': 'abe42edcea074b8194dd0528aea8bb52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46938020', 'ctest-vn-23972440'], 'port_security_enabled': True, 'description': ''}} 2025-09-26 00:15:38,974 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e83dc781-4504-4a24-867d-0f95553159a3', 'name': '', 'tenant_id': 'abe42edcea074b8194dd0528aea8bb52', 'network_id': '6aaeb443-fdd8-41af-82f6-94085cd3379b', 'ip_version': 4, 'cidr': '45.111.183.64/26', 'allocation_pools': [{'start': '45.111.183.66', 'end': '45.111.183.126'}], 'gateway_ip': '45.111.183.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.111.183.66', 'tags': [], 'project_id': 'abe42edcea074b8194dd0528aea8bb52'}} 2025-09-26 00:15:38,990 - INFO - Created VN ctest-vn-23972440 2025-09-26 00:15:39,042 - DEBUG - VN ctest-vn-23972440 UUID is 6aaeb443-fdd8-41af-82f6-94085cd3379b 2025-09-26 00:15:39,343 - DEBUG - Response for create_network : {'network': {'id': '36916076-bb49-4f3a-9097-bfb415532b20', 'name': 'ctest-ext_vn-42947646', 'tenant_id': 'abe42edcea074b8194dd0528aea8bb52', 'project_id': 'abe42edcea074b8194dd0528aea8bb52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46938020', 'ctest-ext_vn-42947646'], 'port_security_enabled': True, 'description': ''}} 2025-09-26 00:15:39,529 - DEBUG - Response for create_subnet : {'subnet': {'id': '324525d6-22db-434f-9eba-cd7da9e94558', 'name': '', 'tenant_id': 'abe42edcea074b8194dd0528aea8bb52', 'network_id': '36916076-bb49-4f3a-9097-bfb415532b20', 'ip_version': 4, 'cidr': '49.51.81.64/26', 'allocation_pools': [{'start': '49.51.81.66', 'end': '49.51.81.126'}], 'gateway_ip': '49.51.81.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.51.81.66', 'tags': [], 'project_id': 'abe42edcea074b8194dd0528aea8bb52'}} 2025-09-26 00:15:39,548 - INFO - Created VN ctest-ext_vn-42947646 2025-09-26 00:15:39,602 - DEBUG - VN ctest-ext_vn-42947646 UUID is 36916076-bb49-4f3a-9097-bfb415532b20 2025-09-26 00:15:39,800 - DEBUG - Services list from nova: [, , ] 2025-09-26 00:15:40,816 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4196-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4196-1) 2025-09-26 00:15:41,921 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4196-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4196-1) 2025-09-26 00:15:41,987 - INFO - Setting gateway for router a33fff3b-6c8f-45e9-8420-d2c97dcde8be to network 36916076-bb49-4f3a-9097-bfb415532b20 2025-09-26 00:15:42,038 - INFO - Adding interface with subnet_id e83dc781-4504-4a24-867d-0f95553159a3, port_id None to router a33fff3b-6c8f-45e9-8420-d2c97dcde8be 2025-09-26 00:15:42,309 - INFO - Waiting for VM ctest-TestRoutersBasic-46938020-84130706 to be up.. 2025-09-26 00:15:42,454 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-26 00:15:47,529 - DEBUG - VM is in ACTIVE state now 2025-09-26 00:15:47,529 - INFO - VM name : ctest-TestRoutersBasic-46938020-84130706 2025-09-26 00:15:47,612 - DEBUG - VM ctest-TestRoutersBasic-46938020-84130706 ID is b59b5d36-0fce-4c58-bc9d-9a83b74e8db8 2025-09-26 00:15:47,630 - DEBUG - VM ctest-TestRoutersBasic-46938020-84130706 launched on Node cn-jenkins-deploy-platform-ansible-os-4196-1 2025-09-26 00:15:47,713 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/b59b5d36-0fce-4c58-bc9d-9a83b74e8db8 2025-09-26 00:15:48,011 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/b59b5d36-0fce-4c58-bc9d-9a83b74e8db8 2025-09-26 00:15:48,046 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/ed1a66e8-c874-42d4-87f4-f4053153deb8 2025-09-26 00:15:51,320 - 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-09-26 00:15:51,320 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46938020-84130706 failed! 2025-09-26 00:15:51,382 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-46938020:ctest-vn-23972440 is 45.111.183.65 and allocation pool is NOT set 2025-09-26 00:15:53,442 - 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=4.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.566 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.566/2.298/4.031/1.732 ms') 2025-09-26 00:15:53,442 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46938020-84130706 passed 2025-09-26 00:15:53,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-26 00:15:53,610 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46938020-84130706, IP 45.111.183.67, Port 22 2025-09-26 00:15:53,775 - DEBUG - VM ctest-TestRoutersBasic-46938020-84130706 is ready for SSH connections 2025-09-26 00:15:53,775 - INFO - Waiting for VM ctest-TestRoutersBasic-46938020-57276496 to be up.. 2025-09-26 00:15:53,848 - DEBUG - VM is in ACTIVE state now 2025-09-26 00:15:53,848 - INFO - VM name : ctest-TestRoutersBasic-46938020-57276496 2025-09-26 00:15:53,921 - DEBUG - VM ctest-TestRoutersBasic-46938020-57276496 ID is c401ba11-4e50-4112-b710-436698e1fed6 2025-09-26 00:15:53,922 - DEBUG - VM ctest-TestRoutersBasic-46938020-57276496 launched on Node cn-jenkins-deploy-platform-ansible-os-4196-1 2025-09-26 00:15:53,995 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/c401ba11-4e50-4112-b710-436698e1fed6 2025-09-26 00:15:54,002 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/2f57ecd6-e78c-4ca8-8cfa-a67812a9ccd0 2025-09-26 00:15:55,248 - 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=8.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.435 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.435/4.282/8.130/3.847 ms') 2025-09-26 00:15:55,248 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-46938020-57276496 passed 2025-09-26 00:15:55,402 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-26 00:15:55,402 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46938020-57276496, IP 49.51.81.67, Port 22 2025-09-26 00:15:55,557 - DEBUG - VM ctest-TestRoutersBasic-46938020-57276496 is ready for SSH connections 2025-09-26 00:15:55,557 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-26 00:15:55,558 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.51.81.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-26 00:15:55,558 - DEBUG - ping -s 56 -c 3 -W 1 49.51.81.67 2025-09-26 00:15:59,262 - DEBUG - PING 49.51.81.67 (49.51.81.67): 56 data bytes 64 bytes from 49.51.81.67: seq=0 ttl=62 time=5.657 ms 64 bytes from 49.51.81.67: seq=1 ttl=62 time=1.051 ms 64 bytes from 49.51.81.67: seq=2 ttl=62 time=0.787 ms --- 49.51.81.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.787/2.498/5.657 ms 2025-09-26 00:15:59,262 - INFO - Ping to IP 49.51.81.67 from VM ctest-TestRoutersBasic-46938020-84130706 passed 2025-09-26 00:15:59,262 - INFO - Deleting interface with subnet_id e83dc781-4504-4a24-867d-0f95553159a3, port_id None from router a33fff3b-6c8f-45e9-8420-d2c97dcde8be 2025-09-26 00:15:59,450 - INFO - Deleting VM ctest-TestRoutersBasic-46938020-57276496 2025-09-26 00:15:59,529 - INFO - Deleting VM ctest-TestRoutersBasic-46938020-84130706 2025-09-26 00:15:59,616 - INFO - Deleting VN ctest-ext_vn-42947646 2025-09-26 00:15:59,703 - DEBUG - VN 36916076-bb49-4f3a-9097-bfb415532b20 still in use: Unable to complete operation on network 36916076-bb49-4f3a-9097-bfb415532b20. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fe7ccc4d-7af2-4a8e-a80e-016ba5f83dbf'] 2025-09-26 00:15:59,703 - WARNING - Deleting VN ctest-ext_vn-42947646 failed..Will retry 2025-09-26 00:16:01,828 - DEBUG - Response for deleting network () 2025-09-26 00:16:01,828 - INFO - Deleting VN ctest-vn-23972440 2025-09-26 00:16:01,938 - DEBUG - Response for deleting network () 2025-09-26 00:16:02,196 - DEBUG - No XMPP flaps were noticed during the test 2025-09-26 00:16:02,197 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-09-26 00:16:02,197 - INFO - -------------------------------------------------------------------------------- 2025-09-26 00:16:02,872 - INFO - Deleted project: ctest-TestRoutersBasic-46938020, ID : abe42edc-ea07-4b81-94dd-0528aea8bb52