2025-05-15 02:10:27,003 - INFO - Domain Default found not creating 2025-05-15 02:10:27,187 - INFO - Project ctest-TestRoutersBasic-99296430 not found, creating it 2025-05-15 02:10:27,678 - INFO - Created Project:ctest-TestRoutersBasic-99296430, ID : 9359666c-06e7-42dd-bac4-0ef38ea0c2bb 2025-05-15 02:10:29,107 - INFO - ================================================================================ 2025-05-15 02:10:29,108 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-15 02:10:29,108 - 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-05-15 02:10:29,361 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2025-05-15 02:10:29,361 - INFO - Initial checks done. Running the testcase now 2025-05-15 02:10:29,361 - INFO - 2025-05-15 02:10:30,063 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-99296430 2025-05-15 02:10:30,163 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-99296430 2025-05-15 02:10:30,491 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99296430', 'default']} 2025-05-15 02:10:30,794 - DEBUG - Response for create_network : {'network': {'id': '747225cc-34b6-4e17-8f06-95bbf4018461', 'name': 'ctest-vn-51348400', 'tenant_id': '9359666c06e742ddbac40ef38ea0c2bb', 'project_id': '9359666c06e742ddbac40ef38ea0c2bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99296430', 'ctest-vn-51348400'], 'port_security_enabled': True, 'description': ''}} 2025-05-15 02:10:30,970 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a9799cb-538c-4a1d-8629-486f2d82fc72', 'name': '', 'tenant_id': '9359666c06e742ddbac40ef38ea0c2bb', 'network_id': '747225cc-34b6-4e17-8f06-95bbf4018461', 'ip_version': 4, 'cidr': '81.201.210.128/26', 'allocation_pools': [{'start': '81.201.210.130', 'end': '81.201.210.190'}], 'gateway_ip': '81.201.210.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.201.210.130', 'tags': [], 'project_id': '9359666c06e742ddbac40ef38ea0c2bb'}} 2025-05-15 02:10:30,989 - INFO - Created VN ctest-vn-51348400 2025-05-15 02:10:31,048 - DEBUG - VN ctest-vn-51348400 UUID is 747225cc-34b6-4e17-8f06-95bbf4018461 2025-05-15 02:10:31,373 - DEBUG - Response for create_network : {'network': {'id': 'a2a583ba-7c41-4052-976e-50941facb258', 'name': 'ctest-ext_vn-99933499', 'tenant_id': '9359666c06e742ddbac40ef38ea0c2bb', 'project_id': '9359666c06e742ddbac40ef38ea0c2bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99296430', 'ctest-ext_vn-99933499'], 'port_security_enabled': True, 'description': ''}} 2025-05-15 02:10:31,543 - DEBUG - Response for create_subnet : {'subnet': {'id': '35cda5a8-5062-4dbe-8702-20fef42daba5', 'name': '', 'tenant_id': '9359666c06e742ddbac40ef38ea0c2bb', 'network_id': 'a2a583ba-7c41-4052-976e-50941facb258', 'ip_version': 4, 'cidr': '20.208.235.0/26', 'allocation_pools': [{'start': '20.208.235.2', 'end': '20.208.235.62'}], 'gateway_ip': '20.208.235.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.208.235.2', 'tags': [], 'project_id': '9359666c06e742ddbac40ef38ea0c2bb'}} 2025-05-15 02:10:31,562 - INFO - Created VN ctest-ext_vn-99933499 2025-05-15 02:10:31,615 - DEBUG - VN ctest-ext_vn-99933499 UUID is a2a583ba-7c41-4052-976e-50941facb258 2025-05-15 02:10:31,781 - DEBUG - Services list from nova: [, , ] 2025-05-15 02:10:32,806 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3315-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3315-1) 2025-05-15 02:10:33,942 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3315-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3315-1) 2025-05-15 02:10:34,045 - INFO - Setting gateway for router 13c27b49-4d07-44e1-b062-05e2a0efb00f to network a2a583ba-7c41-4052-976e-50941facb258 2025-05-15 02:10:34,127 - INFO - Adding interface with subnet_id 4a9799cb-538c-4a1d-8629-486f2d82fc72, port_id None to router 13c27b49-4d07-44e1-b062-05e2a0efb00f 2025-05-15 02:10:34,606 - INFO - Waiting for VM ctest-TestRoutersBasic-99296430-72517803 to be up.. 2025-05-15 02:10:34,798 - DEBUG - VM is in ACTIVE state now 2025-05-15 02:10:34,799 - INFO - VM name : ctest-TestRoutersBasic-99296430-72517803 2025-05-15 02:10:34,924 - DEBUG - VM ctest-TestRoutersBasic-99296430-72517803 ID is 5fa17762-cea8-448b-9ef6-0da6499def66 2025-05-15 02:10:34,945 - DEBUG - VM ctest-TestRoutersBasic-99296430-72517803 launched on Node cn-jenkins-deploy-platform-ansible-os-3315-1 2025-05-15 02:10:35,077 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/5fa17762-cea8-448b-9ef6-0da6499def66 2025-05-15 02:10:35,389 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/5fa17762-cea8-448b-9ef6-0da6499def66 2025-05-15 02:10:35,451 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/02e32e6e-1a26-4916-8e22-42cab65cc323 2025-05-15 02:10:38,732 - 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 1014ms') 2025-05-15 02:10:38,732 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-99296430-72517803 failed! 2025-05-15 02:10:38,792 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-99296430:ctest-vn-51348400 is 81.201.210.129 and allocation pool is NOT set 2025-05-15 02:10:42,862 - 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 1007ms') 2025-05-15 02:10:42,862 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-99296430-72517803 failed! 2025-05-15 02:10:42,919 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-99296430:ctest-vn-51348400 is 81.201.210.129 and allocation pool is NOT set 2025-05-15 02:10:44,977 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.20 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 = 1.201/2.510/3.819/1.309 ms') 2025-05-15 02:10:44,977 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-99296430-72517803 passed 2025-05-15 02:10:45,132 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-15 02:10:45,132 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99296430-72517803, IP 81.201.210.131, Port 22 2025-05-15 02:10:45,292 - DEBUG - VM ctest-TestRoutersBasic-99296430-72517803 is ready for SSH connections 2025-05-15 02:10:45,292 - INFO - Waiting for VM ctest-TestRoutersBasic-99296430-19417259 to be up.. 2025-05-15 02:10:45,370 - DEBUG - VM is in ACTIVE state now 2025-05-15 02:10:45,370 - INFO - VM name : ctest-TestRoutersBasic-99296430-19417259 2025-05-15 02:10:45,441 - DEBUG - VM ctest-TestRoutersBasic-99296430-19417259 ID is 6c8c2efb-3457-4ce8-a8c0-2850225569c1 2025-05-15 02:10:45,441 - DEBUG - VM ctest-TestRoutersBasic-99296430-19417259 launched on Node cn-jenkins-deploy-platform-ansible-os-3315-1 2025-05-15 02:10:45,513 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/6c8c2efb-3457-4ce8-a8c0-2850225569c1 2025-05-15 02:10:45,522 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/62d5316b-a049-4fc8-8381-6ac60d26d296 2025-05-15 02:10:46,760 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.813 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.813/2.472/4.131/1.659 ms') 2025-05-15 02:10:46,760 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-99296430-19417259 passed 2025-05-15 02:10:46,911 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-15 02:10:46,912 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99296430-19417259, IP 20.208.235.3, Port 22 2025-05-15 02:10:47,067 - DEBUG - VM ctest-TestRoutersBasic-99296430-19417259 is ready for SSH connections 2025-05-15 02:10:47,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-15 02:10:47,067 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.208.235.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-05-15 02:10:47,068 - DEBUG - ping -s 56 -c 3 -W 1 20.208.235.3 2025-05-15 02:10:51,037 - DEBUG - PING 20.208.235.3 (20.208.235.3): 56 data bytes 64 bytes from 20.208.235.3: seq=0 ttl=62 time=4.929 ms 64 bytes from 20.208.235.3: seq=1 ttl=62 time=0.926 ms 64 bytes from 20.208.235.3: seq=2 ttl=62 time=0.829 ms --- 20.208.235.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.829/2.228/4.929 ms 2025-05-15 02:10:51,037 - INFO - Ping to IP 20.208.235.3 from VM ctest-TestRoutersBasic-99296430-72517803 passed 2025-05-15 02:10:51,037 - INFO - Deleting interface with subnet_id 4a9799cb-538c-4a1d-8629-486f2d82fc72, port_id None from router 13c27b49-4d07-44e1-b062-05e2a0efb00f 2025-05-15 02:10:51,232 - INFO - Deleting VM ctest-TestRoutersBasic-99296430-19417259 2025-05-15 02:10:51,306 - INFO - Deleting VM ctest-TestRoutersBasic-99296430-72517803 2025-05-15 02:10:51,393 - INFO - Deleting VN ctest-ext_vn-99933499 2025-05-15 02:10:51,461 - DEBUG - VN a2a583ba-7c41-4052-976e-50941facb258 still in use: Unable to complete operation on network a2a583ba-7c41-4052-976e-50941facb258. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3b922bea-2db9-4cc9-a04e-ca95124c22a2'] 2025-05-15 02:10:51,461 - WARNING - Deleting VN ctest-ext_vn-99933499 failed..Will retry 2025-05-15 02:10:53,575 - DEBUG - Response for deleting network () 2025-05-15 02:10:53,575 - INFO - Deleting VN ctest-vn-51348400 2025-05-15 02:10:53,693 - DEBUG - Response for deleting network () 2025-05-15 02:10:53,953 - DEBUG - No XMPP flaps were noticed during the test
2025-05-15 02:10:53,954 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24]
2025-05-15 02:10:53,954 - INFO - -------------------------------------------------------------------------------- 2025-05-15 02:10:54,625 - INFO - Deleted project: ctest-TestRoutersBasic-99296430, ID : 9359666c-06e7-42dd-bac4-0ef38ea0c2bb