2025-06-05 01:59:51,026 - INFO - Reading existing Domain with UUID 92c00774-2743-4ed5-87aa-ed783cf65c82 2025-06-05 01:59:51,038 - INFO - Using existing domain ['admin_domain'](92c00774-2743-4ed5-87aa-ed783cf65c82) 2025-06-05 01:59:51,255 - INFO - Project ctest-TestRoutersBasic-46749195 not found, creating it 2025-06-05 01:59:51,784 - INFO - Created Project:ctest-TestRoutersBasic-46749195, ID : 278cdc41-87fa-4aa8-b936-a8ac0417dce8 2025-06-05 01:59:53,609 - INFO - ================================================================================ 2025-06-05 01:59:53,609 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-05 01:59:53,609 - 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-05 01:59:53,991 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.0.0.33': '0'}} with 2025-06-05 01:59:53,991 - INFO - Initial checks done. Running the testcase now 2025-06-05 01:59:53,991 - INFO - 2025-06-05 01:59:54,862 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-46749195 2025-06-05 01:59:54,967 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-46749195 2025-06-05 01:59:55,302 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-46749195', 'default']} 2025-06-05 01:59:55,828 - DEBUG - Response for create_network : {'network': {'id': '29a792bc-d609-4159-a617-1c89fc322c7e', 'name': 'ctest-vn-79275805', 'tenant_id': '278cdc4187fa4aa8b936a8ac0417dce8', 'project_id': '278cdc4187fa4aa8b936a8ac0417dce8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-46749195', 'ctest-vn-79275805'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-06-05 01:59:56,071 - DEBUG - Response for create_subnet : {'subnet': {'id': '34538343-6057-4c93-b778-366550e0f57e', 'name': '', 'tenant_id': '278cdc4187fa4aa8b936a8ac0417dce8', 'network_id': '29a792bc-d609-4159-a617-1c89fc322c7e', 'ip_version': 4, 'cidr': '109.197.95.64/26', 'allocation_pools': [{'start': '109.197.95.66', 'end': '109.197.95.126'}], 'gateway_ip': '109.197.95.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-06-05T01:59:55.956814', 'updated_at': '2025-06-05T01:59:55.956814', 'dns_server_address': '109.197.95.66', 'tags': [], 'project_id': '278cdc4187fa4aa8b936a8ac0417dce8'}} 2025-06-05 01:59:56,140 - INFO - Created VN ctest-vn-79275805 2025-06-05 01:59:56,198 - DEBUG - VN ctest-vn-79275805 UUID is 29a792bc-d609-4159-a617-1c89fc322c7e 2025-06-05 01:59:56,779 - DEBUG - Response for create_network : {'network': {'id': 'd8cf114d-0e5b-486e-85f4-9d659fb1497a', 'name': 'ctest-ext_vn-35452121', 'tenant_id': '278cdc4187fa4aa8b936a8ac0417dce8', 'project_id': '278cdc4187fa4aa8b936a8ac0417dce8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-46749195', 'ctest-ext_vn-35452121'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-06-05 01:59:56,996 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f5eb834-3cd9-4e25-b219-76e0ad0fffcd', 'name': '', 'tenant_id': '278cdc4187fa4aa8b936a8ac0417dce8', 'network_id': 'd8cf114d-0e5b-486e-85f4-9d659fb1497a', 'ip_version': 4, 'cidr': '153.106.67.0/26', 'allocation_pools': [{'start': '153.106.67.2', 'end': '153.106.67.62'}], 'gateway_ip': '153.106.67.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-06-05T01:59:56.889305', 'updated_at': '2025-06-05T01:59:56.889305', 'dns_server_address': '153.106.67.2', 'tags': [], 'project_id': '278cdc4187fa4aa8b936a8ac0417dce8'}} 2025-06-05 01:59:57,068 - INFO - Created VN ctest-ext_vn-35452121 2025-06-05 01:59:57,126 - DEBUG - VN ctest-ext_vn-35452121 UUID is d8cf114d-0e5b-486e-85f4-9d659fb1497a 2025-06-05 01:59:57,413 - DEBUG - Services list from nova: [, , ] 2025-06-05 01:59:58,617 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-543-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-543-1) 2025-06-05 01:59:59,951 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-543-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-543-1) 2025-06-05 02:00:00,139 - INFO - Setting gateway for router 3138560b-6121-4aa0-8196-192a4c502fdf to network d8cf114d-0e5b-486e-85f4-9d659fb1497a 2025-06-05 02:00:00,323 - INFO - Adding interface with subnet_id 34538343-6057-4c93-b778-366550e0f57e, port_id None to router 3138560b-6121-4aa0-8196-192a4c502fdf 2025-06-05 02:00:01,217 - INFO - Waiting for VM ctest-TestRoutersBasic-46749195-21884785 to be up.. 2025-06-05 02:00:01,481 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-05 02:00:06,647 - DEBUG - VM is in ACTIVE state now 2025-06-05 02:00:06,647 - INFO - VM name : ctest-TestRoutersBasic-46749195-21884785 2025-06-05 02:00:06,805 - DEBUG - VM ctest-TestRoutersBasic-46749195-21884785 ID is a9ace067-3d50-46c3-a2a1-bc9818e395c2 2025-06-05 02:00:06,835 - DEBUG - VM ctest-TestRoutersBasic-46749195-21884785 launched on Node cn-jenkins-deploy-platform-juju-os-543-1 2025-06-05 02:00:07,009 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine/a9ace067-3d50-46c3-a2a1-bc9818e395c2 2025-06-05 02:00:07,380 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine/a9ace067-3d50-46c3-a2a1-bc9818e395c2 2025-06-05 02:00:07,499 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine-interface/94a4927f-3459-4302-9462-305270a7aa3d 2025-06-05 02:00:11,011 - 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-06-05 02:00:11,011 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46749195-21884785 failed! 2025-06-05 02:00:11,074 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-46749195:ctest-vn-79275805 is 109.197.95.65 and allocation pool is NOT set 2025-06-05 02:00:15,204 - 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=2 ttl=63 time=2.53 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1031ms\r\nrtt min/avg/max/mdev = 2.531/2.531/2.531/0.000 ms') 2025-06-05 02:00:15,204 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46749195-21884785 passed 2025-06-05 02:00:15,370 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-05 02:00:15,370 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46749195-21884785, IP 109.197.95.67, Port 22 2025-06-05 02:00:15,596 - DEBUG - VM ctest-TestRoutersBasic-46749195-21884785 is ready for SSH connections 2025-06-05 02:00:15,597 - INFO - Waiting for VM ctest-TestRoutersBasic-46749195-99598238 to be up.. 2025-06-05 02:00:15,755 - DEBUG - VM is in ACTIVE state now 2025-06-05 02:00:15,755 - INFO - VM name : ctest-TestRoutersBasic-46749195-99598238 2025-06-05 02:00:15,929 - DEBUG - VM ctest-TestRoutersBasic-46749195-99598238 ID is 6dd0443e-66eb-4586-aa4d-ff6e6a0c4131 2025-06-05 02:00:15,929 - DEBUG - VM ctest-TestRoutersBasic-46749195-99598238 launched on Node cn-jenkins-deploy-platform-juju-os-543-1 2025-06-05 02:00:16,091 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine/6dd0443e-66eb-4586-aa4d-ff6e6a0c4131 2025-06-05 02:00:16,156 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine-interface/cf8a6549-4955-4fe3-b04c-ba400ab0d810 2025-06-05 02:00:17,635 - 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=5.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.65 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 = 1.645/3.808/5.972/2.163 ms') 2025-06-05 02:00:17,635 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-46749195-99598238 passed 2025-06-05 02:00:17,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-05 02:00:17,798 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46749195-99598238, IP 153.106.67.3, Port 22 2025-06-05 02:00:18,016 - DEBUG - VM ctest-TestRoutersBasic-46749195-99598238 is ready for SSH connections 2025-06-05 02:00:18,017 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-05 02:00:18,017 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.106.67.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-06-05 02:00:18,017 - DEBUG - ping -s 56 -c 3 -W 1 153.106.67.3 2025-06-05 02:00:21,772 - DEBUG - PING 153.106.67.3 (153.106.67.3): 56 data bytes 64 bytes from 153.106.67.3: seq=0 ttl=62 time=6.215 ms 64 bytes from 153.106.67.3: seq=1 ttl=62 time=1.285 ms 64 bytes from 153.106.67.3: seq=2 ttl=62 time=1.020 ms --- 153.106.67.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.020/2.840/6.215 ms 2025-06-05 02:00:21,772 - INFO - Ping to IP 153.106.67.3 from VM ctest-TestRoutersBasic-46749195-21884785 passed 2025-06-05 02:00:21,772 - INFO - Deleting interface with subnet_id 34538343-6057-4c93-b778-366550e0f57e, port_id None from router 3138560b-6121-4aa0-8196-192a4c502fdf 2025-06-05 02:00:22,278 - INFO - Deleting VM ctest-TestRoutersBasic-46749195-99598238 2025-06-05 02:00:22,409 - INFO - Deleting VM ctest-TestRoutersBasic-46749195-21884785 2025-06-05 02:00:22,538 - INFO - Deleting VN ctest-ext_vn-35452121 2025-06-05 02:00:22,754 - DEBUG - VN d8cf114d-0e5b-486e-85f4-9d659fb1497a still in use: Unable to complete operation on network d8cf114d-0e5b-486e-85f4-9d659fb1497a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d408aea4-8887-4556-bf6a-0330cbe16ad6'] 2025-06-05 02:00:22,754 - WARNING - Deleting VN ctest-ext_vn-35452121 failed..Will retry 2025-06-05 02:00:24,945 - DEBUG - Response for deleting network () 2025-06-05 02:00:24,945 - INFO - Deleting VN ctest-vn-79275805 2025-06-05 02:00:25,151 - DEBUG - Response for deleting network () 2025-06-05 02:00:25,539 - DEBUG - No XMPP flaps were noticed during the test
2025-06-05 02:00:25,539 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2025-06-05 02:00:25,539 - INFO - -------------------------------------------------------------------------------- 2025-06-05 02:00:26,476 - INFO - Deleted project: ctest-TestRoutersBasic-46749195, ID : 278cdc41-87fa-4aa8-b936-a8ac0417dce8