2025-06-27 03:40:03,074 - INFO - Domain Default found not creating 2025-06-27 03:40:03,275 - INFO - Project ctest-TestRoutersBasic-32009348 not found, creating it 2025-06-27 03:40:03,759 - INFO - Created Project:ctest-TestRoutersBasic-32009348, ID : 6265a942-0f14-4941-addf-ecacd46fcc53 2025-06-27 03:40:05,193 - INFO - ================================================================================ 2025-06-27 03:40:05,193 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-27 03:40:05,193 - 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-06-27 03:40:05,449 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-06-27 03:40:05,449 - INFO - Initial checks done. Running the testcase now 2025-06-27 03:40:05,449 - INFO - 2025-06-27 03:40:06,146 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-32009348 2025-06-27 03:40:06,247 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-32009348 2025-06-27 03:40:06,579 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32009348', 'default']} 2025-06-27 03:40:06,878 - DEBUG - Response for create_network : {'network': {'id': '27dc691e-06f9-4a8e-ada6-a5f55281cb32', 'name': 'ctest-vn-38520648', 'tenant_id': '6265a9420f144941addfecacd46fcc53', 'project_id': '6265a9420f144941addfecacd46fcc53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32009348', 'ctest-vn-38520648'], 'port_security_enabled': True, 'description': ''}} 2025-06-27 03:40:07,054 - DEBUG - Response for create_subnet : {'subnet': {'id': '4bfcc656-864b-484d-b68c-2611a5e62ec4', 'name': '', 'tenant_id': '6265a9420f144941addfecacd46fcc53', 'network_id': '27dc691e-06f9-4a8e-ada6-a5f55281cb32', 'ip_version': 4, 'cidr': '88.175.179.64/26', 'allocation_pools': [{'start': '88.175.179.66', 'end': '88.175.179.126'}], 'gateway_ip': '88.175.179.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.175.179.66', 'tags': [], 'project_id': '6265a9420f144941addfecacd46fcc53'}} 2025-06-27 03:40:07,073 - INFO - Created VN ctest-vn-38520648 2025-06-27 03:40:07,131 - DEBUG - VN ctest-vn-38520648 UUID is 27dc691e-06f9-4a8e-ada6-a5f55281cb32 2025-06-27 03:40:07,502 - DEBUG - Response for create_network : {'network': {'id': '45195a3e-efb9-43a4-8e25-30f1b70f45cd', 'name': 'ctest-ext_vn-22513587', 'tenant_id': '6265a9420f144941addfecacd46fcc53', 'project_id': '6265a9420f144941addfecacd46fcc53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32009348', 'ctest-ext_vn-22513587'], 'port_security_enabled': True, 'description': ''}} 2025-06-27 03:40:07,726 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cda0af3b-188c-4e9d-a124-2ec7d0378da5', 'name': '', 'tenant_id': '6265a9420f144941addfecacd46fcc53', 'network_id': '45195a3e-efb9-43a4-8e25-30f1b70f45cd', 'ip_version': 4, 'cidr': '100.180.65.64/26', 'allocation_pools': [{'start': '100.180.65.66', 'end': '100.180.65.126'}], 'gateway_ip': '100.180.65.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.180.65.66', 'tags': [], 'project_id': '6265a9420f144941addfecacd46fcc53'}} 2025-06-27 03:40:07,744 - INFO - Created VN ctest-ext_vn-22513587 2025-06-27 03:40:07,799 - DEBUG - VN ctest-ext_vn-22513587 UUID is 45195a3e-efb9-43a4-8e25-30f1b70f45cd 2025-06-27 03:40:08,008 - DEBUG - Services list from nova: [, , ] 2025-06-27 03:40:08,998 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3565-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3565-1) 2025-06-27 03:40:10,097 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3565-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3565-1) 2025-06-27 03:40:10,184 - INFO - Setting gateway for router 651b064c-2c26-4f50-b20f-0585c3820510 to network 45195a3e-efb9-43a4-8e25-30f1b70f45cd 2025-06-27 03:40:10,238 - INFO - Adding interface with subnet_id 4bfcc656-864b-484d-b68c-2611a5e62ec4, port_id None to router 651b064c-2c26-4f50-b20f-0585c3820510 2025-06-27 03:40:10,650 - INFO - Waiting for VM ctest-TestRoutersBasic-32009348-33648369 to be up.. 2025-06-27 03:40:10,828 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-27 03:40:15,927 - DEBUG - VM is in ACTIVE state now 2025-06-27 03:40:15,927 - INFO - VM name : ctest-TestRoutersBasic-32009348-33648369 2025-06-27 03:40:16,018 - DEBUG - VM ctest-TestRoutersBasic-32009348-33648369 ID is 39452e1c-452f-4914-a5c8-025ab4b0b081 2025-06-27 03:40:16,041 - DEBUG - VM ctest-TestRoutersBasic-32009348-33648369 launched on Node cn-jenkins-deploy-platform-ansible-os-3565-1 2025-06-27 03:40:16,133 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/39452e1c-452f-4914-a5c8-025ab4b0b081 2025-06-27 03:40:16,430 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/39452e1c-452f-4914-a5c8-025ab4b0b081 2025-06-27 03:40:16,739 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/33ad479e-562d-4355-ade7-97c020a86510 2025-06-27 03:40:19,992 - 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 1003ms') 2025-06-27 03:40:19,993 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-32009348-33648369 failed! 2025-06-27 03:40:20,047 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-32009348:ctest-vn-38520648 is 88.175.179.65 and allocation pool is NOT set 2025-06-27 03:40:22,110 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.376 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.376/1.600/2.825/1.224 ms') 2025-06-27 03:40:22,110 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-32009348-33648369 passed 2025-06-27 03:40:22,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-27 03:40:22,263 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32009348-33648369, IP 88.175.179.67, Port 22 2025-06-27 03:40:22,419 - DEBUG - VM ctest-TestRoutersBasic-32009348-33648369 is ready for SSH connections 2025-06-27 03:40:22,419 - INFO - Waiting for VM ctest-TestRoutersBasic-32009348-21373733 to be up.. 2025-06-27 03:40:22,499 - DEBUG - VM is in ACTIVE state now 2025-06-27 03:40:22,500 - INFO - VM name : ctest-TestRoutersBasic-32009348-21373733 2025-06-27 03:40:22,583 - DEBUG - VM ctest-TestRoutersBasic-32009348-21373733 ID is 2c2ae5ec-78b7-4ad5-8e92-c0c6acf71e8c 2025-06-27 03:40:22,584 - DEBUG - VM ctest-TestRoutersBasic-32009348-21373733 launched on Node cn-jenkins-deploy-platform-ansible-os-3565-1 2025-06-27 03:40:22,665 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2c2ae5ec-78b7-4ad5-8e92-c0c6acf71e8c 2025-06-27 03:40:22,674 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7a6b7893-72ac-4efc-a22e-7f7b06808ca1 2025-06-27 03:40:23,917 - 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.24 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 1001ms\r\nrtt min/avg/max/mdev = 0.463/1.853/3.244/1.390 ms') 2025-06-27 03:40:23,918 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-32009348-21373733 passed 2025-06-27 03:40:24,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-27 03:40:24,071 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32009348-21373733, IP 100.180.65.67, Port 22 2025-06-27 03:40:24,227 - DEBUG - VM ctest-TestRoutersBasic-32009348-21373733 is ready for SSH connections 2025-06-27 03:40:24,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-27 03:40:24,227 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.180.65.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-27 03:40:24,227 - DEBUG - ping -s 56 -c 3 -W 1 100.180.65.67 2025-06-27 03:40:28,209 - DEBUG - PING 100.180.65.67 (100.180.65.67): 56 data bytes 64 bytes from 100.180.65.67: seq=0 ttl=62 time=5.370 ms 64 bytes from 100.180.65.67: seq=1 ttl=62 time=0.966 ms 64 bytes from 100.180.65.67: seq=2 ttl=62 time=1.219 ms --- 100.180.65.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.966/2.518/5.370 ms 2025-06-27 03:40:28,209 - INFO - Ping to IP 100.180.65.67 from VM ctest-TestRoutersBasic-32009348-33648369 passed 2025-06-27 03:40:28,209 - INFO - Deleting interface with subnet_id 4bfcc656-864b-484d-b68c-2611a5e62ec4, port_id None from router 651b064c-2c26-4f50-b20f-0585c3820510 2025-06-27 03:40:28,398 - INFO - Deleting VM ctest-TestRoutersBasic-32009348-21373733 2025-06-27 03:40:28,475 - INFO - Deleting VM ctest-TestRoutersBasic-32009348-33648369 2025-06-27 03:40:28,562 - INFO - Deleting VN ctest-ext_vn-22513587 2025-06-27 03:40:28,637 - DEBUG - VN 45195a3e-efb9-43a4-8e25-30f1b70f45cd still in use: Unable to complete operation on network 45195a3e-efb9-43a4-8e25-30f1b70f45cd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0877f6fc-7d0e-4a11-b56e-c5c9786673f9'] 2025-06-27 03:40:28,637 - WARNING - Deleting VN ctest-ext_vn-22513587 failed..Will retry 2025-06-27 03:40:30,757 - DEBUG - Response for deleting network () 2025-06-27 03:40:30,757 - INFO - Deleting VN ctest-vn-38520648 2025-06-27 03:40:30,870 - DEBUG - Response for deleting network () 2025-06-27 03:40:31,137 - DEBUG - No XMPP flaps were noticed during the test
2025-06-27 03:40:31,137 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-06-27 03:40:31,138 - INFO - -------------------------------------------------------------------------------- 2025-06-27 03:40:31,837 - INFO - Deleted project: ctest-TestRoutersBasic-32009348, ID : 6265a942-0f14-4941-addf-ecacd46fcc53