2025-07-03 02:18:50,456 - INFO - Domain Default found not creating 2025-07-03 02:18:50,598 - INFO - Project ctest-TestRoutersBasic-66063751 not found, creating it 2025-07-03 02:18:51,047 - INFO - Created Project:ctest-TestRoutersBasic-66063751, ID : c261de5d-1d17-42c5-b6a9-057f6fd640c4 2025-07-03 02:18:52,499 - INFO - ================================================================================ 2025-07-03 02:18:52,499 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-03 02:18:52,499 - 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-03 02:18:52,754 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-07-03 02:18:52,754 - INFO - Initial checks done. Running the testcase now 2025-07-03 02:18:52,754 - INFO - 2025-07-03 02:18:53,444 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-66063751 2025-07-03 02:18:53,548 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-66063751 2025-07-03 02:18:53,884 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66063751', 'default']} 2025-07-03 02:18:54,173 - DEBUG - Response for create_network : {'network': {'id': '63b30aa1-93c5-418f-90a8-76be7c98e65c', 'name': 'ctest-vn-87889188', 'tenant_id': 'c261de5d1d1742c5b6a9057f6fd640c4', 'project_id': 'c261de5d1d1742c5b6a9057f6fd640c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66063751', 'ctest-vn-87889188'], 'port_security_enabled': True, 'description': ''}} 2025-07-03 02:18:54,382 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ff875a4-8f9a-4b53-86f6-b188a9f16185', 'name': '', 'tenant_id': 'c261de5d1d1742c5b6a9057f6fd640c4', 'network_id': '63b30aa1-93c5-418f-90a8-76be7c98e65c', 'ip_version': 4, 'cidr': '174.175.23.192/26', 'allocation_pools': [{'start': '174.175.23.194', 'end': '174.175.23.254'}], 'gateway_ip': '174.175.23.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.175.23.194', 'tags': [], 'project_id': 'c261de5d1d1742c5b6a9057f6fd640c4'}} 2025-07-03 02:18:54,401 - INFO - Created VN ctest-vn-87889188 2025-07-03 02:18:54,462 - DEBUG - VN ctest-vn-87889188 UUID is 63b30aa1-93c5-418f-90a8-76be7c98e65c 2025-07-03 02:18:54,824 - DEBUG - Response for create_network : {'network': {'id': '96f6d8e9-b40b-44e4-b910-33d57cf587e4', 'name': 'ctest-ext_vn-87090979', 'tenant_id': 'c261de5d1d1742c5b6a9057f6fd640c4', 'project_id': 'c261de5d1d1742c5b6a9057f6fd640c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66063751', 'ctest-ext_vn-87090979'], 'port_security_enabled': True, 'description': ''}} 2025-07-03 02:18:54,997 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba94d698-dbd7-4cc1-80fc-537324b67032', 'name': '', 'tenant_id': 'c261de5d1d1742c5b6a9057f6fd640c4', 'network_id': '96f6d8e9-b40b-44e4-b910-33d57cf587e4', 'ip_version': 4, 'cidr': '92.248.55.0/26', 'allocation_pools': [{'start': '92.248.55.2', 'end': '92.248.55.62'}], 'gateway_ip': '92.248.55.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.248.55.2', 'tags': [], 'project_id': 'c261de5d1d1742c5b6a9057f6fd640c4'}} 2025-07-03 02:18:55,017 - INFO - Created VN ctest-ext_vn-87090979 2025-07-03 02:18:55,068 - DEBUG - VN ctest-ext_vn-87090979 UUID is 96f6d8e9-b40b-44e4-b910-33d57cf587e4 2025-07-03 02:18:55,234 - DEBUG - Services list from nova: [, , ] 2025-07-03 02:18:56,232 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3595-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3595-1) 2025-07-03 02:18:57,529 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3595-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3595-1) 2025-07-03 02:18:57,615 - INFO - Setting gateway for router db9325cd-46f2-4064-94bc-d9c582a3a5b7 to network 96f6d8e9-b40b-44e4-b910-33d57cf587e4 2025-07-03 02:18:57,712 - INFO - Adding interface with subnet_id 5ff875a4-8f9a-4b53-86f6-b188a9f16185, port_id None to router db9325cd-46f2-4064-94bc-d9c582a3a5b7 2025-07-03 02:18:58,262 - INFO - Waiting for VM ctest-TestRoutersBasic-66063751-23561892 to be up.. 2025-07-03 02:18:58,513 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-03 02:19:03,592 - DEBUG - VM is in ACTIVE state now 2025-07-03 02:19:03,592 - INFO - VM name : ctest-TestRoutersBasic-66063751-23561892 2025-07-03 02:19:03,665 - DEBUG - VM ctest-TestRoutersBasic-66063751-23561892 ID is 2eafb469-79f5-49e7-85f4-07c7ae5ce68d 2025-07-03 02:19:03,684 - DEBUG - VM ctest-TestRoutersBasic-66063751-23561892 launched on Node cn-jenkins-deploy-platform-ansible-os-3595-1 2025-07-03 02:19:03,756 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/2eafb469-79f5-49e7-85f4-07c7ae5ce68d 2025-07-03 02:19:04,047 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/2eafb469-79f5-49e7-85f4-07c7ae5ce68d 2025-07-03 02:19:04,077 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/bf0387ae-38ae-4a58-9a3f-770cb06280ca 2025-07-03 02:19:07,337 - 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-03 02:19:07,337 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66063751-23561892 failed! 2025-07-03 02:19:07,392 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-66063751:ctest-vn-87889188 is 174.175.23.193 and allocation pool is NOT set 2025-07-03 02:19:09,453 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.541 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.541/1.681/2.822/1.140 ms') 2025-07-03 02:19:09,453 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66063751-23561892 passed 2025-07-03 02:19:09,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 02:19:09,620 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66063751-23561892, IP 174.175.23.195, Port 22 2025-07-03 02:19:09,786 - DEBUG - VM ctest-TestRoutersBasic-66063751-23561892 is ready for SSH connections 2025-07-03 02:19:09,786 - INFO - Waiting for VM ctest-TestRoutersBasic-66063751-00086222 to be up.. 2025-07-03 02:19:09,861 - DEBUG - VM is in ACTIVE state now 2025-07-03 02:19:09,861 - INFO - VM name : ctest-TestRoutersBasic-66063751-00086222 2025-07-03 02:19:09,942 - DEBUG - VM ctest-TestRoutersBasic-66063751-00086222 ID is 35156c26-4f3e-4448-9103-bdf8ead85ac5 2025-07-03 02:19:09,942 - DEBUG - VM ctest-TestRoutersBasic-66063751-00086222 launched on Node cn-jenkins-deploy-platform-ansible-os-3595-1 2025-07-03 02:19:10,021 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/35156c26-4f3e-4448-9103-bdf8ead85ac5 2025-07-03 02:19:10,030 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/53d55b81-1838-4029-af6f-f04f5f019e7a 2025-07-03 02:19:11,293 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.384 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.384/1.711/3.039/1.327 ms') 2025-07-03 02:19:11,293 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-66063751-00086222 passed 2025-07-03 02:19:11,448 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 02:19:11,448 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66063751-00086222, IP 92.248.55.3, Port 22 2025-07-03 02:19:11,600 - DEBUG - VM ctest-TestRoutersBasic-66063751-00086222 is ready for SSH connections 2025-07-03 02:19:11,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 02:19:11,600 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.248.55.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-07-03 02:19:11,600 - DEBUG - ping -s 56 -c 3 -W 1 92.248.55.3 2025-07-03 02:19:15,680 - DEBUG - PING 92.248.55.3 (92.248.55.3): 56 data bytes 64 bytes from 92.248.55.3: seq=0 ttl=62 time=4.986 ms 64 bytes from 92.248.55.3: seq=1 ttl=62 time=0.757 ms 64 bytes from 92.248.55.3: seq=2 ttl=62 time=0.927 ms --- 92.248.55.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.757/2.223/4.986 ms 2025-07-03 02:19:15,680 - INFO - Ping to IP 92.248.55.3 from VM ctest-TestRoutersBasic-66063751-23561892 passed 2025-07-03 02:19:15,680 - INFO - Deleting interface with subnet_id 5ff875a4-8f9a-4b53-86f6-b188a9f16185, port_id None from router db9325cd-46f2-4064-94bc-d9c582a3a5b7 2025-07-03 02:19:15,875 - INFO - Deleting VM ctest-TestRoutersBasic-66063751-00086222 2025-07-03 02:19:15,949 - INFO - Deleting VM ctest-TestRoutersBasic-66063751-23561892 2025-07-03 02:19:16,036 - INFO - Deleting VN ctest-ext_vn-87090979 2025-07-03 02:19:16,109 - DEBUG - VN 96f6d8e9-b40b-44e4-b910-33d57cf587e4 still in use: Unable to complete operation on network 96f6d8e9-b40b-44e4-b910-33d57cf587e4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-65b6fbf2-4593-4cb1-9a0e-05f06f673a14'] 2025-07-03 02:19:16,109 - WARNING - Deleting VN ctest-ext_vn-87090979 failed..Will retry 2025-07-03 02:19:18,216 - DEBUG - Response for deleting network () 2025-07-03 02:19:18,217 - INFO - Deleting VN ctest-vn-87889188 2025-07-03 02:19:18,338 - DEBUG - Response for deleting network () 2025-07-03 02:19:18,594 - DEBUG - No XMPP flaps were noticed during the test
2025-07-03 02:19:18,594 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-07-03 02:19:18,594 - INFO - -------------------------------------------------------------------------------- 2025-07-03 02:19:19,254 - INFO - Deleted project: ctest-TestRoutersBasic-66063751, ID : c261de5d-1d17-42c5-b6a9-057f6fd640c4