2025-10-15 19:38:33,430 - INFO - Domain Default found not creating 2025-10-15 19:38:33,603 - INFO - Project ctest-TestRoutersBasic-42082910 not found, creating it 2025-10-15 19:38:34,095 - INFO - Created Project:ctest-TestRoutersBasic-42082910, ID : 5d66fa60-2fa4-4582-bfe9-9749acc31b26 2025-10-15 19:38:35,541 - INFO - ================================================================================ 2025-10-15 19:38:35,541 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-15 19:38:35,541 - 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-15 19:38:35,811 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.18': '0'}} with 2025-10-15 19:38:35,811 - INFO - Initial checks done. Running the testcase now 2025-10-15 19:38:35,812 - INFO - 2025-10-15 19:38:36,537 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-42082910 2025-10-15 19:38:36,634 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-42082910 2025-10-15 19:38:36,962 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42082910', 'default']} 2025-10-15 19:38:37,261 - DEBUG - Response for create_network : {'network': {'id': 'ac4c4dfd-c04f-4571-8450-d15606210f01', 'name': 'ctest-vn-04037918', 'tenant_id': '5d66fa602fa44582bfe99749acc31b26', 'project_id': '5d66fa602fa44582bfe99749acc31b26', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42082910', 'ctest-vn-04037918'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 19:38:37,478 - DEBUG - Response for create_subnet : {'subnet': {'id': '27c9a48b-748c-4da0-bc8d-d9ba7d4f78e5', 'name': '', 'tenant_id': '5d66fa602fa44582bfe99749acc31b26', 'network_id': 'ac4c4dfd-c04f-4571-8450-d15606210f01', 'ip_version': 4, 'cidr': '105.218.181.0/26', 'allocation_pools': [{'start': '105.218.181.2', 'end': '105.218.181.62'}], 'gateway_ip': '105.218.181.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.218.181.2', 'tags': [], 'project_id': '5d66fa602fa44582bfe99749acc31b26'}} 2025-10-15 19:38:37,499 - INFO - Created VN ctest-vn-04037918 2025-10-15 19:38:37,550 - DEBUG - VN ctest-vn-04037918 UUID is ac4c4dfd-c04f-4571-8450-d15606210f01 2025-10-15 19:38:37,875 - DEBUG - Response for create_network : {'network': {'id': '3e5578a7-976e-439f-9747-c64f75e21a53', 'name': 'ctest-ext_vn-75237764', 'tenant_id': '5d66fa602fa44582bfe99749acc31b26', 'project_id': '5d66fa602fa44582bfe99749acc31b26', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42082910', 'ctest-ext_vn-75237764'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 19:38:38,108 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb174b84-cb66-4739-bf97-2391cdd0e9cc', 'name': '', 'tenant_id': '5d66fa602fa44582bfe99749acc31b26', 'network_id': '3e5578a7-976e-439f-9747-c64f75e21a53', 'ip_version': 4, 'cidr': '149.159.71.64/26', 'allocation_pools': [{'start': '149.159.71.66', 'end': '149.159.71.126'}], 'gateway_ip': '149.159.71.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.159.71.66', 'tags': [], 'project_id': '5d66fa602fa44582bfe99749acc31b26'}} 2025-10-15 19:38:38,126 - INFO - Created VN ctest-ext_vn-75237764 2025-10-15 19:38:38,178 - DEBUG - VN ctest-ext_vn-75237764 UUID is 3e5578a7-976e-439f-9747-c64f75e21a53 2025-10-15 19:38:38,344 - DEBUG - Services list from nova: [, , ] 2025-10-15 19:38:39,380 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4335-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4335-1) 2025-10-15 19:38:40,537 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4335-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4335-1) 2025-10-15 19:38:40,623 - INFO - Setting gateway for router 57f7099a-964b-4f34-8fae-f84083bb23b7 to network 3e5578a7-976e-439f-9747-c64f75e21a53 2025-10-15 19:38:40,690 - INFO - Adding interface with subnet_id 27c9a48b-748c-4da0-bc8d-d9ba7d4f78e5, port_id None to router 57f7099a-964b-4f34-8fae-f84083bb23b7 2025-10-15 19:38:41,009 - INFO - Waiting for VM ctest-TestRoutersBasic-42082910-54533212 to be up.. 2025-10-15 19:38:41,197 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-15 19:38:46,282 - DEBUG - VM is in ACTIVE state now 2025-10-15 19:38:46,283 - INFO - VM name : ctest-TestRoutersBasic-42082910-54533212 2025-10-15 19:38:46,372 - DEBUG - VM ctest-TestRoutersBasic-42082910-54533212 ID is e6fb11ce-eb9f-4bd6-a287-7daa793aa4a5 2025-10-15 19:38:46,395 - DEBUG - VM ctest-TestRoutersBasic-42082910-54533212 launched on Node cn-jenkins-deploy-platform-ansible-os-4335-1 2025-10-15 19:38:46,474 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e6fb11ce-eb9f-4bd6-a287-7daa793aa4a5 2025-10-15 19:38:46,781 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e6fb11ce-eb9f-4bd6-a287-7daa793aa4a5 2025-10-15 19:38:46,812 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/32fad9a6-11b4-427a-8601-4a49916f22fd 2025-10-15 19:38:50,068 - 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 1009ms') 2025-10-15 19:38:50,068 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42082910-54533212 failed! 2025-10-15 19:38:50,122 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-42082910:ctest-vn-04037918 is 105.218.181.1 and allocation pool is NOT set 2025-10-15 19:38:52,184 - 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.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.442 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.442/1.741/3.040/1.299 ms') 2025-10-15 19:38:52,185 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42082910-54533212 passed 2025-10-15 19:38:52,338 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 19:38:52,338 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42082910-54533212, IP 105.218.181.3, Port 22 2025-10-15 19:38:52,516 - DEBUG - VM ctest-TestRoutersBasic-42082910-54533212 is ready for SSH connections 2025-10-15 19:38:52,516 - INFO - Waiting for VM ctest-TestRoutersBasic-42082910-00887617 to be up.. 2025-10-15 19:38:52,607 - DEBUG - VM is in ACTIVE state now 2025-10-15 19:38:52,607 - INFO - VM name : ctest-TestRoutersBasic-42082910-00887617 2025-10-15 19:38:52,692 - DEBUG - VM ctest-TestRoutersBasic-42082910-00887617 ID is ad09dcd0-1d2c-4bd8-9788-089e8b43c8f4 2025-10-15 19:38:52,692 - DEBUG - VM ctest-TestRoutersBasic-42082910-00887617 launched on Node cn-jenkins-deploy-platform-ansible-os-4335-1 2025-10-15 19:38:52,779 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ad09dcd0-1d2c-4bd8-9788-089e8b43c8f4 2025-10-15 19:38:52,796 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/bf3741e2-1609-4551-8886-148ed4e84037 2025-10-15 19:38:54,045 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.553 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.553/1.642/2.732/1.089 ms') 2025-10-15 19:38:54,045 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-42082910-00887617 passed 2025-10-15 19:38:54,194 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 19:38:54,194 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42082910-00887617, IP 149.159.71.67, Port 22 2025-10-15 19:38:54,358 - DEBUG - VM ctest-TestRoutersBasic-42082910-00887617 is ready for SSH connections 2025-10-15 19:38:54,358 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 19:38:54,358 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.159.71.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-15 19:38:54,358 - DEBUG - ping -s 56 -c 3 -W 1 149.159.71.67 2025-10-15 19:38:58,064 - DEBUG - PING 149.159.71.67 (149.159.71.67): 56 data bytes 64 bytes from 149.159.71.67: seq=0 ttl=62 time=6.158 ms 64 bytes from 149.159.71.67: seq=1 ttl=62 time=0.888 ms 64 bytes from 149.159.71.67: seq=2 ttl=62 time=1.116 ms --- 149.159.71.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.888/2.720/6.158 ms 2025-10-15 19:38:58,065 - INFO - Ping to IP 149.159.71.67 from VM ctest-TestRoutersBasic-42082910-54533212 passed 2025-10-15 19:38:58,065 - INFO - Deleting interface with subnet_id 27c9a48b-748c-4da0-bc8d-d9ba7d4f78e5, port_id None from router 57f7099a-964b-4f34-8fae-f84083bb23b7 2025-10-15 19:38:58,298 - INFO - Deleting VM ctest-TestRoutersBasic-42082910-00887617 2025-10-15 19:38:58,378 - INFO - Deleting VM ctest-TestRoutersBasic-42082910-54533212 2025-10-15 19:38:58,466 - INFO - Deleting VN ctest-ext_vn-75237764 2025-10-15 19:38:58,547 - DEBUG - VN 3e5578a7-976e-439f-9747-c64f75e21a53 still in use: Unable to complete operation on network 3e5578a7-976e-439f-9747-c64f75e21a53. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a6345295-ba5c-4d29-aadf-39c8c0705bec'] 2025-10-15 19:38:58,547 - WARNING - Deleting VN ctest-ext_vn-75237764 failed..Will retry 2025-10-15 19:39:00,656 - DEBUG - Response for deleting network () 2025-10-15 19:39:00,656 - INFO - Deleting VN ctest-vn-04037918 2025-10-15 19:39:00,763 - DEBUG - Response for deleting network () 2025-10-15 19:39:01,024 - DEBUG - No XMPP flaps were noticed during the test
2025-10-15 19:39:01,024 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-10-15 19:39:01,024 - INFO - -------------------------------------------------------------------------------- 2025-10-15 19:39:01,731 - INFO - Deleted project: ctest-TestRoutersBasic-42082910, ID : 5d66fa60-2fa4-4582-bfe9-9749acc31b26