2025-12-08 19:41:34,378 - INFO - Domain Default found not creating 2025-12-08 19:41:34,552 - INFO - Project ctest-TestRoutersBasic-74697608 not found, creating it 2025-12-08 19:41:35,049 - INFO - Created Project:ctest-TestRoutersBasic-74697608, ID : 7f181de3-c4f5-4c85-a84d-5208bfd18d60 2025-12-08 19:41:36,653 - INFO - ================================================================================ 2025-12-08 19:41:36,653 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-08 19:41:36,653 - 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-12-08 19:41:36,915 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.25': '0'}} with 2025-12-08 19:41:36,916 - INFO - Initial checks done. Running the testcase now 2025-12-08 19:41:36,916 - INFO - 2025-12-08 19:41:37,669 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-74697608 2025-12-08 19:41:37,769 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-74697608 2025-12-08 19:41:38,092 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74697608', 'default']} 2025-12-08 19:41:38,394 - DEBUG - Response for create_network : {'network': {'id': '9d38ad9f-d054-4096-ac6d-9de6ad623f58', 'name': 'ctest-vn-23738230', 'tenant_id': '7f181de3c4f54c85a84d5208bfd18d60', 'project_id': '7f181de3c4f54c85a84d5208bfd18d60', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74697608', 'ctest-vn-23738230'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 19:41:38,550 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b15087df-21d6-4087-b9ee-d27bc695b16f', 'name': '', 'tenant_id': '7f181de3c4f54c85a84d5208bfd18d60', 'network_id': '9d38ad9f-d054-4096-ac6d-9de6ad623f58', 'ip_version': 4, 'cidr': '152.203.181.128/26', 'allocation_pools': [{'start': '152.203.181.130', 'end': '152.203.181.190'}], 'gateway_ip': '152.203.181.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.203.181.130', 'tags': [], 'project_id': '7f181de3c4f54c85a84d5208bfd18d60'}} 2025-12-08 19:41:38,572 - INFO - Created VN ctest-vn-23738230 2025-12-08 19:41:38,629 - DEBUG - VN ctest-vn-23738230 UUID is 9d38ad9f-d054-4096-ac6d-9de6ad623f58 2025-12-08 19:41:38,970 - DEBUG - Response for create_network : {'network': {'id': 'f3beef1e-dd04-4798-99f5-2343cde1863c', 'name': 'ctest-ext_vn-06562972', 'tenant_id': '7f181de3c4f54c85a84d5208bfd18d60', 'project_id': '7f181de3c4f54c85a84d5208bfd18d60', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74697608', 'ctest-ext_vn-06562972'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 19:41:39,171 - DEBUG - Response for create_subnet : {'subnet': {'id': '04cf9948-52f1-4f23-8881-9e3654391c65', 'name': '', 'tenant_id': '7f181de3c4f54c85a84d5208bfd18d60', 'network_id': 'f3beef1e-dd04-4798-99f5-2343cde1863c', 'ip_version': 4, 'cidr': '200.119.185.64/26', 'allocation_pools': [{'start': '200.119.185.66', 'end': '200.119.185.126'}], 'gateway_ip': '200.119.185.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.119.185.66', 'tags': [], 'project_id': '7f181de3c4f54c85a84d5208bfd18d60'}} 2025-12-08 19:41:39,189 - INFO - Created VN ctest-ext_vn-06562972 2025-12-08 19:41:39,240 - DEBUG - VN ctest-ext_vn-06562972 UUID is f3beef1e-dd04-4798-99f5-2343cde1863c 2025-12-08 19:41:39,423 - DEBUG - Services list from nova: [, , ] 2025-12-08 19:41:40,496 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4859-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4859-1) 2025-12-08 19:41:41,748 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4859-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4859-1) 2025-12-08 19:41:41,833 - INFO - Setting gateway for router 7e49ed88-15ba-425c-aed3-78f69ad26c08 to network f3beef1e-dd04-4798-99f5-2343cde1863c 2025-12-08 19:41:41,902 - INFO - Adding interface with subnet_id b15087df-21d6-4087-b9ee-d27bc695b16f, port_id None to router 7e49ed88-15ba-425c-aed3-78f69ad26c08 2025-12-08 19:41:42,344 - INFO - Waiting for VM ctest-TestRoutersBasic-74697608-89310430 to be up.. 2025-12-08 19:41:42,488 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-08 19:41:47,571 - DEBUG - VM is in ACTIVE state now 2025-12-08 19:41:47,571 - INFO - VM name : ctest-TestRoutersBasic-74697608-89310430 2025-12-08 19:41:47,658 - DEBUG - VM ctest-TestRoutersBasic-74697608-89310430 ID is 230cf2b1-5e7c-42c0-995e-320502bf7638 2025-12-08 19:41:47,681 - DEBUG - VM ctest-TestRoutersBasic-74697608-89310430 launched on Node cn-jenkins-deploy-platform-ansible-os-4859-1 2025-12-08 19:41:47,763 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/230cf2b1-5e7c-42c0-995e-320502bf7638 2025-12-08 19:41:48,071 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/230cf2b1-5e7c-42c0-995e-320502bf7638 2025-12-08 19:41:48,109 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/edb64a09-4e71-48ba-b172-d3924042b42b 2025-12-08 19:41:51,376 - 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 1026ms') 2025-12-08 19:41:51,376 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74697608-89310430 failed! 2025-12-08 19:41:51,441 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-74697608:ctest-vn-23738230 is 152.203.181.129 and allocation pool is NOT set 2025-12-08 19:41:53,508 - 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=5.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.496 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.496/2.800/5.105/2.304 ms') 2025-12-08 19:41:53,509 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74697608-89310430 passed 2025-12-08 19:41:53,669 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 19:41:53,669 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74697608-89310430, IP 152.203.181.131, Port 22 2025-12-08 19:41:53,824 - DEBUG - VM ctest-TestRoutersBasic-74697608-89310430 is ready for SSH connections 2025-12-08 19:41:53,824 - INFO - Waiting for VM ctest-TestRoutersBasic-74697608-57464636 to be up.. 2025-12-08 19:41:53,905 - DEBUG - VM is in ACTIVE state now 2025-12-08 19:41:53,905 - INFO - VM name : ctest-TestRoutersBasic-74697608-57464636 2025-12-08 19:41:53,986 - DEBUG - VM ctest-TestRoutersBasic-74697608-57464636 ID is 75bc1a70-30a1-4c09-86f1-c7307277f6ac 2025-12-08 19:41:53,986 - DEBUG - VM ctest-TestRoutersBasic-74697608-57464636 launched on Node cn-jenkins-deploy-platform-ansible-os-4859-1 2025-12-08 19:41:54,083 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/75bc1a70-30a1-4c09-86f1-c7307277f6ac 2025-12-08 19:41:54,094 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/56bc1083-ab00-4c81-9c0b-f3f02c6b8dbf 2025-12-08 19:41:55,339 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.39 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.394/2.769/4.145/1.375 ms') 2025-12-08 19:41:55,339 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-74697608-57464636 passed 2025-12-08 19:41:55,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 19:41:55,501 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74697608-57464636, IP 200.119.185.67, Port 22 2025-12-08 19:41:55,660 - DEBUG - VM ctest-TestRoutersBasic-74697608-57464636 is ready for SSH connections 2025-12-08 19:41:55,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 19:41:55,661 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.119.185.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-08 19:41:55,661 - DEBUG - ping -s 56 -c 3 -W 1 200.119.185.67 2025-12-08 19:41:59,384 - DEBUG - PING 200.119.185.67 (200.119.185.67): 56 data bytes 64 bytes from 200.119.185.67: seq=0 ttl=62 time=6.613 ms 64 bytes from 200.119.185.67: seq=1 ttl=62 time=0.934 ms 64 bytes from 200.119.185.67: seq=2 ttl=62 time=1.367 ms --- 200.119.185.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.934/2.971/6.613 ms 2025-12-08 19:41:59,384 - INFO - Ping to IP 200.119.185.67 from VM ctest-TestRoutersBasic-74697608-89310430 passed 2025-12-08 19:41:59,384 - INFO - Deleting interface with subnet_id b15087df-21d6-4087-b9ee-d27bc695b16f, port_id None from router 7e49ed88-15ba-425c-aed3-78f69ad26c08 2025-12-08 19:41:59,599 - INFO - Deleting VM ctest-TestRoutersBasic-74697608-57464636 2025-12-08 19:41:59,687 - INFO - Deleting VM ctest-TestRoutersBasic-74697608-89310430 2025-12-08 19:41:59,777 - INFO - Deleting VN ctest-ext_vn-06562972 2025-12-08 19:41:59,868 - DEBUG - VN f3beef1e-dd04-4798-99f5-2343cde1863c still in use: Unable to complete operation on network f3beef1e-dd04-4798-99f5-2343cde1863c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ef12a3c7-f8b6-449d-9e14-8e43983b1fd5'] 2025-12-08 19:41:59,868 - WARNING - Deleting VN ctest-ext_vn-06562972 failed..Will retry 2025-12-08 19:42:01,981 - DEBUG - Response for deleting network () 2025-12-08 19:42:01,981 - INFO - Deleting VN ctest-vn-23738230 2025-12-08 19:42:02,092 - DEBUG - Response for deleting network () 2025-12-08 19:42:02,365 - DEBUG - No XMPP flaps were noticed during the test
2025-12-08 19:42:02,366 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-12-08 19:42:02,366 - INFO - -------------------------------------------------------------------------------- 2025-12-08 19:42:03,116 - INFO - Deleted project: ctest-TestRoutersBasic-74697608, ID : 7f181de3-c4f5-4c85-a84d-5208bfd18d60