2026-04-23 01:47:06,564 - INFO - Reading existing Domain with UUID 463c1a7f-4575-42ba-bd06-1a9f36cbf244 2026-04-23 01:47:06,575 - INFO - Using existing domain ['admin_domain'](463c1a7f-4575-42ba-bd06-1a9f36cbf244) 2026-04-23 01:47:06,767 - INFO - Project ctest-TestRoutersBasic-59366612 not found, creating it 2026-04-23 01:47:07,291 - INFO - Created Project:ctest-TestRoutersBasic-59366612, ID : 73d51924-cf2a-478b-945f-b4df11ac484e 2026-04-23 01:47:08,989 - INFO - ================================================================================ 2026-04-23 01:47:08,990 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-23 01:47:08,990 - 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 2026-04-23 01:47:09,381 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with 2026-04-23 01:47:09,381 - INFO - Initial checks done. Running the testcase now 2026-04-23 01:47:09,382 - INFO - 2026-04-23 01:47:10,170 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-59366612 2026-04-23 01:47:10,298 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-59366612 2026-04-23 01:47:10,630 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-59366612', 'default']} 2026-04-23 01:47:11,107 - DEBUG - Response for create_network : {'network': {'id': 'c3a78ac2-cf2e-4ff4-bee4-8f567705e7e9', 'name': 'ctest-vn-04818918', 'tenant_id': '73d51924cf2a478b945fb4df11ac484e', 'project_id': '73d51924cf2a478b945fb4df11ac484e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-59366612', 'ctest-vn-04818918'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-04-23 01:47:11,403 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b7f146d-c3b2-46b6-904f-209d9cf03071', 'name': '', 'tenant_id': '73d51924cf2a478b945fb4df11ac484e', 'network_id': 'c3a78ac2-cf2e-4ff4-bee4-8f567705e7e9', 'ip_version': 4, 'cidr': '35.202.85.64/26', 'allocation_pools': [{'start': '35.202.85.66', 'end': '35.202.85.126'}], 'gateway_ip': '35.202.85.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-04-23T01:47:11.269230', 'updated_at': '2026-04-23T01:47:11.269230', 'dns_server_address': '35.202.85.66', 'tags': [], 'project_id': '73d51924cf2a478b945fb4df11ac484e'}} 2026-04-23 01:47:11,473 - INFO - Created VN ctest-vn-04818918 2026-04-23 01:47:11,526 - DEBUG - VN ctest-vn-04818918 UUID is c3a78ac2-cf2e-4ff4-bee4-8f567705e7e9 2026-04-23 01:47:12,071 - DEBUG - Response for create_network : {'network': {'id': 'a52a57b6-8c7f-45d5-abef-b0b97aa29650', 'name': 'ctest-ext_vn-02861320', 'tenant_id': '73d51924cf2a478b945fb4df11ac484e', 'project_id': '73d51924cf2a478b945fb4df11ac484e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-59366612', 'ctest-ext_vn-02861320'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-04-23 01:47:12,291 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b71ef2f-758b-4ec2-b49a-17d43efb7b1d', 'name': '', 'tenant_id': '73d51924cf2a478b945fb4df11ac484e', 'network_id': 'a52a57b6-8c7f-45d5-abef-b0b97aa29650', 'ip_version': 4, 'cidr': '183.68.95.192/26', 'allocation_pools': [{'start': '183.68.95.194', 'end': '183.68.95.254'}], 'gateway_ip': '183.68.95.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-04-23T01:47:12.193598', 'updated_at': '2026-04-23T01:47:12.193598', 'dns_server_address': '183.68.95.194', 'tags': [], 'project_id': '73d51924cf2a478b945fb4df11ac484e'}} 2026-04-23 01:47:12,353 - INFO - Created VN ctest-ext_vn-02861320 2026-04-23 01:47:12,406 - DEBUG - VN ctest-ext_vn-02861320 UUID is a52a57b6-8c7f-45d5-abef-b0b97aa29650 2026-04-23 01:47:12,698 - DEBUG - Services list from nova: [, , ] 2026-04-23 01:47:13,825 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-697-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-697-1) 2026-04-23 01:47:15,707 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-697-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-697-1) 2026-04-23 01:47:15,858 - INFO - Setting gateway for router 2c6fe19b-4d96-4d4f-998a-24da4057dc0c to network a52a57b6-8c7f-45d5-abef-b0b97aa29650 2026-04-23 01:47:16,031 - INFO - Adding interface with subnet_id 3b7f146d-c3b2-46b6-904f-209d9cf03071, port_id None to router 2c6fe19b-4d96-4d4f-998a-24da4057dc0c 2026-04-23 01:47:16,689 - INFO - Waiting for VM ctest-TestRoutersBasic-59366612-04773844 to be up.. 2026-04-23 01:47:16,845 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-23 01:47:21,977 - DEBUG - VM is in ACTIVE state now 2026-04-23 01:47:21,977 - INFO - VM name : ctest-TestRoutersBasic-59366612-04773844 2026-04-23 01:47:22,124 - DEBUG - VM ctest-TestRoutersBasic-59366612-04773844 ID is 4b6fd549-c9da-4486-8f1b-35425d85d713 2026-04-23 01:47:22,150 - DEBUG - VM ctest-TestRoutersBasic-59366612-04773844 launched on Node cn-jenkins-deploy-platform-juju-os-697-1 2026-04-23 01:47:22,286 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/4b6fd549-c9da-4486-8f1b-35425d85d713 2026-04-23 01:47:22,628 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/4b6fd549-c9da-4486-8f1b-35425d85d713 2026-04-23 01:47:22,711 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/21b87007-69c9-4233-a63e-5b9ba35badd0 2026-04-23 01:47:26,185 - 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 1013ms') 2026-04-23 01:47:26,185 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59366612-04773844 failed! 2026-04-23 01:47:26,239 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-59366612:ctest-vn-04818918 is 35.202.85.65 and allocation pool is NOT set 2026-04-23 01:47:28,322 - 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=4.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.23 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 = 1.226/3.078/4.930/1.852 ms') 2026-04-23 01:47:28,324 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59366612-04773844 passed 2026-04-23 01:47:28,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 01:47:28,482 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59366612-04773844, IP 35.202.85.67, Port 22 2026-04-23 01:47:28,696 - DEBUG - VM ctest-TestRoutersBasic-59366612-04773844 is ready for SSH connections 2026-04-23 01:47:28,696 - INFO - Waiting for VM ctest-TestRoutersBasic-59366612-16517850 to be up.. 2026-04-23 01:47:28,827 - DEBUG - VM is in ACTIVE state now 2026-04-23 01:47:28,827 - INFO - VM name : ctest-TestRoutersBasic-59366612-16517850 2026-04-23 01:47:28,963 - DEBUG - VM ctest-TestRoutersBasic-59366612-16517850 ID is a0edd942-d39d-481d-8b09-04a64d1ef199 2026-04-23 01:47:28,963 - DEBUG - VM ctest-TestRoutersBasic-59366612-16517850 launched on Node cn-jenkins-deploy-platform-juju-os-697-1 2026-04-23 01:47:29,113 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/a0edd942-d39d-481d-8b09-04a64d1ef199 2026-04-23 01:47:29,172 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/b0484846-f81c-4804-96ef-33b6fdb8dca7 2026-04-23 01:47:30,644 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.590 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.590/2.116/3.642/1.526 ms') 2026-04-23 01:47:30,644 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-59366612-16517850 passed 2026-04-23 01:47:30,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 01:47:30,794 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59366612-16517850, IP 183.68.95.195, Port 22 2026-04-23 01:47:31,004 - DEBUG - VM ctest-TestRoutersBasic-59366612-16517850 is ready for SSH connections 2026-04-23 01:47:31,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 01:47:31,004 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.68.95.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-04-23 01:47:31,005 - DEBUG - ping -s 56 -c 3 -W 1 183.68.95.195 2026-04-23 01:47:34,711 - DEBUG - PING 183.68.95.195 (183.68.95.195): 56 data bytes 64 bytes from 183.68.95.195: seq=0 ttl=62 time=6.351 ms 64 bytes from 183.68.95.195: seq=1 ttl=62 time=0.888 ms 64 bytes from 183.68.95.195: seq=2 ttl=62 time=0.948 ms --- 183.68.95.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.888/2.729/6.351 ms 2026-04-23 01:47:34,711 - INFO - Ping to IP 183.68.95.195 from VM ctest-TestRoutersBasic-59366612-04773844 passed 2026-04-23 01:47:34,711 - INFO - Deleting interface with subnet_id 3b7f146d-c3b2-46b6-904f-209d9cf03071, port_id None from router 2c6fe19b-4d96-4d4f-998a-24da4057dc0c 2026-04-23 01:47:35,109 - INFO - Deleting VM ctest-TestRoutersBasic-59366612-16517850 2026-04-23 01:47:35,220 - INFO - Deleting VM ctest-TestRoutersBasic-59366612-04773844 2026-04-23 01:47:35,335 - INFO - Deleting VN ctest-ext_vn-02861320 2026-04-23 01:47:35,545 - DEBUG - VN a52a57b6-8c7f-45d5-abef-b0b97aa29650 still in use: Unable to complete operation on network a52a57b6-8c7f-45d5-abef-b0b97aa29650. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-10b186a9-3c1c-4486-b123-273721534195'] 2026-04-23 01:47:35,545 - WARNING - Deleting VN ctest-ext_vn-02861320 failed..Will retry 2026-04-23 01:47:37,711 - DEBUG - Response for deleting network () 2026-04-23 01:47:37,711 - INFO - Deleting VN ctest-vn-04818918 2026-04-23 01:47:37,894 - DEBUG - Response for deleting network () 2026-04-23 01:47:38,276 - DEBUG - No XMPP flaps were noticed during the test 2026-04-23 01:47:38,276 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30] 2026-04-23 01:47:38,276 - INFO - -------------------------------------------------------------------------------- 2026-04-23 01:47:39,020 - INFO - Deleted project: ctest-TestRoutersBasic-59366612, ID : 73d51924-cf2a-478b-945f-b4df11ac484e