2025-08-11 15:29:20,776 - INFO - Domain Default found not creating 2025-08-11 15:29:20,887 - INFO - Project ctest-TestRoutersBasic-21288237 not found, creating it 2025-08-11 15:29:21,343 - INFO - Created Project:ctest-TestRoutersBasic-21288237, ID : 8b6d723c-1b87-442d-a804-c4e88a43f1be 2025-08-11 15:29:22,623 - INFO - ================================================================================ 2025-08-11 15:29:22,623 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-11 15:29:22,623 - 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-08-11 15:29:22,880 - DEBUG - Nothing to compare xmpp stats {'10.0.0.128': {'10.0.0.128': '0'}} with 2025-08-11 15:29:22,880 - INFO - Initial checks done. Running the testcase now 2025-08-11 15:29:22,880 - INFO - 2025-08-11 15:29:23,536 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-21288237 2025-08-11 15:29:23,632 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-21288237 2025-08-11 15:29:23,948 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21288237', 'default']} 2025-08-11 15:29:24,209 - DEBUG - Response for create_network : {'network': {'id': '901a7f75-e537-4405-8e88-199644ff3a96', 'name': 'ctest-vn-54172941', 'tenant_id': '8b6d723c1b87442da804c4e88a43f1be', 'project_id': '8b6d723c1b87442da804c4e88a43f1be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21288237', 'ctest-vn-54172941'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:29:24,422 - DEBUG - Response for create_subnet : {'subnet': {'id': '1c6462d3-2b75-4ef7-a2b1-ad8613f8d1b9', 'name': '', 'tenant_id': '8b6d723c1b87442da804c4e88a43f1be', 'network_id': '901a7f75-e537-4405-8e88-199644ff3a96', 'ip_version': 4, 'cidr': '24.37.109.64/26', 'allocation_pools': [{'start': '24.37.109.66', 'end': '24.37.109.126'}], 'gateway_ip': '24.37.109.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.37.109.66', 'tags': [], 'project_id': '8b6d723c1b87442da804c4e88a43f1be'}} 2025-08-11 15:29:24,436 - INFO - Created VN ctest-vn-54172941 2025-08-11 15:29:24,484 - DEBUG - VN ctest-vn-54172941 UUID is 901a7f75-e537-4405-8e88-199644ff3a96 2025-08-11 15:29:24,815 - DEBUG - Response for create_network : {'network': {'id': '043bc8f8-b46d-4297-aff7-a61e270a44c1', 'name': 'ctest-ext_vn-28129754', 'tenant_id': '8b6d723c1b87442da804c4e88a43f1be', 'project_id': '8b6d723c1b87442da804c4e88a43f1be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21288237', 'ctest-ext_vn-28129754'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:29:25,055 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e6705c3-5c0a-4ec3-ac3e-bce6c8234bd4', 'name': '', 'tenant_id': '8b6d723c1b87442da804c4e88a43f1be', 'network_id': '043bc8f8-b46d-4297-aff7-a61e270a44c1', 'ip_version': 4, 'cidr': '40.94.134.0/26', 'allocation_pools': [{'start': '40.94.134.2', 'end': '40.94.134.62'}], 'gateway_ip': '40.94.134.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.94.134.2', 'tags': [], 'project_id': '8b6d723c1b87442da804c4e88a43f1be'}} 2025-08-11 15:29:25,070 - INFO - Created VN ctest-ext_vn-28129754 2025-08-11 15:29:25,124 - DEBUG - VN ctest-ext_vn-28129754 UUID is 043bc8f8-b46d-4297-aff7-a61e270a44c1 2025-08-11 15:29:25,311 - DEBUG - Services list from nova: [, , ] 2025-08-11 15:29:26,243 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3810-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3810-1) 2025-08-11 15:29:27,377 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3810-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3810-1) 2025-08-11 15:29:27,433 - INFO - Setting gateway for router 3adb61f2-815a-49e6-9c82-169f9d1b00c8 to network 043bc8f8-b46d-4297-aff7-a61e270a44c1 2025-08-11 15:29:27,484 - INFO - Adding interface with subnet_id 1c6462d3-2b75-4ef7-a2b1-ad8613f8d1b9, port_id None to router 3adb61f2-815a-49e6-9c82-169f9d1b00c8 2025-08-11 15:29:27,854 - INFO - Waiting for VM ctest-TestRoutersBasic-21288237-97165631 to be up.. 2025-08-11 15:29:28,053 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 15:29:33,118 - DEBUG - VM is in ACTIVE state now 2025-08-11 15:29:33,118 - INFO - VM name : ctest-TestRoutersBasic-21288237-97165631 2025-08-11 15:29:33,184 - DEBUG - VM ctest-TestRoutersBasic-21288237-97165631 ID is 86d82d6c-5744-4d42-89d6-8ad81552969c 2025-08-11 15:29:33,200 - DEBUG - VM ctest-TestRoutersBasic-21288237-97165631 launched on Node cn-jenkins-deploy-platform-ansible-os-3810-1. 2025-08-11 15:29:33,262 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine/86d82d6c-5744-4d42-89d6-8ad81552969c 2025-08-11 15:29:33,559 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine/86d82d6c-5744-4d42-89d6-8ad81552969c 2025-08-11 15:29:33,585 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine-interface/04eee47a-8ef1-4083-989d-42fb9f384a7e 2025-08-11 15:29:36,835 - 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=2 ttl=63 time=12.7 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1020ms\r\nrtt min/avg/max/mdev = 12.672/12.672/12.672/0.000 ms') 2025-08-11 15:29:36,835 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-21288237-97165631 passed 2025-08-11 15:29:36,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:29:36,988 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21288237-97165631, IP 24.37.109.67, Port 22 2025-08-11 15:29:37,164 - DEBUG - VM ctest-TestRoutersBasic-21288237-97165631 is ready for SSH connections 2025-08-11 15:29:37,164 - INFO - Waiting for VM ctest-TestRoutersBasic-21288237-74096594 to be up.. 2025-08-11 15:29:37,230 - DEBUG - VM is in ACTIVE state now 2025-08-11 15:29:37,231 - INFO - VM name : ctest-TestRoutersBasic-21288237-74096594 2025-08-11 15:29:37,306 - DEBUG - VM ctest-TestRoutersBasic-21288237-74096594 ID is dfc9cbc0-ce7e-4090-83a6-88926e86595f 2025-08-11 15:29:37,306 - DEBUG - VM ctest-TestRoutersBasic-21288237-74096594 launched on Node cn-jenkins-deploy-platform-ansible-os-3810-1. 2025-08-11 15:29:37,379 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine/dfc9cbc0-ce7e-4090-83a6-88926e86595f 2025-08-11 15:29:37,385 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine-interface/502673f8-1968-4603-82ed-2819040701b8 2025-08-11 15:29:38,617 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.689 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.689/2.201/3.713/1.512 ms') 2025-08-11 15:29:38,617 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-21288237-74096594 passed 2025-08-11 15:29:38,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:29:38,764 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21288237-74096594, IP 40.94.134.3, Port 22 2025-08-11 15:29:38,923 - DEBUG - VM ctest-TestRoutersBasic-21288237-74096594 is ready for SSH connections 2025-08-11 15:29:38,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:29:38,924 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.94.134.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.128, gateway password: c0ntrail123 2025-08-11 15:29:38,924 - DEBUG - ping -s 56 -c 3 -W 1 40.94.134.3 2025-08-11 15:29:42,871 - DEBUG - PING 40.94.134.3 (40.94.134.3): 56 data bytes 64 bytes from 40.94.134.3: seq=0 ttl=62 time=5.092 ms 64 bytes from 40.94.134.3: seq=1 ttl=62 time=0.840 ms 64 bytes from 40.94.134.3: seq=2 ttl=62 time=1.006 ms --- 40.94.134.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.840/2.312/5.092 ms 2025-08-11 15:29:42,871 - INFO - Ping to IP 40.94.134.3 from VM ctest-TestRoutersBasic-21288237-97165631 passed 2025-08-11 15:29:42,871 - INFO - Deleting interface with subnet_id 1c6462d3-2b75-4ef7-a2b1-ad8613f8d1b9, port_id None from router 3adb61f2-815a-49e6-9c82-169f9d1b00c8 2025-08-11 15:29:43,045 - INFO - Deleting VM ctest-TestRoutersBasic-21288237-74096594 2025-08-11 15:29:43,117 - INFO - Deleting VM ctest-TestRoutersBasic-21288237-97165631 2025-08-11 15:29:43,185 - INFO - Deleting VN ctest-ext_vn-28129754 2025-08-11 15:29:43,257 - DEBUG - VN 043bc8f8-b46d-4297-aff7-a61e270a44c1 still in use: Unable to complete operation on network 043bc8f8-b46d-4297-aff7-a61e270a44c1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-aff3409c-1d97-4788-942b-75ece33aa50b'] 2025-08-11 15:29:43,258 - WARNING - Deleting VN ctest-ext_vn-28129754 failed..Will retry 2025-08-11 15:29:45,344 - DEBUG - Response for deleting network () 2025-08-11 15:29:45,345 - INFO - Deleting VN ctest-vn-54172941 2025-08-11 15:29:45,466 - DEBUG - Response for deleting network () 2025-08-11 15:29:45,726 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 15:29:45,726 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23]
2025-08-11 15:29:45,726 - INFO - -------------------------------------------------------------------------------- 2025-08-11 15:29:46,374 - INFO - Deleted project: ctest-TestRoutersBasic-21288237, ID : 8b6d723c-1b87-442d-a804-c4e88a43f1be