2025-04-22 14:49:13,787 - INFO - Domain Default found not creating
2025-04-22 14:49:13,947 - INFO - Project ctest-TestRoutersBasic-11202174 not found, creating it
2025-04-22 14:49:14,437 - INFO - Created Project:ctest-TestRoutersBasic-11202174, ID : 4f0b5be0-f07b-4461-b834-a466da58d4e0
2025-04-22 14:49:15,963 - INFO - ================================================================================
2025-04-22 14:49:15,964 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-22 14:49:15,964 - 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-22 14:49:16,220 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.17': '0'}} with
2025-04-22 14:49:16,220 - INFO - Initial checks done. Running the testcase now
2025-04-22 14:49:16,220 - INFO -
2025-04-22 14:49:17,001 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-11202174
2025-04-22 14:49:17,098 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-11202174
2025-04-22 14:49:17,422 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11202174', 'default']}
2025-04-22 14:49:17,734 - DEBUG - Response for create_network : {'network': {'id': '86bfe576-6811-42dd-8f84-9ea4fe878260', 'name': 'ctest-vn-99085656', 'tenant_id': '4f0b5be0f07b4461b834a466da58d4e0', 'project_id': '4f0b5be0f07b4461b834a466da58d4e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11202174', 'ctest-vn-99085656'], 'port_security_enabled': True, 'description': ''}}
2025-04-22 14:49:17,925 - DEBUG - Response for create_subnet : {'subnet': {'id': '308acdf4-5502-4fdd-b49b-e034ca953d00', 'name': '', 'tenant_id': '4f0b5be0f07b4461b834a466da58d4e0', 'network_id': '86bfe576-6811-42dd-8f84-9ea4fe878260', 'ip_version': 4, 'cidr': '202.201.121.128/26', 'allocation_pools': [{'start': '202.201.121.130', 'end': '202.201.121.190'}], 'gateway_ip': '202.201.121.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.201.121.130', 'tags': [], 'project_id': '4f0b5be0f07b4461b834a466da58d4e0'}}
2025-04-22 14:49:17,943 - INFO - Created VN ctest-vn-99085656
2025-04-22 14:49:17,998 - DEBUG - VN ctest-vn-99085656 UUID is 86bfe576-6811-42dd-8f84-9ea4fe878260
2025-04-22 14:49:18,331 - DEBUG - Response for create_network : {'network': {'id': '5412577d-dce9-4cf4-a155-7a3d12fba3a9', 'name': 'ctest-ext_vn-98661281', 'tenant_id': '4f0b5be0f07b4461b834a466da58d4e0', 'project_id': '4f0b5be0f07b4461b834a466da58d4e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11202174', 'ctest-ext_vn-98661281'], 'port_security_enabled': True, 'description': ''}}
2025-04-22 14:49:18,652 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd804920-c510-4928-804b-d28577cc89bc', 'name': '', 'tenant_id': '4f0b5be0f07b4461b834a466da58d4e0', 'network_id': '5412577d-dce9-4cf4-a155-7a3d12fba3a9', 'ip_version': 4, 'cidr': '126.87.110.128/26', 'allocation_pools': [{'start': '126.87.110.130', 'end': '126.87.110.190'}], 'gateway_ip': '126.87.110.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.87.110.130', 'tags': [], 'project_id': '4f0b5be0f07b4461b834a466da58d4e0'}}
2025-04-22 14:49:18,676 - INFO - Created VN ctest-ext_vn-98661281
2025-04-22 14:49:18,746 - DEBUG - VN ctest-ext_vn-98661281 UUID is 5412577d-dce9-4cf4-a155-7a3d12fba3a9
2025-04-22 14:49:19,014 - DEBUG - Services list from nova: [, , ]
2025-04-22 14:49:20,147 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3164-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3164-1)
2025-04-22 14:49:21,368 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3164-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3164-1)
2025-04-22 14:49:21,459 - INFO - Setting gateway for router b162e407-f049-47dd-9f9c-866701d9a192 to network 5412577d-dce9-4cf4-a155-7a3d12fba3a9
2025-04-22 14:49:21,538 - INFO - Adding interface with subnet_id 308acdf4-5502-4fdd-b49b-e034ca953d00, port_id None to router b162e407-f049-47dd-9f9c-866701d9a192
2025-04-22 14:49:21,914 - INFO - Waiting for VM ctest-TestRoutersBasic-11202174-05429610 to be up..
2025-04-22 14:49:22,106 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-22 14:49:27,191 - DEBUG - VM is in ACTIVE state now
2025-04-22 14:49:27,192 - INFO - VM name : ctest-TestRoutersBasic-11202174-05429610
2025-04-22 14:49:27,275 - DEBUG - VM ctest-TestRoutersBasic-11202174-05429610 ID is fd8268cb-c653-4ca2-9014-a17f226d6d28
2025-04-22 14:49:27,296 - DEBUG - VM ctest-TestRoutersBasic-11202174-05429610 launched on Node cn-jenkins-deploy-platform-ansible-os-3164-1
2025-04-22 14:49:27,399 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/fd8268cb-c653-4ca2-9014-a17f226d6d28
2025-04-22 14:49:27,737 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/fd8268cb-c653-4ca2-9014-a17f226d6d28
2025-04-22 14:49:27,772 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/f249ca50-0169-4eec-877c-8f005e6c3cf6
2025-04-22 14:49:31,041 - 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 1018ms')
2025-04-22 14:49:31,041 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11202174-05429610 failed!
2025-04-22 14:49:31,098 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-11202174:ctest-vn-99085656 is 202.201.121.129 and allocation pool is NOT set
2025-04-22 14:49:33,160 - 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.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.785 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.785/1.987/3.190/1.202 ms')
2025-04-22 14:49:33,160 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11202174-05429610 passed
2025-04-22 14:49:33,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-22 14:49:33,322 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11202174-05429610, IP 202.201.121.131, Port 22
2025-04-22 14:49:33,482 - DEBUG - VM ctest-TestRoutersBasic-11202174-05429610 is ready for SSH connections
2025-04-22 14:49:33,482 - INFO - Waiting for VM ctest-TestRoutersBasic-11202174-65767983 to be up..
2025-04-22 14:49:33,567 - DEBUG - VM is in ACTIVE state now
2025-04-22 14:49:33,567 - INFO - VM name : ctest-TestRoutersBasic-11202174-65767983
2025-04-22 14:49:33,641 - DEBUG - VM ctest-TestRoutersBasic-11202174-65767983 ID is 3ea7ada1-3e76-4c15-a14f-51ba439250ec
2025-04-22 14:49:33,642 - DEBUG - VM ctest-TestRoutersBasic-11202174-65767983 launched on Node cn-jenkins-deploy-platform-ansible-os-3164-1
2025-04-22 14:49:33,716 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/3ea7ada1-3e76-4c15-a14f-51ba439250ec
2025-04-22 14:49:33,725 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/8842824e-30a8-4957-a794-50e244a56771
2025-04-22 14:49:34,971 - 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=4.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.341 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.341/2.238/4.135/1.897 ms')
2025-04-22 14:49:34,971 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-11202174-65767983 passed
2025-04-22 14:49:35,118 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-22 14:49:35,118 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11202174-65767983, IP 126.87.110.131, Port 22
2025-04-22 14:49:35,277 - DEBUG - VM ctest-TestRoutersBasic-11202174-65767983 is ready for SSH connections
2025-04-22 14:49:35,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-22 14:49:35,278 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.87.110.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123
2025-04-22 14:49:35,278 - DEBUG - ping -s 56 -c 3 -W 1 126.87.110.131
2025-04-22 14:49:39,344 - DEBUG - PING 126.87.110.131 (126.87.110.131): 56 data bytes
64 bytes from 126.87.110.131: seq=0 ttl=62 time=5.546 ms
64 bytes from 126.87.110.131: seq=1 ttl=62 time=0.799 ms
64 bytes from 126.87.110.131: seq=2 ttl=62 time=0.968 ms
--- 126.87.110.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.799/2.437/5.546 ms
2025-04-22 14:49:39,344 - INFO - Ping to IP 126.87.110.131 from VM ctest-TestRoutersBasic-11202174-05429610 passed
2025-04-22 14:49:39,344 - INFO - Deleting interface with subnet_id 308acdf4-5502-4fdd-b49b-e034ca953d00, port_id None from router b162e407-f049-47dd-9f9c-866701d9a192
2025-04-22 14:49:39,563 - INFO - Deleting VM ctest-TestRoutersBasic-11202174-65767983
2025-04-22 14:49:39,634 - INFO - Deleting VM ctest-TestRoutersBasic-11202174-05429610
2025-04-22 14:49:39,709 - INFO - Deleting VN ctest-ext_vn-98661281
2025-04-22 14:49:39,778 - DEBUG - VN 5412577d-dce9-4cf4-a155-7a3d12fba3a9 still in use: Unable to complete operation on network 5412577d-dce9-4cf4-a155-7a3d12fba3a9. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-1ac52f99-4294-4657-b46e-ff7b0dbf2b5d']
2025-04-22 14:49:39,778 - WARNING - Deleting VN ctest-ext_vn-98661281 failed..Will retry
2025-04-22 14:49:41,888 - DEBUG - Response for deleting network ()
2025-04-22 14:49:41,888 - INFO - Deleting VN ctest-vn-99085656
2025-04-22 14:49:42,011 - DEBUG - Response for deleting network ()
2025-04-22 14:49:42,272 - DEBUG - No XMPP flaps were noticed during the test
2025-04-22 14:49:42,272 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-04-22 14:49:42,272 - INFO - --------------------------------------------------------------------------------
2025-04-22 14:49:43,118 - INFO - Deleted project: ctest-TestRoutersBasic-11202174, ID : 4f0b5be0-f07b-4461-b834-a466da58d4e0