2025-06-26 02:09:59,376 - INFO - Domain Default found not creating 2025-06-26 02:09:59,581 - INFO - Project ctest-TestRoutersBasic-18993471 not found, creating it 2025-06-26 02:10:00,113 - INFO - Created Project:ctest-TestRoutersBasic-18993471, ID : 28eeaf1f-b2ed-42d8-b1e0-78308ef8ea11 2025-06-26 02:10:01,707 - INFO - ================================================================================ 2025-06-26 02:10:01,708 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-26 02:10:01,708 - 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-06-26 02:10:01,962 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-06-26 02:10:01,962 - INFO - Initial checks done. Running the testcase now 2025-06-26 02:10:01,962 - INFO - 2025-06-26 02:10:02,704 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-18993471 2025-06-26 02:10:02,804 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-18993471 2025-06-26 02:10:03,136 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18993471', 'default']} 2025-06-26 02:10:03,462 - DEBUG - Response for create_network : {'network': {'id': '3bac8772-9b7c-4b2d-bfcf-be7ccbcaf045', 'name': 'ctest-vn-34615376', 'tenant_id': '28eeaf1fb2ed42d8b1e078308ef8ea11', 'project_id': '28eeaf1fb2ed42d8b1e078308ef8ea11', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18993471', 'ctest-vn-34615376'], 'port_security_enabled': True, 'description': ''}} 2025-06-26 02:10:03,633 - DEBUG - Response for create_subnet : {'subnet': {'id': '3ece4c37-02df-4e99-bb5b-c579733ba298', 'name': '', 'tenant_id': '28eeaf1fb2ed42d8b1e078308ef8ea11', 'network_id': '3bac8772-9b7c-4b2d-bfcf-be7ccbcaf045', 'ip_version': 4, 'cidr': '50.106.29.0/26', 'allocation_pools': [{'start': '50.106.29.2', 'end': '50.106.29.62'}], 'gateway_ip': '50.106.29.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.106.29.2', 'tags': [], 'project_id': '28eeaf1fb2ed42d8b1e078308ef8ea11'}} 2025-06-26 02:10:03,654 - INFO - Created VN ctest-vn-34615376 2025-06-26 02:10:03,708 - DEBUG - VN ctest-vn-34615376 UUID is 3bac8772-9b7c-4b2d-bfcf-be7ccbcaf045 2025-06-26 02:10:04,067 - DEBUG - Response for create_network : {'network': {'id': '17eb09d8-d676-4bb8-b311-135b532d4e03', 'name': 'ctest-ext_vn-62812139', 'tenant_id': '28eeaf1fb2ed42d8b1e078308ef8ea11', 'project_id': '28eeaf1fb2ed42d8b1e078308ef8ea11', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18993471', 'ctest-ext_vn-62812139'], 'port_security_enabled': True, 'description': ''}} 2025-06-26 02:10:04,330 - DEBUG - Response for create_subnet : {'subnet': {'id': '4718f934-9e54-40c2-a555-bd8c8122204f', 'name': '', 'tenant_id': '28eeaf1fb2ed42d8b1e078308ef8ea11', 'network_id': '17eb09d8-d676-4bb8-b311-135b532d4e03', 'ip_version': 4, 'cidr': '220.38.4.64/26', 'allocation_pools': [{'start': '220.38.4.66', 'end': '220.38.4.126'}], 'gateway_ip': '220.38.4.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.38.4.66', 'tags': [], 'project_id': '28eeaf1fb2ed42d8b1e078308ef8ea11'}} 2025-06-26 02:10:04,350 - INFO - Created VN ctest-ext_vn-62812139 2025-06-26 02:10:04,405 - DEBUG - VN ctest-ext_vn-62812139 UUID is 17eb09d8-d676-4bb8-b311-135b532d4e03 2025-06-26 02:10:04,585 - DEBUG - Services list from nova: [, , ] 2025-06-26 02:10:05,692 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3553-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3553-1) 2025-06-26 02:10:06,910 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3553-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3553-1) 2025-06-26 02:10:06,997 - INFO - Setting gateway for router b15c7f13-f153-4f2a-9b1a-463800057d69 to network 17eb09d8-d676-4bb8-b311-135b532d4e03 2025-06-26 02:10:07,092 - INFO - Adding interface with subnet_id 3ece4c37-02df-4e99-bb5b-c579733ba298, port_id None to router b15c7f13-f153-4f2a-9b1a-463800057d69 2025-06-26 02:10:07,470 - INFO - Waiting for VM ctest-TestRoutersBasic-18993471-95436153 to be up.. 2025-06-26 02:10:07,641 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-26 02:10:12,753 - DEBUG - VM is in ACTIVE state now 2025-06-26 02:10:12,753 - INFO - VM name : ctest-TestRoutersBasic-18993471-95436153 2025-06-26 02:10:12,856 - DEBUG - VM ctest-TestRoutersBasic-18993471-95436153 ID is d8668936-14d4-496a-80f0-9e9da504dfda 2025-06-26 02:10:12,882 - DEBUG - VM ctest-TestRoutersBasic-18993471-95436153 launched on Node cn-jenkins-deploy-platform-ansible-os-3553-1 2025-06-26 02:10:12,979 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d8668936-14d4-496a-80f0-9e9da504dfda 2025-06-26 02:10:13,300 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d8668936-14d4-496a-80f0-9e9da504dfda 2025-06-26 02:10:13,349 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/282bc1f5-e4f5-4ef7-85db-f1dae07d9659 2025-06-26 02:10:16,638 - 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 1026ms') 2025-06-26 02:10:16,638 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18993471-95436153 failed! 2025-06-26 02:10:16,696 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-18993471:ctest-vn-34615376 is 50.106.29.1 and allocation pool is NOT set 2025-06-26 02:10:18,764 - 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=5.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.992 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.992/3.143/5.295/2.151 ms') 2025-06-26 02:10:18,764 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18993471-95436153 passed 2025-06-26 02:10:18,924 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 02:10:18,924 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18993471-95436153, IP 50.106.29.3, Port 22 2025-06-26 02:10:19,090 - DEBUG - VM ctest-TestRoutersBasic-18993471-95436153 is ready for SSH connections 2025-06-26 02:10:19,090 - INFO - Waiting for VM ctest-TestRoutersBasic-18993471-60993251 to be up.. 2025-06-26 02:10:19,188 - DEBUG - VM is in ACTIVE state now 2025-06-26 02:10:19,188 - INFO - VM name : ctest-TestRoutersBasic-18993471-60993251 2025-06-26 02:10:19,272 - DEBUG - VM ctest-TestRoutersBasic-18993471-60993251 ID is 48ca2bdf-a71e-4b56-8a25-db7b748d6a18 2025-06-26 02:10:19,272 - DEBUG - VM ctest-TestRoutersBasic-18993471-60993251 launched on Node cn-jenkins-deploy-platform-ansible-os-3553-1 2025-06-26 02:10:19,360 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/48ca2bdf-a71e-4b56-8a25-db7b748d6a18 2025-06-26 02:10:19,372 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bf718635-f47f-44b5-8753-82dac4177382 2025-06-26 02:10:20,642 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.470 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.470/1.821/3.172/1.351 ms') 2025-06-26 02:10:20,643 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-18993471-60993251 passed 2025-06-26 02:10:20,801 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 02:10:20,801 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18993471-60993251, IP 220.38.4.67, Port 22 2025-06-26 02:10:20,955 - DEBUG - VM ctest-TestRoutersBasic-18993471-60993251 is ready for SSH connections 2025-06-26 02:10:20,955 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 02:10:20,956 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 220.38.4.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-26 02:10:20,956 - DEBUG - ping -s 56 -c 3 -W 1 220.38.4.67 2025-06-26 02:10:24,657 - DEBUG - PING 220.38.4.67 (220.38.4.67): 56 data bytes 64 bytes from 220.38.4.67: seq=0 ttl=62 time=5.063 ms 64 bytes from 220.38.4.67: seq=1 ttl=62 time=1.060 ms 64 bytes from 220.38.4.67: seq=2 ttl=62 time=0.857 ms --- 220.38.4.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.857/2.326/5.063 ms 2025-06-26 02:10:24,657 - INFO - Ping to IP 220.38.4.67 from VM ctest-TestRoutersBasic-18993471-95436153 passed 2025-06-26 02:10:24,657 - INFO - Deleting interface with subnet_id 3ece4c37-02df-4e99-bb5b-c579733ba298, port_id None from router b15c7f13-f153-4f2a-9b1a-463800057d69 2025-06-26 02:10:24,904 - INFO - Deleting VM ctest-TestRoutersBasic-18993471-60993251 2025-06-26 02:10:24,990 - INFO - Deleting VM ctest-TestRoutersBasic-18993471-95436153 2025-06-26 02:10:25,093 - INFO - Deleting VN ctest-ext_vn-62812139 2025-06-26 02:10:25,181 - DEBUG - VN 17eb09d8-d676-4bb8-b311-135b532d4e03 still in use: Unable to complete operation on network 17eb09d8-d676-4bb8-b311-135b532d4e03. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0bbeed54-1088-4b60-9a6b-a59875368820'] 2025-06-26 02:10:25,181 - WARNING - Deleting VN ctest-ext_vn-62812139 failed..Will retry 2025-06-26 02:10:27,311 - DEBUG - Response for deleting network () 2025-06-26 02:10:27,311 - INFO - Deleting VN ctest-vn-34615376 2025-06-26 02:10:27,429 - DEBUG - Response for deleting network () 2025-06-26 02:10:27,691 - DEBUG - No XMPP flaps were noticed during the test 2025-06-26 02:10:27,691 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-06-26 02:10:27,691 - INFO - -------------------------------------------------------------------------------- 2025-06-26 02:10:28,400 - INFO - Deleted project: ctest-TestRoutersBasic-18993471, ID : 28eeaf1f-b2ed-42d8-b1e0-78308ef8ea11