2025-09-18 12:42:37,782 - INFO - Domain Default found not creating 2025-09-18 12:42:37,915 - INFO - Project ctest-TestRoutersBasic-99473484 not found, creating it 2025-09-18 12:42:38,864 - INFO - Created Project:ctest-TestRoutersBasic-99473484, ID : f3cd45fb-de9e-4192-b888-21907d86a31e 2025-09-18 12:42:40,192 - INFO - ================================================================================ 2025-09-18 12:42:40,192 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-18 12:42:40,192 - 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-18 12:42:40,455 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-18 12:42:40,455 - INFO - Initial checks done. Running the testcase now 2025-09-18 12:42:40,455 - INFO - 2025-09-18 12:42:41,133 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-99473484 2025-09-18 12:42:41,230 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-99473484 2025-09-18 12:42:41,553 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99473484', 'default']} 2025-09-18 12:42:41,828 - DEBUG - Response for create_network : {'network': {'id': '3dcbcbb5-5353-45ca-bf42-886142c5f14e', 'name': 'ctest-vn-78713401', 'tenant_id': 'f3cd45fbde9e4192b88821907d86a31e', 'project_id': 'f3cd45fbde9e4192b88821907d86a31e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99473484', 'ctest-vn-78713401'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 12:42:42,035 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b8b1e67-5e28-4850-860c-c63ee3baa2a7', 'name': '', 'tenant_id': 'f3cd45fbde9e4192b88821907d86a31e', 'network_id': '3dcbcbb5-5353-45ca-bf42-886142c5f14e', 'ip_version': 4, 'cidr': '118.10.133.64/26', 'allocation_pools': [{'start': '118.10.133.66', 'end': '118.10.133.126'}], 'gateway_ip': '118.10.133.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.10.133.66', 'tags': [], 'project_id': 'f3cd45fbde9e4192b88821907d86a31e'}} 2025-09-18 12:42:42,050 - INFO - Created VN ctest-vn-78713401 2025-09-18 12:42:42,102 - DEBUG - VN ctest-vn-78713401 UUID is 3dcbcbb5-5353-45ca-bf42-886142c5f14e 2025-09-18 12:42:42,431 - DEBUG - Response for create_network : {'network': {'id': '3dc39bc2-a591-4509-ab55-8b66edb09e62', 'name': 'ctest-ext_vn-67654735', 'tenant_id': 'f3cd45fbde9e4192b88821907d86a31e', 'project_id': 'f3cd45fbde9e4192b88821907d86a31e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99473484', 'ctest-ext_vn-67654735'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 12:42:42,598 - DEBUG - Response for create_subnet : {'subnet': {'id': '45c9fd2c-7ce4-441e-94fb-dfe50dfac700', 'name': '', 'tenant_id': 'f3cd45fbde9e4192b88821907d86a31e', 'network_id': '3dc39bc2-a591-4509-ab55-8b66edb09e62', 'ip_version': 4, 'cidr': '153.144.138.64/26', 'allocation_pools': [{'start': '153.144.138.66', 'end': '153.144.138.126'}], 'gateway_ip': '153.144.138.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.144.138.66', 'tags': [], 'project_id': 'f3cd45fbde9e4192b88821907d86a31e'}} 2025-09-18 12:42:42,614 - INFO - Created VN ctest-ext_vn-67654735 2025-09-18 12:42:42,666 - DEBUG - VN ctest-ext_vn-67654735 UUID is 3dc39bc2-a591-4509-ab55-8b66edb09e62 2025-09-18 12:42:42,856 - DEBUG - Services list from nova: [, , ] 2025-09-18 12:42:43,808 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4138-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4138-1) 2025-09-18 12:42:44,850 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4138-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4138-1) 2025-09-18 12:42:44,927 - INFO - Setting gateway for router 6a417f35-e80d-432a-a4f2-851d1de7780a to network 3dc39bc2-a591-4509-ab55-8b66edb09e62 2025-09-18 12:42:45,016 - INFO - Adding interface with subnet_id 4b8b1e67-5e28-4850-860c-c63ee3baa2a7, port_id None to router 6a417f35-e80d-432a-a4f2-851d1de7780a 2025-09-18 12:42:45,439 - INFO - Waiting for VM ctest-TestRoutersBasic-99473484-79831501 to be up.. 2025-09-18 12:42:45,559 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 12:42:50,629 - DEBUG - VM is in ACTIVE state now 2025-09-18 12:42:50,629 - INFO - VM name : ctest-TestRoutersBasic-99473484-79831501 2025-09-18 12:42:50,696 - DEBUG - VM ctest-TestRoutersBasic-99473484-79831501 ID is d8c445d6-98f5-4355-a0bd-8d521cc37700 2025-09-18 12:42:50,714 - DEBUG - VM ctest-TestRoutersBasic-99473484-79831501 launched on Node cn-jenkins-deploy-platform-ansible-os-4138-1 2025-09-18 12:42:50,786 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d8c445d6-98f5-4355-a0bd-8d521cc37700 2025-09-18 12:42:51,079 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d8c445d6-98f5-4355-a0bd-8d521cc37700 2025-09-18 12:42:51,109 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/add3acd8-4ea3-41c4-b6a9-561e8282cc2a 2025-09-18 12:42:54,362 - 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 1020ms') 2025-09-18 12:42:54,362 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-99473484-79831501 failed! 2025-09-18 12:42:54,414 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-99473484:ctest-vn-78713401 is 118.10.133.65 and allocation pool is NOT set 2025-09-18 12:42:56,470 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.414 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.414/1.581/2.748/1.167 ms') 2025-09-18 12:42:56,470 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-99473484-79831501 passed 2025-09-18 12:42:56,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:42:56,618 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99473484-79831501, IP 118.10.133.67, Port 22 2025-09-18 12:42:56,773 - DEBUG - VM ctest-TestRoutersBasic-99473484-79831501 is ready for SSH connections 2025-09-18 12:42:56,773 - INFO - Waiting for VM ctest-TestRoutersBasic-99473484-24834022 to be up.. 2025-09-18 12:42:56,845 - DEBUG - VM is in ACTIVE state now 2025-09-18 12:42:56,845 - INFO - VM name : ctest-TestRoutersBasic-99473484-24834022 2025-09-18 12:42:56,913 - DEBUG - VM ctest-TestRoutersBasic-99473484-24834022 ID is d480be3c-9088-49d8-82bb-b5348c33bf76 2025-09-18 12:42:56,913 - DEBUG - VM ctest-TestRoutersBasic-99473484-24834022 launched on Node cn-jenkins-deploy-platform-ansible-os-4138-1 2025-09-18 12:42:56,976 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d480be3c-9088-49d8-82bb-b5348c33bf76 2025-09-18 12:42:56,984 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/dcbe78df-132b-45cb-b027-981e97451df3 2025-09-18 12:42:58,218 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.415 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.415/1.635/2.855/1.220 ms') 2025-09-18 12:42:58,218 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-99473484-24834022 passed 2025-09-18 12:42:58,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:42:58,366 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99473484-24834022, IP 153.144.138.67, Port 22 2025-09-18 12:42:58,529 - DEBUG - VM ctest-TestRoutersBasic-99473484-24834022 is ready for SSH connections 2025-09-18 12:42:58,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:42:58,529 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.144.138.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-18 12:42:58,530 - DEBUG - ping -s 56 -c 3 -W 1 153.144.138.67 2025-09-18 12:43:02,537 - DEBUG - PING 153.144.138.67 (153.144.138.67): 56 data bytes 64 bytes from 153.144.138.67: seq=0 ttl=62 time=5.585 ms 64 bytes from 153.144.138.67: seq=1 ttl=62 time=0.926 ms 64 bytes from 153.144.138.67: seq=2 ttl=62 time=0.801 ms --- 153.144.138.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.801/2.437/5.585 ms 2025-09-18 12:43:02,537 - INFO - Ping to IP 153.144.138.67 from VM ctest-TestRoutersBasic-99473484-79831501 passed 2025-09-18 12:43:02,537 - INFO - Deleting interface with subnet_id 4b8b1e67-5e28-4850-860c-c63ee3baa2a7, port_id None from router 6a417f35-e80d-432a-a4f2-851d1de7780a 2025-09-18 12:43:02,700 - INFO - Deleting VM ctest-TestRoutersBasic-99473484-24834022 2025-09-18 12:43:02,765 - INFO - Deleting VM ctest-TestRoutersBasic-99473484-79831501 2025-09-18 12:43:02,840 - INFO - Deleting VN ctest-ext_vn-67654735 2025-09-18 12:43:02,895 - DEBUG - VN 3dc39bc2-a591-4509-ab55-8b66edb09e62 still in use: Unable to complete operation on network 3dc39bc2-a591-4509-ab55-8b66edb09e62. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c5148335-0615-48c3-9835-5daebc9ceb32'] 2025-09-18 12:43:02,895 - WARNING - Deleting VN ctest-ext_vn-67654735 failed..Will retry 2025-09-18 12:43:04,984 - DEBUG - Response for deleting network () 2025-09-18 12:43:04,984 - INFO - Deleting VN ctest-vn-78713401 2025-09-18 12:43:05,070 - DEBUG - Response for deleting network () 2025-09-18 12:43:05,322 - DEBUG - No XMPP flaps were noticed during the test
2025-09-18 12:43:05,322 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-18 12:43:05,322 - INFO - -------------------------------------------------------------------------------- 2025-09-18 12:43:05,979 - INFO - Deleted project: ctest-TestRoutersBasic-99473484, ID : f3cd45fb-de9e-4192-b888-21907d86a31e