2025-10-28 21:33:49,236 - INFO - Domain Default found not creating 2025-10-28 21:33:49,387 - INFO - Project ctest-TestRoutersBasic-53357145 not found, creating it 2025-10-28 21:33:49,843 - INFO - Created Project:ctest-TestRoutersBasic-53357145, ID : 4111fa4d-9bcd-412b-9358-9390f48f7c61 2025-10-28 21:33:51,310 - INFO - ================================================================================ 2025-10-28 21:33:51,310 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-28 21:33:51,310 - 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-10-28 21:33:51,572 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-28 21:33:51,572 - INFO - Initial checks done. Running the testcase now 2025-10-28 21:33:51,572 - INFO - 2025-10-28 21:33:52,279 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-53357145 2025-10-28 21:33:52,375 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-53357145 2025-10-28 21:33:52,691 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53357145', 'default']} 2025-10-28 21:33:52,975 - DEBUG - Response for create_network : {'network': {'id': '354f9dbd-6dd0-4295-9c5a-479b28cb7897', 'name': 'ctest-vn-62240197', 'tenant_id': '4111fa4d9bcd412b93589390f48f7c61', 'project_id': '4111fa4d9bcd412b93589390f48f7c61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53357145', 'ctest-vn-62240197'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:33:53,186 - DEBUG - Response for create_subnet : {'subnet': {'id': '402e5fe3-882a-4368-8caf-a5208b9b371a', 'name': '', 'tenant_id': '4111fa4d9bcd412b93589390f48f7c61', 'network_id': '354f9dbd-6dd0-4295-9c5a-479b28cb7897', 'ip_version': 4, 'cidr': '94.173.205.192/26', 'allocation_pools': [{'start': '94.173.205.194', 'end': '94.173.205.254'}], 'gateway_ip': '94.173.205.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.173.205.194', 'tags': [], 'project_id': '4111fa4d9bcd412b93589390f48f7c61'}} 2025-10-28 21:33:53,202 - INFO - Created VN ctest-vn-62240197 2025-10-28 21:33:53,251 - DEBUG - VN ctest-vn-62240197 UUID is 354f9dbd-6dd0-4295-9c5a-479b28cb7897 2025-10-28 21:33:53,585 - DEBUG - Response for create_network : {'network': {'id': '3850900c-4e0f-46c6-9d7a-689b31cd73a3', 'name': 'ctest-ext_vn-99745999', 'tenant_id': '4111fa4d9bcd412b93589390f48f7c61', 'project_id': '4111fa4d9bcd412b93589390f48f7c61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53357145', 'ctest-ext_vn-99745999'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:33:53,765 - DEBUG - Response for create_subnet : {'subnet': {'id': '2404228b-0a4c-441f-a9af-4d1153cf5fbf', 'name': '', 'tenant_id': '4111fa4d9bcd412b93589390f48f7c61', 'network_id': '3850900c-4e0f-46c6-9d7a-689b31cd73a3', 'ip_version': 4, 'cidr': '154.38.51.128/26', 'allocation_pools': [{'start': '154.38.51.130', 'end': '154.38.51.190'}], 'gateway_ip': '154.38.51.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.38.51.130', 'tags': [], 'project_id': '4111fa4d9bcd412b93589390f48f7c61'}} 2025-10-28 21:33:53,783 - INFO - Created VN ctest-ext_vn-99745999 2025-10-28 21:33:53,835 - DEBUG - VN ctest-ext_vn-99745999 UUID is 3850900c-4e0f-46c6-9d7a-689b31cd73a3 2025-10-28 21:33:54,028 - DEBUG - Services list from nova: [, , ] 2025-10-28 21:33:55,031 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4519-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4519-1) 2025-10-28 21:33:56,147 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4519-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4519-1) 2025-10-28 21:33:56,232 - INFO - Setting gateway for router 134872d0-4fe2-44dc-8918-0f4cc7afa227 to network 3850900c-4e0f-46c6-9d7a-689b31cd73a3 2025-10-28 21:33:56,307 - INFO - Adding interface with subnet_id 402e5fe3-882a-4368-8caf-a5208b9b371a, port_id None to router 134872d0-4fe2-44dc-8918-0f4cc7afa227 2025-10-28 21:33:56,671 - INFO - Waiting for VM ctest-TestRoutersBasic-53357145-66918910 to be up.. 2025-10-28 21:33:56,839 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-28 21:34:01,915 - DEBUG - VM is in ACTIVE state now 2025-10-28 21:34:01,915 - INFO - VM name : ctest-TestRoutersBasic-53357145-66918910 2025-10-28 21:34:01,993 - DEBUG - VM ctest-TestRoutersBasic-53357145-66918910 ID is b064be8d-c00d-4f22-8085-7c908a5f591f 2025-10-28 21:34:02,015 - DEBUG - VM ctest-TestRoutersBasic-53357145-66918910 launched on Node cn-jenkins-deploy-platform-ansible-os-4519-1 2025-10-28 21:34:02,090 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b064be8d-c00d-4f22-8085-7c908a5f591f 2025-10-28 21:34:02,391 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b064be8d-c00d-4f22-8085-7c908a5f591f 2025-10-28 21:34:02,424 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0bea3fe0-a039-44c8-986f-31326feaa91b 2025-10-28 21:34:05,660 - 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 1002ms') 2025-10-28 21:34:05,661 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-53357145-66918910 failed! 2025-10-28 21:34:05,719 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-53357145:ctest-vn-62240197 is 94.173.205.193 and allocation pool is NOT set 2025-10-28 21:34:07,775 - 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=2.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.469 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.469/1.586/2.704/1.117 ms') 2025-10-28 21:34:07,775 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-53357145-66918910 passed 2025-10-28 21:34:07,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:34:07,923 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53357145-66918910, IP 94.173.205.195, Port 22 2025-10-28 21:34:08,082 - DEBUG - VM ctest-TestRoutersBasic-53357145-66918910 is ready for SSH connections 2025-10-28 21:34:08,082 - INFO - Waiting for VM ctest-TestRoutersBasic-53357145-16004738 to be up.. 2025-10-28 21:34:08,158 - DEBUG - VM is in ACTIVE state now 2025-10-28 21:34:08,158 - INFO - VM name : ctest-TestRoutersBasic-53357145-16004738 2025-10-28 21:34:08,228 - DEBUG - VM ctest-TestRoutersBasic-53357145-16004738 ID is 569c9b6b-4ced-46e1-8c82-94ceb1fcc2a7 2025-10-28 21:34:08,228 - DEBUG - VM ctest-TestRoutersBasic-53357145-16004738 launched on Node cn-jenkins-deploy-platform-ansible-os-4519-1 2025-10-28 21:34:08,294 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/569c9b6b-4ced-46e1-8c82-94ceb1fcc2a7 2025-10-28 21:34:08,305 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/715cecf3-3c47-4c30-942a-fa300ece81be 2025-10-28 21:34:09,544 - 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.37 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 1001ms\r\nrtt min/avg/max/mdev = 0.431/1.898/3.366/1.467 ms') 2025-10-28 21:34:09,545 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-53357145-16004738 passed 2025-10-28 21:34:09,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:34:09,699 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53357145-16004738, IP 154.38.51.131, Port 22 2025-10-28 21:34:09,858 - DEBUG - VM ctest-TestRoutersBasic-53357145-16004738 is ready for SSH connections 2025-10-28 21:34:09,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:34:09,859 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.38.51.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-28 21:34:09,859 - DEBUG - ping -s 56 -c 3 -W 1 154.38.51.131 2025-10-28 21:34:13,571 - DEBUG - PING 154.38.51.131 (154.38.51.131): 56 data bytes 64 bytes from 154.38.51.131: seq=0 ttl=62 time=6.403 ms 64 bytes from 154.38.51.131: seq=1 ttl=62 time=1.189 ms 64 bytes from 154.38.51.131: seq=2 ttl=62 time=1.090 ms --- 154.38.51.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.090/2.894/6.403 ms 2025-10-28 21:34:13,572 - INFO - Ping to IP 154.38.51.131 from VM ctest-TestRoutersBasic-53357145-66918910 passed 2025-10-28 21:34:13,572 - INFO - Deleting interface with subnet_id 402e5fe3-882a-4368-8caf-a5208b9b371a, port_id None from router 134872d0-4fe2-44dc-8918-0f4cc7afa227 2025-10-28 21:34:13,759 - INFO - Deleting VM ctest-TestRoutersBasic-53357145-16004738 2025-10-28 21:34:13,824 - INFO - Deleting VM ctest-TestRoutersBasic-53357145-66918910 2025-10-28 21:34:13,923 - INFO - Deleting VN ctest-ext_vn-99745999 2025-10-28 21:34:13,993 - DEBUG - VN 3850900c-4e0f-46c6-9d7a-689b31cd73a3 still in use: Unable to complete operation on network 3850900c-4e0f-46c6-9d7a-689b31cd73a3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-27d6b9e6-d4b3-4506-b1be-f462e0c01789'] 2025-10-28 21:34:13,993 - WARNING - Deleting VN ctest-ext_vn-99745999 failed..Will retry 2025-10-28 21:34:16,083 - DEBUG - Response for deleting network () 2025-10-28 21:34:16,083 - INFO - Deleting VN ctest-vn-62240197 2025-10-28 21:34:16,174 - DEBUG - Response for deleting network () 2025-10-28 21:34:16,428 - DEBUG - No XMPP flaps were noticed during the test
2025-10-28 21:34:16,428 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-28 21:34:16,428 - INFO - -------------------------------------------------------------------------------- 2025-10-28 21:34:17,113 - INFO - Deleted project: ctest-TestRoutersBasic-53357145, ID : 4111fa4d-9bcd-412b-9358-9390f48f7c61