2026-07-28 18:09:42,909 - INFO - Reading existing Domain with UUID b6c1387c-4a80-4b88-8142-7d06420731e1 2026-07-28 18:09:42,923 - INFO - Using existing domain ['admin_domain'](b6c1387c-4a80-4b88-8142-7d06420731e1) 2026-07-28 18:09:43,212 - INFO - Project ctest-TestRoutersBasic-01257938 not found, creating it 2026-07-28 18:09:43,938 - INFO - Created Project:ctest-TestRoutersBasic-01257938, ID : de5c8d5f-b2a0-4f91-8aea-a8196e555f1f 2026-07-28 18:09:45,955 - INFO - ================================================================================ 2026-07-28 18:09:45,955 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-07-28 18:09:45,955 - 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-07-28 18:09:46,377 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.0.0.185': '0'}} with 2026-07-28 18:09:46,377 - INFO - Initial checks done. Running the testcase now 2026-07-28 18:09:46,377 - INFO - 2026-07-28 18:09:47,246 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-01257938 2026-07-28 18:09:47,346 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-01257938 2026-07-28 18:09:47,714 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-01257938', 'default']} 2026-07-28 18:09:48,332 - DEBUG - Response for create_network : {'network': {'id': '6f8cc2f7-94ce-49dc-a89a-84087d33471b', 'name': 'ctest-vn-43400169', 'tenant_id': 'de5c8d5fb2a04f918aeaa8196e555f1f', 'project_id': 'de5c8d5fb2a04f918aeaa8196e555f1f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-01257938', 'ctest-vn-43400169'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-07-28 18:09:48,600 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd07c825-85cf-4358-ab0c-86ddf0ea1826', 'name': '', 'tenant_id': 'de5c8d5fb2a04f918aeaa8196e555f1f', 'network_id': '6f8cc2f7-94ce-49dc-a89a-84087d33471b', 'ip_version': 4, 'cidr': '217.224.6.0/26', 'allocation_pools': [{'start': '217.224.6.2', 'end': '217.224.6.62'}], 'gateway_ip': '217.224.6.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-07-28T18:09:48.470356', 'updated_at': '2026-07-28T18:09:48.470356', 'dns_server_address': '217.224.6.2', 'tags': [], 'project_id': 'de5c8d5fb2a04f918aeaa8196e555f1f'}} 2026-07-28 18:09:48,669 - INFO - Created VN ctest-vn-43400169 2026-07-28 18:09:48,726 - DEBUG - VN ctest-vn-43400169 UUID is 6f8cc2f7-94ce-49dc-a89a-84087d33471b 2026-07-28 18:09:49,440 - DEBUG - Response for create_network : {'network': {'id': '1a294ec4-50d0-4e29-b303-da2c4a7949d6', 'name': 'ctest-ext_vn-39677693', 'tenant_id': 'de5c8d5fb2a04f918aeaa8196e555f1f', 'project_id': 'de5c8d5fb2a04f918aeaa8196e555f1f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-01257938', 'ctest-ext_vn-39677693'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-07-28 18:09:49,732 - DEBUG - Response for create_subnet : {'subnet': {'id': '04e5d575-7ae6-468b-8cf1-9d1865a10287', 'name': '', 'tenant_id': 'de5c8d5fb2a04f918aeaa8196e555f1f', 'network_id': '1a294ec4-50d0-4e29-b303-da2c4a7949d6', 'ip_version': 4, 'cidr': '5.210.240.128/26', 'allocation_pools': [{'start': '5.210.240.130', 'end': '5.210.240.190'}], 'gateway_ip': '5.210.240.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-07-28T18:09:49.601880', 'updated_at': '2026-07-28T18:09:49.601880', 'dns_server_address': '5.210.240.130', 'tags': [], 'project_id': 'de5c8d5fb2a04f918aeaa8196e555f1f'}} 2026-07-28 18:09:49,805 - INFO - Created VN ctest-ext_vn-39677693 2026-07-28 18:09:49,862 - DEBUG - VN ctest-ext_vn-39677693 UUID is 1a294ec4-50d0-4e29-b303-da2c4a7949d6 2026-07-28 18:09:50,178 - DEBUG - Services list from nova: [, , ] 2026-07-28 18:09:50,976 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-716-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-716-1) 2026-07-28 18:09:51,922 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-716-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-716-1) 2026-07-28 18:09:52,144 - INFO - Setting gateway for router ba7d931c-5946-4d2f-abe3-39e97e5ff4e8 to network 1a294ec4-50d0-4e29-b303-da2c4a7949d6 2026-07-28 18:09:52,367 - INFO - Adding interface with subnet_id fd07c825-85cf-4358-ab0c-86ddf0ea1826, port_id None to router ba7d931c-5946-4d2f-abe3-39e97e5ff4e8 2026-07-28 18:09:53,206 - INFO - Waiting for VM ctest-TestRoutersBasic-01257938-14552629 to be up.. 2026-07-28 18:09:53,407 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-28 18:09:58,564 - DEBUG - VM is in ACTIVE state now 2026-07-28 18:09:58,564 - INFO - VM name : ctest-TestRoutersBasic-01257938-14552629 2026-07-28 18:09:58,736 - DEBUG - VM ctest-TestRoutersBasic-01257938-14552629 ID is a7d53783-6eb8-4174-8b38-1043eefd1a49 2026-07-28 18:09:58,783 - DEBUG - VM ctest-TestRoutersBasic-01257938-14552629 launched on Node cn-jenkins-deploy-platform-juju-os-716-1 2026-07-28 18:09:59,018 - DEBUG - Requesting: https://10.0.0.185:8082/virtual-machine/a7d53783-6eb8-4174-8b38-1043eefd1a49 2026-07-28 18:09:59,380 - DEBUG - Requesting: https://10.0.0.185:8082/virtual-machine/a7d53783-6eb8-4174-8b38-1043eefd1a49 2026-07-28 18:09:59,497 - DEBUG - Requesting: https://10.0.0.185:8082/virtual-machine-interface/52f7ca26-0908-417b-b0c7-cb2cbfb769d1 2026-07-28 18:10:03,012 - 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 1029ms') 2026-07-28 18:10:03,012 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01257938-14552629 failed! 2026-07-28 18:10:03,074 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-01257938:ctest-vn-43400169 is 217.224.6.1 and allocation pool is NOT set 2026-07-28 18:10:07,200 - 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=8.84 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1026ms\r\nrtt min/avg/max/mdev = 8.839/8.839/8.839/0.000 ms') 2026-07-28 18:10:07,200 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01257938-14552629 passed 2026-07-28 18:10:07,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-28 18:10:07,366 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01257938-14552629, IP 217.224.6.3, Port 22 2026-07-28 18:10:07,598 - DEBUG - VM ctest-TestRoutersBasic-01257938-14552629 is ready for SSH connections 2026-07-28 18:10:07,599 - INFO - Waiting for VM ctest-TestRoutersBasic-01257938-48763471 to be up.. 2026-07-28 18:10:07,754 - DEBUG - VM is in ACTIVE state now 2026-07-28 18:10:07,754 - INFO - VM name : ctest-TestRoutersBasic-01257938-48763471 2026-07-28 18:10:07,909 - DEBUG - VM ctest-TestRoutersBasic-01257938-48763471 ID is cb68bcbe-3048-4922-bd26-fa4a5d877f38 2026-07-28 18:10:07,909 - DEBUG - VM ctest-TestRoutersBasic-01257938-48763471 launched on Node cn-jenkins-deploy-platform-juju-os-716-1 2026-07-28 18:10:08,062 - DEBUG - Requesting: https://10.0.0.185:8082/virtual-machine/cb68bcbe-3048-4922-bd26-fa4a5d877f38 2026-07-28 18:10:08,119 - DEBUG - Requesting: https://10.0.0.185:8082/virtual-machine-interface/ae344819-42dc-4cd2-9257-9452631e5a37 2026-07-28 18:10:09,590 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.10 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.102/3.147/5.192/2.045 ms') 2026-07-28 18:10:09,590 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-01257938-48763471 passed 2026-07-28 18:10:09,750 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-28 18:10:09,750 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01257938-48763471, IP 5.210.240.131, Port 22 2026-07-28 18:10:09,982 - DEBUG - VM ctest-TestRoutersBasic-01257938-48763471 is ready for SSH connections 2026-07-28 18:10:09,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-28 18:10:09,983 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.210.240.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-07-28 18:10:09,983 - DEBUG - ping -s 56 -c 3 -W 1 5.210.240.131 2026-07-28 18:10:13,704 - DEBUG - PING 5.210.240.131 (5.210.240.131): 56 data bytes 64 bytes from 5.210.240.131: seq=0 ttl=62 time=7.781 ms 64 bytes from 5.210.240.131: seq=1 ttl=62 time=1.425 ms 64 bytes from 5.210.240.131: seq=2 ttl=62 time=1.116 ms --- 5.210.240.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.116/3.440/7.781 ms 2026-07-28 18:10:13,704 - INFO - Ping to IP 5.210.240.131 from VM ctest-TestRoutersBasic-01257938-14552629 passed 2026-07-28 18:10:13,704 - INFO - Deleting interface with subnet_id fd07c825-85cf-4358-ab0c-86ddf0ea1826, port_id None from router ba7d931c-5946-4d2f-abe3-39e97e5ff4e8 2026-07-28 18:10:14,184 - INFO - Deleting VM ctest-TestRoutersBasic-01257938-48763471 2026-07-28 18:10:14,329 - INFO - Deleting VM ctest-TestRoutersBasic-01257938-14552629 2026-07-28 18:10:14,506 - INFO - Deleting VN ctest-ext_vn-39677693 2026-07-28 18:10:14,722 - DEBUG - VN 1a294ec4-50d0-4e29-b303-da2c4a7949d6 still in use: Unable to complete operation on network 1a294ec4-50d0-4e29-b303-da2c4a7949d6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d5f7cc02-8a5b-4292-8d0d-15d9128f4063'] 2026-07-28 18:10:14,723 - WARNING - Deleting VN ctest-ext_vn-39677693 failed..Will retry 2026-07-28 18:10:16,926 - DEBUG - Response for deleting network () 2026-07-28 18:10:16,926 - INFO - Deleting VN ctest-vn-43400169 2026-07-28 18:10:17,131 - DEBUG - Response for deleting network () 2026-07-28 18:10:17,547 - DEBUG - No XMPP flaps were noticed during the test 2026-07-28 18:10:17,547 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32] 2026-07-28 18:10:17,548 - INFO - -------------------------------------------------------------------------------- 2026-07-28 18:10:18,363 - INFO - Deleted project: ctest-TestRoutersBasic-01257938, ID : de5c8d5f-b2a0-4f91-8aea-a8196e555f1f