2025-10-09 11:16:49,583 - INFO - Domain Default found not creating 2025-10-09 11:16:49,740 - INFO - Project ctest-TestRoutersBasic-75604340 not found, creating it 2025-10-09 11:16:50,204 - INFO - Created Project:ctest-TestRoutersBasic-75604340, ID : 1649a7f3-5aed-4eb9-8415-b32f14761f02 2025-10-09 11:16:51,660 - INFO - ================================================================================ 2025-10-09 11:16:51,661 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-09 11:16:51,661 - 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-09 11:16:51,913 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-09 11:16:51,913 - INFO - Initial checks done. Running the testcase now 2025-10-09 11:16:51,913 - INFO - 2025-10-09 11:16:52,641 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-75604340 2025-10-09 11:16:52,736 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-75604340 2025-10-09 11:16:53,068 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75604340', 'default']} 2025-10-09 11:16:53,347 - DEBUG - Response for create_network : {'network': {'id': '45793d8f-81e4-42f3-b33d-b498952acbd6', 'name': 'ctest-vn-41804300', 'tenant_id': '1649a7f35aed4eb98415b32f14761f02', 'project_id': '1649a7f35aed4eb98415b32f14761f02', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75604340', 'ctest-vn-41804300'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 11:16:53,509 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb72cbab-1b64-4527-8f36-578165d54de2', 'name': '', 'tenant_id': '1649a7f35aed4eb98415b32f14761f02', 'network_id': '45793d8f-81e4-42f3-b33d-b498952acbd6', 'ip_version': 4, 'cidr': '80.28.225.0/26', 'allocation_pools': [{'start': '80.28.225.2', 'end': '80.28.225.62'}], 'gateway_ip': '80.28.225.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.28.225.2', 'tags': [], 'project_id': '1649a7f35aed4eb98415b32f14761f02'}} 2025-10-09 11:16:53,529 - INFO - Created VN ctest-vn-41804300 2025-10-09 11:16:53,580 - DEBUG - VN ctest-vn-41804300 UUID is 45793d8f-81e4-42f3-b33d-b498952acbd6 2025-10-09 11:16:53,925 - DEBUG - Response for create_network : {'network': {'id': '3c695b04-cc80-4e47-9173-d5b01843d7a7', 'name': 'ctest-ext_vn-09153652', 'tenant_id': '1649a7f35aed4eb98415b32f14761f02', 'project_id': '1649a7f35aed4eb98415b32f14761f02', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75604340', 'ctest-ext_vn-09153652'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 11:16:54,089 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ab59948-50a1-4f35-9a58-7285ba454472', 'name': '', 'tenant_id': '1649a7f35aed4eb98415b32f14761f02', 'network_id': '3c695b04-cc80-4e47-9173-d5b01843d7a7', 'ip_version': 4, 'cidr': '7.8.181.128/26', 'allocation_pools': [{'start': '7.8.181.130', 'end': '7.8.181.190'}], 'gateway_ip': '7.8.181.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.8.181.130', 'tags': [], 'project_id': '1649a7f35aed4eb98415b32f14761f02'}} 2025-10-09 11:16:54,107 - INFO - Created VN ctest-ext_vn-09153652 2025-10-09 11:16:54,160 - DEBUG - VN ctest-ext_vn-09153652 UUID is 3c695b04-cc80-4e47-9173-d5b01843d7a7 2025-10-09 11:16:54,340 - DEBUG - Services list from nova: [, , ] 2025-10-09 11:16:55,367 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4258-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4258-1) 2025-10-09 11:16:56,504 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4258-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4258-1) 2025-10-09 11:16:56,586 - INFO - Setting gateway for router 861afad4-f4cc-48d7-95ff-200bfa069e13 to network 3c695b04-cc80-4e47-9173-d5b01843d7a7 2025-10-09 11:16:56,665 - INFO - Adding interface with subnet_id eb72cbab-1b64-4527-8f36-578165d54de2, port_id None to router 861afad4-f4cc-48d7-95ff-200bfa069e13 2025-10-09 11:16:56,956 - INFO - Waiting for VM ctest-TestRoutersBasic-75604340-55615541 to be up.. 2025-10-09 11:16:57,128 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 11:17:02,204 - DEBUG - VM is in ACTIVE state now 2025-10-09 11:17:02,204 - INFO - VM name : ctest-TestRoutersBasic-75604340-55615541 2025-10-09 11:17:02,299 - DEBUG - VM ctest-TestRoutersBasic-75604340-55615541 ID is a81febd1-62ff-4e57-904b-f22971ff3837 2025-10-09 11:17:02,320 - DEBUG - VM ctest-TestRoutersBasic-75604340-55615541 launched on Node cn-jenkins-deploy-platform-ansible-os-4258-1 2025-10-09 11:17:02,402 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a81febd1-62ff-4e57-904b-f22971ff3837 2025-10-09 11:17:02,713 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a81febd1-62ff-4e57-904b-f22971ff3837 2025-10-09 11:17:02,754 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/9f5d5857-17bd-41e2-9647-14caebd9d9ba 2025-10-09 11:17:06,017 - 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 1029ms') 2025-10-09 11:17:06,017 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75604340-55615541 failed! 2025-10-09 11:17:06,072 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-75604340:ctest-vn-41804300 is 80.28.225.1 and allocation pool is NOT set 2025-10-09 11:17:08,131 - 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.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.405 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.405/2.343/4.281/1.938 ms') 2025-10-09 11:17:08,131 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75604340-55615541 passed 2025-10-09 11:17:08,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 11:17:08,292 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75604340-55615541, IP 80.28.225.3, Port 22 2025-10-09 11:17:08,448 - DEBUG - VM ctest-TestRoutersBasic-75604340-55615541 is ready for SSH connections 2025-10-09 11:17:08,448 - INFO - Waiting for VM ctest-TestRoutersBasic-75604340-06541977 to be up.. 2025-10-09 11:17:08,531 - DEBUG - VM is in ACTIVE state now 2025-10-09 11:17:08,532 - INFO - VM name : ctest-TestRoutersBasic-75604340-06541977 2025-10-09 11:17:08,609 - DEBUG - VM ctest-TestRoutersBasic-75604340-06541977 ID is cee6b8b1-502d-4141-a17a-fdce8afaa09e 2025-10-09 11:17:08,610 - DEBUG - VM ctest-TestRoutersBasic-75604340-06541977 launched on Node cn-jenkins-deploy-platform-ansible-os-4258-1 2025-10-09 11:17:08,688 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/cee6b8b1-502d-4141-a17a-fdce8afaa09e 2025-10-09 11:17:08,698 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/77a93296-e6fb-4ec8-ae33-2e1f8f8667b2 2025-10-09 11:17:09,945 - 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.461 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.461/1.737/3.014/1.276 ms') 2025-10-09 11:17:09,945 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-75604340-06541977 passed 2025-10-09 11:17:10,100 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 11:17:10,100 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75604340-06541977, IP 7.8.181.131, Port 22 2025-10-09 11:17:10,255 - DEBUG - VM ctest-TestRoutersBasic-75604340-06541977 is ready for SSH connections 2025-10-09 11:17:10,255 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 11:17:10,256 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.8.181.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-09 11:17:10,256 - DEBUG - ping -s 56 -c 3 -W 1 7.8.181.131 2025-10-09 11:17:13,958 - DEBUG - PING 7.8.181.131 (7.8.181.131): 56 data bytes 64 bytes from 7.8.181.131: seq=0 ttl=62 time=6.495 ms 64 bytes from 7.8.181.131: seq=1 ttl=62 time=0.944 ms 64 bytes from 7.8.181.131: seq=2 ttl=62 time=1.076 ms --- 7.8.181.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.944/2.838/6.495 ms 2025-10-09 11:17:13,958 - INFO - Ping to IP 7.8.181.131 from VM ctest-TestRoutersBasic-75604340-55615541 passed 2025-10-09 11:17:13,958 - INFO - Deleting interface with subnet_id eb72cbab-1b64-4527-8f36-578165d54de2, port_id None from router 861afad4-f4cc-48d7-95ff-200bfa069e13 2025-10-09 11:17:14,161 - INFO - Deleting VM ctest-TestRoutersBasic-75604340-06541977 2025-10-09 11:17:14,235 - INFO - Deleting VM ctest-TestRoutersBasic-75604340-55615541 2025-10-09 11:17:14,343 - INFO - Deleting VN ctest-ext_vn-09153652 2025-10-09 11:17:14,442 - DEBUG - VN 3c695b04-cc80-4e47-9173-d5b01843d7a7 still in use: Unable to complete operation on network 3c695b04-cc80-4e47-9173-d5b01843d7a7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-71d6426b-c14b-4e42-925a-100e95f3a2c9'] 2025-10-09 11:17:14,442 - WARNING - Deleting VN ctest-ext_vn-09153652 failed..Will retry 2025-10-09 11:17:16,556 - DEBUG - Response for deleting network () 2025-10-09 11:17:16,556 - INFO - Deleting VN ctest-vn-41804300 2025-10-09 11:17:16,690 - DEBUG - Response for deleting network () 2025-10-09 11:17:16,944 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 11:17:16,944 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-09 11:17:16,944 - INFO - -------------------------------------------------------------------------------- 2025-10-09 11:17:17,626 - INFO - Deleted project: ctest-TestRoutersBasic-75604340, ID : 1649a7f3-5aed-4eb9-8415-b32f14761f02