2025-07-31 02:26:04,739 - INFO - Domain Default found not creating 2025-07-31 02:26:04,901 - INFO - Project ctest-TestRoutersBasic-65907709 not found, creating it 2025-07-31 02:26:05,387 - INFO - Created Project:ctest-TestRoutersBasic-65907709, ID : 24632cf5-53ec-445f-b18a-80b49534c8f1 2025-07-31 02:26:06,900 - INFO - ================================================================================ 2025-07-31 02:26:06,900 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-31 02:26:06,900 - 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-07-31 02:26:07,160 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-07-31 02:26:07,160 - INFO - Initial checks done. Running the testcase now 2025-07-31 02:26:07,160 - INFO - 2025-07-31 02:26:07,864 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-65907709 2025-07-31 02:26:07,970 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-65907709 2025-07-31 02:26:08,298 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65907709', 'default']} 2025-07-31 02:26:08,647 - DEBUG - Response for create_network : {'network': {'id': 'fdec3e76-d590-47a4-a504-e3c37adbc960', 'name': 'ctest-vn-85634393', 'tenant_id': '24632cf553ec445fb18a80b49534c8f1', 'project_id': '24632cf553ec445fb18a80b49534c8f1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65907709', 'ctest-vn-85634393'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 02:26:08,815 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e19179a-416a-400f-88c3-0c5e336196db', 'name': '', 'tenant_id': '24632cf553ec445fb18a80b49534c8f1', 'network_id': 'fdec3e76-d590-47a4-a504-e3c37adbc960', 'ip_version': 4, 'cidr': '219.20.166.64/26', 'allocation_pools': [{'start': '219.20.166.66', 'end': '219.20.166.126'}], 'gateway_ip': '219.20.166.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.20.166.66', 'tags': [], 'project_id': '24632cf553ec445fb18a80b49534c8f1'}} 2025-07-31 02:26:08,840 - INFO - Created VN ctest-vn-85634393 2025-07-31 02:26:08,898 - DEBUG - VN ctest-vn-85634393 UUID is fdec3e76-d590-47a4-a504-e3c37adbc960 2025-07-31 02:26:09,234 - DEBUG - Response for create_network : {'network': {'id': '300f385f-4d17-4081-a785-c7600a0607b1', 'name': 'ctest-ext_vn-66196617', 'tenant_id': '24632cf553ec445fb18a80b49534c8f1', 'project_id': '24632cf553ec445fb18a80b49534c8f1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65907709', 'ctest-ext_vn-66196617'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 02:26:09,444 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aff95712-59b0-4a4d-aaf1-d053b7a14779', 'name': '', 'tenant_id': '24632cf553ec445fb18a80b49534c8f1', 'network_id': '300f385f-4d17-4081-a785-c7600a0607b1', 'ip_version': 4, 'cidr': '34.139.43.0/26', 'allocation_pools': [{'start': '34.139.43.2', 'end': '34.139.43.62'}], 'gateway_ip': '34.139.43.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.139.43.2', 'tags': [], 'project_id': '24632cf553ec445fb18a80b49534c8f1'}} 2025-07-31 02:26:09,465 - INFO - Created VN ctest-ext_vn-66196617 2025-07-31 02:26:09,518 - DEBUG - VN ctest-ext_vn-66196617 UUID is 300f385f-4d17-4081-a785-c7600a0607b1 2025-07-31 02:26:09,706 - DEBUG - Services list from nova: [, , ] 2025-07-31 02:26:10,788 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3729-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3729-1) 2025-07-31 02:26:11,976 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3729-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3729-1) 2025-07-31 02:26:12,066 - INFO - Setting gateway for router ddba1a9a-4a7d-4f1f-bc8e-207ee52d9be0 to network 300f385f-4d17-4081-a785-c7600a0607b1 2025-07-31 02:26:12,131 - INFO - Adding interface with subnet_id 4e19179a-416a-400f-88c3-0c5e336196db, port_id None to router ddba1a9a-4a7d-4f1f-bc8e-207ee52d9be0 2025-07-31 02:26:12,572 - INFO - Waiting for VM ctest-TestRoutersBasic-65907709-84365216 to be up.. 2025-07-31 02:26:12,800 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-31 02:26:17,907 - DEBUG - VM is in ACTIVE state now 2025-07-31 02:26:17,908 - INFO - VM name : ctest-TestRoutersBasic-65907709-84365216 2025-07-31 02:26:17,992 - DEBUG - VM ctest-TestRoutersBasic-65907709-84365216 ID is 6c682351-f192-41a1-adc7-0495666123c2 2025-07-31 02:26:18,015 - DEBUG - VM ctest-TestRoutersBasic-65907709-84365216 launched on Node cn-jenkins-deploy-platform-ansible-os-3729-1 2025-07-31 02:26:18,109 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6c682351-f192-41a1-adc7-0495666123c2 2025-07-31 02:26:18,408 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6c682351-f192-41a1-adc7-0495666123c2 2025-07-31 02:26:18,446 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7d0a6be6-45a6-4f37-a2bf-947ff2308bba 2025-07-31 02:26:21,723 - 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 1023ms') 2025-07-31 02:26:21,723 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65907709-84365216 failed! 2025-07-31 02:26:21,782 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-65907709:ctest-vn-85634393 is 219.20.166.65 and allocation pool is NOT set 2025-07-31 02:26:23,846 - 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=3.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.550 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.550/2.234/3.919/1.684 ms') 2025-07-31 02:26:23,846 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65907709-84365216 passed 2025-07-31 02:26:24,018 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:26:24,019 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65907709-84365216, IP 219.20.166.67, Port 22 2025-07-31 02:26:24,201 - DEBUG - VM ctest-TestRoutersBasic-65907709-84365216 is ready for SSH connections 2025-07-31 02:26:24,201 - INFO - Waiting for VM ctest-TestRoutersBasic-65907709-06182731 to be up.. 2025-07-31 02:26:24,316 - DEBUG - VM is in ACTIVE state now 2025-07-31 02:26:24,316 - INFO - VM name : ctest-TestRoutersBasic-65907709-06182731 2025-07-31 02:26:24,424 - DEBUG - VM ctest-TestRoutersBasic-65907709-06182731 ID is 9e2fd819-d7ff-417b-a37e-ca1a81e671ae 2025-07-31 02:26:24,424 - DEBUG - VM ctest-TestRoutersBasic-65907709-06182731 launched on Node cn-jenkins-deploy-platform-ansible-os-3729-1 2025-07-31 02:26:24,534 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9e2fd819-d7ff-417b-a37e-ca1a81e671ae 2025-07-31 02:26:24,545 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4b51c4c8-0e42-41c6-982c-8c646c416885 2025-07-31 02:26:25,810 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.545 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.545/2.044/3.543/1.499 ms') 2025-07-31 02:26:25,810 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-65907709-06182731 passed 2025-07-31 02:26:25,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:26:25,966 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65907709-06182731, IP 34.139.43.3, Port 22 2025-07-31 02:26:26,146 - DEBUG - VM ctest-TestRoutersBasic-65907709-06182731 is ready for SSH connections 2025-07-31 02:26:26,147 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:26:26,147 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.139.43.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-31 02:26:26,147 - DEBUG - ping -s 56 -c 3 -W 1 34.139.43.3 2025-07-31 02:26:29,842 - DEBUG - PING 34.139.43.3 (34.139.43.3): 56 data bytes 64 bytes from 34.139.43.3: seq=0 ttl=62 time=5.408 ms 64 bytes from 34.139.43.3: seq=1 ttl=62 time=1.442 ms 64 bytes from 34.139.43.3: seq=2 ttl=62 time=2.135 ms --- 34.139.43.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.442/2.995/5.408 ms 2025-07-31 02:26:29,843 - INFO - Ping to IP 34.139.43.3 from VM ctest-TestRoutersBasic-65907709-84365216 passed 2025-07-31 02:26:29,843 - INFO - Deleting interface with subnet_id 4e19179a-416a-400f-88c3-0c5e336196db, port_id None from router ddba1a9a-4a7d-4f1f-bc8e-207ee52d9be0 2025-07-31 02:26:30,090 - INFO - Deleting VM ctest-TestRoutersBasic-65907709-06182731 2025-07-31 02:26:30,184 - INFO - Deleting VM ctest-TestRoutersBasic-65907709-84365216 2025-07-31 02:26:30,286 - INFO - Deleting VN ctest-ext_vn-66196617 2025-07-31 02:26:30,409 - DEBUG - VN 300f385f-4d17-4081-a785-c7600a0607b1 still in use: Unable to complete operation on network 300f385f-4d17-4081-a785-c7600a0607b1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e110939f-89cb-4e83-9dee-9ba7e6fd0a97'] 2025-07-31 02:26:30,410 - WARNING - Deleting VN ctest-ext_vn-66196617 failed..Will retry 2025-07-31 02:26:32,560 - DEBUG - Response for deleting network () 2025-07-31 02:26:32,560 - INFO - Deleting VN ctest-vn-85634393 2025-07-31 02:26:32,692 - DEBUG - Response for deleting network () 2025-07-31 02:26:32,954 - DEBUG - No XMPP flaps were noticed during the test
2025-07-31 02:26:32,954 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-07-31 02:26:32,954 - INFO - -------------------------------------------------------------------------------- 2025-07-31 02:26:33,699 - INFO - Deleted project: ctest-TestRoutersBasic-65907709, ID : 24632cf5-53ec-445f-b18a-80b49534c8f1