2025-06-12 02:19:18,182 - INFO - Domain Default found not creating 2025-06-12 02:19:18,337 - INFO - Project ctest-TestRoutersBasic-58304315 not found, creating it 2025-06-12 02:19:18,803 - INFO - Created Project:ctest-TestRoutersBasic-58304315, ID : 4e93b800-17fb-4d85-bab0-ea77506883b5 2025-06-12 02:19:20,248 - INFO - ================================================================================ 2025-06-12 02:19:20,248 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-12 02:19:20,248 - 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-12 02:19:20,511 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.202': '0'}} with 2025-06-12 02:19:20,511 - INFO - Initial checks done. Running the testcase now 2025-06-12 02:19:20,511 - INFO - 2025-06-12 02:19:21,230 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-58304315 2025-06-12 02:19:21,323 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-58304315 2025-06-12 02:19:21,651 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58304315', 'default']} 2025-06-12 02:19:22,068 - DEBUG - Response for create_network : {'network': {'id': '7a566870-2c3c-4d18-a511-b8312e8bb70f', 'name': 'ctest-vn-99688849', 'tenant_id': '4e93b80017fb4d85bab0ea77506883b5', 'project_id': '4e93b80017fb4d85bab0ea77506883b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58304315', 'ctest-vn-99688849'], 'port_security_enabled': True, 'description': ''}} 2025-06-12 02:19:22,297 - DEBUG - Response for create_subnet : {'subnet': {'id': '23cc23e4-6f1e-46c6-a622-7665b604d165', 'name': '', 'tenant_id': '4e93b80017fb4d85bab0ea77506883b5', 'network_id': '7a566870-2c3c-4d18-a511-b8312e8bb70f', 'ip_version': 4, 'cidr': '37.13.191.128/26', 'allocation_pools': [{'start': '37.13.191.130', 'end': '37.13.191.190'}], 'gateway_ip': '37.13.191.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.13.191.130', 'tags': [], 'project_id': '4e93b80017fb4d85bab0ea77506883b5'}} 2025-06-12 02:19:22,321 - INFO - Created VN ctest-vn-99688849 2025-06-12 02:19:22,375 - DEBUG - VN ctest-vn-99688849 UUID is 7a566870-2c3c-4d18-a511-b8312e8bb70f 2025-06-12 02:19:22,683 - DEBUG - Response for create_network : {'network': {'id': '79e72431-7051-426b-9816-456aa95a0d70', 'name': 'ctest-ext_vn-87897626', 'tenant_id': '4e93b80017fb4d85bab0ea77506883b5', 'project_id': '4e93b80017fb4d85bab0ea77506883b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58304315', 'ctest-ext_vn-87897626'], 'port_security_enabled': True, 'description': ''}} 2025-06-12 02:19:22,875 - DEBUG - Response for create_subnet : {'subnet': {'id': '2f2c9f9b-9268-4e7d-8096-7306add08d2b', 'name': '', 'tenant_id': '4e93b80017fb4d85bab0ea77506883b5', 'network_id': '79e72431-7051-426b-9816-456aa95a0d70', 'ip_version': 4, 'cidr': '139.50.16.64/26', 'allocation_pools': [{'start': '139.50.16.66', 'end': '139.50.16.126'}], 'gateway_ip': '139.50.16.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.50.16.66', 'tags': [], 'project_id': '4e93b80017fb4d85bab0ea77506883b5'}} 2025-06-12 02:19:22,892 - INFO - Created VN ctest-ext_vn-87897626 2025-06-12 02:19:22,943 - DEBUG - VN ctest-ext_vn-87897626 UUID is 79e72431-7051-426b-9816-456aa95a0d70 2025-06-12 02:19:23,113 - DEBUG - Services list from nova: [, , ] 2025-06-12 02:19:24,176 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3450-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3450-1) 2025-06-12 02:19:25,379 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3450-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3450-1) 2025-06-12 02:19:25,452 - INFO - Setting gateway for router 38cfcd4b-f292-41a8-813c-6845b7bf32c7 to network 79e72431-7051-426b-9816-456aa95a0d70 2025-06-12 02:19:25,506 - INFO - Adding interface with subnet_id 23cc23e4-6f1e-46c6-a622-7665b604d165, port_id None to router 38cfcd4b-f292-41a8-813c-6845b7bf32c7 2025-06-12 02:19:26,008 - INFO - Waiting for VM ctest-TestRoutersBasic-58304315-87062080 to be up.. 2025-06-12 02:19:26,176 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-12 02:19:31,268 - DEBUG - VM is in ACTIVE state now 2025-06-12 02:19:31,268 - INFO - VM name : ctest-TestRoutersBasic-58304315-87062080 2025-06-12 02:19:31,343 - DEBUG - VM ctest-TestRoutersBasic-58304315-87062080 ID is aa1a4c85-3b72-496c-b415-a122fc3fd7e9 2025-06-12 02:19:31,364 - DEBUG - VM ctest-TestRoutersBasic-58304315-87062080 launched on Node cn-jenkins-deploy-platform-ansible-os-3450-1 2025-06-12 02:19:31,439 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/aa1a4c85-3b72-496c-b415-a122fc3fd7e9 2025-06-12 02:19:31,746 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/aa1a4c85-3b72-496c-b415-a122fc3fd7e9 2025-06-12 02:19:31,782 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6217a2f1-3984-43b5-86a1-84636ba85203 2025-06-12 02:19:35,061 - 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-06-12 02:19:35,062 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58304315-87062080 failed! 2025-06-12 02:19:35,119 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-58304315:ctest-vn-99688849 is 37.13.191.129 and allocation pool is NOT set 2025-06-12 02:19:37,188 - 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.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.624 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.624/1.795/2.966/1.171 ms') 2025-06-12 02:19:37,189 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58304315-87062080 passed 2025-06-12 02:19:37,344 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-12 02:19:37,344 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58304315-87062080, IP 37.13.191.131, Port 22 2025-06-12 02:19:37,514 - DEBUG - VM ctest-TestRoutersBasic-58304315-87062080 is ready for SSH connections 2025-06-12 02:19:37,515 - INFO - Waiting for VM ctest-TestRoutersBasic-58304315-55752217 to be up.. 2025-06-12 02:19:37,597 - DEBUG - VM is in ACTIVE state now 2025-06-12 02:19:37,597 - INFO - VM name : ctest-TestRoutersBasic-58304315-55752217 2025-06-12 02:19:37,674 - DEBUG - VM ctest-TestRoutersBasic-58304315-55752217 ID is 6f50ad9f-01d2-40c8-a40b-4c00d18b9387 2025-06-12 02:19:37,674 - DEBUG - VM ctest-TestRoutersBasic-58304315-55752217 launched on Node cn-jenkins-deploy-platform-ansible-os-3450-1 2025-06-12 02:19:37,763 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6f50ad9f-01d2-40c8-a40b-4c00d18b9387 2025-06-12 02:19:37,774 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c7741ffb-77db-4841-b394-32ad99e45e16 2025-06-12 02:19:39,023 - 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.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.94 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 = 1.936/3.088/4.240/1.152 ms') 2025-06-12 02:19:39,023 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-58304315-55752217 passed 2025-06-12 02:19:39,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-12 02:19:39,171 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58304315-55752217, IP 139.50.16.67, Port 22 2025-06-12 02:19:39,337 - DEBUG - VM ctest-TestRoutersBasic-58304315-55752217 is ready for SSH connections 2025-06-12 02:19:39,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-12 02:19:39,337 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.50.16.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-12 02:19:39,337 - DEBUG - ping -s 56 -c 3 -W 1 139.50.16.67 2025-06-12 02:19:43,343 - DEBUG - PING 139.50.16.67 (139.50.16.67): 56 data bytes 64 bytes from 139.50.16.67: seq=0 ttl=62 time=9.170 ms 64 bytes from 139.50.16.67: seq=1 ttl=62 time=1.279 ms 64 bytes from 139.50.16.67: seq=2 ttl=62 time=0.926 ms --- 139.50.16.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.926/3.791/9.170 ms 2025-06-12 02:19:43,343 - INFO - Ping to IP 139.50.16.67 from VM ctest-TestRoutersBasic-58304315-87062080 passed 2025-06-12 02:19:43,343 - INFO - Deleting interface with subnet_id 23cc23e4-6f1e-46c6-a622-7665b604d165, port_id None from router 38cfcd4b-f292-41a8-813c-6845b7bf32c7 2025-06-12 02:19:43,550 - INFO - Deleting VM ctest-TestRoutersBasic-58304315-55752217 2025-06-12 02:19:43,622 - INFO - Deleting VM ctest-TestRoutersBasic-58304315-87062080 2025-06-12 02:19:43,698 - INFO - Deleting VN ctest-ext_vn-87897626 2025-06-12 02:19:43,771 - DEBUG - VN 79e72431-7051-426b-9816-456aa95a0d70 still in use: Unable to complete operation on network 79e72431-7051-426b-9816-456aa95a0d70. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cf3513b4-b525-4a53-ad15-bbd97806ad50'] 2025-06-12 02:19:43,771 - WARNING - Deleting VN ctest-ext_vn-87897626 failed..Will retry 2025-06-12 02:19:45,872 - DEBUG - Response for deleting network () 2025-06-12 02:19:45,872 - INFO - Deleting VN ctest-vn-99688849 2025-06-12 02:19:45,984 - DEBUG - Response for deleting network () 2025-06-12 02:19:46,241 - DEBUG - No XMPP flaps were noticed during the test
2025-06-12 02:19:46,241 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-06-12 02:19:46,241 - INFO - -------------------------------------------------------------------------------- 2025-06-12 02:19:46,945 - INFO - Deleted project: ctest-TestRoutersBasic-58304315, ID : 4e93b800-17fb-4d85-bab0-ea77506883b5