2025-04-26 06:39:16,766 - INFO - Domain Default found not creating 2025-04-26 06:39:16,907 - INFO - Project ctest-TestRoutersBasic-82276689 not found, creating it 2025-04-26 06:39:17,335 - INFO - Created Project:ctest-TestRoutersBasic-82276689, ID : 7a628f03-f4bd-40d4-bc34-e09062e9ef20 2025-04-26 06:39:18,700 - INFO - ================================================================================ 2025-04-26 06:39:18,700 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-26 06:39:18,700 - 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-26 06:39:18,961 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-26 06:39:18,961 - INFO - Initial checks done. Running the testcase now 2025-04-26 06:39:18,961 - INFO - 2025-04-26 06:39:19,651 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-82276689 2025-04-26 06:39:19,751 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-82276689 2025-04-26 06:39:20,070 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82276689', 'default']} 2025-04-26 06:39:20,360 - DEBUG - Response for create_network : {'network': {'id': '398447d5-f11d-4d4a-9741-f58437435071', 'name': 'ctest-vn-61439913', 'tenant_id': '7a628f03f4bd40d4bc34e09062e9ef20', 'project_id': '7a628f03f4bd40d4bc34e09062e9ef20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82276689', 'ctest-vn-61439913'], 'port_security_enabled': True, 'description': ''}} 2025-04-26 06:39:20,569 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb4ffd2d-6668-4866-b5ef-902824d73d11', 'name': '', 'tenant_id': '7a628f03f4bd40d4bc34e09062e9ef20', 'network_id': '398447d5-f11d-4d4a-9741-f58437435071', 'ip_version': 4, 'cidr': '73.173.22.192/26', 'allocation_pools': [{'start': '73.173.22.194', 'end': '73.173.22.254'}], 'gateway_ip': '73.173.22.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.173.22.194', 'tags': [], 'project_id': '7a628f03f4bd40d4bc34e09062e9ef20'}} 2025-04-26 06:39:20,585 - INFO - Created VN ctest-vn-61439913 2025-04-26 06:39:20,636 - DEBUG - VN ctest-vn-61439913 UUID is 398447d5-f11d-4d4a-9741-f58437435071 2025-04-26 06:39:20,970 - DEBUG - Response for create_network : {'network': {'id': '99325166-e07d-4326-90c1-126900a8f91f', 'name': 'ctest-ext_vn-29754117', 'tenant_id': '7a628f03f4bd40d4bc34e09062e9ef20', 'project_id': '7a628f03f4bd40d4bc34e09062e9ef20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82276689', 'ctest-ext_vn-29754117'], 'port_security_enabled': True, 'description': ''}} 2025-04-26 06:39:21,137 - DEBUG - Response for create_subnet : {'subnet': {'id': '23363191-c229-4a9b-bbca-ca83522b7878', 'name': '', 'tenant_id': '7a628f03f4bd40d4bc34e09062e9ef20', 'network_id': '99325166-e07d-4326-90c1-126900a8f91f', 'ip_version': 4, 'cidr': '72.77.253.64/26', 'allocation_pools': [{'start': '72.77.253.66', 'end': '72.77.253.126'}], 'gateway_ip': '72.77.253.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.77.253.66', 'tags': [], 'project_id': '7a628f03f4bd40d4bc34e09062e9ef20'}} 2025-04-26 06:39:21,155 - INFO - Created VN ctest-ext_vn-29754117 2025-04-26 06:39:21,210 - DEBUG - VN ctest-ext_vn-29754117 UUID is 99325166-e07d-4326-90c1-126900a8f91f 2025-04-26 06:39:21,410 - DEBUG - Services list from nova: [, , ] 2025-04-26 06:39:22,364 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3218-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3218-1) 2025-04-26 06:39:23,418 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3218-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3218-1) 2025-04-26 06:39:23,489 - INFO - Setting gateway for router 3389679e-2f59-49bc-8b83-7bd7c93cf4bd to network 99325166-e07d-4326-90c1-126900a8f91f 2025-04-26 06:39:23,547 - INFO - Adding interface with subnet_id bb4ffd2d-6668-4866-b5ef-902824d73d11, port_id None to router 3389679e-2f59-49bc-8b83-7bd7c93cf4bd 2025-04-26 06:39:23,927 - INFO - Waiting for VM ctest-TestRoutersBasic-82276689-62457774 to be up.. 2025-04-26 06:39:24,178 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-26 06:39:29,253 - DEBUG - VM is in ACTIVE state now 2025-04-26 06:39:29,254 - INFO - VM name : ctest-TestRoutersBasic-82276689-62457774 2025-04-26 06:39:29,323 - DEBUG - VM ctest-TestRoutersBasic-82276689-62457774 ID is 05dd98cb-2f0c-4094-bd1b-d00d86f8773a 2025-04-26 06:39:29,340 - DEBUG - VM ctest-TestRoutersBasic-82276689-62457774 launched on Node cn-jenkins-deploy-platform-ansible-os-3218-1 2025-04-26 06:39:29,424 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/05dd98cb-2f0c-4094-bd1b-d00d86f8773a 2025-04-26 06:39:29,715 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/05dd98cb-2f0c-4094-bd1b-d00d86f8773a 2025-04-26 06:39:29,743 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d291ffb3-0b8d-4e08-95ae-b2e9e9a8cdaf 2025-04-26 06:39:32,985 - 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 1001ms') 2025-04-26 06:39:32,985 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-82276689-62457774 failed! 2025-04-26 06:39:33,038 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-82276689:ctest-vn-61439913 is 73.173.22.193 and allocation pool is NOT set 2025-04-26 06:39:35,103 - 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.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.25 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.247/2.705/4.163/1.458 ms') 2025-04-26 06:39:35,103 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-82276689-62457774 passed 2025-04-26 06:39:35,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 06:39:35,259 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82276689-62457774, IP 73.173.22.195, Port 22 2025-04-26 06:39:35,417 - DEBUG - VM ctest-TestRoutersBasic-82276689-62457774 is ready for SSH connections 2025-04-26 06:39:35,418 - INFO - Waiting for VM ctest-TestRoutersBasic-82276689-47124575 to be up.. 2025-04-26 06:39:35,492 - DEBUG - VM is in ACTIVE state now 2025-04-26 06:39:35,492 - INFO - VM name : ctest-TestRoutersBasic-82276689-47124575 2025-04-26 06:39:35,568 - DEBUG - VM ctest-TestRoutersBasic-82276689-47124575 ID is fb4ad001-b376-458e-a5dd-974e1e61d613 2025-04-26 06:39:35,568 - DEBUG - VM ctest-TestRoutersBasic-82276689-47124575 launched on Node cn-jenkins-deploy-platform-ansible-os-3218-1 2025-04-26 06:39:35,657 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/fb4ad001-b376-458e-a5dd-974e1e61d613 2025-04-26 06:39:35,666 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c9b75f2e-467b-4c14-afe1-55665934e98f 2025-04-26 06:39:36,910 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.431 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.431/1.669/2.907/1.238 ms') 2025-04-26 06:39:36,910 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-82276689-47124575 passed 2025-04-26 06:39:37,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 06:39:37,063 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82276689-47124575, IP 72.77.253.67, Port 22 2025-04-26 06:39:37,218 - DEBUG - VM ctest-TestRoutersBasic-82276689-47124575 is ready for SSH connections 2025-04-26 06:39:37,218 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 06:39:37,219 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.77.253.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-26 06:39:37,219 - DEBUG - ping -s 56 -c 3 -W 1 72.77.253.67 2025-04-26 06:39:40,896 - DEBUG - PING 72.77.253.67 (72.77.253.67): 56 data bytes 64 bytes from 72.77.253.67: seq=0 ttl=62 time=6.106 ms 64 bytes from 72.77.253.67: seq=1 ttl=62 time=0.802 ms 64 bytes from 72.77.253.67: seq=2 ttl=62 time=0.830 ms --- 72.77.253.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.802/2.579/6.106 ms 2025-04-26 06:39:40,896 - INFO - Ping to IP 72.77.253.67 from VM ctest-TestRoutersBasic-82276689-62457774 passed 2025-04-26 06:39:40,896 - INFO - Deleting interface with subnet_id bb4ffd2d-6668-4866-b5ef-902824d73d11, port_id None from router 3389679e-2f59-49bc-8b83-7bd7c93cf4bd 2025-04-26 06:39:41,092 - INFO - Deleting VM ctest-TestRoutersBasic-82276689-47124575 2025-04-26 06:39:41,160 - INFO - Deleting VM ctest-TestRoutersBasic-82276689-62457774 2025-04-26 06:39:41,234 - INFO - Deleting VN ctest-ext_vn-29754117 2025-04-26 06:39:41,299 - DEBUG - VN 99325166-e07d-4326-90c1-126900a8f91f still in use: Unable to complete operation on network 99325166-e07d-4326-90c1-126900a8f91f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5ead0825-629b-462d-89c8-ae8032b9fc9f'] 2025-04-26 06:39:41,299 - WARNING - Deleting VN ctest-ext_vn-29754117 failed..Will retry 2025-04-26 06:39:43,408 - DEBUG - Response for deleting network () 2025-04-26 06:39:43,408 - INFO - Deleting VN ctest-vn-61439913 2025-04-26 06:39:43,502 - DEBUG - Response for deleting network () 2025-04-26 06:39:43,764 - DEBUG - No XMPP flaps were noticed during the test 2025-04-26 06:39:43,764 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-04-26 06:39:43,764 - INFO - -------------------------------------------------------------------------------- 2025-04-26 06:39:44,426 - INFO - Deleted project: ctest-TestRoutersBasic-82276689, ID : 7a628f03-f4bd-40d4-bc34-e09062e9ef20