2025-07-04 15:40:56,027 - INFO - Domain Default found not creating 2025-07-04 15:40:56,173 - INFO - Project ctest-TestRoutersBasic-94518772 not found, creating it 2025-07-04 15:40:56,652 - INFO - Created Project:ctest-TestRoutersBasic-94518772, ID : 69406d31-0489-4cfd-98e6-3ebaac7184dc 2025-07-04 15:40:58,087 - INFO - ================================================================================ 2025-07-04 15:40:58,087 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-04 15:40:58,087 - 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-07-04 15:40:58,348 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-07-04 15:40:58,349 - INFO - Initial checks done. Running the testcase now 2025-07-04 15:40:58,349 - INFO - 2025-07-04 15:40:59,057 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-94518772 2025-07-04 15:40:59,153 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-94518772 2025-07-04 15:40:59,505 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94518772', 'default']} 2025-07-04 15:40:59,849 - DEBUG - Response for create_network : {'network': {'id': 'd1885512-3b3b-4b63-9957-24de3f0762c5', 'name': 'ctest-vn-17525104', 'tenant_id': '69406d3104894cfd98e63ebaac7184dc', 'project_id': '69406d3104894cfd98e63ebaac7184dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94518772', 'ctest-vn-17525104'], 'port_security_enabled': True, 'description': ''}} 2025-07-04 15:41:00,070 - DEBUG - Response for create_subnet : {'subnet': {'id': '13559f57-0bb7-468a-bf87-f3dece4fc896', 'name': '', 'tenant_id': '69406d3104894cfd98e63ebaac7184dc', 'network_id': 'd1885512-3b3b-4b63-9957-24de3f0762c5', 'ip_version': 4, 'cidr': '152.215.243.192/26', 'allocation_pools': [{'start': '152.215.243.194', 'end': '152.215.243.254'}], 'gateway_ip': '152.215.243.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.215.243.194', 'tags': [], 'project_id': '69406d3104894cfd98e63ebaac7184dc'}} 2025-07-04 15:41:00,091 - INFO - Created VN ctest-vn-17525104 2025-07-04 15:41:00,149 - DEBUG - VN ctest-vn-17525104 UUID is d1885512-3b3b-4b63-9957-24de3f0762c5 2025-07-04 15:41:00,509 - DEBUG - Response for create_network : {'network': {'id': '86188cf4-5a59-4dd6-808f-e7f08055f8ef', 'name': 'ctest-ext_vn-87960805', 'tenant_id': '69406d3104894cfd98e63ebaac7184dc', 'project_id': '69406d3104894cfd98e63ebaac7184dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94518772', 'ctest-ext_vn-87960805'], 'port_security_enabled': True, 'description': ''}} 2025-07-04 15:41:00,748 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd8fd6f85-9f5f-43d8-a731-c8c81d51e477', 'name': '', 'tenant_id': '69406d3104894cfd98e63ebaac7184dc', 'network_id': '86188cf4-5a59-4dd6-808f-e7f08055f8ef', 'ip_version': 4, 'cidr': '161.41.191.64/26', 'allocation_pools': [{'start': '161.41.191.66', 'end': '161.41.191.126'}], 'gateway_ip': '161.41.191.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.41.191.66', 'tags': [], 'project_id': '69406d3104894cfd98e63ebaac7184dc'}} 2025-07-04 15:41:00,769 - INFO - Created VN ctest-ext_vn-87960805 2025-07-04 15:41:00,825 - DEBUG - VN ctest-ext_vn-87960805 UUID is 86188cf4-5a59-4dd6-808f-e7f08055f8ef 2025-07-04 15:41:00,997 - DEBUG - Services list from nova: [, , ] 2025-07-04 15:41:02,063 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3598-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3598-1) 2025-07-04 15:41:03,371 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3598-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3598-1) 2025-07-04 15:41:03,465 - INFO - Setting gateway for router d33ed2ed-68de-40b7-a46f-830b07405baf to network 86188cf4-5a59-4dd6-808f-e7f08055f8ef 2025-07-04 15:41:03,534 - INFO - Adding interface with subnet_id 13559f57-0bb7-468a-bf87-f3dece4fc896, port_id None to router d33ed2ed-68de-40b7-a46f-830b07405baf 2025-07-04 15:41:03,925 - INFO - Waiting for VM ctest-TestRoutersBasic-94518772-26409743 to be up.. 2025-07-04 15:41:04,050 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-04 15:41:09,125 - DEBUG - VM is in ACTIVE state now 2025-07-04 15:41:09,125 - INFO - VM name : ctest-TestRoutersBasic-94518772-26409743 2025-07-04 15:41:09,197 - DEBUG - VM ctest-TestRoutersBasic-94518772-26409743 ID is 181e9fd9-d6bd-4c9f-84e4-cd217863f517 2025-07-04 15:41:09,217 - DEBUG - VM ctest-TestRoutersBasic-94518772-26409743 launched on Node cn-jenkins-deploy-platform-ansible-os-3598-1 2025-07-04 15:41:09,309 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/181e9fd9-d6bd-4c9f-84e4-cd217863f517 2025-07-04 15:41:09,608 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/181e9fd9-d6bd-4c9f-84e4-cd217863f517 2025-07-04 15:41:09,643 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a5910b1c-f76d-4fde-ae57-b1da61560c66 2025-07-04 15:41:12,901 - 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 1023ms') 2025-07-04 15:41:12,901 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-94518772-26409743 failed! 2025-07-04 15:41:12,957 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-94518772:ctest-vn-17525104 is 152.215.243.193 and allocation pool is NOT set 2025-07-04 15:41:15,022 - 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.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.413 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.413/1.667/2.922/1.254 ms') 2025-07-04 15:41:15,022 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-94518772-26409743 passed 2025-07-04 15:41:15,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-04 15:41:15,177 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94518772-26409743, IP 152.215.243.195, Port 22 2025-07-04 15:41:15,333 - DEBUG - VM ctest-TestRoutersBasic-94518772-26409743 is ready for SSH connections 2025-07-04 15:41:15,333 - INFO - Waiting for VM ctest-TestRoutersBasic-94518772-71543074 to be up.. 2025-07-04 15:41:15,424 - DEBUG - VM is in ACTIVE state now 2025-07-04 15:41:15,424 - INFO - VM name : ctest-TestRoutersBasic-94518772-71543074 2025-07-04 15:41:15,516 - DEBUG - VM ctest-TestRoutersBasic-94518772-71543074 ID is 9a6e5723-22e3-41b7-b5d3-79ba33620007 2025-07-04 15:41:15,517 - DEBUG - VM ctest-TestRoutersBasic-94518772-71543074 launched on Node cn-jenkins-deploy-platform-ansible-os-3598-1 2025-07-04 15:41:15,598 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9a6e5723-22e3-41b7-b5d3-79ba33620007 2025-07-04 15:41:15,608 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/51004f2a-e1e6-4169-892f-090b4ad9b04b 2025-07-04 15:41:16,860 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.554 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.554/1.649/2.745/1.095 ms') 2025-07-04 15:41:16,860 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-94518772-71543074 passed 2025-07-04 15:41:17,017 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-04 15:41:17,017 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94518772-71543074, IP 161.41.191.67, Port 22 2025-07-04 15:41:17,173 - DEBUG - VM ctest-TestRoutersBasic-94518772-71543074 is ready for SSH connections 2025-07-04 15:41:17,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-04 15:41:17,173 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.41.191.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-07-04 15:41:17,173 - DEBUG - ping -s 56 -c 3 -W 1 161.41.191.67 2025-07-04 15:41:20,880 - DEBUG - PING 161.41.191.67 (161.41.191.67): 56 data bytes 64 bytes from 161.41.191.67: seq=0 ttl=62 time=4.626 ms 64 bytes from 161.41.191.67: seq=1 ttl=62 time=1.029 ms 64 bytes from 161.41.191.67: seq=2 ttl=62 time=0.804 ms --- 161.41.191.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.804/2.153/4.626 ms 2025-07-04 15:41:20,880 - INFO - Ping to IP 161.41.191.67 from VM ctest-TestRoutersBasic-94518772-26409743 passed 2025-07-04 15:41:20,880 - INFO - Deleting interface with subnet_id 13559f57-0bb7-468a-bf87-f3dece4fc896, port_id None from router d33ed2ed-68de-40b7-a46f-830b07405baf 2025-07-04 15:41:21,074 - INFO - Deleting VM ctest-TestRoutersBasic-94518772-71543074 2025-07-04 15:41:21,137 - INFO - Deleting VM ctest-TestRoutersBasic-94518772-26409743 2025-07-04 15:41:21,212 - INFO - Deleting VN ctest-ext_vn-87960805 2025-07-04 15:41:21,279 - DEBUG - VN 86188cf4-5a59-4dd6-808f-e7f08055f8ef still in use: Unable to complete operation on network 86188cf4-5a59-4dd6-808f-e7f08055f8ef. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3281823b-4911-4194-a842-16e34b16a2c6'] 2025-07-04 15:41:21,280 - WARNING - Deleting VN ctest-ext_vn-87960805 failed..Will retry 2025-07-04 15:41:23,379 - DEBUG - Response for deleting network () 2025-07-04 15:41:23,379 - INFO - Deleting VN ctest-vn-17525104 2025-07-04 15:41:23,488 - DEBUG - Response for deleting network () 2025-07-04 15:41:23,742 - DEBUG - No XMPP flaps were noticed during the test
2025-07-04 15:41:23,743 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-07-04 15:41:23,743 - INFO - -------------------------------------------------------------------------------- 2025-07-04 15:41:24,429 - INFO - Deleted project: ctest-TestRoutersBasic-94518772, ID : 69406d31-0489-4cfd-98e6-3ebaac7184dc