2025-09-16 21:44:11,487 - INFO - Domain Default found not creating 2025-09-16 21:44:11,621 - INFO - Project ctest-TestRoutersBasic-61767249 not found, creating it 2025-09-16 21:44:12,047 - INFO - Created Project:ctest-TestRoutersBasic-61767249, ID : e7f6dd39-db12-4d73-9bb2-f49ac812d406 2025-09-16 21:44:13,441 - INFO - ================================================================================ 2025-09-16 21:44:13,441 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-16 21:44:13,442 - 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-16 21:44:13,694 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-16 21:44:13,694 - INFO - Initial checks done. Running the testcase now 2025-09-16 21:44:13,694 - INFO - 2025-09-16 21:44:14,388 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-61767249 2025-09-16 21:44:14,482 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-61767249 2025-09-16 21:44:14,797 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61767249', 'default']} 2025-09-16 21:44:15,214 - DEBUG - Response for create_network : {'network': {'id': '0269e157-4bc4-40e2-aeff-902ea9dd6002', 'name': 'ctest-vn-42963999', 'tenant_id': 'e7f6dd39db124d739bb2f49ac812d406', 'project_id': 'e7f6dd39db124d739bb2f49ac812d406', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61767249', 'ctest-vn-42963999'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 21:44:15,420 - DEBUG - Response for create_subnet : {'subnet': {'id': '9f493ae3-d32c-44ec-bc5d-83e74006e644', 'name': '', 'tenant_id': 'e7f6dd39db124d739bb2f49ac812d406', 'network_id': '0269e157-4bc4-40e2-aeff-902ea9dd6002', 'ip_version': 4, 'cidr': '19.29.110.64/26', 'allocation_pools': [{'start': '19.29.110.66', 'end': '19.29.110.126'}], 'gateway_ip': '19.29.110.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.29.110.66', 'tags': [], 'project_id': 'e7f6dd39db124d739bb2f49ac812d406'}} 2025-09-16 21:44:15,436 - INFO - Created VN ctest-vn-42963999 2025-09-16 21:44:15,486 - DEBUG - VN ctest-vn-42963999 UUID is 0269e157-4bc4-40e2-aeff-902ea9dd6002 2025-09-16 21:44:15,811 - DEBUG - Response for create_network : {'network': {'id': 'ed647958-7d99-4da5-b054-01495f535ba8', 'name': 'ctest-ext_vn-20586115', 'tenant_id': 'e7f6dd39db124d739bb2f49ac812d406', 'project_id': 'e7f6dd39db124d739bb2f49ac812d406', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61767249', 'ctest-ext_vn-20586115'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 21:44:16,035 - DEBUG - Response for create_subnet : {'subnet': {'id': '434eddd0-e4d5-47b1-b9bb-1dde76001d2d', 'name': '', 'tenant_id': 'e7f6dd39db124d739bb2f49ac812d406', 'network_id': 'ed647958-7d99-4da5-b054-01495f535ba8', 'ip_version': 4, 'cidr': '126.95.237.128/26', 'allocation_pools': [{'start': '126.95.237.130', 'end': '126.95.237.190'}], 'gateway_ip': '126.95.237.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.95.237.130', 'tags': [], 'project_id': 'e7f6dd39db124d739bb2f49ac812d406'}} 2025-09-16 21:44:16,054 - INFO - Created VN ctest-ext_vn-20586115 2025-09-16 21:44:16,106 - DEBUG - VN ctest-ext_vn-20586115 UUID is ed647958-7d99-4da5-b054-01495f535ba8 2025-09-16 21:44:16,269 - DEBUG - Services list from nova: [, , ] 2025-09-16 21:44:17,264 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4127-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4127-1) 2025-09-16 21:44:18,343 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4127-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4127-1) 2025-09-16 21:44:18,433 - INFO - Setting gateway for router 27496aeb-d160-43a5-a9ba-7cfbef575f7c to network ed647958-7d99-4da5-b054-01495f535ba8 2025-09-16 21:44:18,507 - INFO - Adding interface with subnet_id 9f493ae3-d32c-44ec-bc5d-83e74006e644, port_id None to router 27496aeb-d160-43a5-a9ba-7cfbef575f7c 2025-09-16 21:44:18,915 - INFO - Waiting for VM ctest-TestRoutersBasic-61767249-61731790 to be up.. 2025-09-16 21:44:19,031 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-16 21:44:24,102 - DEBUG - VM is in ACTIVE state now 2025-09-16 21:44:24,102 - INFO - VM name : ctest-TestRoutersBasic-61767249-61731790 2025-09-16 21:44:24,182 - DEBUG - VM ctest-TestRoutersBasic-61767249-61731790 ID is eee272a5-855d-4d1d-97cf-3904523bc9a8 2025-09-16 21:44:24,208 - DEBUG - VM ctest-TestRoutersBasic-61767249-61731790 launched on Node cn-jenkins-deploy-platform-ansible-os-4127-1 2025-09-16 21:44:24,282 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/eee272a5-855d-4d1d-97cf-3904523bc9a8 2025-09-16 21:44:24,585 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/eee272a5-855d-4d1d-97cf-3904523bc9a8 2025-09-16 21:44:24,614 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c97e17fe-54a4-4aec-a004-be8eabcb358a 2025-09-16 21:44:27,849 - 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 1003ms') 2025-09-16 21:44:27,849 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61767249-61731790 failed! 2025-09-16 21:44:27,902 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-61767249:ctest-vn-42963999 is 19.29.110.65 and allocation pool is NOT set 2025-09-16 21:44:29,964 - 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.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.406 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.406/1.876/3.347/1.470 ms') 2025-09-16 21:44:29,964 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61767249-61731790 passed 2025-09-16 21:44:30,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 21:44:30,114 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61767249-61731790, IP 19.29.110.67, Port 22 2025-09-16 21:44:30,279 - DEBUG - VM ctest-TestRoutersBasic-61767249-61731790 is ready for SSH connections 2025-09-16 21:44:30,279 - INFO - Waiting for VM ctest-TestRoutersBasic-61767249-23885761 to be up.. 2025-09-16 21:44:30,352 - DEBUG - VM is in ACTIVE state now 2025-09-16 21:44:30,352 - INFO - VM name : ctest-TestRoutersBasic-61767249-23885761 2025-09-16 21:44:30,419 - DEBUG - VM ctest-TestRoutersBasic-61767249-23885761 ID is 543e2e5a-aa4c-4069-b35a-1a49cd5c5ce5 2025-09-16 21:44:30,419 - DEBUG - VM ctest-TestRoutersBasic-61767249-23885761 launched on Node cn-jenkins-deploy-platform-ansible-os-4127-1 2025-09-16 21:44:30,481 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/543e2e5a-aa4c-4069-b35a-1a49cd5c5ce5 2025-09-16 21:44:30,488 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7ad87de2-e36b-4bdd-ae55-34f76c816213 2025-09-16 21:44:31,725 - 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=4.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.11 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 = 1.106/2.892/4.678/1.786 ms') 2025-09-16 21:44:31,725 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-61767249-23885761 passed 2025-09-16 21:44:31,874 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 21:44:31,874 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61767249-23885761, IP 126.95.237.131, Port 22 2025-09-16 21:44:32,037 - DEBUG - VM ctest-TestRoutersBasic-61767249-23885761 is ready for SSH connections 2025-09-16 21:44:32,037 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 21:44:32,037 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.95.237.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-16 21:44:32,037 - DEBUG - ping -s 56 -c 3 -W 1 126.95.237.131 2025-09-16 21:44:36,050 - DEBUG - PING 126.95.237.131 (126.95.237.131): 56 data bytes 64 bytes from 126.95.237.131: seq=0 ttl=62 time=6.805 ms 64 bytes from 126.95.237.131: seq=1 ttl=62 time=0.996 ms 64 bytes from 126.95.237.131: seq=2 ttl=62 time=0.824 ms --- 126.95.237.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.824/2.875/6.805 ms 2025-09-16 21:44:36,050 - INFO - Ping to IP 126.95.237.131 from VM ctest-TestRoutersBasic-61767249-61731790 passed 2025-09-16 21:44:36,050 - INFO - Deleting interface with subnet_id 9f493ae3-d32c-44ec-bc5d-83e74006e644, port_id None from router 27496aeb-d160-43a5-a9ba-7cfbef575f7c 2025-09-16 21:44:36,223 - INFO - Deleting VM ctest-TestRoutersBasic-61767249-23885761 2025-09-16 21:44:36,287 - INFO - Deleting VM ctest-TestRoutersBasic-61767249-61731790 2025-09-16 21:44:36,356 - INFO - Deleting VN ctest-ext_vn-20586115 2025-09-16 21:44:36,413 - DEBUG - VN ed647958-7d99-4da5-b054-01495f535ba8 still in use: Unable to complete operation on network ed647958-7d99-4da5-b054-01495f535ba8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-96033318-3124-43ee-a0d9-485582cad0bb'] 2025-09-16 21:44:36,413 - WARNING - Deleting VN ctest-ext_vn-20586115 failed..Will retry 2025-09-16 21:44:38,506 - DEBUG - Response for deleting network () 2025-09-16 21:44:38,506 - INFO - Deleting VN ctest-vn-42963999 2025-09-16 21:44:38,595 - DEBUG - Response for deleting network () 2025-09-16 21:44:38,850 - DEBUG - No XMPP flaps were noticed during the test
2025-09-16 21:44:38,850 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-16 21:44:38,850 - INFO - -------------------------------------------------------------------------------- 2025-09-16 21:44:39,514 - INFO - Deleted project: ctest-TestRoutersBasic-61767249, ID : e7f6dd39-db12-4d73-9bb2-f49ac812d406