2025-11-05 08:19:04,565 - INFO - Domain Default found not creating 2025-11-05 08:19:04,805 - INFO - Project ctest-TestRoutersBasic-87652569 not found, creating it 2025-11-05 08:19:05,246 - INFO - Created Project:ctest-TestRoutersBasic-87652569, ID : 89db94b5-0b93-4ca9-8842-97b21ca01ba9 2025-11-05 08:19:06,638 - INFO - ================================================================================ 2025-11-05 08:19:06,638 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-05 08:19:06,638 - 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-11-05 08:19:06,899 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.193': '0'}} with 2025-11-05 08:19:06,899 - INFO - Initial checks done. Running the testcase now 2025-11-05 08:19:06,899 - INFO - 2025-11-05 08:19:07,617 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-87652569 2025-11-05 08:19:07,713 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-87652569 2025-11-05 08:19:08,032 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87652569', 'default']} 2025-11-05 08:19:08,303 - DEBUG - Response for create_network : {'network': {'id': '71a4ff8b-d0e9-425f-8975-84c9eea710e3', 'name': 'ctest-vn-67768167', 'tenant_id': '89db94b50b934ca9884297b21ca01ba9', 'project_id': '89db94b50b934ca9884297b21ca01ba9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87652569', 'ctest-vn-67768167'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:19:08,478 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a2acc8ab-5b6b-49d4-8a32-12e72c48e856', 'name': '', 'tenant_id': '89db94b50b934ca9884297b21ca01ba9', 'network_id': '71a4ff8b-d0e9-425f-8975-84c9eea710e3', 'ip_version': 4, 'cidr': '89.26.23.128/26', 'allocation_pools': [{'start': '89.26.23.130', 'end': '89.26.23.190'}], 'gateway_ip': '89.26.23.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.26.23.130', 'tags': [], 'project_id': '89db94b50b934ca9884297b21ca01ba9'}} 2025-11-05 08:19:08,496 - INFO - Created VN ctest-vn-67768167 2025-11-05 08:19:08,549 - DEBUG - VN ctest-vn-67768167 UUID is 71a4ff8b-d0e9-425f-8975-84c9eea710e3 2025-11-05 08:19:08,885 - DEBUG - Response for create_network : {'network': {'id': 'd658b9d6-9931-4765-8f36-0bea21f248fb', 'name': 'ctest-ext_vn-39742827', 'tenant_id': '89db94b50b934ca9884297b21ca01ba9', 'project_id': '89db94b50b934ca9884297b21ca01ba9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87652569', 'ctest-ext_vn-39742827'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:19:09,089 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3428119-36b0-4a8f-9220-f3b18e6e517e', 'name': '', 'tenant_id': '89db94b50b934ca9884297b21ca01ba9', 'network_id': 'd658b9d6-9931-4765-8f36-0bea21f248fb', 'ip_version': 4, 'cidr': '70.87.131.128/26', 'allocation_pools': [{'start': '70.87.131.130', 'end': '70.87.131.190'}], 'gateway_ip': '70.87.131.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.87.131.130', 'tags': [], 'project_id': '89db94b50b934ca9884297b21ca01ba9'}} 2025-11-05 08:19:09,109 - INFO - Created VN ctest-ext_vn-39742827 2025-11-05 08:19:09,160 - DEBUG - VN ctest-ext_vn-39742827 UUID is d658b9d6-9931-4765-8f36-0bea21f248fb 2025-11-05 08:19:09,366 - DEBUG - Services list from nova: [, , ] 2025-11-05 08:19:10,345 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4633-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4633-1) 2025-11-05 08:19:11,462 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4633-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4633-1) 2025-11-05 08:19:11,536 - INFO - Setting gateway for router 5ff1fb4e-0a42-44eb-bbb0-e4cbaf929285 to network d658b9d6-9931-4765-8f36-0bea21f248fb 2025-11-05 08:19:11,590 - INFO - Adding interface with subnet_id a2acc8ab-5b6b-49d4-8a32-12e72c48e856, port_id None to router 5ff1fb4e-0a42-44eb-bbb0-e4cbaf929285 2025-11-05 08:19:11,960 - INFO - Waiting for VM ctest-TestRoutersBasic-87652569-82833995 to be up.. 2025-11-05 08:19:12,121 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 08:19:17,191 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:19:17,191 - INFO - VM name : ctest-TestRoutersBasic-87652569-82833995 2025-11-05 08:19:17,266 - DEBUG - VM ctest-TestRoutersBasic-87652569-82833995 ID is 0da3d829-5f66-4377-8f80-f44f67786e21 2025-11-05 08:19:17,287 - DEBUG - VM ctest-TestRoutersBasic-87652569-82833995 launched on Node cn-jenkins-deploy-platform-ansible-os-4633-1 2025-11-05 08:19:17,362 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/0da3d829-5f66-4377-8f80-f44f67786e21 2025-11-05 08:19:17,659 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/0da3d829-5f66-4377-8f80-f44f67786e21 2025-11-05 08:19:17,689 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/19c1178e-30c2-4b89-8eba-f1936ebdad63 2025-11-05 08:19:20,959 - 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 1017ms') 2025-11-05 08:19:20,959 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-87652569-82833995 failed! 2025-11-05 08:19:21,017 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-87652569:ctest-vn-67768167 is 89.26.23.129 and allocation pool is NOT set 2025-11-05 08:19:23,075 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.367 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 = 0.367/1.583/2.800/1.216 ms') 2025-11-05 08:19:23,075 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-87652569-82833995 passed 2025-11-05 08:19:23,176 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:19:23,177 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87652569-82833995, IP 89.26.23.131, Port 22 2025-11-05 08:19:23,332 - DEBUG - VM ctest-TestRoutersBasic-87652569-82833995 is ready for SSH connections 2025-11-05 08:19:23,332 - INFO - Waiting for VM ctest-TestRoutersBasic-87652569-53618011 to be up.. 2025-11-05 08:19:23,396 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:19:23,396 - INFO - VM name : ctest-TestRoutersBasic-87652569-53618011 2025-11-05 08:19:23,471 - DEBUG - VM ctest-TestRoutersBasic-87652569-53618011 ID is 35513995-96cb-4a03-901b-6ef8cfd3d9d6 2025-11-05 08:19:23,471 - DEBUG - VM ctest-TestRoutersBasic-87652569-53618011 launched on Node cn-jenkins-deploy-platform-ansible-os-4633-1 2025-11-05 08:19:23,537 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/35513995-96cb-4a03-901b-6ef8cfd3d9d6 2025-11-05 08:19:23,544 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/a54a4f81-ec3d-428d-9bdb-d79d3bede387 2025-11-05 08:19:24,781 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.325 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.325/1.669/3.014/1.344 ms') 2025-11-05 08:19:24,781 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-87652569-53618011 passed 2025-11-05 08:19:24,928 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:19:24,929 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87652569-53618011, IP 70.87.131.131, Port 22 2025-11-05 08:19:25,087 - DEBUG - VM ctest-TestRoutersBasic-87652569-53618011 is ready for SSH connections 2025-11-05 08:19:25,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:19:25,088 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.87.131.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-05 08:19:25,088 - DEBUG - ping -s 56 -c 3 -W 1 70.87.131.131 2025-11-05 08:19:29,111 - DEBUG - PING 70.87.131.131 (70.87.131.131): 56 data bytes 64 bytes from 70.87.131.131: seq=0 ttl=62 time=4.553 ms 64 bytes from 70.87.131.131: seq=1 ttl=62 time=1.280 ms 64 bytes from 70.87.131.131: seq=2 ttl=62 time=0.824 ms --- 70.87.131.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.824/2.219/4.553 ms 2025-11-05 08:19:29,111 - INFO - Ping to IP 70.87.131.131 from VM ctest-TestRoutersBasic-87652569-82833995 passed 2025-11-05 08:19:29,111 - INFO - Deleting interface with subnet_id a2acc8ab-5b6b-49d4-8a32-12e72c48e856, port_id None from router 5ff1fb4e-0a42-44eb-bbb0-e4cbaf929285 2025-11-05 08:19:29,302 - INFO - Deleting VM ctest-TestRoutersBasic-87652569-53618011 2025-11-05 08:19:29,364 - INFO - Deleting VM ctest-TestRoutersBasic-87652569-82833995 2025-11-05 08:19:29,436 - INFO - Deleting VN ctest-ext_vn-39742827 2025-11-05 08:19:29,494 - DEBUG - VN d658b9d6-9931-4765-8f36-0bea21f248fb still in use: Unable to complete operation on network d658b9d6-9931-4765-8f36-0bea21f248fb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-49eb860d-158c-4573-a7b8-00ad718cca90'] 2025-11-05 08:19:29,494 - WARNING - Deleting VN ctest-ext_vn-39742827 failed..Will retry 2025-11-05 08:19:31,575 - DEBUG - Response for deleting network () 2025-11-05 08:19:31,575 - INFO - Deleting VN ctest-vn-67768167 2025-11-05 08:19:31,673 - DEBUG - Response for deleting network () 2025-11-05 08:19:31,924 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 08:19:31,924 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-05 08:19:31,924 - INFO - -------------------------------------------------------------------------------- 2025-11-05 08:19:32,589 - INFO - Deleted project: ctest-TestRoutersBasic-87652569, ID : 89db94b5-0b93-4ca9-8842-97b21ca01ba9