2025-08-04 02:23:07,702 - INFO - Domain Default found not creating 2025-08-04 02:23:07,852 - INFO - Project ctest-TestRoutersBasic-84341028 not found, creating it 2025-08-04 02:23:08,338 - INFO - Created Project:ctest-TestRoutersBasic-84341028, ID : bd8abf05-db8e-4380-9e3a-9b349235d3d9 2025-08-04 02:23:09,806 - INFO - ================================================================================ 2025-08-04 02:23:09,807 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-04 02:23:09,807 - 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-04 02:23:10,065 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-08-04 02:23:10,065 - INFO - Initial checks done. Running the testcase now 2025-08-04 02:23:10,065 - INFO - 2025-08-04 02:23:10,800 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-84341028 2025-08-04 02:23:10,903 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-84341028 2025-08-04 02:23:11,227 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84341028', 'default']} 2025-08-04 02:23:11,534 - DEBUG - Response for create_network : {'network': {'id': '122b7acf-f253-456d-b87d-22f5e9b1beca', 'name': 'ctest-vn-51461730', 'tenant_id': 'bd8abf05db8e43809e3a9b349235d3d9', 'project_id': 'bd8abf05db8e43809e3a9b349235d3d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84341028', 'ctest-vn-51461730'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 02:23:11,763 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b2bb2a3-c4fa-4e09-9187-1cb3cd3a6e86', 'name': '', 'tenant_id': 'bd8abf05db8e43809e3a9b349235d3d9', 'network_id': '122b7acf-f253-456d-b87d-22f5e9b1beca', 'ip_version': 4, 'cidr': '139.73.143.64/26', 'allocation_pools': [{'start': '139.73.143.66', 'end': '139.73.143.126'}], 'gateway_ip': '139.73.143.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.73.143.66', 'tags': [], 'project_id': 'bd8abf05db8e43809e3a9b349235d3d9'}} 2025-08-04 02:23:11,782 - INFO - Created VN ctest-vn-51461730 2025-08-04 02:23:11,835 - DEBUG - VN ctest-vn-51461730 UUID is 122b7acf-f253-456d-b87d-22f5e9b1beca 2025-08-04 02:23:12,158 - DEBUG - Response for create_network : {'network': {'id': '524dc2f1-1c73-464f-bc98-8370965392b2', 'name': 'ctest-ext_vn-97253028', 'tenant_id': 'bd8abf05db8e43809e3a9b349235d3d9', 'project_id': 'bd8abf05db8e43809e3a9b349235d3d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84341028', 'ctest-ext_vn-97253028'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 02:23:12,376 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f177b011-0400-4377-ac64-cb809fd583a2', 'name': '', 'tenant_id': 'bd8abf05db8e43809e3a9b349235d3d9', 'network_id': '524dc2f1-1c73-464f-bc98-8370965392b2', 'ip_version': 4, 'cidr': '88.149.56.0/26', 'allocation_pools': [{'start': '88.149.56.2', 'end': '88.149.56.62'}], 'gateway_ip': '88.149.56.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.149.56.2', 'tags': [], 'project_id': 'bd8abf05db8e43809e3a9b349235d3d9'}} 2025-08-04 02:23:12,396 - INFO - Created VN ctest-ext_vn-97253028 2025-08-04 02:23:12,451 - DEBUG - VN ctest-ext_vn-97253028 UUID is 524dc2f1-1c73-464f-bc98-8370965392b2 2025-08-04 02:23:12,638 - DEBUG - Services list from nova: [, , ] 2025-08-04 02:23:13,713 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3749-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3749-1) 2025-08-04 02:23:14,892 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3749-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3749-1) 2025-08-04 02:23:14,966 - INFO - Setting gateway for router 241fc735-1a92-4f0f-a29f-0cee799aada0 to network 524dc2f1-1c73-464f-bc98-8370965392b2 2025-08-04 02:23:15,033 - INFO - Adding interface with subnet_id 8b2bb2a3-c4fa-4e09-9187-1cb3cd3a6e86, port_id None to router 241fc735-1a92-4f0f-a29f-0cee799aada0 2025-08-04 02:23:15,587 - INFO - Waiting for VM ctest-TestRoutersBasic-84341028-74684414 to be up.. 2025-08-04 02:23:15,739 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-04 02:23:20,825 - DEBUG - VM is in ACTIVE state now 2025-08-04 02:23:20,825 - INFO - VM name : ctest-TestRoutersBasic-84341028-74684414 2025-08-04 02:23:20,905 - DEBUG - VM ctest-TestRoutersBasic-84341028-74684414 ID is d172349f-ee5a-49f7-a089-cd56180d5a0f 2025-08-04 02:23:20,924 - DEBUG - VM ctest-TestRoutersBasic-84341028-74684414 launched on Node cn-jenkins-deploy-platform-ansible-os-3749-1 2025-08-04 02:23:21,002 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/d172349f-ee5a-49f7-a089-cd56180d5a0f 2025-08-04 02:23:21,316 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/d172349f-ee5a-49f7-a089-cd56180d5a0f 2025-08-04 02:23:21,362 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/d1f73538-e92f-4c66-b07d-9f76bcbc5060 2025-08-04 02:23:24,655 - 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 1022ms') 2025-08-04 02:23:24,655 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84341028-74684414 failed! 2025-08-04 02:23:24,715 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-84341028:ctest-vn-51461730 is 139.73.143.65 and allocation pool is NOT set 2025-08-04 02:23:26,772 - 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=4.30 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/2.356/4.304/1.947 ms') 2025-08-04 02:23:26,772 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84341028-74684414 passed 2025-08-04 02:23:26,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:23:26,927 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84341028-74684414, IP 139.73.143.67, Port 22 2025-08-04 02:23:27,093 - DEBUG - VM ctest-TestRoutersBasic-84341028-74684414 is ready for SSH connections 2025-08-04 02:23:27,093 - INFO - Waiting for VM ctest-TestRoutersBasic-84341028-07458636 to be up.. 2025-08-04 02:23:27,179 - DEBUG - VM is in ACTIVE state now 2025-08-04 02:23:27,179 - INFO - VM name : ctest-TestRoutersBasic-84341028-07458636 2025-08-04 02:23:27,264 - DEBUG - VM ctest-TestRoutersBasic-84341028-07458636 ID is f7e76764-9697-41a5-85ac-8ac019b0e4b2 2025-08-04 02:23:27,264 - DEBUG - VM ctest-TestRoutersBasic-84341028-07458636 launched on Node cn-jenkins-deploy-platform-ansible-os-3749-1 2025-08-04 02:23:27,347 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/f7e76764-9697-41a5-85ac-8ac019b0e4b2 2025-08-04 02:23:27,359 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/a1f4a3dd-1454-413c-88e3-fce1b2e083ce 2025-08-04 02:23:28,607 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.842 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.842/2.499/4.156/1.657 ms') 2025-08-04 02:23:28,607 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-84341028-07458636 passed 2025-08-04 02:23:28,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:23:28,763 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84341028-07458636, IP 88.149.56.3, Port 22 2025-08-04 02:23:28,932 - DEBUG - VM ctest-TestRoutersBasic-84341028-07458636 is ready for SSH connections 2025-08-04 02:23:28,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:23:28,932 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.149.56.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-04 02:23:28,933 - DEBUG - ping -s 56 -c 3 -W 1 88.149.56.3 2025-08-04 02:23:32,616 - DEBUG - PING 88.149.56.3 (88.149.56.3): 56 data bytes 64 bytes from 88.149.56.3: seq=0 ttl=62 time=5.720 ms 64 bytes from 88.149.56.3: seq=1 ttl=62 time=1.030 ms 64 bytes from 88.149.56.3: seq=2 ttl=62 time=1.116 ms --- 88.149.56.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.030/2.622/5.720 ms 2025-08-04 02:23:32,616 - INFO - Ping to IP 88.149.56.3 from VM ctest-TestRoutersBasic-84341028-74684414 passed 2025-08-04 02:23:32,616 - INFO - Deleting interface with subnet_id 8b2bb2a3-c4fa-4e09-9187-1cb3cd3a6e86, port_id None from router 241fc735-1a92-4f0f-a29f-0cee799aada0 2025-08-04 02:23:32,835 - INFO - Deleting VM ctest-TestRoutersBasic-84341028-07458636 2025-08-04 02:23:32,912 - INFO - Deleting VM ctest-TestRoutersBasic-84341028-74684414 2025-08-04 02:23:32,991 - INFO - Deleting VN ctest-ext_vn-97253028 2025-08-04 02:23:33,069 - DEBUG - VN 524dc2f1-1c73-464f-bc98-8370965392b2 still in use: Unable to complete operation on network 524dc2f1-1c73-464f-bc98-8370965392b2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0649d356-fc56-4da4-969d-d0d850ef2b9f'] 2025-08-04 02:23:33,069 - WARNING - Deleting VN ctest-ext_vn-97253028 failed..Will retry 2025-08-04 02:23:35,187 - DEBUG - Response for deleting network () 2025-08-04 02:23:35,187 - INFO - Deleting VN ctest-vn-51461730 2025-08-04 02:23:35,312 - DEBUG - Response for deleting network () 2025-08-04 02:23:35,582 - DEBUG - No XMPP flaps were noticed during the test 2025-08-04 02:23:35,582 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-08-04 02:23:35,582 - INFO - -------------------------------------------------------------------------------- 2025-08-04 02:23:36,291 - INFO - Deleted project: ctest-TestRoutersBasic-84341028, ID : bd8abf05-db8e-4380-9e3a-9b349235d3d9