2025-06-19 10:36:46,360 - INFO - Domain Default found not creating 2025-06-19 10:36:46,522 - INFO - Project ctest-TestRoutersBasic-21210087 not found, creating it 2025-06-19 10:36:46,995 - INFO - Created Project:ctest-TestRoutersBasic-21210087, ID : 2b04dc1f-e20a-49ad-a5df-86757f14d0a3 2025-06-19 10:36:48,587 - INFO - ================================================================================ 2025-06-19 10:36:48,587 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-19 10:36:48,587 - 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-19 10:36:48,860 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-06-19 10:36:48,860 - INFO - Initial checks done. Running the testcase now 2025-06-19 10:36:48,860 - INFO - 2025-06-19 10:36:49,668 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-21210087 2025-06-19 10:36:49,771 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-21210087 2025-06-19 10:36:50,186 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21210087', 'default']} 2025-06-19 10:36:50,700 - DEBUG - Response for create_network : {'network': {'id': '468a58de-39fa-4009-8874-bf515b9a5ae5', 'name': 'ctest-vn-60207994', 'tenant_id': '2b04dc1fe20a49ada5df86757f14d0a3', 'project_id': '2b04dc1fe20a49ada5df86757f14d0a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21210087', 'ctest-vn-60207994'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 10:36:50,879 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eddf9e21-7e1f-45a4-b9de-f329487bf320', 'name': '', 'tenant_id': '2b04dc1fe20a49ada5df86757f14d0a3', 'network_id': '468a58de-39fa-4009-8874-bf515b9a5ae5', 'ip_version': 4, 'cidr': '207.32.208.0/26', 'allocation_pools': [{'start': '207.32.208.2', 'end': '207.32.208.62'}], 'gateway_ip': '207.32.208.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.32.208.2', 'tags': [], 'project_id': '2b04dc1fe20a49ada5df86757f14d0a3'}} 2025-06-19 10:36:50,901 - INFO - Created VN ctest-vn-60207994 2025-06-19 10:36:50,955 - DEBUG - VN ctest-vn-60207994 UUID is 468a58de-39fa-4009-8874-bf515b9a5ae5 2025-06-19 10:36:51,327 - DEBUG - Response for create_network : {'network': {'id': 'eebe28e6-79eb-4440-8e2b-8803542e54b9', 'name': 'ctest-ext_vn-77371848', 'tenant_id': '2b04dc1fe20a49ada5df86757f14d0a3', 'project_id': '2b04dc1fe20a49ada5df86757f14d0a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21210087', 'ctest-ext_vn-77371848'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 10:36:51,561 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a913c3b-cdac-43d4-b719-7e1f56c41432', 'name': '', 'tenant_id': '2b04dc1fe20a49ada5df86757f14d0a3', 'network_id': 'eebe28e6-79eb-4440-8e2b-8803542e54b9', 'ip_version': 4, 'cidr': '7.193.28.128/26', 'allocation_pools': [{'start': '7.193.28.130', 'end': '7.193.28.190'}], 'gateway_ip': '7.193.28.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.193.28.130', 'tags': [], 'project_id': '2b04dc1fe20a49ada5df86757f14d0a3'}} 2025-06-19 10:36:51,583 - INFO - Created VN ctest-ext_vn-77371848 2025-06-19 10:36:51,639 - DEBUG - VN ctest-ext_vn-77371848 UUID is eebe28e6-79eb-4440-8e2b-8803542e54b9 2025-06-19 10:36:51,814 - DEBUG - Services list from nova: [, , ] 2025-06-19 10:36:52,953 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3489-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3489-1) 2025-06-19 10:36:54,278 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3489-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3489-1) 2025-06-19 10:36:54,382 - INFO - Setting gateway for router 69a68099-55be-4fbe-8595-e2309a37fdac to network eebe28e6-79eb-4440-8e2b-8803542e54b9 2025-06-19 10:36:54,460 - INFO - Adding interface with subnet_id eddf9e21-7e1f-45a4-b9de-f329487bf320, port_id None to router 69a68099-55be-4fbe-8595-e2309a37fdac 2025-06-19 10:36:54,973 - INFO - Waiting for VM ctest-TestRoutersBasic-21210087-39159345 to be up.. 2025-06-19 10:36:55,269 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-19 10:37:00,366 - DEBUG - VM is in ACTIVE state now 2025-06-19 10:37:00,366 - INFO - VM name : ctest-TestRoutersBasic-21210087-39159345 2025-06-19 10:37:00,467 - DEBUG - VM ctest-TestRoutersBasic-21210087-39159345 ID is c85fadf0-2b41-4ce9-a125-a8861b7fb6c9 2025-06-19 10:37:00,495 - DEBUG - VM ctest-TestRoutersBasic-21210087-39159345 launched on Node cn-jenkins-deploy-platform-ansible-os-3489-1 2025-06-19 10:37:00,620 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/c85fadf0-2b41-4ce9-a125-a8861b7fb6c9 2025-06-19 10:37:00,983 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/c85fadf0-2b41-4ce9-a125-a8861b7fb6c9 2025-06-19 10:37:01,031 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/0b8b9321-7d88-4aa0-af71-5672f90e1ef1 2025-06-19 10:37:04,300 - 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 1002ms') 2025-06-19 10:37:04,300 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-21210087-39159345 failed! 2025-06-19 10:37:04,355 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-21210087:ctest-vn-60207994 is 207.32.208.1 and allocation pool is NOT set 2025-06-19 10:37:06,412 - 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=5.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.879 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.879/3.075/5.271/2.196 ms') 2025-06-19 10:37:06,412 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-21210087-39159345 passed 2025-06-19 10:37:06,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 10:37:06,567 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21210087-39159345, IP 207.32.208.3, Port 22 2025-06-19 10:37:06,726 - DEBUG - VM ctest-TestRoutersBasic-21210087-39159345 is ready for SSH connections 2025-06-19 10:37:06,726 - INFO - Waiting for VM ctest-TestRoutersBasic-21210087-88449528 to be up.. 2025-06-19 10:37:06,809 - DEBUG - VM is in ACTIVE state now 2025-06-19 10:37:06,809 - INFO - VM name : ctest-TestRoutersBasic-21210087-88449528 2025-06-19 10:37:06,908 - DEBUG - VM ctest-TestRoutersBasic-21210087-88449528 ID is a85030ab-33d7-4d55-8d3f-8201aa21b20e 2025-06-19 10:37:06,908 - DEBUG - VM ctest-TestRoutersBasic-21210087-88449528 launched on Node cn-jenkins-deploy-platform-ansible-os-3489-1 2025-06-19 10:37:06,993 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/a85030ab-33d7-4d55-8d3f-8201aa21b20e 2025-06-19 10:37:07,003 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/723345c9-b8db-4578-8e03-8e3e5384b3cd 2025-06-19 10:37:08,251 - 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=3.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.430 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.430/1.726/3.023/1.296 ms') 2025-06-19 10:37:08,251 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-21210087-88449528 passed 2025-06-19 10:37:08,407 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 10:37:08,407 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21210087-88449528, IP 7.193.28.131, Port 22 2025-06-19 10:37:08,562 - DEBUG - VM ctest-TestRoutersBasic-21210087-88449528 is ready for SSH connections 2025-06-19 10:37:08,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 10:37:08,562 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.193.28.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-06-19 10:37:08,563 - DEBUG - ping -s 56 -c 3 -W 1 7.193.28.131 2025-06-19 10:37:12,631 - DEBUG - PING 7.193.28.131 (7.193.28.131): 56 data bytes 64 bytes from 7.193.28.131: seq=0 ttl=62 time=5.865 ms 64 bytes from 7.193.28.131: seq=1 ttl=62 time=0.831 ms 64 bytes from 7.193.28.131: seq=2 ttl=62 time=1.031 ms --- 7.193.28.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.831/2.575/5.865 ms 2025-06-19 10:37:12,631 - INFO - Ping to IP 7.193.28.131 from VM ctest-TestRoutersBasic-21210087-39159345 passed 2025-06-19 10:37:12,631 - INFO - Deleting interface with subnet_id eddf9e21-7e1f-45a4-b9de-f329487bf320, port_id None from router 69a68099-55be-4fbe-8595-e2309a37fdac 2025-06-19 10:37:12,829 - INFO - Deleting VM ctest-TestRoutersBasic-21210087-88449528 2025-06-19 10:37:12,906 - INFO - Deleting VM ctest-TestRoutersBasic-21210087-39159345 2025-06-19 10:37:12,996 - INFO - Deleting VN ctest-ext_vn-77371848 2025-06-19 10:37:13,074 - DEBUG - VN eebe28e6-79eb-4440-8e2b-8803542e54b9 still in use: Unable to complete operation on network eebe28e6-79eb-4440-8e2b-8803542e54b9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-df58032b-3c5b-412a-b187-d6b257860a7d'] 2025-06-19 10:37:13,074 - WARNING - Deleting VN ctest-ext_vn-77371848 failed..Will retry 2025-06-19 10:37:15,187 - DEBUG - Response for deleting network () 2025-06-19 10:37:15,188 - INFO - Deleting VN ctest-vn-60207994 2025-06-19 10:37:15,316 - DEBUG - Response for deleting network () 2025-06-19 10:37:15,578 - DEBUG - No XMPP flaps were noticed during the test
2025-06-19 10:37:15,578 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-06-19 10:37:15,579 - INFO - -------------------------------------------------------------------------------- 2025-06-19 10:37:16,347 - INFO - Deleted project: ctest-TestRoutersBasic-21210087, ID : 2b04dc1f-e20a-49ad-a5df-86757f14d0a3