2025-08-15 09:30:07,419 - INFO - Domain Default found not creating 2025-08-15 09:30:07,537 - INFO - Project ctest-TestRoutersBasic-94229216 not found, creating it 2025-08-15 09:30:08,000 - INFO - Created Project:ctest-TestRoutersBasic-94229216, ID : fcd79b6a-3f81-4074-9034-54b2e4a82247 2025-08-15 09:30:09,319 - INFO - ================================================================================ 2025-08-15 09:30:09,319 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-15 09:30:09,319 - 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-08-15 09:30:09,573 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with 2025-08-15 09:30:09,573 - INFO - Initial checks done. Running the testcase now 2025-08-15 09:30:09,573 - INFO - 2025-08-15 09:30:10,770 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-94229216 2025-08-15 09:30:10,864 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-94229216 2025-08-15 09:30:11,192 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94229216', 'default']} 2025-08-15 09:30:11,480 - DEBUG - Response for create_network : {'network': {'id': '9cdc2c28-c1f8-4d0d-b431-99640d2ed937', 'name': 'ctest-vn-61017062', 'tenant_id': 'fcd79b6a3f814074903454b2e4a82247', 'project_id': 'fcd79b6a3f814074903454b2e4a82247', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94229216', 'ctest-vn-61017062'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 09:30:11,622 - DEBUG - Response for create_subnet : {'subnet': {'id': '429415ce-65e2-499c-bb86-521ef1f8ca15', 'name': '', 'tenant_id': 'fcd79b6a3f814074903454b2e4a82247', 'network_id': '9cdc2c28-c1f8-4d0d-b431-99640d2ed937', 'ip_version': 4, 'cidr': '75.247.34.128/26', 'allocation_pools': [{'start': '75.247.34.130', 'end': '75.247.34.190'}], 'gateway_ip': '75.247.34.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.247.34.130', 'tags': [], 'project_id': 'fcd79b6a3f814074903454b2e4a82247'}} 2025-08-15 09:30:11,638 - INFO - Created VN ctest-vn-61017062 2025-08-15 09:30:11,692 - DEBUG - VN ctest-vn-61017062 UUID is 9cdc2c28-c1f8-4d0d-b431-99640d2ed937 2025-08-15 09:30:12,024 - DEBUG - Response for create_network : {'network': {'id': 'ebb965a5-36e2-487c-9c70-5a89ef79f16c', 'name': 'ctest-ext_vn-09556022', 'tenant_id': 'fcd79b6a3f814074903454b2e4a82247', 'project_id': 'fcd79b6a3f814074903454b2e4a82247', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94229216', 'ctest-ext_vn-09556022'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 09:30:12,189 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f8d86fd-9e06-4a72-9294-effb2e5c1e7a', 'name': '', 'tenant_id': 'fcd79b6a3f814074903454b2e4a82247', 'network_id': 'ebb965a5-36e2-487c-9c70-5a89ef79f16c', 'ip_version': 4, 'cidr': '33.13.12.192/26', 'allocation_pools': [{'start': '33.13.12.194', 'end': '33.13.12.254'}], 'gateway_ip': '33.13.12.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.13.12.194', 'tags': [], 'project_id': 'fcd79b6a3f814074903454b2e4a82247'}} 2025-08-15 09:30:12,204 - INFO - Created VN ctest-ext_vn-09556022 2025-08-15 09:30:12,256 - DEBUG - VN ctest-ext_vn-09556022 UUID is ebb965a5-36e2-487c-9c70-5a89ef79f16c 2025-08-15 09:30:12,439 - DEBUG - Services list from nova: [, , ] 2025-08-15 09:30:13,403 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3862-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3862-1) 2025-08-15 09:30:14,454 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3862-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3862-1) 2025-08-15 09:30:14,539 - INFO - Setting gateway for router 405327b3-3b4b-43db-9640-bc0e17148b64 to network ebb965a5-36e2-487c-9c70-5a89ef79f16c 2025-08-15 09:30:14,613 - INFO - Adding interface with subnet_id 429415ce-65e2-499c-bb86-521ef1f8ca15, port_id None to router 405327b3-3b4b-43db-9640-bc0e17148b64 2025-08-15 09:30:15,080 - INFO - Waiting for VM ctest-TestRoutersBasic-94229216-31670737 to be up.. 2025-08-15 09:30:15,257 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-15 09:30:20,319 - DEBUG - VM is in ACTIVE state now 2025-08-15 09:30:20,319 - INFO - VM name : ctest-TestRoutersBasic-94229216-31670737 2025-08-15 09:30:20,381 - DEBUG - VM ctest-TestRoutersBasic-94229216-31670737 ID is 136ac7d9-fe0c-4611-9bde-afb5febc22e8 2025-08-15 09:30:20,397 - DEBUG - VM ctest-TestRoutersBasic-94229216-31670737 launched on Node cn-jenkins-deploy-platform-ansible-os-3862-1. 2025-08-15 09:30:20,456 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/136ac7d9-fe0c-4611-9bde-afb5febc22e8 2025-08-15 09:30:20,741 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/136ac7d9-fe0c-4611-9bde-afb5febc22e8 2025-08-15 09:30:20,769 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a537d30f-3bdf-4b33-b381-6aa63baa7d90 2025-08-15 09:30:24,018 - 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=2 ttl=63 time=3.57 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1020ms\r\nrtt min/avg/max/mdev = 3.566/3.566/3.566/0.000 ms') 2025-08-15 09:30:24,018 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-94229216-31670737 passed 2025-08-15 09:30:24,172 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:30:24,172 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94229216-31670737, IP 75.247.34.131, Port 22 2025-08-15 09:30:24,327 - DEBUG - VM ctest-TestRoutersBasic-94229216-31670737 is ready for SSH connections 2025-08-15 09:30:24,327 - INFO - Waiting for VM ctest-TestRoutersBasic-94229216-39212365 to be up.. 2025-08-15 09:30:24,391 - DEBUG - VM is in ACTIVE state now 2025-08-15 09:30:24,391 - INFO - VM name : ctest-TestRoutersBasic-94229216-39212365 2025-08-15 09:30:24,452 - DEBUG - VM ctest-TestRoutersBasic-94229216-39212365 ID is 5d221f6f-71bb-4706-9986-a2afe959b67b 2025-08-15 09:30:24,452 - DEBUG - VM ctest-TestRoutersBasic-94229216-39212365 launched on Node cn-jenkins-deploy-platform-ansible-os-3862-1. 2025-08-15 09:30:24,512 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5d221f6f-71bb-4706-9986-a2afe959b67b 2025-08-15 09:30:24,519 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/aeda82ef-4ec2-45b3-a4b4-8a84d5112dc1 2025-08-15 09:30:25,750 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.20 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 = 1.197/2.507/3.818/1.310 ms') 2025-08-15 09:30:25,750 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-94229216-39212365 passed 2025-08-15 09:30:25,896 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:30:25,896 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94229216-39212365, IP 33.13.12.195, Port 22 2025-08-15 09:30:26,048 - DEBUG - VM ctest-TestRoutersBasic-94229216-39212365 is ready for SSH connections 2025-08-15 09:30:26,048 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:30:26,048 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.13.12.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-15 09:30:26,048 - DEBUG - ping -s 56 -c 3 -W 1 33.13.12.195 2025-08-15 09:30:29,999 - DEBUG - PING 33.13.12.195 (33.13.12.195): 56 data bytes 64 bytes from 33.13.12.195: seq=0 ttl=62 time=4.923 ms 64 bytes from 33.13.12.195: seq=1 ttl=62 time=0.733 ms 64 bytes from 33.13.12.195: seq=2 ttl=62 time=0.812 ms --- 33.13.12.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.733/2.156/4.923 ms 2025-08-15 09:30:29,999 - INFO - Ping to IP 33.13.12.195 from VM ctest-TestRoutersBasic-94229216-31670737 passed 2025-08-15 09:30:29,999 - INFO - Deleting interface with subnet_id 429415ce-65e2-499c-bb86-521ef1f8ca15, port_id None from router 405327b3-3b4b-43db-9640-bc0e17148b64 2025-08-15 09:30:30,180 - INFO - Deleting VM ctest-TestRoutersBasic-94229216-39212365 2025-08-15 09:30:30,244 - INFO - Deleting VM ctest-TestRoutersBasic-94229216-31670737 2025-08-15 09:30:30,345 - INFO - Deleting VN ctest-ext_vn-09556022 2025-08-15 09:30:30,426 - DEBUG - VN ebb965a5-36e2-487c-9c70-5a89ef79f16c still in use: Unable to complete operation on network ebb965a5-36e2-487c-9c70-5a89ef79f16c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c3c490e4-3457-4497-82ce-b620764438e7'] 2025-08-15 09:30:30,426 - WARNING - Deleting VN ctest-ext_vn-09556022 failed..Will retry 2025-08-15 09:30:32,523 - DEBUG - Response for deleting network () 2025-08-15 09:30:32,524 - INFO - Deleting VN ctest-vn-61017062 2025-08-15 09:30:32,614 - DEBUG - Response for deleting network () 2025-08-15 09:30:32,868 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 09:30:32,869 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23]
2025-08-15 09:30:32,869 - INFO - -------------------------------------------------------------------------------- 2025-08-15 09:30:33,536 - INFO - Deleted project: ctest-TestRoutersBasic-94229216, ID : fcd79b6a-3f81-4074-9034-54b2e4a82247