2025-05-17 14:40:38,880 - INFO - Domain Default found not creating 2025-05-17 14:40:39,188 - INFO - Project ctest-TestRoutersBasic-01104998 not found, creating it 2025-05-17 14:40:39,933 - INFO - Created Project:ctest-TestRoutersBasic-01104998, ID : 9beba0b0-6f6a-45f1-85c2-fe38f25e0553 2025-05-17 14:40:42,176 - INFO - ================================================================================ 2025-05-17 14:40:42,177 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-17 14:40:42,177 - 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-05-17 14:40:42,493 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-05-17 14:40:42,493 - INFO - Initial checks done. Running the testcase now 2025-05-17 14:40:42,493 - INFO - 2025-05-17 14:40:43,297 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-01104998 2025-05-17 14:40:43,414 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-01104998 2025-05-17 14:40:43,828 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01104998', 'default']} 2025-05-17 14:40:44,403 - DEBUG - Response for create_network : {'network': {'id': '63d1c384-9319-4b39-ac22-b5198476447d', 'name': 'ctest-vn-81804501', 'tenant_id': '9beba0b06f6a45f185c2fe38f25e0553', 'project_id': '9beba0b06f6a45f185c2fe38f25e0553', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01104998', 'ctest-vn-81804501'], 'port_security_enabled': True, 'description': ''}} 2025-05-17 14:40:44,603 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b49cb86-b46e-44b0-bb86-18c53205e135', 'name': '', 'tenant_id': '9beba0b06f6a45f185c2fe38f25e0553', 'network_id': '63d1c384-9319-4b39-ac22-b5198476447d', 'ip_version': 4, 'cidr': '23.2.45.128/26', 'allocation_pools': [{'start': '23.2.45.130', 'end': '23.2.45.190'}], 'gateway_ip': '23.2.45.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.2.45.130', 'tags': [], 'project_id': '9beba0b06f6a45f185c2fe38f25e0553'}} 2025-05-17 14:40:44,627 - INFO - Created VN ctest-vn-81804501 2025-05-17 14:40:44,685 - DEBUG - VN ctest-vn-81804501 UUID is 63d1c384-9319-4b39-ac22-b5198476447d 2025-05-17 14:40:45,253 - DEBUG - Response for create_network : {'network': {'id': '4bec9200-2069-42a6-a4e2-b75705ab94d0', 'name': 'ctest-ext_vn-52239425', 'tenant_id': '9beba0b06f6a45f185c2fe38f25e0553', 'project_id': '9beba0b06f6a45f185c2fe38f25e0553', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01104998', 'ctest-ext_vn-52239425'], 'port_security_enabled': True, 'description': ''}} 2025-05-17 14:40:45,542 - DEBUG - Response for create_subnet : {'subnet': {'id': '2681baa8-35a0-475e-80ae-946ec71dd226', 'name': '', 'tenant_id': '9beba0b06f6a45f185c2fe38f25e0553', 'network_id': '4bec9200-2069-42a6-a4e2-b75705ab94d0', 'ip_version': 4, 'cidr': '118.88.174.0/26', 'allocation_pools': [{'start': '118.88.174.2', 'end': '118.88.174.62'}], 'gateway_ip': '118.88.174.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.88.174.2', 'tags': [], 'project_id': '9beba0b06f6a45f185c2fe38f25e0553'}} 2025-05-17 14:40:45,574 - INFO - Created VN ctest-ext_vn-52239425 2025-05-17 14:40:45,649 - DEBUG - VN ctest-ext_vn-52239425 UUID is 4bec9200-2069-42a6-a4e2-b75705ab94d0 2025-05-17 14:40:45,988 - DEBUG - Services list from nova: [, , ] 2025-05-17 14:40:47,608 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3322-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3322-1) 2025-05-17 14:40:49,154 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3322-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3322-1) 2025-05-17 14:40:49,234 - INFO - Setting gateway for router fb777e52-d28e-439d-910a-fcd4516fb2d3 to network 4bec9200-2069-42a6-a4e2-b75705ab94d0 2025-05-17 14:40:49,284 - INFO - Adding interface with subnet_id 7b49cb86-b46e-44b0-bb86-18c53205e135, port_id None to router fb777e52-d28e-439d-910a-fcd4516fb2d3 2025-05-17 14:40:49,579 - INFO - Waiting for VM ctest-TestRoutersBasic-01104998-30478016 to be up.. 2025-05-17 14:40:49,734 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-17 14:40:54,949 - DEBUG - VM is in ACTIVE state now 2025-05-17 14:40:54,950 - INFO - VM name : ctest-TestRoutersBasic-01104998-30478016 2025-05-17 14:40:55,168 - DEBUG - VM ctest-TestRoutersBasic-01104998-30478016 ID is 70e0b058-ecdf-4c1b-8303-02ea5d4b2a2f 2025-05-17 14:40:55,216 - DEBUG - VM ctest-TestRoutersBasic-01104998-30478016 launched on Node cn-jenkins-deploy-platform-ansible-os-3322-1 2025-05-17 14:40:55,391 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/70e0b058-ecdf-4c1b-8303-02ea5d4b2a2f 2025-05-17 14:40:55,711 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/70e0b058-ecdf-4c1b-8303-02ea5d4b2a2f 2025-05-17 14:40:55,788 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d06b68dc-bee0-4bae-a014-7c9f9e09da87 2025-05-17 14:40:59,172 - 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 1029ms') 2025-05-17 14:40:59,172 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01104998-30478016 failed! 2025-05-17 14:40:59,249 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-01104998:ctest-vn-81804501 is 23.2.45.129 and allocation pool is NOT set 2025-05-17 14:41:01,324 - 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.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.18 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 = 1.181/2.805/4.429/1.624 ms') 2025-05-17 14:41:01,324 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01104998-30478016 passed 2025-05-17 14:41:01,484 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-17 14:41:01,485 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01104998-30478016, IP 23.2.45.131, Port 22 2025-05-17 14:41:01,668 - DEBUG - VM ctest-TestRoutersBasic-01104998-30478016 is ready for SSH connections 2025-05-17 14:41:01,669 - INFO - Waiting for VM ctest-TestRoutersBasic-01104998-00110811 to be up.. 2025-05-17 14:41:01,850 - DEBUG - VM is in ACTIVE state now 2025-05-17 14:41:01,850 - INFO - VM name : ctest-TestRoutersBasic-01104998-00110811 2025-05-17 14:41:01,975 - DEBUG - VM ctest-TestRoutersBasic-01104998-00110811 ID is 15817792-442f-493b-9440-d1400567e6e1 2025-05-17 14:41:01,975 - DEBUG - VM ctest-TestRoutersBasic-01104998-00110811 launched on Node cn-jenkins-deploy-platform-ansible-os-3322-1 2025-05-17 14:41:02,124 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/15817792-442f-493b-9440-d1400567e6e1 2025-05-17 14:41:02,138 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7a51405d-61d0-409a-9608-13667cbb9d93 2025-05-17 14:41:03,448 - 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=7.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.677 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.677/4.173/7.670/3.496 ms') 2025-05-17 14:41:03,449 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-01104998-00110811 passed 2025-05-17 14:41:03,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-17 14:41:03,637 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01104998-00110811, IP 118.88.174.3, Port 22 2025-05-17 14:41:03,813 - DEBUG - VM ctest-TestRoutersBasic-01104998-00110811 is ready for SSH connections 2025-05-17 14:41:03,814 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-17 14:41:03,814 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.88.174.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-17 14:41:03,815 - DEBUG - ping -s 56 -c 3 -W 1 118.88.174.3 2025-05-17 14:41:07,988 - DEBUG - PING 118.88.174.3 (118.88.174.3): 56 data bytes 64 bytes from 118.88.174.3: seq=0 ttl=62 time=8.764 ms 64 bytes from 118.88.174.3: seq=1 ttl=62 time=1.617 ms 64 bytes from 118.88.174.3: seq=2 ttl=62 time=1.903 ms --- 118.88.174.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.617/4.094/8.764 ms 2025-05-17 14:41:07,989 - INFO - Ping to IP 118.88.174.3 from VM ctest-TestRoutersBasic-01104998-30478016 passed 2025-05-17 14:41:07,989 - INFO - Deleting interface with subnet_id 7b49cb86-b46e-44b0-bb86-18c53205e135, port_id None from router fb777e52-d28e-439d-910a-fcd4516fb2d3 2025-05-17 14:41:08,308 - INFO - Deleting VM ctest-TestRoutersBasic-01104998-00110811 2025-05-17 14:41:08,392 - INFO - Deleting VM ctest-TestRoutersBasic-01104998-30478016 2025-05-17 14:41:08,468 - INFO - Deleting VN ctest-ext_vn-52239425 2025-05-17 14:41:08,553 - DEBUG - VN 4bec9200-2069-42a6-a4e2-b75705ab94d0 still in use: Unable to complete operation on network 4bec9200-2069-42a6-a4e2-b75705ab94d0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-03b095c8-4007-48aa-8459-5dcf4c179a7f'] 2025-05-17 14:41:08,553 - WARNING - Deleting VN ctest-ext_vn-52239425 failed..Will retry 2025-05-17 14:41:10,796 - DEBUG - Response for deleting network () 2025-05-17 14:41:10,796 - INFO - Deleting VN ctest-vn-81804501 2025-05-17 14:41:10,910 - DEBUG - Response for deleting network () 2025-05-17 14:41:11,232 - DEBUG - No XMPP flaps were noticed during the test 2025-05-17 14:41:11,232 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29] 2025-05-17 14:41:11,233 - INFO - -------------------------------------------------------------------------------- 2025-05-17 14:41:12,201 - INFO - Deleted project: ctest-TestRoutersBasic-01104998, ID : 9beba0b0-6f6a-45f1-85c2-fe38f25e0553