2025-11-24 18:08:26,340 - INFO - Domain Default found not creating 2025-11-24 18:08:26,501 - INFO - Project ctest-TestRoutersBasic-16276457 not found, creating it 2025-11-24 18:08:26,962 - INFO - Created Project:ctest-TestRoutersBasic-16276457, ID : b5e1bc61-295f-4fc0-9451-8be7f62cb271 2025-11-24 18:08:28,447 - INFO - ================================================================================ 2025-11-24 18:08:28,447 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-24 18:08:28,447 - 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-11-24 18:08:28,701 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-11-24 18:08:28,701 - INFO - Initial checks done. Running the testcase now 2025-11-24 18:08:28,701 - INFO - 2025-11-24 18:08:29,414 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-16276457 2025-11-24 18:08:29,507 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-16276457 2025-11-24 18:08:29,819 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16276457', 'default']} 2025-11-24 18:08:30,093 - DEBUG - Response for create_network : {'network': {'id': '42a97d7d-0e01-4cef-b4d6-353c803e7a13', 'name': 'ctest-vn-13372100', 'tenant_id': 'b5e1bc61295f4fc094518be7f62cb271', 'project_id': 'b5e1bc61295f4fc094518be7f62cb271', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16276457', 'ctest-vn-13372100'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 18:08:30,295 - DEBUG - Response for create_subnet : {'subnet': {'id': '0646b5c5-4799-4d51-80af-59465b11d97f', 'name': '', 'tenant_id': 'b5e1bc61295f4fc094518be7f62cb271', 'network_id': '42a97d7d-0e01-4cef-b4d6-353c803e7a13', 'ip_version': 4, 'cidr': '131.135.255.192/26', 'allocation_pools': [{'start': '131.135.255.194', 'end': '131.135.255.254'}], 'gateway_ip': '131.135.255.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.135.255.194', 'tags': [], 'project_id': 'b5e1bc61295f4fc094518be7f62cb271'}} 2025-11-24 18:08:30,313 - INFO - Created VN ctest-vn-13372100 2025-11-24 18:08:30,363 - DEBUG - VN ctest-vn-13372100 UUID is 42a97d7d-0e01-4cef-b4d6-353c803e7a13 2025-11-24 18:08:30,692 - DEBUG - Response for create_network : {'network': {'id': '04ee353c-0c44-4bbb-861a-a7c9cc673767', 'name': 'ctest-ext_vn-39410622', 'tenant_id': 'b5e1bc61295f4fc094518be7f62cb271', 'project_id': 'b5e1bc61295f4fc094518be7f62cb271', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16276457', 'ctest-ext_vn-39410622'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 18:08:30,871 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb73235f-0dfd-42f4-ad83-9b30c5c6bdfc', 'name': '', 'tenant_id': 'b5e1bc61295f4fc094518be7f62cb271', 'network_id': '04ee353c-0c44-4bbb-861a-a7c9cc673767', 'ip_version': 4, 'cidr': '65.82.130.192/26', 'allocation_pools': [{'start': '65.82.130.194', 'end': '65.82.130.254'}], 'gateway_ip': '65.82.130.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.82.130.194', 'tags': [], 'project_id': 'b5e1bc61295f4fc094518be7f62cb271'}} 2025-11-24 18:08:30,887 - INFO - Created VN ctest-ext_vn-39410622 2025-11-24 18:08:30,939 - DEBUG - VN ctest-ext_vn-39410622 UUID is 04ee353c-0c44-4bbb-861a-a7c9cc673767 2025-11-24 18:08:31,132 - DEBUG - Services list from nova: [, , ] 2025-11-24 18:08:32,138 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4812-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4812-1) 2025-11-24 18:08:33,268 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4812-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4812-1) 2025-11-24 18:08:33,342 - INFO - Setting gateway for router 133c9200-b17f-44d8-b275-884dc1d62f4f to network 04ee353c-0c44-4bbb-861a-a7c9cc673767 2025-11-24 18:08:33,402 - INFO - Adding interface with subnet_id 0646b5c5-4799-4d51-80af-59465b11d97f, port_id None to router 133c9200-b17f-44d8-b275-884dc1d62f4f 2025-11-24 18:08:33,774 - INFO - Waiting for VM ctest-TestRoutersBasic-16276457-71300122 to be up.. 2025-11-24 18:08:33,916 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 18:08:39,001 - DEBUG - VM is in ACTIVE state now 2025-11-24 18:08:39,001 - INFO - VM name : ctest-TestRoutersBasic-16276457-71300122 2025-11-24 18:08:39,070 - DEBUG - VM ctest-TestRoutersBasic-16276457-71300122 ID is 7d81bcfd-9410-4e2c-b01d-7343302c387b 2025-11-24 18:08:39,092 - DEBUG - VM ctest-TestRoutersBasic-16276457-71300122 launched on Node cn-jenkins-deploy-platform-ansible-os-4812-1 2025-11-24 18:08:39,168 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7d81bcfd-9410-4e2c-b01d-7343302c387b 2025-11-24 18:08:39,467 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7d81bcfd-9410-4e2c-b01d-7343302c387b 2025-11-24 18:08:39,498 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8e3a3e40-4108-48d4-b4d2-cd7f39dc8531 2025-11-24 18:08:42,759 - 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-11-24 18:08:42,759 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16276457-71300122 failed! 2025-11-24 18:08:42,811 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-16276457:ctest-vn-13372100 is 131.135.255.193 and allocation pool is NOT set 2025-11-24 18:08:44,881 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.453 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.453/1.785/3.117/1.332 ms') 2025-11-24 18:08:44,881 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16276457-71300122 passed 2025-11-24 18:08:45,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:08:45,031 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16276457-71300122, IP 131.135.255.195, Port 22 2025-11-24 18:08:45,183 - DEBUG - VM ctest-TestRoutersBasic-16276457-71300122 is ready for SSH connections 2025-11-24 18:08:45,183 - INFO - Waiting for VM ctest-TestRoutersBasic-16276457-31907578 to be up.. 2025-11-24 18:08:45,254 - DEBUG - VM is in ACTIVE state now 2025-11-24 18:08:45,254 - INFO - VM name : ctest-TestRoutersBasic-16276457-31907578 2025-11-24 18:08:45,320 - DEBUG - VM ctest-TestRoutersBasic-16276457-31907578 ID is d361cac3-a859-4cbf-b8b6-96794f2610c9 2025-11-24 18:08:45,321 - DEBUG - VM ctest-TestRoutersBasic-16276457-31907578 launched on Node cn-jenkins-deploy-platform-ansible-os-4812-1 2025-11-24 18:08:45,392 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d361cac3-a859-4cbf-b8b6-96794f2610c9 2025-11-24 18:08:45,399 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/af73ac8b-2efa-42eb-a17a-c4b7ba223566 2025-11-24 18:08:46,632 - 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=2.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.463 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 = 0.463/1.579/2.696/1.116 ms') 2025-11-24 18:08:46,632 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-16276457-31907578 passed 2025-11-24 18:08:46,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:08:46,779 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16276457-31907578, IP 65.82.130.195, Port 22 2025-11-24 18:08:46,946 - DEBUG - VM ctest-TestRoutersBasic-16276457-31907578 is ready for SSH connections 2025-11-24 18:08:46,946 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:08:46,947 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.82.130.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-24 18:08:46,947 - DEBUG - ping -s 56 -c 3 -W 1 65.82.130.195 2025-11-24 18:08:50,849 - DEBUG - PING 65.82.130.195 (65.82.130.195): 56 data bytes 64 bytes from 65.82.130.195: seq=0 ttl=62 time=5.862 ms 64 bytes from 65.82.130.195: seq=1 ttl=62 time=1.380 ms 64 bytes from 65.82.130.195: seq=2 ttl=62 time=1.038 ms --- 65.82.130.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.038/2.760/5.862 ms 2025-11-24 18:08:50,849 - INFO - Ping to IP 65.82.130.195 from VM ctest-TestRoutersBasic-16276457-71300122 passed 2025-11-24 18:08:50,849 - INFO - Deleting interface with subnet_id 0646b5c5-4799-4d51-80af-59465b11d97f, port_id None from router 133c9200-b17f-44d8-b275-884dc1d62f4f 2025-11-24 18:08:51,029 - INFO - Deleting VM ctest-TestRoutersBasic-16276457-31907578 2025-11-24 18:08:51,101 - INFO - Deleting VM ctest-TestRoutersBasic-16276457-71300122 2025-11-24 18:08:51,179 - INFO - Deleting VN ctest-ext_vn-39410622 2025-11-24 18:08:51,245 - DEBUG - VN 04ee353c-0c44-4bbb-861a-a7c9cc673767 still in use: Unable to complete operation on network 04ee353c-0c44-4bbb-861a-a7c9cc673767. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-264e7dca-1361-4021-a31e-2683378f0be1'] 2025-11-24 18:08:51,245 - WARNING - Deleting VN ctest-ext_vn-39410622 failed..Will retry 2025-11-24 18:08:53,331 - DEBUG - Response for deleting network () 2025-11-24 18:08:53,331 - INFO - Deleting VN ctest-vn-13372100 2025-11-24 18:08:53,420 - DEBUG - Response for deleting network () 2025-11-24 18:08:53,672 - DEBUG - No XMPP flaps were noticed during the test
2025-11-24 18:08:53,672 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-24 18:08:53,672 - INFO - -------------------------------------------------------------------------------- 2025-11-24 18:08:54,355 - INFO - Deleted project: ctest-TestRoutersBasic-16276457, ID : b5e1bc61-295f-4fc0-9451-8be7f62cb271