2025-06-12 02:09:47,668 - INFO - Domain Default found not creating 2025-06-12 02:09:47,820 - INFO - Project ctest-TestRoutersBasic-77564765 not found, creating it 2025-06-12 02:09:48,279 - INFO - Created Project:ctest-TestRoutersBasic-77564765, ID : 70790e9f-b550-4fa3-a2cc-928263e6e480 2025-06-12 02:09:49,671 - INFO - ================================================================================ 2025-06-12 02:09:49,671 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-12 02:09:49,671 - 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-12 02:09:49,925 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.201': '0'}} with 2025-06-12 02:09:49,925 - INFO - Initial checks done. Running the testcase now 2025-06-12 02:09:49,925 - INFO - 2025-06-12 02:09:50,617 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-77564765 2025-06-12 02:09:50,711 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-77564765 2025-06-12 02:09:51,031 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77564765', 'default']} 2025-06-12 02:09:51,326 - DEBUG - Response for create_network : {'network': {'id': '450527fc-da00-489c-ac74-cc17c258dda1', 'name': 'ctest-vn-25974790', 'tenant_id': '70790e9fb5504fa3a2cc928263e6e480', 'project_id': '70790e9fb5504fa3a2cc928263e6e480', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77564765', 'ctest-vn-25974790'], 'port_security_enabled': True, 'description': ''}} 2025-06-12 02:09:51,557 - DEBUG - Response for create_subnet : {'subnet': {'id': '77814896-b419-40b5-b804-47bed9bb81f3', 'name': '', 'tenant_id': '70790e9fb5504fa3a2cc928263e6e480', 'network_id': '450527fc-da00-489c-ac74-cc17c258dda1', 'ip_version': 4, 'cidr': '68.15.136.64/26', 'allocation_pools': [{'start': '68.15.136.66', 'end': '68.15.136.126'}], 'gateway_ip': '68.15.136.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.15.136.66', 'tags': [], 'project_id': '70790e9fb5504fa3a2cc928263e6e480'}} 2025-06-12 02:09:51,576 - INFO - Created VN ctest-vn-25974790 2025-06-12 02:09:51,631 - DEBUG - VN ctest-vn-25974790 UUID is 450527fc-da00-489c-ac74-cc17c258dda1 2025-06-12 02:09:51,990 - DEBUG - Response for create_network : {'network': {'id': '39895a3d-ed2a-467b-9e45-6bc66a3a001d', 'name': 'ctest-ext_vn-72016538', 'tenant_id': '70790e9fb5504fa3a2cc928263e6e480', 'project_id': '70790e9fb5504fa3a2cc928263e6e480', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77564765', 'ctest-ext_vn-72016538'], 'port_security_enabled': True, 'description': ''}} 2025-06-12 02:09:52,338 - DEBUG - Response for create_subnet : {'subnet': {'id': '59e7bf7a-0414-45d4-bb46-b7bf9909334c', 'name': '', 'tenant_id': '70790e9fb5504fa3a2cc928263e6e480', 'network_id': '39895a3d-ed2a-467b-9e45-6bc66a3a001d', 'ip_version': 4, 'cidr': '44.158.35.64/26', 'allocation_pools': [{'start': '44.158.35.66', 'end': '44.158.35.126'}], 'gateway_ip': '44.158.35.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.158.35.66', 'tags': [], 'project_id': '70790e9fb5504fa3a2cc928263e6e480'}} 2025-06-12 02:09:52,358 - INFO - Created VN ctest-ext_vn-72016538 2025-06-12 02:09:52,411 - DEBUG - VN ctest-ext_vn-72016538 UUID is 39895a3d-ed2a-467b-9e45-6bc66a3a001d 2025-06-12 02:09:52,577 - DEBUG - Services list from nova: [, , ] 2025-06-12 02:09:53,567 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3449-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3449-1) 2025-06-12 02:09:54,683 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3449-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3449-1) 2025-06-12 02:09:54,765 - INFO - Setting gateway for router 63321c09-7662-4243-95ae-ed17752fd77f to network 39895a3d-ed2a-467b-9e45-6bc66a3a001d 2025-06-12 02:09:54,850 - INFO - Adding interface with subnet_id 77814896-b419-40b5-b804-47bed9bb81f3, port_id None to router 63321c09-7662-4243-95ae-ed17752fd77f 2025-06-12 02:09:55,361 - INFO - Waiting for VM ctest-TestRoutersBasic-77564765-52195818 to be up.. 2025-06-12 02:09:55,580 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-12 02:10:00,663 - DEBUG - VM is in ACTIVE state now 2025-06-12 02:10:00,663 - INFO - VM name : ctest-TestRoutersBasic-77564765-52195818 2025-06-12 02:10:00,745 - DEBUG - VM ctest-TestRoutersBasic-77564765-52195818 ID is 59035141-029f-43d6-aca4-10c87b37be0e 2025-06-12 02:10:00,765 - DEBUG - VM ctest-TestRoutersBasic-77564765-52195818 launched on Node cn-jenkins-deploy-platform-ansible-os-3449-1 2025-06-12 02:10:00,847 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/59035141-029f-43d6-aca4-10c87b37be0e 2025-06-12 02:10:01,147 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/59035141-029f-43d6-aca4-10c87b37be0e 2025-06-12 02:10:01,181 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/f8694346-019b-4c41-a77f-f18438302bb0 2025-06-12 02:10:04,455 - 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-06-12 02:10:04,456 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77564765-52195818 failed! 2025-06-12 02:10:04,511 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-77564765:ctest-vn-25974790 is 68.15.136.65 and allocation pool is NOT set 2025-06-12 02:10:06,570 - 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.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.757 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.757/2.406/4.055/1.649 ms') 2025-06-12 02:10:06,570 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77564765-52195818 passed 2025-06-12 02:10:06,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-12 02:10:06,727 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77564765-52195818, IP 68.15.136.67, Port 22 2025-06-12 02:10:06,886 - DEBUG - VM ctest-TestRoutersBasic-77564765-52195818 is ready for SSH connections 2025-06-12 02:10:06,887 - INFO - Waiting for VM ctest-TestRoutersBasic-77564765-54593586 to be up.. 2025-06-12 02:10:06,967 - DEBUG - VM is in ACTIVE state now 2025-06-12 02:10:06,967 - INFO - VM name : ctest-TestRoutersBasic-77564765-54593586 2025-06-12 02:10:07,048 - DEBUG - VM ctest-TestRoutersBasic-77564765-54593586 ID is 922cfe1d-3205-4f74-b380-da7f23688aad 2025-06-12 02:10:07,048 - DEBUG - VM ctest-TestRoutersBasic-77564765-54593586 launched on Node cn-jenkins-deploy-platform-ansible-os-3449-1 2025-06-12 02:10:07,124 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/922cfe1d-3205-4f74-b380-da7f23688aad 2025-06-12 02:10:07,134 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/5919f2ee-d36c-4182-9176-3fe497a34f27 2025-06-12 02:10:08,387 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.422 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.422/1.817/3.213/1.395 ms') 2025-06-12 02:10:08,387 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-77564765-54593586 passed 2025-06-12 02:10:08,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-12 02:10:08,535 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77564765-54593586, IP 44.158.35.67, Port 22 2025-06-12 02:10:08,700 - DEBUG - VM ctest-TestRoutersBasic-77564765-54593586 is ready for SSH connections 2025-06-12 02:10:08,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-12 02:10:08,701 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.158.35.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-06-12 02:10:08,701 - DEBUG - ping -s 56 -c 3 -W 1 44.158.35.67 2025-06-12 02:10:12,674 - DEBUG - PING 44.158.35.67 (44.158.35.67): 56 data bytes 64 bytes from 44.158.35.67: seq=0 ttl=62 time=5.790 ms 64 bytes from 44.158.35.67: seq=1 ttl=62 time=1.055 ms 64 bytes from 44.158.35.67: seq=2 ttl=62 time=0.905 ms --- 44.158.35.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.905/2.583/5.790 ms 2025-06-12 02:10:12,674 - INFO - Ping to IP 44.158.35.67 from VM ctest-TestRoutersBasic-77564765-52195818 passed 2025-06-12 02:10:12,674 - INFO - Deleting interface with subnet_id 77814896-b419-40b5-b804-47bed9bb81f3, port_id None from router 63321c09-7662-4243-95ae-ed17752fd77f 2025-06-12 02:10:12,899 - INFO - Deleting VM ctest-TestRoutersBasic-77564765-54593586 2025-06-12 02:10:12,990 - INFO - Deleting VM ctest-TestRoutersBasic-77564765-52195818 2025-06-12 02:10:13,092 - INFO - Deleting VN ctest-ext_vn-72016538 2025-06-12 02:10:13,194 - DEBUG - VN 39895a3d-ed2a-467b-9e45-6bc66a3a001d still in use: Unable to complete operation on network 39895a3d-ed2a-467b-9e45-6bc66a3a001d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-99d78c12-eaa3-43ac-b9ca-0f642634c79d'] 2025-06-12 02:10:13,195 - WARNING - Deleting VN ctest-ext_vn-72016538 failed..Will retry 2025-06-12 02:10:15,313 - DEBUG - Response for deleting network () 2025-06-12 02:10:15,313 - INFO - Deleting VN ctest-vn-25974790 2025-06-12 02:10:15,432 - DEBUG - Response for deleting network () 2025-06-12 02:10:15,691 - DEBUG - No XMPP flaps were noticed during the test 2025-06-12 02:10:15,691 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-06-12 02:10:15,691 - INFO - -------------------------------------------------------------------------------- 2025-06-12 02:10:16,379 - INFO - Deleted project: ctest-TestRoutersBasic-77564765, ID : 70790e9f-b550-4fa3-a2cc-928263e6e480