2025-03-30 14:27:23,467 - INFO - Domain Default found not creating 2025-03-30 14:27:23,604 - INFO - Project ctest-TestRoutersBasic-14911423 not found, creating it 2025-03-30 14:27:24,058 - INFO - Created Project:ctest-TestRoutersBasic-14911423, ID : d4640b46-be39-435d-872b-32942d269c88 2025-03-30 14:27:25,445 - INFO - ================================================================================ 2025-03-30 14:27:25,445 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-03-30 14:27:25,445 - 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-03-30 14:27:25,703 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.12': '0'}} with 2025-03-30 14:27:25,703 - INFO - Initial checks done. Running the testcase now 2025-03-30 14:27:25,703 - INFO - 2025-03-30 14:27:26,396 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-14911423 2025-03-30 14:27:26,501 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-14911423 2025-03-30 14:27:26,833 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14911423', 'default']} 2025-03-30 14:27:27,130 - DEBUG - Response for create_network : {'network': {'id': 'c1dfda24-8a95-4f1c-a1c0-aa6886f70e67', 'name': 'ctest-vn-29272214', 'tenant_id': 'd4640b46be39435d872b32942d269c88', 'project_id': 'd4640b46be39435d872b32942d269c88', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14911423', 'ctest-vn-29272214'], 'port_security_enabled': True, 'description': ''}} 2025-03-30 14:27:27,319 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5bc4fe8-cce2-40cd-a896-9685ff470cf3', 'name': '', 'tenant_id': 'd4640b46be39435d872b32942d269c88', 'network_id': 'c1dfda24-8a95-4f1c-a1c0-aa6886f70e67', 'ip_version': 4, 'cidr': '34.158.45.0/26', 'allocation_pools': [{'start': '34.158.45.2', 'end': '34.158.45.62'}], 'gateway_ip': '34.158.45.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.158.45.2', 'tags': [], 'project_id': 'd4640b46be39435d872b32942d269c88'}} 2025-03-30 14:27:27,337 - INFO - Created VN ctest-vn-29272214 2025-03-30 14:27:27,393 - DEBUG - VN ctest-vn-29272214 UUID is c1dfda24-8a95-4f1c-a1c0-aa6886f70e67 2025-03-30 14:27:27,750 - DEBUG - Response for create_network : {'network': {'id': 'd1aac983-d901-4e5d-9f9a-15359c26251d', 'name': 'ctest-ext_vn-98403475', 'tenant_id': 'd4640b46be39435d872b32942d269c88', 'project_id': 'd4640b46be39435d872b32942d269c88', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14911423', 'ctest-ext_vn-98403475'], 'port_security_enabled': True, 'description': ''}} 2025-03-30 14:27:27,958 - DEBUG - Response for create_subnet : {'subnet': {'id': '0bee011c-ed39-4de7-b6e6-74dffb63f250', 'name': '', 'tenant_id': 'd4640b46be39435d872b32942d269c88', 'network_id': 'd1aac983-d901-4e5d-9f9a-15359c26251d', 'ip_version': 4, 'cidr': '7.136.81.64/26', 'allocation_pools': [{'start': '7.136.81.66', 'end': '7.136.81.126'}], 'gateway_ip': '7.136.81.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.136.81.66', 'tags': [], 'project_id': 'd4640b46be39435d872b32942d269c88'}} 2025-03-30 14:27:27,976 - INFO - Created VN ctest-ext_vn-98403475 2025-03-30 14:27:28,033 - DEBUG - VN ctest-ext_vn-98403475 UUID is d1aac983-d901-4e5d-9f9a-15359c26251d 2025-03-30 14:27:28,225 - DEBUG - Services list from nova: [, , ] 2025-03-30 14:27:29,278 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3007-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3007-1) 2025-03-30 14:27:30,442 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3007-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3007-1) 2025-03-30 14:27:30,529 - INFO - Setting gateway for router e9722d62-f063-496d-a8a0-1949d31b2e29 to network d1aac983-d901-4e5d-9f9a-15359c26251d 2025-03-30 14:27:30,615 - INFO - Adding interface with subnet_id c5bc4fe8-cce2-40cd-a896-9685ff470cf3, port_id None to router e9722d62-f063-496d-a8a0-1949d31b2e29 2025-03-30 14:27:31,084 - INFO - Waiting for VM ctest-TestRoutersBasic-14911423-11564643 to be up.. 2025-03-30 14:27:31,271 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-30 14:27:36,356 - DEBUG - VM is in ACTIVE state now 2025-03-30 14:27:36,356 - INFO - VM name : ctest-TestRoutersBasic-14911423-11564643 2025-03-30 14:27:36,433 - DEBUG - VM ctest-TestRoutersBasic-14911423-11564643 ID is c6f5d321-11b1-45c9-a06e-887b1c84a811 2025-03-30 14:27:36,451 - DEBUG - VM ctest-TestRoutersBasic-14911423-11564643 launched on Node cn-jenkins-deploy-platform-ansible-os-3007-1 2025-03-30 14:27:36,536 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/c6f5d321-11b1-45c9-a06e-887b1c84a811 2025-03-30 14:27:36,833 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/c6f5d321-11b1-45c9-a06e-887b1c84a811 2025-03-30 14:27:36,863 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/65a56fa3-e881-4fff-9157-05d17d67a6a2 2025-03-30 14:27:40,112 - 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 1006ms') 2025-03-30 14:27:40,112 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-14911423-11564643 failed! 2025-03-30 14:27:40,169 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-14911423:ctest-vn-29272214 is 34.158.45.1 and allocation pool is NOT set 2025-03-30 14:27:42,236 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.18 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.182/3.443/4.705/1.261 ms') 2025-03-30 14:27:42,236 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-14911423-11564643 passed 2025-03-30 14:27:42,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-30 14:27:42,385 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14911423-11564643, IP 34.158.45.3, Port 22 2025-03-30 14:27:42,540 - DEBUG - VM ctest-TestRoutersBasic-14911423-11564643 is ready for SSH connections 2025-03-30 14:27:42,540 - INFO - Waiting for VM ctest-TestRoutersBasic-14911423-25285760 to be up.. 2025-03-30 14:27:42,627 - DEBUG - VM is in ACTIVE state now 2025-03-30 14:27:42,627 - INFO - VM name : ctest-TestRoutersBasic-14911423-25285760 2025-03-30 14:27:42,697 - DEBUG - VM ctest-TestRoutersBasic-14911423-25285760 ID is 0924ec8d-9680-4972-a013-82a9e7b37a36 2025-03-30 14:27:42,697 - DEBUG - VM ctest-TestRoutersBasic-14911423-25285760 launched on Node cn-jenkins-deploy-platform-ansible-os-3007-1 2025-03-30 14:27:42,769 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/0924ec8d-9680-4972-a013-82a9e7b37a36 2025-03-30 14:27:42,777 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/31b1ae10-5c98-41c9-8f41-6de984517f80 2025-03-30 14:27:44,022 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.497 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.497/1.400/2.304/0.903 ms') 2025-03-30 14:27:44,022 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-14911423-25285760 passed 2025-03-30 14:27:44,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-30 14:27:44,173 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14911423-25285760, IP 7.136.81.67, Port 22 2025-03-30 14:27:44,329 - DEBUG - VM ctest-TestRoutersBasic-14911423-25285760 is ready for SSH connections 2025-03-30 14:27:44,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-30 14:27:44,329 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.136.81.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-03-30 14:27:44,329 - DEBUG - ping -s 56 -c 3 -W 1 7.136.81.67 2025-03-30 14:27:48,341 - DEBUG - PING 7.136.81.67 (7.136.81.67): 56 data bytes 64 bytes from 7.136.81.67: seq=0 ttl=62 time=5.755 ms 64 bytes from 7.136.81.67: seq=1 ttl=62 time=1.527 ms 64 bytes from 7.136.81.67: seq=2 ttl=62 time=1.319 ms --- 7.136.81.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.319/2.867/5.755 ms 2025-03-30 14:27:48,341 - INFO - Ping to IP 7.136.81.67 from VM ctest-TestRoutersBasic-14911423-11564643 passed 2025-03-30 14:27:48,342 - INFO - Deleting interface with subnet_id c5bc4fe8-cce2-40cd-a896-9685ff470cf3, port_id None from router e9722d62-f063-496d-a8a0-1949d31b2e29 2025-03-30 14:27:48,604 - INFO - Deleting VM ctest-TestRoutersBasic-14911423-25285760 2025-03-30 14:27:48,670 - INFO - Deleting VM ctest-TestRoutersBasic-14911423-11564643 2025-03-30 14:27:48,740 - INFO - Deleting VN ctest-ext_vn-98403475 2025-03-30 14:27:48,824 - DEBUG - VN d1aac983-d901-4e5d-9f9a-15359c26251d still in use: Unable to complete operation on network d1aac983-d901-4e5d-9f9a-15359c26251d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2b88d6c5-85e6-4946-87e2-f66b94ca0ca3'] 2025-03-30 14:27:48,824 - WARNING - Deleting VN ctest-ext_vn-98403475 failed..Will retry 2025-03-30 14:27:50,954 - DEBUG - Response for deleting network () 2025-03-30 14:27:50,955 - INFO - Deleting VN ctest-vn-29272214 2025-03-30 14:27:51,090 - DEBUG - Response for deleting network () 2025-03-30 14:27:51,351 - DEBUG - No XMPP flaps were noticed during the test
2025-03-30 14:27:51,351 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-03-30 14:27:51,351 - INFO - -------------------------------------------------------------------------------- 2025-03-30 14:27:52,030 - INFO - Deleted project: ctest-TestRoutersBasic-14911423, ID : d4640b46-be39-435d-872b-32942d269c88