2025-04-26 20:56:05,182 - INFO - Domain Default found not creating 2025-04-26 20:56:05,295 - INFO - Project ctest-TestRoutersBasic-71150174 not found, creating it 2025-04-26 20:56:05,755 - INFO - Created Project:ctest-TestRoutersBasic-71150174, ID : 2b4e32f8-672a-4a05-a91e-1860cf5008f0 2025-04-26 20:56:07,041 - INFO - ================================================================================ 2025-04-26 20:56:07,041 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-26 20:56:07,041 - 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-04-26 20:56:07,297 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-26 20:56:07,297 - INFO - Initial checks done. Running the testcase now 2025-04-26 20:56:07,297 - INFO - 2025-04-26 20:56:07,968 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-71150174 2025-04-26 20:56:08,068 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-71150174 2025-04-26 20:56:08,388 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71150174', 'default']} 2025-04-26 20:56:08,665 - DEBUG - Response for create_network : {'network': {'id': '20c93024-baaa-4892-8c1c-1487e5aa2c3e', 'name': 'ctest-vn-47261465', 'tenant_id': '2b4e32f8672a4a05a91e1860cf5008f0', 'project_id': '2b4e32f8672a4a05a91e1860cf5008f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71150174', 'ctest-vn-47261465'], 'port_security_enabled': True, 'description': ''}} 2025-04-26 20:56:08,856 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b30a0607-1cab-4352-9f03-f42e07e9a687', 'name': '', 'tenant_id': '2b4e32f8672a4a05a91e1860cf5008f0', 'network_id': '20c93024-baaa-4892-8c1c-1487e5aa2c3e', 'ip_version': 4, 'cidr': '185.109.12.0/26', 'allocation_pools': [{'start': '185.109.12.2', 'end': '185.109.12.62'}], 'gateway_ip': '185.109.12.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.109.12.2', 'tags': [], 'project_id': '2b4e32f8672a4a05a91e1860cf5008f0'}} 2025-04-26 20:56:08,870 - INFO - Created VN ctest-vn-47261465 2025-04-26 20:56:08,920 - DEBUG - VN ctest-vn-47261465 UUID is 20c93024-baaa-4892-8c1c-1487e5aa2c3e 2025-04-26 20:56:09,224 - DEBUG - Response for create_network : {'network': {'id': 'c5db58d3-b69e-448a-938b-ddb86e3f24a3', 'name': 'ctest-ext_vn-85422864', 'tenant_id': '2b4e32f8672a4a05a91e1860cf5008f0', 'project_id': '2b4e32f8672a4a05a91e1860cf5008f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71150174', 'ctest-ext_vn-85422864'], 'port_security_enabled': True, 'description': ''}} 2025-04-26 20:56:09,413 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf0d55e1-7a49-4046-8607-1a962d449502', 'name': '', 'tenant_id': '2b4e32f8672a4a05a91e1860cf5008f0', 'network_id': 'c5db58d3-b69e-448a-938b-ddb86e3f24a3', 'ip_version': 4, 'cidr': '174.205.33.192/26', 'allocation_pools': [{'start': '174.205.33.194', 'end': '174.205.33.254'}], 'gateway_ip': '174.205.33.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.205.33.194', 'tags': [], 'project_id': '2b4e32f8672a4a05a91e1860cf5008f0'}} 2025-04-26 20:56:09,428 - INFO - Created VN ctest-ext_vn-85422864 2025-04-26 20:56:09,484 - DEBUG - VN ctest-ext_vn-85422864 UUID is c5db58d3-b69e-448a-938b-ddb86e3f24a3 2025-04-26 20:56:09,669 - DEBUG - Services list from nova: [, , ] 2025-04-26 20:56:10,596 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3225-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3225-1) 2025-04-26 20:56:11,633 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3225-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3225-1) 2025-04-26 20:56:11,765 - INFO - Setting gateway for router 72d03c59-edad-456e-bbdb-82aa90224dee to network c5db58d3-b69e-448a-938b-ddb86e3f24a3 2025-04-26 20:56:11,853 - INFO - Adding interface with subnet_id b30a0607-1cab-4352-9f03-f42e07e9a687, port_id None to router 72d03c59-edad-456e-bbdb-82aa90224dee 2025-04-26 20:56:12,257 - INFO - Waiting for VM ctest-TestRoutersBasic-71150174-76744064 to be up.. 2025-04-26 20:56:12,454 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-26 20:56:17,522 - DEBUG - VM is in ACTIVE state now 2025-04-26 20:56:17,522 - INFO - VM name : ctest-TestRoutersBasic-71150174-76744064 2025-04-26 20:56:17,585 - DEBUG - VM ctest-TestRoutersBasic-71150174-76744064 ID is 6f522f23-e79e-4cb6-80bf-3ca8b7b783b5 2025-04-26 20:56:17,601 - DEBUG - VM ctest-TestRoutersBasic-71150174-76744064 launched on Node cn-jenkins-deploy-platform-ansible-os-3225-1 2025-04-26 20:56:17,663 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6f522f23-e79e-4cb6-80bf-3ca8b7b783b5 2025-04-26 20:56:17,965 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6f522f23-e79e-4cb6-80bf-3ca8b7b783b5 2025-04-26 20:56:17,993 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f18907b1-f993-4c46-affc-196521daa2c8 2025-04-26 20:56:21,251 - 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=2 ttl=63 time=12.6 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1024ms\r\nrtt min/avg/max/mdev = 12.625/12.625/12.625/0.000 ms') 2025-04-26 20:56:21,251 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71150174-76744064 passed 2025-04-26 20:56:21,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 20:56:21,404 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71150174-76744064, IP 185.109.12.3, Port 22 2025-04-26 20:56:21,563 - DEBUG - VM ctest-TestRoutersBasic-71150174-76744064 is ready for SSH connections 2025-04-26 20:56:21,563 - INFO - Waiting for VM ctest-TestRoutersBasic-71150174-81494238 to be up.. 2025-04-26 20:56:21,629 - DEBUG - VM is in ACTIVE state now 2025-04-26 20:56:21,629 - INFO - VM name : ctest-TestRoutersBasic-71150174-81494238 2025-04-26 20:56:21,701 - DEBUG - VM ctest-TestRoutersBasic-71150174-81494238 ID is 02fc3458-89da-40e6-baa2-1a4ee22927ec 2025-04-26 20:56:21,701 - DEBUG - VM ctest-TestRoutersBasic-71150174-81494238 launched on Node cn-jenkins-deploy-platform-ansible-os-3225-1 2025-04-26 20:56:21,769 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/02fc3458-89da-40e6-baa2-1a4ee22927ec 2025-04-26 20:56:21,787 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d9b2e3bc-8f3b-4ea8-879f-9532b988870b 2025-04-26 20:56:23,012 - 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=2.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.315 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.315/1.486/2.657/1.171 ms') 2025-04-26 20:56:23,012 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-71150174-81494238 passed 2025-04-26 20:56:23,172 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 20:56:23,172 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71150174-81494238, IP 174.205.33.195, Port 22 2025-04-26 20:56:23,327 - DEBUG - VM ctest-TestRoutersBasic-71150174-81494238 is ready for SSH connections 2025-04-26 20:56:23,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 20:56:23,327 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.205.33.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-26 20:56:23,327 - DEBUG - ping -s 56 -c 3 -W 1 174.205.33.195 2025-04-26 20:56:26,992 - DEBUG - PING 174.205.33.195 (174.205.33.195): 56 data bytes 64 bytes from 174.205.33.195: seq=0 ttl=62 time=4.740 ms 64 bytes from 174.205.33.195: seq=1 ttl=62 time=0.653 ms 64 bytes from 174.205.33.195: seq=2 ttl=62 time=0.876 ms --- 174.205.33.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.653/2.089/4.740 ms 2025-04-26 20:56:26,993 - INFO - Ping to IP 174.205.33.195 from VM ctest-TestRoutersBasic-71150174-76744064 passed 2025-04-26 20:56:26,993 - INFO - Deleting interface with subnet_id b30a0607-1cab-4352-9f03-f42e07e9a687, port_id None from router 72d03c59-edad-456e-bbdb-82aa90224dee 2025-04-26 20:56:27,179 - INFO - Deleting VM ctest-TestRoutersBasic-71150174-81494238 2025-04-26 20:56:27,243 - INFO - Deleting VM ctest-TestRoutersBasic-71150174-76744064 2025-04-26 20:56:27,322 - INFO - Deleting VN ctest-ext_vn-85422864 2025-04-26 20:56:27,378 - DEBUG - VN c5db58d3-b69e-448a-938b-ddb86e3f24a3 still in use: Unable to complete operation on network c5db58d3-b69e-448a-938b-ddb86e3f24a3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c19caa0b-aa75-4a29-9f41-6e3131a2955a'] 2025-04-26 20:56:27,378 - WARNING - Deleting VN ctest-ext_vn-85422864 failed..Will retry 2025-04-26 20:56:29,480 - DEBUG - Response for deleting network () 2025-04-26 20:56:29,480 - INFO - Deleting VN ctest-vn-47261465 2025-04-26 20:56:29,581 - DEBUG - Response for deleting network () 2025-04-26 20:56:29,840 - DEBUG - No XMPP flaps were noticed during the test 2025-04-26 20:56:29,840 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:22] 2025-04-26 20:56:29,840 - INFO - -------------------------------------------------------------------------------- 2025-04-26 20:56:30,476 - INFO - Deleted project: ctest-TestRoutersBasic-71150174, ID : 2b4e32f8-672a-4a05-a91e-1860cf5008f0