2025-05-14 17:21:27,336 - INFO - Domain Default found not creating 2025-05-14 17:21:27,673 - INFO - Project ctest-TestRoutersBasic-04800831 not found, creating it 2025-05-14 17:21:28,324 - INFO - Created Project:ctest-TestRoutersBasic-04800831, ID : 6a8f3079-1bdd-41fb-a06a-713e38331962 2025-05-14 17:21:30,199 - INFO - ================================================================================ 2025-05-14 17:21:30,199 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-14 17:21:30,200 - 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-14 17:21:30,517 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-05-14 17:21:30,517 - INFO - Initial checks done. Running the testcase now 2025-05-14 17:21:30,517 - INFO - 2025-05-14 17:21:31,773 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-04800831 2025-05-14 17:21:31,880 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-04800831 2025-05-14 17:21:32,268 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04800831', 'default']} 2025-05-14 17:21:32,690 - DEBUG - Response for create_network : {'network': {'id': '47568e7f-904a-42c2-bd42-4594aa717eda', 'name': 'ctest-vn-99628964', 'tenant_id': '6a8f30791bdd41fba06a713e38331962', 'project_id': '6a8f30791bdd41fba06a713e38331962', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04800831', 'ctest-vn-99628964'], 'port_security_enabled': True, 'description': ''}} 2025-05-14 17:21:32,912 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b5d910f9-e417-46df-8354-62944d7aefae', 'name': '', 'tenant_id': '6a8f30791bdd41fba06a713e38331962', 'network_id': '47568e7f-904a-42c2-bd42-4594aa717eda', 'ip_version': 4, 'cidr': '220.237.231.0/26', 'allocation_pools': [{'start': '220.237.231.2', 'end': '220.237.231.62'}], 'gateway_ip': '220.237.231.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.237.231.2', 'tags': [], 'project_id': '6a8f30791bdd41fba06a713e38331962'}} 2025-05-14 17:21:32,933 - INFO - Created VN ctest-vn-99628964 2025-05-14 17:21:32,988 - DEBUG - VN ctest-vn-99628964 UUID is 47568e7f-904a-42c2-bd42-4594aa717eda 2025-05-14 17:21:33,410 - DEBUG - Response for create_network : {'network': {'id': 'b137fe96-7dee-4572-979e-9e893c356e83', 'name': 'ctest-ext_vn-24653009', 'tenant_id': '6a8f30791bdd41fba06a713e38331962', 'project_id': '6a8f30791bdd41fba06a713e38331962', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04800831', 'ctest-ext_vn-24653009'], 'port_security_enabled': True, 'description': ''}} 2025-05-14 17:21:33,624 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f07145f-a654-4706-91b7-8a8dfdb7395e', 'name': '', 'tenant_id': '6a8f30791bdd41fba06a713e38331962', 'network_id': 'b137fe96-7dee-4572-979e-9e893c356e83', 'ip_version': 4, 'cidr': '99.107.217.64/26', 'allocation_pools': [{'start': '99.107.217.66', 'end': '99.107.217.126'}], 'gateway_ip': '99.107.217.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.107.217.66', 'tags': [], 'project_id': '6a8f30791bdd41fba06a713e38331962'}} 2025-05-14 17:21:33,644 - INFO - Created VN ctest-ext_vn-24653009 2025-05-14 17:21:33,700 - DEBUG - VN ctest-ext_vn-24653009 UUID is b137fe96-7dee-4572-979e-9e893c356e83 2025-05-14 17:21:33,897 - DEBUG - Services list from nova: [, , ] 2025-05-14 17:21:35,166 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3310-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3310-1) 2025-05-14 17:21:36,450 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3310-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3310-1) 2025-05-14 17:21:36,534 - INFO - Setting gateway for router d68c60ef-fd94-4f68-b4cc-d6139af06355 to network b137fe96-7dee-4572-979e-9e893c356e83 2025-05-14 17:21:36,614 - INFO - Adding interface with subnet_id b5d910f9-e417-46df-8354-62944d7aefae, port_id None to router d68c60ef-fd94-4f68-b4cc-d6139af06355 2025-05-14 17:21:37,039 - INFO - Waiting for VM ctest-TestRoutersBasic-04800831-72119516 to be up.. 2025-05-14 17:21:37,288 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-14 17:21:42,500 - DEBUG - VM is in ACTIVE state now 2025-05-14 17:21:42,501 - INFO - VM name : ctest-TestRoutersBasic-04800831-72119516 2025-05-14 17:21:42,599 - DEBUG - VM ctest-TestRoutersBasic-04800831-72119516 ID is a508652b-2bc3-4e6d-a8d2-10f7b7c98e73 2025-05-14 17:21:42,628 - DEBUG - VM ctest-TestRoutersBasic-04800831-72119516 launched on Node cn-jenkins-deploy-platform-ansible-os-3310-1 2025-05-14 17:21:42,747 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a508652b-2bc3-4e6d-a8d2-10f7b7c98e73 2025-05-14 17:21:43,131 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a508652b-2bc3-4e6d-a8d2-10f7b7c98e73 2025-05-14 17:21:43,224 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8fe03df0-ab06-4a33-8ef6-42f8be986c9d 2025-05-14 17:21:46,536 - 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 1020ms') 2025-05-14 17:21:46,537 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-04800831-72119516 failed! 2025-05-14 17:21:46,617 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-04800831:ctest-vn-99628964 is 220.237.231.1 and allocation pool is NOT set 2025-05-14 17:21:48,703 - 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.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.732 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.732/2.440/4.149/1.708 ms') 2025-05-14 17:21:48,704 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-04800831-72119516 passed 2025-05-14 17:21:48,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-14 17:21:48,868 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04800831-72119516, IP 220.237.231.3, Port 22 2025-05-14 17:21:49,039 - DEBUG - VM ctest-TestRoutersBasic-04800831-72119516 is ready for SSH connections 2025-05-14 17:21:49,039 - INFO - Waiting for VM ctest-TestRoutersBasic-04800831-42052569 to be up.. 2025-05-14 17:21:49,132 - DEBUG - VM is in ACTIVE state now 2025-05-14 17:21:49,132 - INFO - VM name : ctest-TestRoutersBasic-04800831-42052569 2025-05-14 17:21:49,239 - DEBUG - VM ctest-TestRoutersBasic-04800831-42052569 ID is 25bc5960-e2a0-4bc9-9e24-9af0dafaf160 2025-05-14 17:21:49,240 - DEBUG - VM ctest-TestRoutersBasic-04800831-42052569 launched on Node cn-jenkins-deploy-platform-ansible-os-3310-1 2025-05-14 17:21:49,346 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/25bc5960-e2a0-4bc9-9e24-9af0dafaf160 2025-05-14 17:21:49,361 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/827498d5-6018-417a-9cdc-075693748b2b 2025-05-14 17:21:50,685 - 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.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.04 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.041/2.776/3.511/0.735 ms') 2025-05-14 17:21:50,685 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-04800831-42052569 passed 2025-05-14 17:21:50,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-14 17:21:50,869 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04800831-42052569, IP 99.107.217.67, Port 22 2025-05-14 17:21:51,076 - DEBUG - VM ctest-TestRoutersBasic-04800831-42052569 is ready for SSH connections 2025-05-14 17:21:51,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-14 17:21:51,076 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.107.217.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-14 17:21:51,077 - DEBUG - ping -s 56 -c 3 -W 1 99.107.217.67 2025-05-14 17:21:55,168 - DEBUG - PING 99.107.217.67 (99.107.217.67): 56 data bytes 64 bytes from 99.107.217.67: seq=0 ttl=62 time=7.817 ms 64 bytes from 99.107.217.67: seq=1 ttl=62 time=2.223 ms 64 bytes from 99.107.217.67: seq=2 ttl=62 time=2.582 ms --- 99.107.217.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 2.223/4.207/7.817 ms 2025-05-14 17:21:55,169 - INFO - Ping to IP 99.107.217.67 from VM ctest-TestRoutersBasic-04800831-72119516 passed 2025-05-14 17:21:55,169 - INFO - Deleting interface with subnet_id b5d910f9-e417-46df-8354-62944d7aefae, port_id None from router d68c60ef-fd94-4f68-b4cc-d6139af06355 2025-05-14 17:21:55,535 - INFO - Deleting VM ctest-TestRoutersBasic-04800831-42052569 2025-05-14 17:21:55,616 - INFO - Deleting VM ctest-TestRoutersBasic-04800831-72119516 2025-05-14 17:21:55,691 - INFO - Deleting VN ctest-ext_vn-24653009 2025-05-14 17:21:55,755 - DEBUG - VN b137fe96-7dee-4572-979e-9e893c356e83 still in use: Unable to complete operation on network b137fe96-7dee-4572-979e-9e893c356e83. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fce75932-001d-49e8-b088-ea4b6903a40d'] 2025-05-14 17:21:55,755 - WARNING - Deleting VN ctest-ext_vn-24653009 failed..Will retry 2025-05-14 17:21:58,054 - DEBUG - Response for deleting network () 2025-05-14 17:21:58,055 - INFO - Deleting VN ctest-vn-99628964 2025-05-14 17:21:58,184 - DEBUG - Response for deleting network () 2025-05-14 17:21:58,463 - DEBUG - No XMPP flaps were noticed during the test 2025-05-14 17:21:58,463 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28] 2025-05-14 17:21:58,464 - INFO - -------------------------------------------------------------------------------- 2025-05-14 17:21:59,419 - INFO - Deleted project: ctest-TestRoutersBasic-04800831, ID : 6a8f3079-1bdd-41fb-a06a-713e38331962