2025-06-18 11:27:59,606 - INFO - Domain Default found not creating 2025-06-18 11:27:59,766 - INFO - Project ctest-TestRoutersBasic-54849452 not found, creating it 2025-06-18 11:28:00,227 - INFO - Created Project:ctest-TestRoutersBasic-54849452, ID : 728f294a-16ba-45f5-bfbd-12f6561058cf 2025-06-18 11:28:01,675 - INFO - ================================================================================ 2025-06-18 11:28:01,675 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-18 11:28:01,675 - 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-18 11:28:01,931 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-18 11:28:01,931 - INFO - Initial checks done. Running the testcase now 2025-06-18 11:28:01,931 - INFO - 2025-06-18 11:28:02,651 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-54849452 2025-06-18 11:28:02,748 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-54849452 2025-06-18 11:28:03,064 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54849452', 'default']} 2025-06-18 11:28:03,353 - DEBUG - Response for create_network : {'network': {'id': '141b6f11-bd5a-468d-bc5a-9d16ba8011d1', 'name': 'ctest-vn-07574621', 'tenant_id': '728f294a16ba45f5bfbd12f6561058cf', 'project_id': '728f294a16ba45f5bfbd12f6561058cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54849452', 'ctest-vn-07574621'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 11:28:03,522 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2edaf9b-7258-43de-a55d-4b7c37e6a527', 'name': '', 'tenant_id': '728f294a16ba45f5bfbd12f6561058cf', 'network_id': '141b6f11-bd5a-468d-bc5a-9d16ba8011d1', 'ip_version': 4, 'cidr': '162.43.235.64/26', 'allocation_pools': [{'start': '162.43.235.66', 'end': '162.43.235.126'}], 'gateway_ip': '162.43.235.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.43.235.66', 'tags': [], 'project_id': '728f294a16ba45f5bfbd12f6561058cf'}} 2025-06-18 11:28:03,540 - INFO - Created VN ctest-vn-07574621 2025-06-18 11:28:03,592 - DEBUG - VN ctest-vn-07574621 UUID is 141b6f11-bd5a-468d-bc5a-9d16ba8011d1 2025-06-18 11:28:03,911 - DEBUG - Response for create_network : {'network': {'id': '259c5d09-4c97-46ad-85d3-a3ffff7e06fc', 'name': 'ctest-ext_vn-65567766', 'tenant_id': '728f294a16ba45f5bfbd12f6561058cf', 'project_id': '728f294a16ba45f5bfbd12f6561058cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54849452', 'ctest-ext_vn-65567766'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 11:28:04,069 - DEBUG - Response for create_subnet : {'subnet': {'id': '42517f87-cf59-44c3-a5f0-691d9c296d64', 'name': '', 'tenant_id': '728f294a16ba45f5bfbd12f6561058cf', 'network_id': '259c5d09-4c97-46ad-85d3-a3ffff7e06fc', 'ip_version': 4, 'cidr': '177.63.172.64/26', 'allocation_pools': [{'start': '177.63.172.66', 'end': '177.63.172.126'}], 'gateway_ip': '177.63.172.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.63.172.66', 'tags': [], 'project_id': '728f294a16ba45f5bfbd12f6561058cf'}} 2025-06-18 11:28:04,086 - INFO - Created VN ctest-ext_vn-65567766 2025-06-18 11:28:04,140 - DEBUG - VN ctest-ext_vn-65567766 UUID is 259c5d09-4c97-46ad-85d3-a3ffff7e06fc 2025-06-18 11:28:04,312 - DEBUG - Services list from nova: [, , ] 2025-06-18 11:28:05,347 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3473-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3473-1) 2025-06-18 11:28:06,683 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3473-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3473-1) 2025-06-18 11:28:06,773 - INFO - Setting gateway for router 1677dc07-3158-4d80-bb06-722ae2bdd56b to network 259c5d09-4c97-46ad-85d3-a3ffff7e06fc 2025-06-18 11:28:06,838 - INFO - Adding interface with subnet_id f2edaf9b-7258-43de-a55d-4b7c37e6a527, port_id None to router 1677dc07-3158-4d80-bb06-722ae2bdd56b 2025-06-18 11:28:07,207 - INFO - Waiting for VM ctest-TestRoutersBasic-54849452-15984777 to be up.. 2025-06-18 11:28:07,351 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-18 11:28:12,433 - DEBUG - VM is in ACTIVE state now 2025-06-18 11:28:12,433 - INFO - VM name : ctest-TestRoutersBasic-54849452-15984777 2025-06-18 11:28:12,516 - DEBUG - VM ctest-TestRoutersBasic-54849452-15984777 ID is f99581e9-a1b1-4dfd-8e10-72b117849a66 2025-06-18 11:28:12,541 - DEBUG - VM ctest-TestRoutersBasic-54849452-15984777 launched on Node cn-jenkins-deploy-platform-ansible-os-3473-1 2025-06-18 11:28:12,621 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f99581e9-a1b1-4dfd-8e10-72b117849a66 2025-06-18 11:28:12,912 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f99581e9-a1b1-4dfd-8e10-72b117849a66 2025-06-18 11:28:12,945 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1ec606e7-82f9-4ba3-85eb-acebbf5ce212 2025-06-18 11:28:16,218 - 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 1027ms') 2025-06-18 11:28:16,218 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54849452-15984777 failed! 2025-06-18 11:28:16,272 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-54849452:ctest-vn-07574621 is 162.43.235.65 and allocation pool is NOT set 2025-06-18 11:28:18,337 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.508 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.508/1.693/2.878/1.185 ms') 2025-06-18 11:28:18,337 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54849452-15984777 passed 2025-06-18 11:28:18,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 11:28:18,496 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54849452-15984777, IP 162.43.235.67, Port 22 2025-06-18 11:28:18,659 - DEBUG - VM ctest-TestRoutersBasic-54849452-15984777 is ready for SSH connections 2025-06-18 11:28:18,659 - INFO - Waiting for VM ctest-TestRoutersBasic-54849452-97558472 to be up.. 2025-06-18 11:28:18,733 - DEBUG - VM is in ACTIVE state now 2025-06-18 11:28:18,733 - INFO - VM name : ctest-TestRoutersBasic-54849452-97558472 2025-06-18 11:28:18,806 - DEBUG - VM ctest-TestRoutersBasic-54849452-97558472 ID is c5f43586-aa67-4e1f-be05-d20cfa8168a2 2025-06-18 11:28:18,807 - DEBUG - VM ctest-TestRoutersBasic-54849452-97558472 launched on Node cn-jenkins-deploy-platform-ansible-os-3473-1 2025-06-18 11:28:18,881 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c5f43586-aa67-4e1f-be05-d20cfa8168a2 2025-06-18 11:28:18,890 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/dcdac2bc-aa31-482a-9f77-30e2d284a5e0 2025-06-18 11:28:20,144 - 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=4.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.449 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.449/2.355/4.262/1.906 ms') 2025-06-18 11:28:20,144 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-54849452-97558472 passed 2025-06-18 11:28:20,296 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 11:28:20,296 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54849452-97558472, IP 177.63.172.67, Port 22 2025-06-18 11:28:20,459 - DEBUG - VM ctest-TestRoutersBasic-54849452-97558472 is ready for SSH connections 2025-06-18 11:28:20,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 11:28:20,459 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.63.172.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-18 11:28:20,459 - DEBUG - ping -s 56 -c 3 -W 1 177.63.172.67 2025-06-18 11:28:24,469 - DEBUG - PING 177.63.172.67 (177.63.172.67): 56 data bytes 64 bytes from 177.63.172.67: seq=0 ttl=62 time=5.893 ms 64 bytes from 177.63.172.67: seq=1 ttl=62 time=1.096 ms 64 bytes from 177.63.172.67: seq=2 ttl=62 time=0.846 ms --- 177.63.172.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.846/2.611/5.893 ms 2025-06-18 11:28:24,469 - INFO - Ping to IP 177.63.172.67 from VM ctest-TestRoutersBasic-54849452-15984777 passed 2025-06-18 11:28:24,469 - INFO - Deleting interface with subnet_id f2edaf9b-7258-43de-a55d-4b7c37e6a527, port_id None from router 1677dc07-3158-4d80-bb06-722ae2bdd56b 2025-06-18 11:28:24,683 - INFO - Deleting VM ctest-TestRoutersBasic-54849452-97558472 2025-06-18 11:28:24,767 - INFO - Deleting VM ctest-TestRoutersBasic-54849452-15984777 2025-06-18 11:28:24,846 - INFO - Deleting VN ctest-ext_vn-65567766 2025-06-18 11:28:24,931 - DEBUG - VN 259c5d09-4c97-46ad-85d3-a3ffff7e06fc still in use: Unable to complete operation on network 259c5d09-4c97-46ad-85d3-a3ffff7e06fc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-550163f9-35f9-47c5-90f2-094c6d7b43db'] 2025-06-18 11:28:24,931 - WARNING - Deleting VN ctest-ext_vn-65567766 failed..Will retry 2025-06-18 11:28:27,034 - DEBUG - Response for deleting network () 2025-06-18 11:28:27,034 - INFO - Deleting VN ctest-vn-07574621 2025-06-18 11:28:27,159 - DEBUG - Response for deleting network () 2025-06-18 11:28:27,418 - DEBUG - No XMPP flaps were noticed during the test
2025-06-18 11:28:27,418 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-06-18 11:28:27,418 - INFO - -------------------------------------------------------------------------------- 2025-06-18 11:28:28,115 - INFO - Deleted project: ctest-TestRoutersBasic-54849452, ID : 728f294a-16ba-45f5-bfbd-12f6561058cf