2025-11-18 03:36:09,544 - INFO - Domain Default found not creating 2025-11-18 03:36:09,745 - INFO - Project ctest-TestRoutersBasic-32151557 not found, creating it 2025-11-18 03:36:10,202 - INFO - Created Project:ctest-TestRoutersBasic-32151557, ID : 96c2f7f0-e3bf-4200-9914-95a657c2c75d 2025-11-18 03:36:11,690 - INFO - ================================================================================ 2025-11-18 03:36:11,690 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-18 03:36:11,691 - 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-11-18 03:36:11,949 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-18 03:36:11,949 - INFO - Initial checks done. Running the testcase now 2025-11-18 03:36:11,949 - INFO - 2025-11-18 03:36:12,677 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-32151557 2025-11-18 03:36:12,772 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-32151557 2025-11-18 03:36:13,087 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32151557', 'default']} 2025-11-18 03:36:13,383 - DEBUG - Response for create_network : {'network': {'id': 'b3b7bc68-e959-4f07-8c9d-18a61cde264a', 'name': 'ctest-vn-73157949', 'tenant_id': '96c2f7f0e3bf4200991495a657c2c75d', 'project_id': '96c2f7f0e3bf4200991495a657c2c75d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32151557', 'ctest-vn-73157949'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 03:36:13,538 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ffdd07c0-cf17-4d32-b8c5-f6f241b9a53f', 'name': '', 'tenant_id': '96c2f7f0e3bf4200991495a657c2c75d', 'network_id': 'b3b7bc68-e959-4f07-8c9d-18a61cde264a', 'ip_version': 4, 'cidr': '158.100.243.64/26', 'allocation_pools': [{'start': '158.100.243.66', 'end': '158.100.243.126'}], 'gateway_ip': '158.100.243.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.100.243.66', 'tags': [], 'project_id': '96c2f7f0e3bf4200991495a657c2c75d'}} 2025-11-18 03:36:13,559 - INFO - Created VN ctest-vn-73157949 2025-11-18 03:36:13,612 - DEBUG - VN ctest-vn-73157949 UUID is b3b7bc68-e959-4f07-8c9d-18a61cde264a 2025-11-18 03:36:13,951 - DEBUG - Response for create_network : {'network': {'id': '510d99c0-876a-46e8-8746-6b8e388ab61f', 'name': 'ctest-ext_vn-74253992', 'tenant_id': '96c2f7f0e3bf4200991495a657c2c75d', 'project_id': '96c2f7f0e3bf4200991495a657c2c75d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32151557', 'ctest-ext_vn-74253992'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 03:36:14,105 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4d36481-f346-459d-af83-cb922e9069ba', 'name': '', 'tenant_id': '96c2f7f0e3bf4200991495a657c2c75d', 'network_id': '510d99c0-876a-46e8-8746-6b8e388ab61f', 'ip_version': 4, 'cidr': '70.165.87.0/26', 'allocation_pools': [{'start': '70.165.87.2', 'end': '70.165.87.62'}], 'gateway_ip': '70.165.87.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.165.87.2', 'tags': [], 'project_id': '96c2f7f0e3bf4200991495a657c2c75d'}} 2025-11-18 03:36:14,122 - INFO - Created VN ctest-ext_vn-74253992 2025-11-18 03:36:14,175 - DEBUG - VN ctest-ext_vn-74253992 UUID is 510d99c0-876a-46e8-8746-6b8e388ab61f 2025-11-18 03:36:14,374 - DEBUG - Services list from nova: [, , ] 2025-11-18 03:36:15,402 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4752-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4752-1) 2025-11-18 03:36:16,543 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4752-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4752-1) 2025-11-18 03:36:16,617 - INFO - Setting gateway for router 5f86ade6-5b5d-4cf3-a756-449c0e7984b8 to network 510d99c0-876a-46e8-8746-6b8e388ab61f 2025-11-18 03:36:16,681 - INFO - Adding interface with subnet_id ffdd07c0-cf17-4d32-b8c5-f6f241b9a53f, port_id None to router 5f86ade6-5b5d-4cf3-a756-449c0e7984b8 2025-11-18 03:36:17,062 - INFO - Waiting for VM ctest-TestRoutersBasic-32151557-00979320 to be up.. 2025-11-18 03:36:17,167 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-18 03:36:22,239 - DEBUG - VM is in ACTIVE state now 2025-11-18 03:36:22,239 - INFO - VM name : ctest-TestRoutersBasic-32151557-00979320 2025-11-18 03:36:22,316 - DEBUG - VM ctest-TestRoutersBasic-32151557-00979320 ID is 72d42322-260b-4a21-9175-f171f38feb93 2025-11-18 03:36:22,338 - DEBUG - VM ctest-TestRoutersBasic-32151557-00979320 launched on Node cn-jenkins-deploy-platform-ansible-os-4752-1 2025-11-18 03:36:22,420 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/72d42322-260b-4a21-9175-f171f38feb93 2025-11-18 03:36:22,716 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/72d42322-260b-4a21-9175-f171f38feb93 2025-11-18 03:36:22,749 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4aa1db3a-a147-4669-8a03-9bd8b7612dd7 2025-11-18 03:36:26,007 - 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 1018ms') 2025-11-18 03:36:26,008 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-32151557-00979320 failed! 2025-11-18 03:36:26,064 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-32151557:ctest-vn-73157949 is 158.100.243.65 and allocation pool is NOT set 2025-11-18 03:36:28,122 - 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=2.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.646 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 = 0.646/1.726/2.807/1.080 ms') 2025-11-18 03:36:28,122 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-32151557-00979320 passed 2025-11-18 03:36:28,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 03:36:28,228 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32151557-00979320, IP 158.100.243.67, Port 22 2025-11-18 03:36:28,383 - DEBUG - VM ctest-TestRoutersBasic-32151557-00979320 is ready for SSH connections 2025-11-18 03:36:28,383 - INFO - Waiting for VM ctest-TestRoutersBasic-32151557-25912248 to be up.. 2025-11-18 03:36:28,457 - DEBUG - VM is in ACTIVE state now 2025-11-18 03:36:28,457 - INFO - VM name : ctest-TestRoutersBasic-32151557-25912248 2025-11-18 03:36:28,526 - DEBUG - VM ctest-TestRoutersBasic-32151557-25912248 ID is 59dcc614-62b9-4cad-bd20-b551dc900e9c 2025-11-18 03:36:28,527 - DEBUG - VM ctest-TestRoutersBasic-32151557-25912248 launched on Node cn-jenkins-deploy-platform-ansible-os-4752-1 2025-11-18 03:36:28,604 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/59dcc614-62b9-4cad-bd20-b551dc900e9c 2025-11-18 03:36:28,613 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a91e6c85-8d6c-4821-8899-f44fcc8225a8 2025-11-18 03:36:29,848 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.337 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.337/1.579/2.822/1.242 ms') 2025-11-18 03:36:29,848 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-32151557-25912248 passed 2025-11-18 03:36:30,000 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 03:36:30,000 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32151557-25912248, IP 70.165.87.3, Port 22 2025-11-18 03:36:30,156 - DEBUG - VM ctest-TestRoutersBasic-32151557-25912248 is ready for SSH connections 2025-11-18 03:36:30,156 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 03:36:30,156 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.165.87.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-18 03:36:30,156 - DEBUG - ping -s 56 -c 3 -W 1 70.165.87.3 2025-11-18 03:36:33,845 - DEBUG - PING 70.165.87.3 (70.165.87.3): 56 data bytes 64 bytes from 70.165.87.3: seq=0 ttl=62 time=7.069 ms 64 bytes from 70.165.87.3: seq=1 ttl=62 time=0.851 ms 64 bytes from 70.165.87.3: seq=2 ttl=62 time=0.808 ms --- 70.165.87.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.808/2.909/7.069 ms 2025-11-18 03:36:33,845 - INFO - Ping to IP 70.165.87.3 from VM ctest-TestRoutersBasic-32151557-00979320 passed 2025-11-18 03:36:33,845 - INFO - Deleting interface with subnet_id ffdd07c0-cf17-4d32-b8c5-f6f241b9a53f, port_id None from router 5f86ade6-5b5d-4cf3-a756-449c0e7984b8 2025-11-18 03:36:34,051 - INFO - Deleting VM ctest-TestRoutersBasic-32151557-25912248 2025-11-18 03:36:34,133 - INFO - Deleting VM ctest-TestRoutersBasic-32151557-00979320 2025-11-18 03:36:34,211 - INFO - Deleting VN ctest-ext_vn-74253992 2025-11-18 03:36:34,278 - DEBUG - VN 510d99c0-876a-46e8-8746-6b8e388ab61f still in use: Unable to complete operation on network 510d99c0-876a-46e8-8746-6b8e388ab61f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9af2f0be-e7cb-4ec2-9374-91248bfc45f4'] 2025-11-18 03:36:34,279 - WARNING - Deleting VN ctest-ext_vn-74253992 failed..Will retry 2025-11-18 03:36:36,382 - DEBUG - Response for deleting network () 2025-11-18 03:36:36,382 - INFO - Deleting VN ctest-vn-73157949 2025-11-18 03:36:36,484 - DEBUG - Response for deleting network () 2025-11-18 03:36:36,737 - DEBUG - No XMPP flaps were noticed during the test
2025-11-18 03:36:36,737 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-18 03:36:36,737 - INFO - -------------------------------------------------------------------------------- 2025-11-18 03:36:37,495 - INFO - Deleted project: ctest-TestRoutersBasic-32151557, ID : 96c2f7f0-e3bf-4200-9914-95a657c2c75d