2025-06-15 16:58:31,217 - INFO - Domain Default found not creating 2025-06-15 16:58:31,364 - INFO - Project ctest-TestRoutersBasic-15075818 not found, creating it 2025-06-15 16:58:31,824 - INFO - Created Project:ctest-TestRoutersBasic-15075818, ID : 545b688f-8434-488a-9faf-61a0302e969a 2025-06-15 16:58:33,358 - INFO - ================================================================================ 2025-06-15 16:58:33,358 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-15 16:58:33,358 - 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-06-15 16:58:33,615 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-06-15 16:58:33,615 - INFO - Initial checks done. Running the testcase now 2025-06-15 16:58:33,615 - INFO - 2025-06-15 16:58:34,400 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-15075818 2025-06-15 16:58:34,496 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-15075818 2025-06-15 16:58:34,820 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15075818', 'default']} 2025-06-15 16:58:35,110 - DEBUG - Response for create_network : {'network': {'id': '64ebd699-c83b-497f-9fb4-6dd4f47a5093', 'name': 'ctest-vn-16955584', 'tenant_id': '545b688f8434488a9faf61a0302e969a', 'project_id': '545b688f8434488a9faf61a0302e969a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15075818', 'ctest-vn-16955584'], 'port_security_enabled': True, 'description': ''}} 2025-06-15 16:58:35,271 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c14fc022-31a3-47e9-88f9-28cc3b35be1a', 'name': '', 'tenant_id': '545b688f8434488a9faf61a0302e969a', 'network_id': '64ebd699-c83b-497f-9fb4-6dd4f47a5093', 'ip_version': 4, 'cidr': '130.161.188.0/26', 'allocation_pools': [{'start': '130.161.188.2', 'end': '130.161.188.62'}], 'gateway_ip': '130.161.188.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.161.188.2', 'tags': [], 'project_id': '545b688f8434488a9faf61a0302e969a'}} 2025-06-15 16:58:35,290 - INFO - Created VN ctest-vn-16955584 2025-06-15 16:58:35,348 - DEBUG - VN ctest-vn-16955584 UUID is 64ebd699-c83b-497f-9fb4-6dd4f47a5093 2025-06-15 16:58:35,672 - DEBUG - Response for create_network : {'network': {'id': 'bcd7e2a4-c4f3-4060-98b1-ba0a157e9278', 'name': 'ctest-ext_vn-22020831', 'tenant_id': '545b688f8434488a9faf61a0302e969a', 'project_id': '545b688f8434488a9faf61a0302e969a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15075818', 'ctest-ext_vn-22020831'], 'port_security_enabled': True, 'description': ''}} 2025-06-15 16:58:35,883 - DEBUG - Response for create_subnet : {'subnet': {'id': '32b4a0ca-bd62-45cf-a955-dbc472662c95', 'name': '', 'tenant_id': '545b688f8434488a9faf61a0302e969a', 'network_id': 'bcd7e2a4-c4f3-4060-98b1-ba0a157e9278', 'ip_version': 4, 'cidr': '164.191.152.64/26', 'allocation_pools': [{'start': '164.191.152.66', 'end': '164.191.152.126'}], 'gateway_ip': '164.191.152.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.191.152.66', 'tags': [], 'project_id': '545b688f8434488a9faf61a0302e969a'}} 2025-06-15 16:58:35,905 - INFO - Created VN ctest-ext_vn-22020831 2025-06-15 16:58:35,960 - DEBUG - VN ctest-ext_vn-22020831 UUID is bcd7e2a4-c4f3-4060-98b1-ba0a157e9278 2025-06-15 16:58:36,119 - DEBUG - Services list from nova: [, , ] 2025-06-15 16:58:37,197 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3453-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3453-1) 2025-06-15 16:58:38,392 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3453-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3453-1) 2025-06-15 16:58:38,466 - INFO - Setting gateway for router 7a3f3153-8a60-4c5e-9977-c1a15f7f38db to network bcd7e2a4-c4f3-4060-98b1-ba0a157e9278 2025-06-15 16:58:38,540 - INFO - Adding interface with subnet_id c14fc022-31a3-47e9-88f9-28cc3b35be1a, port_id None to router 7a3f3153-8a60-4c5e-9977-c1a15f7f38db 2025-06-15 16:58:38,898 - INFO - Waiting for VM ctest-TestRoutersBasic-15075818-39152568 to be up.. 2025-06-15 16:58:39,094 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-15 16:58:44,174 - DEBUG - VM is in ACTIVE state now 2025-06-15 16:58:44,174 - INFO - VM name : ctest-TestRoutersBasic-15075818-39152568 2025-06-15 16:58:44,246 - DEBUG - VM ctest-TestRoutersBasic-15075818-39152568 ID is 5351296a-050a-4758-bc16-830af52bfc08 2025-06-15 16:58:44,264 - DEBUG - VM ctest-TestRoutersBasic-15075818-39152568 launched on Node cn-jenkins-deploy-platform-ansible-os-3453-1 2025-06-15 16:58:44,333 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/5351296a-050a-4758-bc16-830af52bfc08 2025-06-15 16:58:44,668 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/5351296a-050a-4758-bc16-830af52bfc08 2025-06-15 16:58:44,699 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/5c417cb7-6186-46fc-9516-977049f9f2ef 2025-06-15 16:58:47,943 - 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 1001ms') 2025-06-15 16:58:47,943 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15075818-39152568 failed! 2025-06-15 16:58:48,000 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-15075818:ctest-vn-16955584 is 130.161.188.1 and allocation pool is NOT set 2025-06-15 16:58:50,067 - 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.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.12 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 = 2.117/3.152/4.188/1.035 ms') 2025-06-15 16:58:50,067 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15075818-39152568 passed 2025-06-15 16:58:50,220 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-15 16:58:50,220 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15075818-39152568, IP 130.161.188.3, Port 22 2025-06-15 16:58:50,379 - DEBUG - VM ctest-TestRoutersBasic-15075818-39152568 is ready for SSH connections 2025-06-15 16:58:50,379 - INFO - Waiting for VM ctest-TestRoutersBasic-15075818-55668322 to be up.. 2025-06-15 16:58:50,454 - DEBUG - VM is in ACTIVE state now 2025-06-15 16:58:50,454 - INFO - VM name : ctest-TestRoutersBasic-15075818-55668322 2025-06-15 16:58:50,525 - DEBUG - VM ctest-TestRoutersBasic-15075818-55668322 ID is 9f1c9d43-32f4-4795-9993-1b5f77d3cf22 2025-06-15 16:58:50,525 - DEBUG - VM ctest-TestRoutersBasic-15075818-55668322 launched on Node cn-jenkins-deploy-platform-ansible-os-3453-1 2025-06-15 16:58:50,598 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/9f1c9d43-32f4-4795-9993-1b5f77d3cf22 2025-06-15 16:58:50,621 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/1af09c03-6707-4ddd-b690-dde7cb6207d3 2025-06-15 16:58:51,870 - 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=1.32 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 = 1.324/2.744/4.164/1.420 ms') 2025-06-15 16:58:51,870 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-15075818-55668322 passed 2025-06-15 16:58:52,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-15 16:58:52,024 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15075818-55668322, IP 164.191.152.67, Port 22 2025-06-15 16:58:52,179 - DEBUG - VM ctest-TestRoutersBasic-15075818-55668322 is ready for SSH connections 2025-06-15 16:58:52,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-15 16:58:52,179 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.191.152.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-06-15 16:58:52,179 - DEBUG - ping -s 56 -c 3 -W 1 164.191.152.67 2025-06-15 16:58:56,235 - DEBUG - PING 164.191.152.67 (164.191.152.67): 56 data bytes 64 bytes from 164.191.152.67: seq=0 ttl=62 time=8.588 ms 64 bytes from 164.191.152.67: seq=1 ttl=62 time=0.875 ms 64 bytes from 164.191.152.67: seq=2 ttl=62 time=1.249 ms --- 164.191.152.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.875/3.570/8.588 ms 2025-06-15 16:58:56,235 - INFO - Ping to IP 164.191.152.67 from VM ctest-TestRoutersBasic-15075818-39152568 passed 2025-06-15 16:58:56,235 - INFO - Deleting interface with subnet_id c14fc022-31a3-47e9-88f9-28cc3b35be1a, port_id None from router 7a3f3153-8a60-4c5e-9977-c1a15f7f38db 2025-06-15 16:58:56,417 - INFO - Deleting VM ctest-TestRoutersBasic-15075818-55668322 2025-06-15 16:58:56,484 - INFO - Deleting VM ctest-TestRoutersBasic-15075818-39152568 2025-06-15 16:58:56,550 - INFO - Deleting VN ctest-ext_vn-22020831 2025-06-15 16:58:56,638 - DEBUG - VN bcd7e2a4-c4f3-4060-98b1-ba0a157e9278 still in use: Unable to complete operation on network bcd7e2a4-c4f3-4060-98b1-ba0a157e9278. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3012417a-5f34-47d8-8538-330b210afc81'] 2025-06-15 16:58:56,638 - WARNING - Deleting VN ctest-ext_vn-22020831 failed..Will retry 2025-06-15 16:58:58,765 - DEBUG - Response for deleting network () 2025-06-15 16:58:58,765 - INFO - Deleting VN ctest-vn-16955584 2025-06-15 16:58:58,906 - DEBUG - Response for deleting network () 2025-06-15 16:58:59,166 - DEBUG - No XMPP flaps were noticed during the test 2025-06-15 16:58:59,166 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-06-15 16:58:59,166 - INFO - -------------------------------------------------------------------------------- 2025-06-15 16:58:59,877 - INFO - Deleted project: ctest-TestRoutersBasic-15075818, ID : 545b688f-8434-488a-9faf-61a0302e969a