2025-07-08 16:22:57,074 - INFO - Domain Default found not creating 2025-07-08 16:22:57,226 - INFO - Project ctest-TestRoutersBasic-65787335 not found, creating it 2025-07-08 16:22:57,681 - INFO - Created Project:ctest-TestRoutersBasic-65787335, ID : 556c951a-8427-4cb4-9e35-008f7f56e2cf 2025-07-08 16:22:59,082 - INFO - ================================================================================ 2025-07-08 16:22:59,082 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-08 16:22:59,082 - 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-07-08 16:22:59,338 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2025-07-08 16:22:59,338 - INFO - Initial checks done. Running the testcase now 2025-07-08 16:22:59,338 - INFO - 2025-07-08 16:23:00,038 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-65787335 2025-07-08 16:23:00,136 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-65787335 2025-07-08 16:23:00,460 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65787335', 'default']} 2025-07-08 16:23:00,764 - DEBUG - Response for create_network : {'network': {'id': '7bb62e82-a10c-4c6b-a629-8d3ac582299e', 'name': 'ctest-vn-33435562', 'tenant_id': '556c951a84274cb49e35008f7f56e2cf', 'project_id': '556c951a84274cb49e35008f7f56e2cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65787335', 'ctest-vn-33435562'], 'port_security_enabled': True, 'description': ''}} 2025-07-08 16:23:00,985 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f82cbe06-2e56-44df-bdb5-ceceee15bd76', 'name': '', 'tenant_id': '556c951a84274cb49e35008f7f56e2cf', 'network_id': '7bb62e82-a10c-4c6b-a629-8d3ac582299e', 'ip_version': 4, 'cidr': '47.6.220.0/26', 'allocation_pools': [{'start': '47.6.220.2', 'end': '47.6.220.62'}], 'gateway_ip': '47.6.220.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.6.220.2', 'tags': [], 'project_id': '556c951a84274cb49e35008f7f56e2cf'}} 2025-07-08 16:23:01,002 - INFO - Created VN ctest-vn-33435562 2025-07-08 16:23:01,056 - DEBUG - VN ctest-vn-33435562 UUID is 7bb62e82-a10c-4c6b-a629-8d3ac582299e 2025-07-08 16:23:01,378 - DEBUG - Response for create_network : {'network': {'id': '3ff55bbf-1ad4-4a0b-9850-4b56d4431314', 'name': 'ctest-ext_vn-85356324', 'tenant_id': '556c951a84274cb49e35008f7f56e2cf', 'project_id': '556c951a84274cb49e35008f7f56e2cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65787335', 'ctest-ext_vn-85356324'], 'port_security_enabled': True, 'description': ''}} 2025-07-08 16:23:01,608 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c8ee9a4-b3ba-4448-afc2-94ce3d7494b1', 'name': '', 'tenant_id': '556c951a84274cb49e35008f7f56e2cf', 'network_id': '3ff55bbf-1ad4-4a0b-9850-4b56d4431314', 'ip_version': 4, 'cidr': '158.213.216.64/26', 'allocation_pools': [{'start': '158.213.216.66', 'end': '158.213.216.126'}], 'gateway_ip': '158.213.216.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.213.216.66', 'tags': [], 'project_id': '556c951a84274cb49e35008f7f56e2cf'}} 2025-07-08 16:23:01,629 - INFO - Created VN ctest-ext_vn-85356324 2025-07-08 16:23:01,692 - DEBUG - VN ctest-ext_vn-85356324 UUID is 3ff55bbf-1ad4-4a0b-9850-4b56d4431314 2025-07-08 16:23:01,901 - DEBUG - Services list from nova: [, , ] 2025-07-08 16:23:02,997 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3614-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3614-1) 2025-07-08 16:23:04,118 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3614-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3614-1) 2025-07-08 16:23:04,189 - INFO - Setting gateway for router 1feab33b-60b1-4c08-aa5c-77c083f8e76e to network 3ff55bbf-1ad4-4a0b-9850-4b56d4431314 2025-07-08 16:23:04,277 - INFO - Adding interface with subnet_id f82cbe06-2e56-44df-bdb5-ceceee15bd76, port_id None to router 1feab33b-60b1-4c08-aa5c-77c083f8e76e 2025-07-08 16:23:04,664 - INFO - Waiting for VM ctest-TestRoutersBasic-65787335-01526589 to be up.. 2025-07-08 16:23:04,763 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-08 16:23:09,845 - DEBUG - VM is in ACTIVE state now 2025-07-08 16:23:09,845 - INFO - VM name : ctest-TestRoutersBasic-65787335-01526589 2025-07-08 16:23:09,929 - DEBUG - VM ctest-TestRoutersBasic-65787335-01526589 ID is c2af343c-e988-4cd5-8905-36c278ae706d 2025-07-08 16:23:09,955 - DEBUG - VM ctest-TestRoutersBasic-65787335-01526589 launched on Node cn-jenkins-deploy-platform-ansible-os-3614-1 2025-07-08 16:23:10,037 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/c2af343c-e988-4cd5-8905-36c278ae706d 2025-07-08 16:23:10,329 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/c2af343c-e988-4cd5-8905-36c278ae706d 2025-07-08 16:23:10,364 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/9a9e5246-9f63-43e1-af87-224c4365f385 2025-07-08 16:23:13,621 - 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 1011ms') 2025-07-08 16:23:13,622 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65787335-01526589 failed! 2025-07-08 16:23:13,680 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-65787335:ctest-vn-33435562 is 47.6.220.1 and allocation pool is NOT set 2025-07-08 16:23:15,740 - 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=3.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.49 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 = 1.488/2.716/3.944/1.228 ms') 2025-07-08 16:23:15,740 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65787335-01526589 passed 2025-07-08 16:23:15,892 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 16:23:15,893 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65787335-01526589, IP 47.6.220.3, Port 22 2025-07-08 16:23:16,048 - DEBUG - VM ctest-TestRoutersBasic-65787335-01526589 is ready for SSH connections 2025-07-08 16:23:16,048 - INFO - Waiting for VM ctest-TestRoutersBasic-65787335-00546397 to be up.. 2025-07-08 16:23:16,123 - DEBUG - VM is in ACTIVE state now 2025-07-08 16:23:16,123 - INFO - VM name : ctest-TestRoutersBasic-65787335-00546397 2025-07-08 16:23:16,194 - DEBUG - VM ctest-TestRoutersBasic-65787335-00546397 ID is 73042456-bebb-43f9-87d5-27fe46ba7679 2025-07-08 16:23:16,194 - DEBUG - VM ctest-TestRoutersBasic-65787335-00546397 launched on Node cn-jenkins-deploy-platform-ansible-os-3614-1 2025-07-08 16:23:16,270 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/73042456-bebb-43f9-87d5-27fe46ba7679 2025-07-08 16:23:16,281 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/a194a6af-163c-4859-b890-a2721fabd09f 2025-07-08 16:23:17,517 - 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=2.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.489 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.489/1.607/2.725/1.118 ms') 2025-07-08 16:23:17,517 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-65787335-00546397 passed 2025-07-08 16:23:17,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 16:23:17,669 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65787335-00546397, IP 158.213.216.67, Port 22 2025-07-08 16:23:17,824 - DEBUG - VM ctest-TestRoutersBasic-65787335-00546397 is ready for SSH connections 2025-07-08 16:23:17,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 16:23:17,824 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.213.216.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-07-08 16:23:17,824 - DEBUG - ping -s 56 -c 3 -W 1 158.213.216.67 2025-07-08 16:23:21,782 - DEBUG - PING 158.213.216.67 (158.213.216.67): 56 data bytes 64 bytes from 158.213.216.67: seq=0 ttl=62 time=7.721 ms 64 bytes from 158.213.216.67: seq=1 ttl=62 time=0.883 ms 64 bytes from 158.213.216.67: seq=2 ttl=62 time=1.481 ms --- 158.213.216.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.883/3.361/7.721 ms 2025-07-08 16:23:21,782 - INFO - Ping to IP 158.213.216.67 from VM ctest-TestRoutersBasic-65787335-01526589 passed 2025-07-08 16:23:21,782 - INFO - Deleting interface with subnet_id f82cbe06-2e56-44df-bdb5-ceceee15bd76, port_id None from router 1feab33b-60b1-4c08-aa5c-77c083f8e76e 2025-07-08 16:23:21,994 - INFO - Deleting VM ctest-TestRoutersBasic-65787335-00546397 2025-07-08 16:23:22,061 - INFO - Deleting VM ctest-TestRoutersBasic-65787335-01526589 2025-07-08 16:23:22,146 - INFO - Deleting VN ctest-ext_vn-85356324 2025-07-08 16:23:22,230 - DEBUG - VN 3ff55bbf-1ad4-4a0b-9850-4b56d4431314 still in use: Unable to complete operation on network 3ff55bbf-1ad4-4a0b-9850-4b56d4431314. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-396afd42-78cc-42e3-b647-0778c3e4e8db'] 2025-07-08 16:23:22,230 - WARNING - Deleting VN ctest-ext_vn-85356324 failed..Will retry 2025-07-08 16:23:24,357 - DEBUG - Response for deleting network () 2025-07-08 16:23:24,357 - INFO - Deleting VN ctest-vn-33435562 2025-07-08 16:23:24,468 - DEBUG - Response for deleting network () 2025-07-08 16:23:24,722 - DEBUG - No XMPP flaps were noticed during the test 2025-07-08 16:23:24,722 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-07-08 16:23:24,722 - INFO - -------------------------------------------------------------------------------- 2025-07-08 16:23:25,403 - INFO - Deleted project: ctest-TestRoutersBasic-65787335, ID : 556c951a-8427-4cb4-9e35-008f7f56e2cf