2025-10-16 17:12:40,631 - INFO - Domain Default found not creating 2025-10-16 17:12:40,876 - INFO - Project ctest-TestRoutersBasic-58551445 not found, creating it 2025-10-16 17:12:41,466 - INFO - Created Project:ctest-TestRoutersBasic-58551445, ID : 07733ccb-d79a-449a-a5b6-bc5fd34ad43b 2025-10-16 17:12:43,544 - INFO - ================================================================================ 2025-10-16 17:12:43,545 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-16 17:12:43,545 - 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-10-16 17:12:43,868 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0'}} with 2025-10-16 17:12:43,868 - INFO - Initial checks done. Running the testcase now 2025-10-16 17:12:43,869 - INFO - 2025-10-16 17:12:44,779 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-58551445 2025-10-16 17:12:44,888 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-58551445 2025-10-16 17:12:45,250 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58551445', 'default']} 2025-10-16 17:12:45,640 - DEBUG - Response for create_network : {'network': {'id': 'd37bd686-b57c-48fd-b560-632d538b7b27', 'name': 'ctest-vn-08551037', 'tenant_id': '07733ccbd79a449aa5b6bc5fd34ad43b', 'project_id': '07733ccbd79a449aa5b6bc5fd34ad43b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58551445', 'ctest-vn-08551037'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 17:12:45,918 - DEBUG - Response for create_subnet : {'subnet': {'id': '4605b960-5ee9-4ce4-8bb6-5333975bcd14', 'name': '', 'tenant_id': '07733ccbd79a449aa5b6bc5fd34ad43b', 'network_id': 'd37bd686-b57c-48fd-b560-632d538b7b27', 'ip_version': 4, 'cidr': '198.195.141.64/26', 'allocation_pools': [{'start': '198.195.141.66', 'end': '198.195.141.126'}], 'gateway_ip': '198.195.141.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.195.141.66', 'tags': [], 'project_id': '07733ccbd79a449aa5b6bc5fd34ad43b'}} 2025-10-16 17:12:45,937 - INFO - Created VN ctest-vn-08551037 2025-10-16 17:12:45,994 - DEBUG - VN ctest-vn-08551037 UUID is d37bd686-b57c-48fd-b560-632d538b7b27 2025-10-16 17:12:46,524 - DEBUG - Response for create_network : {'network': {'id': '7215c332-4877-4a43-b2a8-953bc6dbbe7b', 'name': 'ctest-ext_vn-38211216', 'tenant_id': '07733ccbd79a449aa5b6bc5fd34ad43b', 'project_id': '07733ccbd79a449aa5b6bc5fd34ad43b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58551445', 'ctest-ext_vn-38211216'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 17:12:46,695 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd20b6a2b-0c92-4907-b6c7-d91966ab9fb3', 'name': '', 'tenant_id': '07733ccbd79a449aa5b6bc5fd34ad43b', 'network_id': '7215c332-4877-4a43-b2a8-953bc6dbbe7b', 'ip_version': 4, 'cidr': '77.71.87.128/26', 'allocation_pools': [{'start': '77.71.87.130', 'end': '77.71.87.190'}], 'gateway_ip': '77.71.87.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.71.87.130', 'tags': [], 'project_id': '07733ccbd79a449aa5b6bc5fd34ad43b'}} 2025-10-16 17:12:46,725 - INFO - Created VN ctest-ext_vn-38211216 2025-10-16 17:12:46,779 - DEBUG - VN ctest-ext_vn-38211216 UUID is 7215c332-4877-4a43-b2a8-953bc6dbbe7b 2025-10-16 17:12:47,057 - DEBUG - Services list from nova: [, , ] 2025-10-16 17:12:48,529 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4349-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4349-1) 2025-10-16 17:12:49,971 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4349-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4349-1) 2025-10-16 17:12:50,047 - INFO - Setting gateway for router 40c80f7b-d932-45b0-a843-32ca444d555f to network 7215c332-4877-4a43-b2a8-953bc6dbbe7b 2025-10-16 17:12:50,116 - INFO - Adding interface with subnet_id 4605b960-5ee9-4ce4-8bb6-5333975bcd14, port_id None to router 40c80f7b-d932-45b0-a843-32ca444d555f 2025-10-16 17:12:50,436 - INFO - Waiting for VM ctest-TestRoutersBasic-58551445-78439077 to be up.. 2025-10-16 17:12:50,572 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 17:12:55,697 - DEBUG - VM is in ACTIVE state now 2025-10-16 17:12:55,697 - INFO - VM name : ctest-TestRoutersBasic-58551445-78439077 2025-10-16 17:12:55,803 - DEBUG - VM ctest-TestRoutersBasic-58551445-78439077 ID is f46d0be3-b5fa-44c4-b741-1b6f6cbc6155 2025-10-16 17:12:55,825 - DEBUG - VM ctest-TestRoutersBasic-58551445-78439077 launched on Node cn-jenkins-deploy-platform-ansible-os-4349-1 2025-10-16 17:12:55,926 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f46d0be3-b5fa-44c4-b741-1b6f6cbc6155 2025-10-16 17:12:56,229 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f46d0be3-b5fa-44c4-b741-1b6f6cbc6155 2025-10-16 17:12:56,266 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/03faac27-710b-42cc-a84c-f079d0088d8c 2025-10-16 17:12:59,535 - 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 1018ms') 2025-10-16 17:12:59,536 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58551445-78439077 failed! 2025-10-16 17:12:59,610 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-58551445:ctest-vn-08551037 is 198.195.141.65 and allocation pool is NOT set 2025-10-16 17:13:01,697 - 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.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.363 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.363/2.101/3.839/1.738 ms') 2025-10-16 17:13:01,697 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58551445-78439077 passed 2025-10-16 17:13:01,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 17:13:01,858 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58551445-78439077, IP 198.195.141.67, Port 22 2025-10-16 17:13:02,035 - DEBUG - VM ctest-TestRoutersBasic-58551445-78439077 is ready for SSH connections 2025-10-16 17:13:02,035 - INFO - Waiting for VM ctest-TestRoutersBasic-58551445-68786441 to be up.. 2025-10-16 17:13:02,139 - DEBUG - VM is in ACTIVE state now 2025-10-16 17:13:02,139 - INFO - VM name : ctest-TestRoutersBasic-58551445-68786441 2025-10-16 17:13:02,277 - DEBUG - VM ctest-TestRoutersBasic-58551445-68786441 ID is 017560e1-69e0-415a-93fe-e1d0afe15089 2025-10-16 17:13:02,277 - DEBUG - VM ctest-TestRoutersBasic-58551445-68786441 launched on Node cn-jenkins-deploy-platform-ansible-os-4349-1 2025-10-16 17:13:02,381 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/017560e1-69e0-415a-93fe-e1d0afe15089 2025-10-16 17:13:02,394 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2babef98-2dc8-43be-951a-a859cc5ccba2 2025-10-16 17:13:03,666 - 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=5.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.29 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 = 2.288/3.949/5.610/1.661 ms') 2025-10-16 17:13:03,666 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-58551445-68786441 passed 2025-10-16 17:13:03,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 17:13:03,827 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58551445-68786441, IP 77.71.87.131, Port 22 2025-10-16 17:13:04,029 - DEBUG - VM ctest-TestRoutersBasic-58551445-68786441 is ready for SSH connections 2025-10-16 17:13:04,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 17:13:04,030 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.71.87.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-16 17:13:04,030 - DEBUG - ping -s 56 -c 3 -W 1 77.71.87.131 2025-10-16 17:13:08,132 - DEBUG - PING 77.71.87.131 (77.71.87.131): 56 data bytes 64 bytes from 77.71.87.131: seq=0 ttl=62 time=11.083 ms 64 bytes from 77.71.87.131: seq=1 ttl=62 time=1.721 ms 64 bytes from 77.71.87.131: seq=2 ttl=62 time=1.945 ms --- 77.71.87.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.721/4.916/11.083 ms 2025-10-16 17:13:08,132 - INFO - Ping to IP 77.71.87.131 from VM ctest-TestRoutersBasic-58551445-78439077 passed 2025-10-16 17:13:08,133 - INFO - Deleting interface with subnet_id 4605b960-5ee9-4ce4-8bb6-5333975bcd14, port_id None from router 40c80f7b-d932-45b0-a843-32ca444d555f 2025-10-16 17:13:08,438 - INFO - Deleting VM ctest-TestRoutersBasic-58551445-68786441 2025-10-16 17:13:08,528 - INFO - Deleting VM ctest-TestRoutersBasic-58551445-78439077 2025-10-16 17:13:08,617 - INFO - Deleting VN ctest-ext_vn-38211216 2025-10-16 17:13:08,711 - DEBUG - VN 7215c332-4877-4a43-b2a8-953bc6dbbe7b still in use: Unable to complete operation on network 7215c332-4877-4a43-b2a8-953bc6dbbe7b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e3e1851c-1c7c-4b72-8791-1fdad18427ba'] 2025-10-16 17:13:08,711 - WARNING - Deleting VN ctest-ext_vn-38211216 failed..Will retry 2025-10-16 17:13:10,886 - DEBUG - Response for deleting network () 2025-10-16 17:13:10,887 - INFO - Deleting VN ctest-vn-08551037 2025-10-16 17:13:11,021 - DEBUG - Response for deleting network () 2025-10-16 17:13:11,325 - DEBUG - No XMPP flaps were noticed during the test
2025-10-16 17:13:11,326 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-10-16 17:13:11,326 - INFO - -------------------------------------------------------------------------------- 2025-10-16 17:13:12,191 - INFO - Deleted project: ctest-TestRoutersBasic-58551445, ID : 07733ccb-d79a-449a-a5b6-bc5fd34ad43b