2025-04-07 16:34:33,270 - INFO - Domain Default found not creating 2025-04-07 16:34:33,452 - INFO - Project ctest-TestRoutersBasic-42103785 not found, creating it 2025-04-07 16:34:33,994 - INFO - Created Project:ctest-TestRoutersBasic-42103785, ID : 03fec241-e6ea-41d1-acc6-f0c29a235c05 2025-04-07 16:34:35,625 - INFO - ================================================================================ 2025-04-07 16:34:35,625 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-07 16:34:35,625 - 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-04-07 16:34:35,884 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.10': '0'}} with 2025-04-07 16:34:35,884 - INFO - Initial checks done. Running the testcase now 2025-04-07 16:34:35,884 - INFO - 2025-04-07 16:34:36,628 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-42103785 2025-04-07 16:34:36,729 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-42103785 2025-04-07 16:34:37,061 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42103785', 'default']} 2025-04-07 16:34:37,376 - DEBUG - Response for create_network : {'network': {'id': '6cc999fc-074c-44be-aa60-fc6391f8c17b', 'name': 'ctest-vn-89035700', 'tenant_id': '03fec241e6ea41d1acc6f0c29a235c05', 'project_id': '03fec241e6ea41d1acc6f0c29a235c05', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42103785', 'ctest-vn-89035700'], 'port_security_enabled': True, 'description': ''}} 2025-04-07 16:34:37,559 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f8cef6e-e845-488d-8186-533d819189d1', 'name': '', 'tenant_id': '03fec241e6ea41d1acc6f0c29a235c05', 'network_id': '6cc999fc-074c-44be-aa60-fc6391f8c17b', 'ip_version': 4, 'cidr': '54.78.44.64/26', 'allocation_pools': [{'start': '54.78.44.66', 'end': '54.78.44.126'}], 'gateway_ip': '54.78.44.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.78.44.66', 'tags': [], 'project_id': '03fec241e6ea41d1acc6f0c29a235c05'}} 2025-04-07 16:34:37,588 - INFO - Created VN ctest-vn-89035700 2025-04-07 16:34:37,646 - DEBUG - VN ctest-vn-89035700 UUID is 6cc999fc-074c-44be-aa60-fc6391f8c17b 2025-04-07 16:34:38,028 - DEBUG - Response for create_network : {'network': {'id': 'c096818e-b693-48f7-8432-bc8dc5994881', 'name': 'ctest-ext_vn-19685940', 'tenant_id': '03fec241e6ea41d1acc6f0c29a235c05', 'project_id': '03fec241e6ea41d1acc6f0c29a235c05', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42103785', 'ctest-ext_vn-19685940'], 'port_security_enabled': True, 'description': ''}} 2025-04-07 16:34:38,227 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f9f31f66-5d57-425a-8269-77c7674ed3ed', 'name': '', 'tenant_id': '03fec241e6ea41d1acc6f0c29a235c05', 'network_id': 'c096818e-b693-48f7-8432-bc8dc5994881', 'ip_version': 4, 'cidr': '68.190.26.64/26', 'allocation_pools': [{'start': '68.190.26.66', 'end': '68.190.26.126'}], 'gateway_ip': '68.190.26.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.190.26.66', 'tags': [], 'project_id': '03fec241e6ea41d1acc6f0c29a235c05'}} 2025-04-07 16:34:38,250 - INFO - Created VN ctest-ext_vn-19685940 2025-04-07 16:34:38,305 - DEBUG - VN ctest-ext_vn-19685940 UUID is c096818e-b693-48f7-8432-bc8dc5994881 2025-04-07 16:34:38,535 - DEBUG - Services list from nova: [, , ] 2025-04-07 16:34:39,703 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3047-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3047-1) 2025-04-07 16:34:40,947 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3047-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3047-1) 2025-04-07 16:34:41,042 - INFO - Setting gateway for router 62fa676a-fe95-4248-ab85-8b927b17c4df to network c096818e-b693-48f7-8432-bc8dc5994881 2025-04-07 16:34:41,174 - INFO - Adding interface with subnet_id 5f8cef6e-e845-488d-8186-533d819189d1, port_id None to router 62fa676a-fe95-4248-ab85-8b927b17c4df 2025-04-07 16:34:41,755 - INFO - Waiting for VM ctest-TestRoutersBasic-42103785-77221248 to be up.. 2025-04-07 16:34:41,956 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-07 16:34:47,049 - DEBUG - VM is in ACTIVE state now 2025-04-07 16:34:47,050 - INFO - VM name : ctest-TestRoutersBasic-42103785-77221248 2025-04-07 16:34:47,135 - DEBUG - VM ctest-TestRoutersBasic-42103785-77221248 ID is 141739d9-03e2-46b1-a950-c20257c2c1af 2025-04-07 16:34:47,159 - DEBUG - VM ctest-TestRoutersBasic-42103785-77221248 launched on Node cn-jenkins-deploy-platform-ansible-os-3047-1 2025-04-07 16:34:47,245 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/141739d9-03e2-46b1-a950-c20257c2c1af 2025-04-07 16:34:47,537 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/141739d9-03e2-46b1-a950-c20257c2c1af 2025-04-07 16:34:47,572 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5f449403-efdd-4dbe-a704-5a6929795d8b 2025-04-07 16:34:50,855 - 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 1030ms') 2025-04-07 16:34:50,855 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42103785-77221248 failed! 2025-04-07 16:34:50,913 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-42103785:ctest-vn-89035700 is 54.78.44.65 and allocation pool is NOT set 2025-04-07 16:34:52,980 - 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.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.944 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.944/2.723/4.503/1.779 ms') 2025-04-07 16:34:52,980 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42103785-77221248 passed 2025-04-07 16:34:53,141 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 16:34:53,142 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42103785-77221248, IP 54.78.44.67, Port 22 2025-04-07 16:34:53,308 - DEBUG - VM ctest-TestRoutersBasic-42103785-77221248 is ready for SSH connections 2025-04-07 16:34:53,308 - INFO - Waiting for VM ctest-TestRoutersBasic-42103785-92671514 to be up.. 2025-04-07 16:34:53,403 - DEBUG - VM is in ACTIVE state now 2025-04-07 16:34:53,403 - INFO - VM name : ctest-TestRoutersBasic-42103785-92671514 2025-04-07 16:34:53,485 - DEBUG - VM ctest-TestRoutersBasic-42103785-92671514 ID is 81778a96-9ac2-4b98-a8ff-de33eda16702 2025-04-07 16:34:53,485 - DEBUG - VM ctest-TestRoutersBasic-42103785-92671514 launched on Node cn-jenkins-deploy-platform-ansible-os-3047-1 2025-04-07 16:34:53,571 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/81778a96-9ac2-4b98-a8ff-de33eda16702 2025-04-07 16:34:53,582 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/db31e83e-0106-475a-9597-d0bc1be50a6d 2025-04-07 16:34:54,844 - 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.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.886 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.886/2.455/4.024/1.569 ms') 2025-04-07 16:34:54,845 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-42103785-92671514 passed 2025-04-07 16:34:55,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 16:34:55,001 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42103785-92671514, IP 68.190.26.67, Port 22 2025-04-07 16:34:55,167 - DEBUG - VM ctest-TestRoutersBasic-42103785-92671514 is ready for SSH connections 2025-04-07 16:34:55,167 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 16:34:55,168 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.190.26.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-04-07 16:34:55,168 - DEBUG - ping -s 56 -c 3 -W 1 68.190.26.67 2025-04-07 16:34:59,351 - DEBUG - PING 68.190.26.67 (68.190.26.67): 56 data bytes 64 bytes from 68.190.26.67: seq=0 ttl=62 time=6.891 ms 64 bytes from 68.190.26.67: seq=1 ttl=62 time=1.030 ms 64 bytes from 68.190.26.67: seq=2 ttl=62 time=0.943 ms --- 68.190.26.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.943/2.954/6.891 ms 2025-04-07 16:34:59,351 - INFO - Ping to IP 68.190.26.67 from VM ctest-TestRoutersBasic-42103785-77221248 passed 2025-04-07 16:34:59,351 - INFO - Deleting interface with subnet_id 5f8cef6e-e845-488d-8186-533d819189d1, port_id None from router 62fa676a-fe95-4248-ab85-8b927b17c4df 2025-04-07 16:34:59,618 - INFO - Deleting VM ctest-TestRoutersBasic-42103785-92671514 2025-04-07 16:34:59,703 - INFO - Deleting VM ctest-TestRoutersBasic-42103785-77221248 2025-04-07 16:34:59,829 - INFO - Deleting VN ctest-ext_vn-19685940 2025-04-07 16:34:59,917 - DEBUG - VN c096818e-b693-48f7-8432-bc8dc5994881 still in use: Unable to complete operation on network c096818e-b693-48f7-8432-bc8dc5994881. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5867793b-16e4-4b13-8d08-06055e585143'] 2025-04-07 16:34:59,917 - WARNING - Deleting VN ctest-ext_vn-19685940 failed..Will retry 2025-04-07 16:35:02,052 - DEBUG - Response for deleting network () 2025-04-07 16:35:02,052 - INFO - Deleting VN ctest-vn-89035700 2025-04-07 16:35:02,199 - DEBUG - Response for deleting network () 2025-04-07 16:35:02,455 - DEBUG - No XMPP flaps were noticed during the test
2025-04-07 16:35:02,456 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-04-07 16:35:02,456 - INFO - -------------------------------------------------------------------------------- 2025-04-07 16:35:03,349 - INFO - Deleted project: ctest-TestRoutersBasic-42103785, ID : 03fec241-e6ea-41d1-acc6-f0c29a235c05