2025-05-29 10:13:43,521 - INFO - Domain Default found not creating 2025-05-29 10:13:43,683 - INFO - Project ctest-TestRoutersBasic-52247210 not found, creating it 2025-05-29 10:13:44,166 - INFO - Created Project:ctest-TestRoutersBasic-52247210, ID : 9707573b-e281-4926-a767-42bd8de0b252 2025-05-29 10:13:45,636 - INFO - ================================================================================ 2025-05-29 10:13:45,636 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-29 10:13:45,636 - 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-05-29 10:13:45,893 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-05-29 10:13:45,893 - INFO - Initial checks done. Running the testcase now 2025-05-29 10:13:45,893 - INFO - 2025-05-29 10:13:46,610 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-52247210 2025-05-29 10:13:46,706 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-52247210 2025-05-29 10:13:47,025 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52247210', 'default']} 2025-05-29 10:13:47,329 - DEBUG - Response for create_network : {'network': {'id': '78801880-608f-4881-b04e-d0f002b56f42', 'name': 'ctest-vn-01137967', 'tenant_id': '9707573be2814926a76742bd8de0b252', 'project_id': '9707573be2814926a76742bd8de0b252', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52247210', 'ctest-vn-01137967'], 'port_security_enabled': True, 'description': ''}} 2025-05-29 10:13:47,545 - DEBUG - Response for create_subnet : {'subnet': {'id': '143f51af-8f00-436a-a489-19a453535f27', 'name': '', 'tenant_id': '9707573be2814926a76742bd8de0b252', 'network_id': '78801880-608f-4881-b04e-d0f002b56f42', 'ip_version': 4, 'cidr': '149.103.95.0/26', 'allocation_pools': [{'start': '149.103.95.2', 'end': '149.103.95.62'}], 'gateway_ip': '149.103.95.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.103.95.2', 'tags': [], 'project_id': '9707573be2814926a76742bd8de0b252'}} 2025-05-29 10:13:47,564 - INFO - Created VN ctest-vn-01137967 2025-05-29 10:13:47,617 - DEBUG - VN ctest-vn-01137967 UUID is 78801880-608f-4881-b04e-d0f002b56f42 2025-05-29 10:13:47,970 - DEBUG - Response for create_network : {'network': {'id': '9a7eac9d-39b2-4264-abdd-efcd350a6e52', 'name': 'ctest-ext_vn-93357469', 'tenant_id': '9707573be2814926a76742bd8de0b252', 'project_id': '9707573be2814926a76742bd8de0b252', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52247210', 'ctest-ext_vn-93357469'], 'port_security_enabled': True, 'description': ''}} 2025-05-29 10:13:48,184 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e156338e-dd40-4028-81d0-06ea6e5dc62c', 'name': '', 'tenant_id': '9707573be2814926a76742bd8de0b252', 'network_id': '9a7eac9d-39b2-4264-abdd-efcd350a6e52', 'ip_version': 4, 'cidr': '180.148.55.128/26', 'allocation_pools': [{'start': '180.148.55.130', 'end': '180.148.55.190'}], 'gateway_ip': '180.148.55.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.148.55.130', 'tags': [], 'project_id': '9707573be2814926a76742bd8de0b252'}} 2025-05-29 10:13:48,204 - INFO - Created VN ctest-ext_vn-93357469 2025-05-29 10:13:48,257 - DEBUG - VN ctest-ext_vn-93357469 UUID is 9a7eac9d-39b2-4264-abdd-efcd350a6e52 2025-05-29 10:13:48,431 - DEBUG - Services list from nova: [, , ] 2025-05-29 10:13:49,442 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3364-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3364-1) 2025-05-29 10:13:50,823 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3364-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3364-1) 2025-05-29 10:13:50,902 - INFO - Setting gateway for router d454e019-1ae5-4db8-8522-134e6fc23966 to network 9a7eac9d-39b2-4264-abdd-efcd350a6e52 2025-05-29 10:13:50,955 - INFO - Adding interface with subnet_id 143f51af-8f00-436a-a489-19a453535f27, port_id None to router d454e019-1ae5-4db8-8522-134e6fc23966 2025-05-29 10:13:51,245 - INFO - Waiting for VM ctest-TestRoutersBasic-52247210-67684334 to be up.. 2025-05-29 10:13:51,423 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-29 10:13:56,522 - DEBUG - VM is in ACTIVE state now 2025-05-29 10:13:56,522 - INFO - VM name : ctest-TestRoutersBasic-52247210-67684334 2025-05-29 10:13:56,607 - DEBUG - VM ctest-TestRoutersBasic-52247210-67684334 ID is d401f4c7-0f2b-4b54-8412-b4fdbf569081 2025-05-29 10:13:56,631 - DEBUG - VM ctest-TestRoutersBasic-52247210-67684334 launched on Node cn-jenkins-deploy-platform-ansible-os-3364-1 2025-05-29 10:13:56,710 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d401f4c7-0f2b-4b54-8412-b4fdbf569081 2025-05-29 10:13:57,012 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d401f4c7-0f2b-4b54-8412-b4fdbf569081 2025-05-29 10:13:57,048 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a539cc64-015b-44cd-8769-f672fc467388 2025-05-29 10:14:00,315 - 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-05-29 10:14:00,315 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52247210-67684334 failed! 2025-05-29 10:14:00,369 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-52247210:ctest-vn-01137967 is 149.103.95.1 and allocation pool is NOT set 2025-05-29 10:14:02,433 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.574 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.574/2.637/4.700/2.063 ms') 2025-05-29 10:14:02,433 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52247210-67684334 passed 2025-05-29 10:14:02,593 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 10:14:02,594 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52247210-67684334, IP 149.103.95.3, Port 22 2025-05-29 10:14:02,752 - DEBUG - VM ctest-TestRoutersBasic-52247210-67684334 is ready for SSH connections 2025-05-29 10:14:02,753 - INFO - Waiting for VM ctest-TestRoutersBasic-52247210-16609933 to be up.. 2025-05-29 10:14:02,845 - DEBUG - VM is in ACTIVE state now 2025-05-29 10:14:02,845 - INFO - VM name : ctest-TestRoutersBasic-52247210-16609933 2025-05-29 10:14:02,935 - DEBUG - VM ctest-TestRoutersBasic-52247210-16609933 ID is 30576fc9-db26-4060-9bad-d45f7cff47dc 2025-05-29 10:14:02,935 - DEBUG - VM ctest-TestRoutersBasic-52247210-16609933 launched on Node cn-jenkins-deploy-platform-ansible-os-3364-1 2025-05-29 10:14:03,021 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/30576fc9-db26-4060-9bad-d45f7cff47dc 2025-05-29 10:14:03,033 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/75518d2a-dff2-4453-aed0-31c44fdab848 2025-05-29 10:14:04,301 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.752 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.752/2.167/3.582/1.415 ms') 2025-05-29 10:14:04,301 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-52247210-16609933 passed 2025-05-29 10:14:04,457 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 10:14:04,458 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52247210-16609933, IP 180.148.55.131, Port 22 2025-05-29 10:14:04,625 - DEBUG - VM ctest-TestRoutersBasic-52247210-16609933 is ready for SSH connections 2025-05-29 10:14:04,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 10:14:04,625 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.148.55.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-29 10:14:04,625 - DEBUG - ping -s 56 -c 3 -W 1 180.148.55.131 2025-05-29 10:14:08,692 - DEBUG - PING 180.148.55.131 (180.148.55.131): 56 data bytes 64 bytes from 180.148.55.131: seq=0 ttl=62 time=7.059 ms 64 bytes from 180.148.55.131: seq=1 ttl=62 time=1.035 ms 64 bytes from 180.148.55.131: seq=2 ttl=62 time=1.070 ms --- 180.148.55.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.035/3.054/7.059 ms 2025-05-29 10:14:08,692 - INFO - Ping to IP 180.148.55.131 from VM ctest-TestRoutersBasic-52247210-67684334 passed 2025-05-29 10:14:08,692 - INFO - Deleting interface with subnet_id 143f51af-8f00-436a-a489-19a453535f27, port_id None from router d454e019-1ae5-4db8-8522-134e6fc23966 2025-05-29 10:14:08,928 - INFO - Deleting VM ctest-TestRoutersBasic-52247210-16609933 2025-05-29 10:14:08,997 - INFO - Deleting VM ctest-TestRoutersBasic-52247210-67684334 2025-05-29 10:14:09,082 - INFO - Deleting VN ctest-ext_vn-93357469 2025-05-29 10:14:09,147 - DEBUG - VN 9a7eac9d-39b2-4264-abdd-efcd350a6e52 still in use: Unable to complete operation on network 9a7eac9d-39b2-4264-abdd-efcd350a6e52. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2c9f3fc7-e456-4adf-a71e-ef1a44ab40ca'] 2025-05-29 10:14:09,147 - WARNING - Deleting VN ctest-ext_vn-93357469 failed..Will retry 2025-05-29 10:14:11,260 - DEBUG - Response for deleting network () 2025-05-29 10:14:11,260 - INFO - Deleting VN ctest-vn-01137967 2025-05-29 10:14:11,387 - DEBUG - Response for deleting network () 2025-05-29 10:14:11,648 - DEBUG - No XMPP flaps were noticed during the test
2025-05-29 10:14:11,648 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-05-29 10:14:11,648 - INFO - -------------------------------------------------------------------------------- 2025-05-29 10:14:12,356 - INFO - Deleted project: ctest-TestRoutersBasic-52247210, ID : 9707573b-e281-4926-a767-42bd8de0b252