2025-11-24 17:44:05,702 - INFO - Domain Default found not creating 2025-11-24 17:44:05,892 - INFO - Project ctest-TestRoutersBasic-26833617 not found, creating it 2025-11-24 17:44:06,389 - INFO - Created Project:ctest-TestRoutersBasic-26833617, ID : b4e4a991-82c8-4a74-8b5f-2a2c19984cbc 2025-11-24 17:44:08,009 - INFO - ================================================================================ 2025-11-24 17:44:08,009 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-24 17:44:08,009 - 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-11-24 17:44:08,264 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.130': '0'}} with 2025-11-24 17:44:08,264 - INFO - Initial checks done. Running the testcase now 2025-11-24 17:44:08,264 - INFO - 2025-11-24 17:44:09,064 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-26833617 2025-11-24 17:44:09,157 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-26833617 2025-11-24 17:44:09,477 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26833617', 'default']} 2025-11-24 17:44:09,776 - DEBUG - Response for create_network : {'network': {'id': 'ae34db9f-1f3d-48ac-b2f4-4001b35f5d3b', 'name': 'ctest-vn-97287909', 'tenant_id': 'b4e4a99182c84a748b5f2a2c19984cbc', 'project_id': 'b4e4a99182c84a748b5f2a2c19984cbc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26833617', 'ctest-vn-97287909'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 17:44:09,973 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee679b12-3a2e-494a-892a-c5d1d9f7c770', 'name': '', 'tenant_id': 'b4e4a99182c84a748b5f2a2c19984cbc', 'network_id': 'ae34db9f-1f3d-48ac-b2f4-4001b35f5d3b', 'ip_version': 4, 'cidr': '110.122.22.128/26', 'allocation_pools': [{'start': '110.122.22.130', 'end': '110.122.22.190'}], 'gateway_ip': '110.122.22.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.122.22.130', 'tags': [], 'project_id': 'b4e4a99182c84a748b5f2a2c19984cbc'}} 2025-11-24 17:44:09,994 - INFO - Created VN ctest-vn-97287909 2025-11-24 17:44:10,045 - DEBUG - VN ctest-vn-97287909 UUID is ae34db9f-1f3d-48ac-b2f4-4001b35f5d3b 2025-11-24 17:44:10,343 - DEBUG - Response for create_network : {'network': {'id': '783aa10b-aa8f-408e-b373-d1b9ee2bcbca', 'name': 'ctest-ext_vn-57719740', 'tenant_id': 'b4e4a99182c84a748b5f2a2c19984cbc', 'project_id': 'b4e4a99182c84a748b5f2a2c19984cbc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26833617', 'ctest-ext_vn-57719740'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 17:44:10,511 - DEBUG - Response for create_subnet : {'subnet': {'id': '8927a7b6-d3c3-4ca5-8c0a-6e14b59ad45d', 'name': '', 'tenant_id': 'b4e4a99182c84a748b5f2a2c19984cbc', 'network_id': '783aa10b-aa8f-408e-b373-d1b9ee2bcbca', 'ip_version': 4, 'cidr': '167.109.28.128/26', 'allocation_pools': [{'start': '167.109.28.130', 'end': '167.109.28.190'}], 'gateway_ip': '167.109.28.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.109.28.130', 'tags': [], 'project_id': 'b4e4a99182c84a748b5f2a2c19984cbc'}} 2025-11-24 17:44:10,530 - INFO - Created VN ctest-ext_vn-57719740 2025-11-24 17:44:10,585 - DEBUG - VN ctest-ext_vn-57719740 UUID is 783aa10b-aa8f-408e-b373-d1b9ee2bcbca 2025-11-24 17:44:10,750 - DEBUG - Services list from nova: [, , ] 2025-11-24 17:44:11,892 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4811-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4811-1) 2025-11-24 17:44:13,181 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4811-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4811-1) 2025-11-24 17:44:13,272 - INFO - Setting gateway for router cf31150e-dd5c-4c10-b935-e788aee9fdd1 to network 783aa10b-aa8f-408e-b373-d1b9ee2bcbca 2025-11-24 17:44:13,333 - INFO - Adding interface with subnet_id ee679b12-3a2e-494a-892a-c5d1d9f7c770, port_id None to router cf31150e-dd5c-4c10-b935-e788aee9fdd1 2025-11-24 17:44:13,703 - INFO - Waiting for VM ctest-TestRoutersBasic-26833617-91061405 to be up.. 2025-11-24 17:44:13,886 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 17:44:18,968 - DEBUG - VM is in ACTIVE state now 2025-11-24 17:44:18,968 - INFO - VM name : ctest-TestRoutersBasic-26833617-91061405 2025-11-24 17:44:19,057 - DEBUG - VM ctest-TestRoutersBasic-26833617-91061405 ID is 4df2a6f8-1240-4ab1-9eb7-e0ccd24f485f 2025-11-24 17:44:19,084 - DEBUG - VM ctest-TestRoutersBasic-26833617-91061405 launched on Node cn-jenkins-deploy-platform-ansible-os-4811-1 2025-11-24 17:44:19,168 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/4df2a6f8-1240-4ab1-9eb7-e0ccd24f485f 2025-11-24 17:44:19,503 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/4df2a6f8-1240-4ab1-9eb7-e0ccd24f485f 2025-11-24 17:44:19,865 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/01548298-0bce-4188-af0a-ceb25874dc09 2025-11-24 17:44:23,115 - 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 1002ms') 2025-11-24 17:44:23,115 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-26833617-91061405 failed! 2025-11-24 17:44:23,169 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-26833617:ctest-vn-97287909 is 110.122.22.129 and allocation pool is NOT set 2025-11-24 17:44:25,225 - 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=3.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.409 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.409/1.738/3.067/1.329 ms') 2025-11-24 17:44:25,225 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-26833617-91061405 passed 2025-11-24 17:44:25,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 17:44:25,373 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26833617-91061405, IP 110.122.22.131, Port 22 2025-11-24 17:44:25,529 - DEBUG - VM ctest-TestRoutersBasic-26833617-91061405 is ready for SSH connections 2025-11-24 17:44:25,529 - INFO - Waiting for VM ctest-TestRoutersBasic-26833617-57009242 to be up.. 2025-11-24 17:44:25,612 - DEBUG - VM is in ACTIVE state now 2025-11-24 17:44:25,612 - INFO - VM name : ctest-TestRoutersBasic-26833617-57009242 2025-11-24 17:44:25,686 - DEBUG - VM ctest-TestRoutersBasic-26833617-57009242 ID is 32e3d43f-272a-4c21-89be-5710ac285104 2025-11-24 17:44:25,687 - DEBUG - VM ctest-TestRoutersBasic-26833617-57009242 launched on Node cn-jenkins-deploy-platform-ansible-os-4811-1 2025-11-24 17:44:25,757 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/32e3d43f-272a-4c21-89be-5710ac285104 2025-11-24 17:44:25,765 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/b3f96e29-c854-46cc-8a16-12c24bf100d4 2025-11-24 17:44:26,998 - 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=6.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.971 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.971/3.540/6.109/2.569 ms') 2025-11-24 17:44:26,998 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-26833617-57009242 passed 2025-11-24 17:44:27,149 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 17:44:27,149 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26833617-57009242, IP 167.109.28.131, Port 22 2025-11-24 17:44:27,305 - DEBUG - VM ctest-TestRoutersBasic-26833617-57009242 is ready for SSH connections 2025-11-24 17:44:27,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 17:44:27,305 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.109.28.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-11-24 17:44:27,305 - DEBUG - ping -s 56 -c 3 -W 1 167.109.28.131 2025-11-24 17:44:31,042 - DEBUG - PING 167.109.28.131 (167.109.28.131): 56 data bytes 64 bytes from 167.109.28.131: seq=0 ttl=62 time=5.554 ms 64 bytes from 167.109.28.131: seq=1 ttl=62 time=0.888 ms 64 bytes from 167.109.28.131: seq=2 ttl=62 time=1.109 ms --- 167.109.28.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.888/2.517/5.554 ms 2025-11-24 17:44:31,042 - INFO - Ping to IP 167.109.28.131 from VM ctest-TestRoutersBasic-26833617-91061405 passed 2025-11-24 17:44:31,042 - INFO - Deleting interface with subnet_id ee679b12-3a2e-494a-892a-c5d1d9f7c770, port_id None from router cf31150e-dd5c-4c10-b935-e788aee9fdd1 2025-11-24 17:44:31,253 - INFO - Deleting VM ctest-TestRoutersBasic-26833617-57009242 2025-11-24 17:44:31,348 - INFO - Deleting VM ctest-TestRoutersBasic-26833617-91061405 2025-11-24 17:44:31,438 - INFO - Deleting VN ctest-ext_vn-57719740 2025-11-24 17:44:31,521 - DEBUG - VN 783aa10b-aa8f-408e-b373-d1b9ee2bcbca still in use: Unable to complete operation on network 783aa10b-aa8f-408e-b373-d1b9ee2bcbca. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-17ff9fbd-5eb1-4c75-9ae1-94e1b569c241'] 2025-11-24 17:44:31,521 - WARNING - Deleting VN ctest-ext_vn-57719740 failed..Will retry 2025-11-24 17:44:33,635 - DEBUG - Response for deleting network () 2025-11-24 17:44:33,635 - INFO - Deleting VN ctest-vn-97287909 2025-11-24 17:44:33,748 - DEBUG - Response for deleting network () 2025-11-24 17:44:34,002 - DEBUG - No XMPP flaps were noticed during the test 2025-11-24 17:44:34,002 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-11-24 17:44:34,003 - INFO - -------------------------------------------------------------------------------- 2025-11-24 17:44:34,731 - INFO - Deleted project: ctest-TestRoutersBasic-26833617, ID : b4e4a991-82c8-4a74-8b5f-2a2c19984cbc