2025-10-20 13:58:20,495 - INFO - Reading existing Domain with UUID 359ab6ea-20cc-44f4-9df6-3d9ae739b7c5 2025-10-20 13:58:20,506 - INFO - Using existing domain ['admin_domain'](359ab6ea-20cc-44f4-9df6-3d9ae739b7c5) 2025-10-20 13:58:20,734 - INFO - Project ctest-TestRoutersBasic-91469228 not found, creating it 2025-10-20 13:58:21,230 - INFO - Created Project:ctest-TestRoutersBasic-91469228, ID : 0a152aef-11ba-48fc-ad3b-6ae06559937d 2025-10-20 13:58:22,976 - INFO - ================================================================================ 2025-10-20 13:58:22,976 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-20 13:58:22,976 - 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-20 13:58:23,358 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.0.0.137': '0'}} with 2025-10-20 13:58:23,358 - INFO - Initial checks done. Running the testcase now 2025-10-20 13:58:23,358 - INFO - 2025-10-20 13:58:24,180 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-91469228 2025-10-20 13:58:24,288 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-91469228 2025-10-20 13:58:24,620 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-91469228', 'default']} 2025-10-20 13:58:25,121 - DEBUG - Response for create_network : {'network': {'id': '7f43d162-be21-49ea-9a6f-df14f05e5ac5', 'name': 'ctest-vn-63960153', 'tenant_id': '0a152aef11ba48fcad3b6ae06559937d', 'project_id': '0a152aef11ba48fcad3b6ae06559937d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-91469228', 'ctest-vn-63960153'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-20 13:58:25,341 - DEBUG - Response for create_subnet : {'subnet': {'id': '304ff1ef-9586-4201-a29d-e496d24e6171', 'name': '', 'tenant_id': '0a152aef11ba48fcad3b6ae06559937d', 'network_id': '7f43d162-be21-49ea-9a6f-df14f05e5ac5', 'ip_version': 4, 'cidr': '115.91.208.128/26', 'allocation_pools': [{'start': '115.91.208.130', 'end': '115.91.208.190'}], 'gateway_ip': '115.91.208.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-20T13:58:25.238439', 'updated_at': '2025-10-20T13:58:25.238439', 'dns_server_address': '115.91.208.130', 'tags': [], 'project_id': '0a152aef11ba48fcad3b6ae06559937d'}} 2025-10-20 13:58:25,406 - INFO - Created VN ctest-vn-63960153 2025-10-20 13:58:25,460 - DEBUG - VN ctest-vn-63960153 UUID is 7f43d162-be21-49ea-9a6f-df14f05e5ac5 2025-10-20 13:58:25,964 - DEBUG - Response for create_network : {'network': {'id': '2dcce1f4-0bf6-4397-b36f-b69be0eab104', 'name': 'ctest-ext_vn-36702266', 'tenant_id': '0a152aef11ba48fcad3b6ae06559937d', 'project_id': '0a152aef11ba48fcad3b6ae06559937d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-91469228', 'ctest-ext_vn-36702266'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-20 13:58:26,229 - DEBUG - Response for create_subnet : {'subnet': {'id': '17320db5-828b-44ce-a87f-f51a1332a53c', 'name': '', 'tenant_id': '0a152aef11ba48fcad3b6ae06559937d', 'network_id': '2dcce1f4-0bf6-4397-b36f-b69be0eab104', 'ip_version': 4, 'cidr': '88.183.89.64/26', 'allocation_pools': [{'start': '88.183.89.66', 'end': '88.183.89.126'}], 'gateway_ip': '88.183.89.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-20T13:58:26.127799', 'updated_at': '2025-10-20T13:58:26.127799', 'dns_server_address': '88.183.89.66', 'tags': [], 'project_id': '0a152aef11ba48fcad3b6ae06559937d'}} 2025-10-20 13:58:26,294 - INFO - Created VN ctest-ext_vn-36702266 2025-10-20 13:58:26,348 - DEBUG - VN ctest-ext_vn-36702266 UUID is 2dcce1f4-0bf6-4397-b36f-b69be0eab104 2025-10-20 13:58:26,617 - DEBUG - Services list from nova: [, , ] 2025-10-20 13:58:27,699 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-599-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-599-1) 2025-10-20 13:58:29,110 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-599-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-599-1) 2025-10-20 13:58:29,244 - INFO - Setting gateway for router 077bbde9-9848-4473-a65d-0bc07c9d526d to network 2dcce1f4-0bf6-4397-b36f-b69be0eab104 2025-10-20 13:58:29,406 - INFO - Adding interface with subnet_id 304ff1ef-9586-4201-a29d-e496d24e6171, port_id None to router 077bbde9-9848-4473-a65d-0bc07c9d526d 2025-10-20 13:58:30,042 - INFO - Waiting for VM ctest-TestRoutersBasic-91469228-68837700 to be up.. 2025-10-20 13:58:30,196 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-20 13:58:35,338 - DEBUG - VM is in ACTIVE state now 2025-10-20 13:58:35,338 - INFO - VM name : ctest-TestRoutersBasic-91469228-68837700 2025-10-20 13:58:35,482 - DEBUG - VM ctest-TestRoutersBasic-91469228-68837700 ID is 1fe796de-c6dc-4218-bfb3-1ea3d745fa2e 2025-10-20 13:58:35,530 - DEBUG - VM ctest-TestRoutersBasic-91469228-68837700 launched on Node cn-jenkins-deploy-platform-juju-os-599-1 2025-10-20 13:58:35,790 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-machine/1fe796de-c6dc-4218-bfb3-1ea3d745fa2e 2025-10-20 13:58:36,137 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-machine/1fe796de-c6dc-4218-bfb3-1ea3d745fa2e 2025-10-20 13:58:36,237 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-machine-interface/a938fcfb-506b-4f05-93c9-8e4d301c3bd0 2025-10-20 13:58:39,699 - 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 1004ms') 2025-10-20 13:58:39,699 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91469228-68837700 failed! 2025-10-20 13:58:39,756 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-91469228:ctest-vn-63960153 is 115.91.208.129 and allocation pool is NOT set 2025-10-20 13:58:41,849 - 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.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.34 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 = 2.335/3.300/4.265/0.965 ms') 2025-10-20 13:58:41,849 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91469228-68837700 passed 2025-10-20 13:58:42,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 13:58:42,004 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91469228-68837700, IP 115.91.208.131, Port 22 2025-10-20 13:58:42,218 - DEBUG - VM ctest-TestRoutersBasic-91469228-68837700 is ready for SSH connections 2025-10-20 13:58:42,218 - INFO - Waiting for VM ctest-TestRoutersBasic-91469228-58960756 to be up.. 2025-10-20 13:58:42,348 - DEBUG - VM is in ACTIVE state now 2025-10-20 13:58:42,348 - INFO - VM name : ctest-TestRoutersBasic-91469228-58960756 2025-10-20 13:58:42,485 - DEBUG - VM ctest-TestRoutersBasic-91469228-58960756 ID is 155f2fcd-8940-4832-9f8c-805f263eca29 2025-10-20 13:58:42,485 - DEBUG - VM ctest-TestRoutersBasic-91469228-58960756 launched on Node cn-jenkins-deploy-platform-juju-os-599-1 2025-10-20 13:58:42,612 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-machine/155f2fcd-8940-4832-9f8c-805f263eca29 2025-10-20 13:58:42,665 - DEBUG - Requesting: https://10.0.0.137:8082/virtual-machine-interface/2084fb8f-87fb-45c2-ac52-c091d13dad6a 2025-10-20 13:58:44,109 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.913 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.913/1.876/2.840/0.963 ms') 2025-10-20 13:58:44,110 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-91469228-58960756 passed 2025-10-20 13:58:44,260 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 13:58:44,260 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91469228-58960756, IP 88.183.89.67, Port 22 2025-10-20 13:58:44,458 - DEBUG - VM ctest-TestRoutersBasic-91469228-58960756 is ready for SSH connections 2025-10-20 13:58:44,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 13:58:44,458 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.183.89.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-20 13:58:44,458 - DEBUG - ping -s 56 -c 3 -W 1 88.183.89.67 2025-10-20 13:58:48,200 - DEBUG - PING 88.183.89.67 (88.183.89.67): 56 data bytes 64 bytes from 88.183.89.67: seq=0 ttl=62 time=6.238 ms 64 bytes from 88.183.89.67: seq=1 ttl=62 time=1.113 ms 64 bytes from 88.183.89.67: seq=2 ttl=62 time=1.079 ms --- 88.183.89.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.079/2.810/6.238 ms 2025-10-20 13:58:48,200 - INFO - Ping to IP 88.183.89.67 from VM ctest-TestRoutersBasic-91469228-68837700 passed 2025-10-20 13:58:48,201 - INFO - Deleting interface with subnet_id 304ff1ef-9586-4201-a29d-e496d24e6171, port_id None from router 077bbde9-9848-4473-a65d-0bc07c9d526d 2025-10-20 13:58:48,587 - INFO - Deleting VM ctest-TestRoutersBasic-91469228-58960756 2025-10-20 13:58:48,726 - INFO - Deleting VM ctest-TestRoutersBasic-91469228-68837700 2025-10-20 13:58:48,843 - INFO - Deleting VN ctest-ext_vn-36702266 2025-10-20 13:58:49,052 - DEBUG - VN 2dcce1f4-0bf6-4397-b36f-b69be0eab104 still in use: Unable to complete operation on network 2dcce1f4-0bf6-4397-b36f-b69be0eab104. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1ed19274-8e2a-4c74-bf47-c9e789fee778'] 2025-10-20 13:58:49,052 - WARNING - Deleting VN ctest-ext_vn-36702266 failed..Will retry 2025-10-20 13:58:51,376 - DEBUG - Response for deleting network () 2025-10-20 13:58:51,376 - INFO - Deleting VN ctest-vn-63960153 2025-10-20 13:58:51,543 - DEBUG - Response for deleting network () 2025-10-20 13:58:51,929 - DEBUG - No XMPP flaps were noticed during the test
2025-10-20 13:58:51,929 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2025-10-20 13:58:51,929 - INFO - -------------------------------------------------------------------------------- 2025-10-20 13:58:52,658 - INFO - Deleted project: ctest-TestRoutersBasic-91469228, ID : 0a152aef-11ba-48fc-ad3b-6ae06559937d