2025-05-27 11:03:12,884 - INFO - Domain Default found not creating 2025-05-27 11:03:13,067 - INFO - Project ctest-TestRoutersBasic-21799722 not found, creating it 2025-05-27 11:03:13,555 - INFO - Created Project:ctest-TestRoutersBasic-21799722, ID : abc5b0ff-3fcd-4b67-ab8a-ca5e98daf611 2025-05-27 11:03:15,010 - INFO - ================================================================================ 2025-05-27 11:03:15,010 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-27 11:03:15,011 - 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-27 11:03:15,271 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-05-27 11:03:15,271 - INFO - Initial checks done. Running the testcase now 2025-05-27 11:03:15,271 - INFO - 2025-05-27 11:03:15,983 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-21799722 2025-05-27 11:03:16,080 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-21799722 2025-05-27 11:03:16,404 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21799722', 'default']} 2025-05-27 11:03:16,692 - DEBUG - Response for create_network : {'network': {'id': '637ca326-0bf3-4642-8438-4713d8cb488c', 'name': 'ctest-vn-78132784', 'tenant_id': 'abc5b0ff3fcd4b67ab8aca5e98daf611', 'project_id': 'abc5b0ff3fcd4b67ab8aca5e98daf611', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21799722', 'ctest-vn-78132784'], 'port_security_enabled': True, 'description': ''}} 2025-05-27 11:03:16,907 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f38c005-147f-493a-a914-3eacdf1519c7', 'name': '', 'tenant_id': 'abc5b0ff3fcd4b67ab8aca5e98daf611', 'network_id': '637ca326-0bf3-4642-8438-4713d8cb488c', 'ip_version': 4, 'cidr': '153.29.57.64/26', 'allocation_pools': [{'start': '153.29.57.66', 'end': '153.29.57.126'}], 'gateway_ip': '153.29.57.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.29.57.66', 'tags': [], 'project_id': 'abc5b0ff3fcd4b67ab8aca5e98daf611'}} 2025-05-27 11:03:16,924 - INFO - Created VN ctest-vn-78132784 2025-05-27 11:03:16,977 - DEBUG - VN ctest-vn-78132784 UUID is 637ca326-0bf3-4642-8438-4713d8cb488c 2025-05-27 11:03:17,357 - DEBUG - Response for create_network : {'network': {'id': 'a7644e4b-a0d9-4c3b-805e-44a7d8ec8aa4', 'name': 'ctest-ext_vn-38192524', 'tenant_id': 'abc5b0ff3fcd4b67ab8aca5e98daf611', 'project_id': 'abc5b0ff3fcd4b67ab8aca5e98daf611', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21799722', 'ctest-ext_vn-38192524'], 'port_security_enabled': True, 'description': ''}} 2025-05-27 11:03:17,538 - DEBUG - Response for create_subnet : {'subnet': {'id': '959658cd-7645-41d8-89a1-4a98ebbc2b01', 'name': '', 'tenant_id': 'abc5b0ff3fcd4b67ab8aca5e98daf611', 'network_id': 'a7644e4b-a0d9-4c3b-805e-44a7d8ec8aa4', 'ip_version': 4, 'cidr': '40.82.18.64/26', 'allocation_pools': [{'start': '40.82.18.66', 'end': '40.82.18.126'}], 'gateway_ip': '40.82.18.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.82.18.66', 'tags': [], 'project_id': 'abc5b0ff3fcd4b67ab8aca5e98daf611'}} 2025-05-27 11:03:17,558 - INFO - Created VN ctest-ext_vn-38192524 2025-05-27 11:03:17,612 - DEBUG - VN ctest-ext_vn-38192524 UUID is a7644e4b-a0d9-4c3b-805e-44a7d8ec8aa4 2025-05-27 11:03:17,797 - DEBUG - Services list from nova: [, , ] 2025-05-27 11:03:18,844 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3342-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3342-1) 2025-05-27 11:03:20,035 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3342-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3342-1) 2025-05-27 11:03:20,105 - INFO - Setting gateway for router bbd19edc-903d-489d-baf9-e77149e9e2d5 to network a7644e4b-a0d9-4c3b-805e-44a7d8ec8aa4 2025-05-27 11:03:20,180 - INFO - Adding interface with subnet_id 5f38c005-147f-493a-a914-3eacdf1519c7, port_id None to router bbd19edc-903d-489d-baf9-e77149e9e2d5 2025-05-27 11:03:20,611 - INFO - Waiting for VM ctest-TestRoutersBasic-21799722-70100778 to be up.. 2025-05-27 11:03:20,777 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-27 11:03:25,867 - DEBUG - VM is in ACTIVE state now 2025-05-27 11:03:25,867 - INFO - VM name : ctest-TestRoutersBasic-21799722-70100778 2025-05-27 11:03:25,948 - DEBUG - VM ctest-TestRoutersBasic-21799722-70100778 ID is a43a4ce4-898e-44a9-a649-032454e1d68b 2025-05-27 11:03:25,971 - DEBUG - VM ctest-TestRoutersBasic-21799722-70100778 launched on Node cn-jenkins-deploy-platform-ansible-os-3342-1 2025-05-27 11:03:26,054 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a43a4ce4-898e-44a9-a649-032454e1d68b 2025-05-27 11:03:26,350 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a43a4ce4-898e-44a9-a649-032454e1d68b 2025-05-27 11:03:26,381 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/758d973e-115f-46bc-b62a-0130a9ab9e70 2025-05-27 11:03:29,630 - 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 1006ms') 2025-05-27 11:03:29,630 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-21799722-70100778 failed! 2025-05-27 11:03:29,688 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-21799722:ctest-vn-78132784 is 153.29.57.65 and allocation pool is NOT set 2025-05-27 11:03:31,750 - 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=2.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.361 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.361/1.609/2.858/1.248 ms') 2025-05-27 11:03:31,750 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-21799722-70100778 passed 2025-05-27 11:03:31,900 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-27 11:03:31,900 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21799722-70100778, IP 153.29.57.67, Port 22 2025-05-27 11:03:32,056 - DEBUG - VM ctest-TestRoutersBasic-21799722-70100778 is ready for SSH connections 2025-05-27 11:03:32,056 - INFO - Waiting for VM ctest-TestRoutersBasic-21799722-15099659 to be up.. 2025-05-27 11:03:32,153 - DEBUG - VM is in ACTIVE state now 2025-05-27 11:03:32,153 - INFO - VM name : ctest-TestRoutersBasic-21799722-15099659 2025-05-27 11:03:32,250 - DEBUG - VM ctest-TestRoutersBasic-21799722-15099659 ID is 7c483087-60c0-4f25-ba9b-ca720a970a88 2025-05-27 11:03:32,250 - DEBUG - VM ctest-TestRoutersBasic-21799722-15099659 launched on Node cn-jenkins-deploy-platform-ansible-os-3342-1 2025-05-27 11:03:32,335 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7c483087-60c0-4f25-ba9b-ca720a970a88 2025-05-27 11:03:32,345 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1b4be831-7b45-424d-b570-f3a72ac5cc18 2025-05-27 11:03:33,593 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.491 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.491/1.660/2.830/1.169 ms') 2025-05-27 11:03:33,593 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-21799722-15099659 passed 2025-05-27 11:03:33,744 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-27 11:03:33,745 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21799722-15099659, IP 40.82.18.67, Port 22 2025-05-27 11:03:33,900 - DEBUG - VM ctest-TestRoutersBasic-21799722-15099659 is ready for SSH connections 2025-05-27 11:03:33,900 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-27 11:03:33,900 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.82.18.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-27 11:03:33,900 - DEBUG - ping -s 56 -c 3 -W 1 40.82.18.67 2025-05-27 11:03:37,919 - DEBUG - PING 40.82.18.67 (40.82.18.67): 56 data bytes 64 bytes from 40.82.18.67: seq=0 ttl=62 time=8.380 ms 64 bytes from 40.82.18.67: seq=1 ttl=62 time=0.989 ms 64 bytes from 40.82.18.67: seq=2 ttl=62 time=0.995 ms --- 40.82.18.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.989/3.454/8.380 ms 2025-05-27 11:03:37,919 - INFO - Ping to IP 40.82.18.67 from VM ctest-TestRoutersBasic-21799722-70100778 passed 2025-05-27 11:03:37,919 - INFO - Deleting interface with subnet_id 5f38c005-147f-493a-a914-3eacdf1519c7, port_id None from router bbd19edc-903d-489d-baf9-e77149e9e2d5 2025-05-27 11:03:38,130 - INFO - Deleting VM ctest-TestRoutersBasic-21799722-15099659 2025-05-27 11:03:38,203 - INFO - Deleting VM ctest-TestRoutersBasic-21799722-70100778 2025-05-27 11:03:38,294 - INFO - Deleting VN ctest-ext_vn-38192524 2025-05-27 11:03:38,367 - DEBUG - VN a7644e4b-a0d9-4c3b-805e-44a7d8ec8aa4 still in use: Unable to complete operation on network a7644e4b-a0d9-4c3b-805e-44a7d8ec8aa4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-81278829-17c6-49cf-9e6e-b44cd9ea2cce'] 2025-05-27 11:03:38,367 - WARNING - Deleting VN ctest-ext_vn-38192524 failed..Will retry 2025-05-27 11:03:40,480 - DEBUG - Response for deleting network () 2025-05-27 11:03:40,480 - INFO - Deleting VN ctest-vn-78132784 2025-05-27 11:03:40,592 - DEBUG - Response for deleting network () 2025-05-27 11:03:40,847 - DEBUG - No XMPP flaps were noticed during the test
2025-05-27 11:03:40,847 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-05-27 11:03:40,847 - INFO - -------------------------------------------------------------------------------- 2025-05-27 11:03:41,556 - INFO - Deleted project: ctest-TestRoutersBasic-21799722, ID : abc5b0ff-3fcd-4b67-ab8a-ca5e98daf611