2025-10-31 00:34:24,703 - INFO - Domain Default found not creating 2025-10-31 00:34:24,869 - INFO - Project ctest-TestRoutersBasic-31748090 not found, creating it 2025-10-31 00:34:25,349 - INFO - Created Project:ctest-TestRoutersBasic-31748090, ID : ea93dfe5-d7e7-4415-ac20-362f20f3cf6c 2025-10-31 00:34:26,894 - INFO - ================================================================================ 2025-10-31 00:34:26,894 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-31 00:34:26,894 - 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-10-31 00:34:27,154 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.242': '0'}} with 2025-10-31 00:34:27,154 - INFO - Initial checks done. Running the testcase now 2025-10-31 00:34:27,154 - INFO - 2025-10-31 00:34:27,905 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-31748090 2025-10-31 00:34:28,000 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-31748090 2025-10-31 00:34:28,328 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31748090', 'default']} 2025-10-31 00:34:28,634 - DEBUG - Response for create_network : {'network': {'id': '076778ea-4ea0-47c4-915b-f66013327e4f', 'name': 'ctest-vn-88337981', 'tenant_id': 'ea93dfe5d7e74415ac20362f20f3cf6c', 'project_id': 'ea93dfe5d7e74415ac20362f20f3cf6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31748090', 'ctest-vn-88337981'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:34:28,786 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd532912d-cf67-4f45-bf8f-69679f7c9e0c', 'name': '', 'tenant_id': 'ea93dfe5d7e74415ac20362f20f3cf6c', 'network_id': '076778ea-4ea0-47c4-915b-f66013327e4f', 'ip_version': 4, 'cidr': '43.190.73.64/26', 'allocation_pools': [{'start': '43.190.73.66', 'end': '43.190.73.126'}], 'gateway_ip': '43.190.73.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.190.73.66', 'tags': [], 'project_id': 'ea93dfe5d7e74415ac20362f20f3cf6c'}} 2025-10-31 00:34:28,808 - INFO - Created VN ctest-vn-88337981 2025-10-31 00:34:28,860 - DEBUG - VN ctest-vn-88337981 UUID is 076778ea-4ea0-47c4-915b-f66013327e4f 2025-10-31 00:34:29,179 - DEBUG - Response for create_network : {'network': {'id': '171bd148-82ba-44f5-9a06-fa4acef1d6d1', 'name': 'ctest-ext_vn-54304168', 'tenant_id': 'ea93dfe5d7e74415ac20362f20f3cf6c', 'project_id': 'ea93dfe5d7e74415ac20362f20f3cf6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31748090', 'ctest-ext_vn-54304168'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:34:29,339 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d94cc77-cb6d-493d-93d9-08e86dc89c86', 'name': '', 'tenant_id': 'ea93dfe5d7e74415ac20362f20f3cf6c', 'network_id': '171bd148-82ba-44f5-9a06-fa4acef1d6d1', 'ip_version': 4, 'cidr': '49.181.108.0/26', 'allocation_pools': [{'start': '49.181.108.2', 'end': '49.181.108.62'}], 'gateway_ip': '49.181.108.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.181.108.2', 'tags': [], 'project_id': 'ea93dfe5d7e74415ac20362f20f3cf6c'}} 2025-10-31 00:34:29,357 - INFO - Created VN ctest-ext_vn-54304168 2025-10-31 00:34:29,412 - DEBUG - VN ctest-ext_vn-54304168 UUID is 171bd148-82ba-44f5-9a06-fa4acef1d6d1 2025-10-31 00:34:29,591 - DEBUG - Services list from nova: [, , ] 2025-10-31 00:34:30,653 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4565-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4565-1) 2025-10-31 00:34:31,818 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4565-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4565-1) 2025-10-31 00:34:31,917 - INFO - Setting gateway for router d1d1f758-b888-40aa-b3e6-b201e816bf13 to network 171bd148-82ba-44f5-9a06-fa4acef1d6d1 2025-10-31 00:34:31,986 - INFO - Adding interface with subnet_id d532912d-cf67-4f45-bf8f-69679f7c9e0c, port_id None to router d1d1f758-b888-40aa-b3e6-b201e816bf13 2025-10-31 00:34:32,430 - INFO - Waiting for VM ctest-TestRoutersBasic-31748090-63623886 to be up.. 2025-10-31 00:34:32,632 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 00:34:37,715 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:34:37,715 - INFO - VM name : ctest-TestRoutersBasic-31748090-63623886 2025-10-31 00:34:37,788 - DEBUG - VM ctest-TestRoutersBasic-31748090-63623886 ID is e074aafb-823f-4f86-bbf7-19fcbb35be1e 2025-10-31 00:34:37,810 - DEBUG - VM ctest-TestRoutersBasic-31748090-63623886 launched on Node cn-jenkins-deploy-platform-ansible-os-4565-1 2025-10-31 00:34:37,886 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/e074aafb-823f-4f86-bbf7-19fcbb35be1e 2025-10-31 00:34:38,210 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/e074aafb-823f-4f86-bbf7-19fcbb35be1e 2025-10-31 00:34:38,243 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/826f9a4b-05b8-47ea-842d-9761afbce0d8 2025-10-31 00:34:41,511 - 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 1022ms') 2025-10-31 00:34:41,511 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-31748090-63623886 failed! 2025-10-31 00:34:41,568 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-31748090:ctest-vn-88337981 is 43.190.73.65 and allocation pool is NOT set 2025-10-31 00:34:43,627 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.81 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 = 1.807/3.308/4.810/1.501 ms') 2025-10-31 00:34:43,627 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-31748090-63623886 passed 2025-10-31 00:34:43,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:34:43,777 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31748090-63623886, IP 43.190.73.67, Port 22 2025-10-31 00:34:43,932 - DEBUG - VM ctest-TestRoutersBasic-31748090-63623886 is ready for SSH connections 2025-10-31 00:34:43,932 - INFO - Waiting for VM ctest-TestRoutersBasic-31748090-15258885 to be up.. 2025-10-31 00:34:44,014 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:34:44,014 - INFO - VM name : ctest-TestRoutersBasic-31748090-15258885 2025-10-31 00:34:44,095 - DEBUG - VM ctest-TestRoutersBasic-31748090-15258885 ID is 52e4da40-cc18-4d86-bc75-b24ee767c6fb 2025-10-31 00:34:44,095 - DEBUG - VM ctest-TestRoutersBasic-31748090-15258885 launched on Node cn-jenkins-deploy-platform-ansible-os-4565-1 2025-10-31 00:34:44,176 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/52e4da40-cc18-4d86-bc75-b24ee767c6fb 2025-10-31 00:34:44,184 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/822c1aee-d93d-412a-bd0c-4d4b836c35f5 2025-10-31 00:34:45,437 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.88 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 = 2.879/3.355/3.832/0.476 ms') 2025-10-31 00:34:45,437 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-31748090-15258885 passed 2025-10-31 00:34:45,588 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:34:45,588 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31748090-15258885, IP 49.181.108.3, Port 22 2025-10-31 00:34:45,755 - DEBUG - VM ctest-TestRoutersBasic-31748090-15258885 is ready for SSH connections 2025-10-31 00:34:45,755 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:34:45,755 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.181.108.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-31 00:34:45,755 - DEBUG - ping -s 56 -c 3 -W 1 49.181.108.3 2025-10-31 00:34:49,509 - DEBUG - PING 49.181.108.3 (49.181.108.3): 56 data bytes 64 bytes from 49.181.108.3: seq=0 ttl=62 time=5.353 ms 64 bytes from 49.181.108.3: seq=1 ttl=62 time=0.963 ms 64 bytes from 49.181.108.3: seq=2 ttl=62 time=1.313 ms --- 49.181.108.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.963/2.543/5.353 ms 2025-10-31 00:34:49,509 - INFO - Ping to IP 49.181.108.3 from VM ctest-TestRoutersBasic-31748090-63623886 passed 2025-10-31 00:34:49,509 - INFO - Deleting interface with subnet_id d532912d-cf67-4f45-bf8f-69679f7c9e0c, port_id None from router d1d1f758-b888-40aa-b3e6-b201e816bf13 2025-10-31 00:34:49,736 - INFO - Deleting VM ctest-TestRoutersBasic-31748090-15258885 2025-10-31 00:34:49,836 - INFO - Deleting VM ctest-TestRoutersBasic-31748090-63623886 2025-10-31 00:34:49,930 - INFO - Deleting VN ctest-ext_vn-54304168 2025-10-31 00:34:50,025 - DEBUG - VN 171bd148-82ba-44f5-9a06-fa4acef1d6d1 still in use: Unable to complete operation on network 171bd148-82ba-44f5-9a06-fa4acef1d6d1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-76a18571-c136-4eed-a873-aa7dac704eaf'] 2025-10-31 00:34:50,025 - WARNING - Deleting VN ctest-ext_vn-54304168 failed..Will retry 2025-10-31 00:34:52,121 - DEBUG - Response for deleting network () 2025-10-31 00:34:52,121 - INFO - Deleting VN ctest-vn-88337981 2025-10-31 00:34:52,215 - DEBUG - Response for deleting network () 2025-10-31 00:34:52,469 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 00:34:52,469 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-10-31 00:34:52,470 - INFO - -------------------------------------------------------------------------------- 2025-10-31 00:34:53,185 - INFO - Deleted project: ctest-TestRoutersBasic-31748090, ID : ea93dfe5-d7e7-4415-ac20-362f20f3cf6c