2025-10-21 06:21:06,148 - INFO - Domain Default found not creating 2025-10-21 06:21:06,320 - INFO - Project ctest-TestRoutersBasic-70088805 not found, creating it 2025-10-21 06:21:06,785 - INFO - Created Project:ctest-TestRoutersBasic-70088805, ID : 788bec94-c81d-4bb1-a126-ad7bead1fab5 2025-10-21 06:21:08,261 - INFO - ================================================================================ 2025-10-21 06:21:08,261 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-21 06:21:08,261 - 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-10-21 06:21:08,515 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-10-21 06:21:08,515 - INFO - Initial checks done. Running the testcase now 2025-10-21 06:21:08,515 - INFO - 2025-10-21 06:21:09,227 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-70088805 2025-10-21 06:21:09,322 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-70088805 2025-10-21 06:21:09,645 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70088805', 'default']} 2025-10-21 06:21:09,936 - DEBUG - Response for create_network : {'network': {'id': 'f52a81b8-0e5f-4945-8f46-e00010af1432', 'name': 'ctest-vn-55340164', 'tenant_id': '788bec94c81d4bb1a126ad7bead1fab5', 'project_id': '788bec94c81d4bb1a126ad7bead1fab5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70088805', 'ctest-vn-55340164'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 06:21:10,118 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ed259dad-5f01-4d8c-9731-d04552106de8', 'name': '', 'tenant_id': '788bec94c81d4bb1a126ad7bead1fab5', 'network_id': 'f52a81b8-0e5f-4945-8f46-e00010af1432', 'ip_version': 4, 'cidr': '164.245.164.64/26', 'allocation_pools': [{'start': '164.245.164.66', 'end': '164.245.164.126'}], 'gateway_ip': '164.245.164.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.245.164.66', 'tags': [], 'project_id': '788bec94c81d4bb1a126ad7bead1fab5'}} 2025-10-21 06:21:10,133 - INFO - Created VN ctest-vn-55340164 2025-10-21 06:21:10,186 - DEBUG - VN ctest-vn-55340164 UUID is f52a81b8-0e5f-4945-8f46-e00010af1432 2025-10-21 06:21:10,540 - DEBUG - Response for create_network : {'network': {'id': 'fab10184-7580-411f-a58c-72aef927d85b', 'name': 'ctest-ext_vn-38823666', 'tenant_id': '788bec94c81d4bb1a126ad7bead1fab5', 'project_id': '788bec94c81d4bb1a126ad7bead1fab5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70088805', 'ctest-ext_vn-38823666'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 06:21:10,762 - DEBUG - Response for create_subnet : {'subnet': {'id': '42d0bebe-117f-42b7-b189-d827acdfd3af', 'name': '', 'tenant_id': '788bec94c81d4bb1a126ad7bead1fab5', 'network_id': 'fab10184-7580-411f-a58c-72aef927d85b', 'ip_version': 4, 'cidr': '155.161.207.128/26', 'allocation_pools': [{'start': '155.161.207.130', 'end': '155.161.207.190'}], 'gateway_ip': '155.161.207.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.161.207.130', 'tags': [], 'project_id': '788bec94c81d4bb1a126ad7bead1fab5'}} 2025-10-21 06:21:10,780 - INFO - Created VN ctest-ext_vn-38823666 2025-10-21 06:21:10,834 - DEBUG - VN ctest-ext_vn-38823666 UUID is fab10184-7580-411f-a58c-72aef927d85b 2025-10-21 06:21:11,038 - DEBUG - Services list from nova: [, , ] 2025-10-21 06:21:12,087 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4389-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4389-1) 2025-10-21 06:21:13,244 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4389-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4389-1) 2025-10-21 06:21:13,322 - INFO - Setting gateway for router 23b85c46-fde4-4a6d-9906-c3db9b18a049 to network fab10184-7580-411f-a58c-72aef927d85b 2025-10-21 06:21:13,374 - INFO - Adding interface with subnet_id ed259dad-5f01-4d8c-9731-d04552106de8, port_id None to router 23b85c46-fde4-4a6d-9906-c3db9b18a049 2025-10-21 06:21:13,715 - INFO - Waiting for VM ctest-TestRoutersBasic-70088805-48869781 to be up.. 2025-10-21 06:21:13,882 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 06:21:18,970 - DEBUG - VM is in ACTIVE state now 2025-10-21 06:21:18,970 - INFO - VM name : ctest-TestRoutersBasic-70088805-48869781 2025-10-21 06:21:19,053 - DEBUG - VM ctest-TestRoutersBasic-70088805-48869781 ID is 622039eb-38de-44e9-80f7-30a9f6a57d0d 2025-10-21 06:21:19,072 - DEBUG - VM ctest-TestRoutersBasic-70088805-48869781 launched on Node cn-jenkins-deploy-platform-ansible-os-4389-1 2025-10-21 06:21:19,158 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/622039eb-38de-44e9-80f7-30a9f6a57d0d 2025-10-21 06:21:19,456 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/622039eb-38de-44e9-80f7-30a9f6a57d0d 2025-10-21 06:21:19,489 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/6946d3b4-322a-4f50-8409-9f19be4eb04f 2025-10-21 06:21:22,764 - 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 1019ms') 2025-10-21 06:21:22,764 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70088805-48869781 failed! 2025-10-21 06:21:22,818 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-70088805:ctest-vn-55340164 is 164.245.164.65 and allocation pool is NOT set 2025-10-21 06:21:24,877 - 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=4.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.34 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 = 1.342/2.832/4.323/1.490 ms') 2025-10-21 06:21:24,877 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70088805-48869781 passed 2025-10-21 06:21:25,030 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 06:21:25,030 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70088805-48869781, IP 164.245.164.67, Port 22 2025-10-21 06:21:25,186 - DEBUG - VM ctest-TestRoutersBasic-70088805-48869781 is ready for SSH connections 2025-10-21 06:21:25,186 - INFO - Waiting for VM ctest-TestRoutersBasic-70088805-35822411 to be up.. 2025-10-21 06:21:25,284 - DEBUG - VM is in ACTIVE state now 2025-10-21 06:21:25,284 - INFO - VM name : ctest-TestRoutersBasic-70088805-35822411 2025-10-21 06:21:25,381 - DEBUG - VM ctest-TestRoutersBasic-70088805-35822411 ID is 4bcfc389-6684-43a8-b32c-9fdf71d2e419 2025-10-21 06:21:25,381 - DEBUG - VM ctest-TestRoutersBasic-70088805-35822411 launched on Node cn-jenkins-deploy-platform-ansible-os-4389-1 2025-10-21 06:21:25,466 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/4bcfc389-6684-43a8-b32c-9fdf71d2e419 2025-10-21 06:21:25,475 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/1012aa5b-efec-481b-bf8f-149ebbc79270 2025-10-21 06:21:26,710 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.30 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.296/3.031/4.767/1.735 ms') 2025-10-21 06:21:26,710 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-70088805-35822411 passed 2025-10-21 06:21:26,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 06:21:26,862 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70088805-35822411, IP 155.161.207.131, Port 22 2025-10-21 06:21:27,017 - DEBUG - VM ctest-TestRoutersBasic-70088805-35822411 is ready for SSH connections 2025-10-21 06:21:27,017 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 06:21:27,017 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.161.207.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-21 06:21:27,017 - DEBUG - ping -s 56 -c 3 -W 1 155.161.207.131 2025-10-21 06:21:30,759 - DEBUG - PING 155.161.207.131 (155.161.207.131): 56 data bytes 64 bytes from 155.161.207.131: seq=0 ttl=62 time=5.918 ms 64 bytes from 155.161.207.131: seq=1 ttl=62 time=0.948 ms 64 bytes from 155.161.207.131: seq=2 ttl=62 time=1.062 ms --- 155.161.207.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.948/2.642/5.918 ms 2025-10-21 06:21:30,759 - INFO - Ping to IP 155.161.207.131 from VM ctest-TestRoutersBasic-70088805-48869781 passed 2025-10-21 06:21:30,760 - INFO - Deleting interface with subnet_id ed259dad-5f01-4d8c-9731-d04552106de8, port_id None from router 23b85c46-fde4-4a6d-9906-c3db9b18a049 2025-10-21 06:21:30,964 - INFO - Deleting VM ctest-TestRoutersBasic-70088805-35822411 2025-10-21 06:21:31,041 - INFO - Deleting VM ctest-TestRoutersBasic-70088805-48869781 2025-10-21 06:21:31,123 - INFO - Deleting VN ctest-ext_vn-38823666 2025-10-21 06:21:31,200 - DEBUG - VN fab10184-7580-411f-a58c-72aef927d85b still in use: Unable to complete operation on network fab10184-7580-411f-a58c-72aef927d85b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cf0ccf7f-4e07-4a6a-87ca-2ef91778696b'] 2025-10-21 06:21:31,200 - WARNING - Deleting VN ctest-ext_vn-38823666 failed..Will retry 2025-10-21 06:21:33,302 - DEBUG - Response for deleting network () 2025-10-21 06:21:33,302 - INFO - Deleting VN ctest-vn-55340164 2025-10-21 06:21:33,405 - DEBUG - Response for deleting network () 2025-10-21 06:21:33,659 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 06:21:33,659 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-21 06:21:33,659 - INFO - -------------------------------------------------------------------------------- 2025-10-21 06:21:34,406 - INFO - Deleted project: ctest-TestRoutersBasic-70088805, ID : 788bec94-c81d-4bb1-a126-ad7bead1fab5