2025-07-30 17:10:32,503 - INFO - Domain Default found not creating 2025-07-30 17:10:32,832 - INFO - Project ctest-TestRoutersBasic-12147123 not found, creating it 2025-07-30 17:10:33,654 - INFO - Created Project:ctest-TestRoutersBasic-12147123, ID : 2a3c4f89-4895-4d47-a7a2-50ef3231532c 2025-07-30 17:10:35,743 - INFO - ================================================================================ 2025-07-30 17:10:35,744 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-30 17:10:35,744 - 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-30 17:10:36,068 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-30 17:10:36,068 - INFO - Initial checks done. Running the testcase now 2025-07-30 17:10:36,068 - INFO - 2025-07-30 17:10:36,958 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-12147123 2025-07-30 17:10:37,062 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-12147123 2025-07-30 17:10:37,444 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12147123', 'default']} 2025-07-30 17:10:37,862 - DEBUG - Response for create_network : {'network': {'id': '4aa9dbe4-1a3f-441a-82e5-d8f9223bb523', 'name': 'ctest-vn-77620139', 'tenant_id': '2a3c4f8948954d47a7a250ef3231532c', 'project_id': '2a3c4f8948954d47a7a250ef3231532c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12147123', 'ctest-vn-77620139'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 17:10:38,101 - DEBUG - Response for create_subnet : {'subnet': {'id': '60c35928-261f-4d93-9f87-aa5b5ab02cf5', 'name': '', 'tenant_id': '2a3c4f8948954d47a7a250ef3231532c', 'network_id': '4aa9dbe4-1a3f-441a-82e5-d8f9223bb523', 'ip_version': 4, 'cidr': '173.111.18.192/26', 'allocation_pools': [{'start': '173.111.18.194', 'end': '173.111.18.254'}], 'gateway_ip': '173.111.18.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.111.18.194', 'tags': [], 'project_id': '2a3c4f8948954d47a7a250ef3231532c'}} 2025-07-30 17:10:38,125 - INFO - Created VN ctest-vn-77620139 2025-07-30 17:10:38,180 - DEBUG - VN ctest-vn-77620139 UUID is 4aa9dbe4-1a3f-441a-82e5-d8f9223bb523 2025-07-30 17:10:38,660 - DEBUG - Response for create_network : {'network': {'id': 'e817ca26-d323-4792-9124-36c6919ec465', 'name': 'ctest-ext_vn-69190921', 'tenant_id': '2a3c4f8948954d47a7a250ef3231532c', 'project_id': '2a3c4f8948954d47a7a250ef3231532c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12147123', 'ctest-ext_vn-69190921'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 17:10:38,850 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3a0e9ed-d298-4fea-85cc-d7c62b5aed92', 'name': '', 'tenant_id': '2a3c4f8948954d47a7a250ef3231532c', 'network_id': 'e817ca26-d323-4792-9124-36c6919ec465', 'ip_version': 4, 'cidr': '136.251.19.128/26', 'allocation_pools': [{'start': '136.251.19.130', 'end': '136.251.19.190'}], 'gateway_ip': '136.251.19.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.251.19.130', 'tags': [], 'project_id': '2a3c4f8948954d47a7a250ef3231532c'}} 2025-07-30 17:10:38,873 - INFO - Created VN ctest-ext_vn-69190921 2025-07-30 17:10:38,936 - DEBUG - VN ctest-ext_vn-69190921 UUID is e817ca26-d323-4792-9124-36c6919ec465 2025-07-30 17:10:39,251 - DEBUG - Services list from nova: [, , ] 2025-07-30 17:10:40,718 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3724-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3724-1) 2025-07-30 17:10:42,322 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3724-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3724-1) 2025-07-30 17:10:42,421 - INFO - Setting gateway for router 8f645f8b-14a0-42d7-9d5b-adc83c12c58a to network e817ca26-d323-4792-9124-36c6919ec465 2025-07-30 17:10:42,495 - INFO - Adding interface with subnet_id 60c35928-261f-4d93-9f87-aa5b5ab02cf5, port_id None to router 8f645f8b-14a0-42d7-9d5b-adc83c12c58a 2025-07-30 17:10:42,832 - INFO - Waiting for VM ctest-TestRoutersBasic-12147123-06192739 to be up.. 2025-07-30 17:10:42,917 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-30 17:10:48,042 - DEBUG - VM is in ACTIVE state now 2025-07-30 17:10:48,042 - INFO - VM name : ctest-TestRoutersBasic-12147123-06192739 2025-07-30 17:10:48,144 - DEBUG - VM ctest-TestRoutersBasic-12147123-06192739 ID is 9f584a2b-1499-4f0a-85c7-6080979f9a83 2025-07-30 17:10:48,169 - DEBUG - VM ctest-TestRoutersBasic-12147123-06192739 launched on Node cn-jenkins-deploy-platform-ansible-os-3724-1 2025-07-30 17:10:48,282 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9f584a2b-1499-4f0a-85c7-6080979f9a83 2025-07-30 17:10:48,705 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9f584a2b-1499-4f0a-85c7-6080979f9a83 2025-07-30 17:10:48,767 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/57bf13e7-34b4-443f-b017-50bf610c41ab 2025-07-30 17:10:52,115 - 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-07-30 17:10:52,115 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12147123-06192739 failed! 2025-07-30 17:10:52,184 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-12147123:ctest-vn-77620139 is 173.111.18.193 and allocation pool is NOT set 2025-07-30 17:10:54,255 - 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.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.999 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.999/2.024/3.049/1.025 ms') 2025-07-30 17:10:54,255 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12147123-06192739 passed 2025-07-30 17:10:54,445 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 17:10:54,445 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12147123-06192739, IP 173.111.18.195, Port 22 2025-07-30 17:10:54,640 - DEBUG - VM ctest-TestRoutersBasic-12147123-06192739 is ready for SSH connections 2025-07-30 17:10:54,641 - INFO - Waiting for VM ctest-TestRoutersBasic-12147123-40076592 to be up.. 2025-07-30 17:10:54,847 - DEBUG - VM is in ACTIVE state now 2025-07-30 17:10:54,848 - INFO - VM name : ctest-TestRoutersBasic-12147123-40076592 2025-07-30 17:10:55,040 - DEBUG - VM ctest-TestRoutersBasic-12147123-40076592 ID is ce3337e9-c891-44e7-938f-01bd44c4982a 2025-07-30 17:10:55,040 - DEBUG - VM ctest-TestRoutersBasic-12147123-40076592 launched on Node cn-jenkins-deploy-platform-ansible-os-3724-1 2025-07-30 17:10:55,185 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ce3337e9-c891-44e7-938f-01bd44c4982a 2025-07-30 17:10:55,210 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/94c404ac-b598-460a-9f15-289204026aee 2025-07-30 17:10:56,481 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.45 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 = 2.451/3.081/3.711/0.630 ms') 2025-07-30 17:10:56,482 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-12147123-40076592 passed 2025-07-30 17:10:56,681 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 17:10:56,682 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12147123-40076592, IP 136.251.19.131, Port 22 2025-07-30 17:10:56,886 - DEBUG - VM ctest-TestRoutersBasic-12147123-40076592 is ready for SSH connections 2025-07-30 17:10:56,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 17:10:56,887 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.251.19.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-30 17:10:56,888 - DEBUG - ping -s 56 -c 3 -W 1 136.251.19.131 2025-07-30 17:11:00,976 - DEBUG - PING 136.251.19.131 (136.251.19.131): 56 data bytes 64 bytes from 136.251.19.131: seq=0 ttl=62 time=9.381 ms 64 bytes from 136.251.19.131: seq=1 ttl=62 time=2.791 ms 64 bytes from 136.251.19.131: seq=2 ttl=62 time=1.745 ms --- 136.251.19.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.745/4.639/9.381 ms 2025-07-30 17:11:00,977 - INFO - Ping to IP 136.251.19.131 from VM ctest-TestRoutersBasic-12147123-06192739 passed 2025-07-30 17:11:00,977 - INFO - Deleting interface with subnet_id 60c35928-261f-4d93-9f87-aa5b5ab02cf5, port_id None from router 8f645f8b-14a0-42d7-9d5b-adc83c12c58a 2025-07-30 17:11:01,390 - INFO - Deleting VM ctest-TestRoutersBasic-12147123-40076592 2025-07-30 17:11:01,490 - INFO - Deleting VM ctest-TestRoutersBasic-12147123-06192739 2025-07-30 17:11:01,574 - INFO - Deleting VN ctest-ext_vn-69190921 2025-07-30 17:11:01,671 - DEBUG - VN e817ca26-d323-4792-9124-36c6919ec465 still in use: Unable to complete operation on network e817ca26-d323-4792-9124-36c6919ec465. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-68f69e2f-6790-4e0d-90f2-a1f490d58d08'] 2025-07-30 17:11:01,671 - WARNING - Deleting VN ctest-ext_vn-69190921 failed..Will retry 2025-07-30 17:11:03,891 - DEBUG - Response for deleting network () 2025-07-30 17:11:03,891 - INFO - Deleting VN ctest-vn-77620139 2025-07-30 17:11:04,052 - DEBUG - Response for deleting network () 2025-07-30 17:11:04,367 - DEBUG - No XMPP flaps were noticed during the test
2025-07-30 17:11:04,368 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2025-07-30 17:11:04,368 - INFO - -------------------------------------------------------------------------------- 2025-07-30 17:11:05,230 - INFO - Deleted project: ctest-TestRoutersBasic-12147123, ID : 2a3c4f89-4895-4d47-a7a2-50ef3231532c