2026-04-20 01:51:06,639 - INFO - Reading existing Domain with UUID 44568180-4456-4d24-a723-60c17b729be7 2026-04-20 01:51:06,655 - INFO - Using existing domain ['admin_domain'](44568180-4456-4d24-a723-60c17b729be7) 2026-04-20 01:51:06,888 - INFO - Project ctest-TestRoutersBasic-59397280 not found, creating it 2026-04-20 01:51:07,425 - INFO - Created Project:ctest-TestRoutersBasic-59397280, ID : 0f540f04-927f-45d2-8488-850e0fb8ef32 2026-04-20 01:51:09,443 - INFO - ================================================================================ 2026-04-20 01:51:09,443 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-20 01:51:09,443 - 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-20 01:51:09,852 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with 2026-04-20 01:51:09,852 - INFO - Initial checks done. Running the testcase now 2026-04-20 01:51:09,852 - INFO - 2026-04-20 01:51:10,681 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-59397280 2026-04-20 01:51:10,782 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-59397280 2026-04-20 01:51:11,113 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-59397280', 'default']} 2026-04-20 01:51:11,678 - DEBUG - Response for create_network : {'network': {'id': 'b8b1e330-6df5-4edd-ba8a-dc4b6bd52f86', 'name': 'ctest-vn-73959938', 'tenant_id': '0f540f04927f45d28488850e0fb8ef32', 'project_id': '0f540f04927f45d28488850e0fb8ef32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-59397280', 'ctest-vn-73959938'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-04-20 01:51:11,915 - DEBUG - Response for create_subnet : {'subnet': {'id': '83248cbb-44c1-4836-ae03-0bf571e2a119', 'name': '', 'tenant_id': '0f540f04927f45d28488850e0fb8ef32', 'network_id': 'b8b1e330-6df5-4edd-ba8a-dc4b6bd52f86', 'ip_version': 4, 'cidr': '85.77.118.64/26', 'allocation_pools': [{'start': '85.77.118.66', 'end': '85.77.118.126'}], 'gateway_ip': '85.77.118.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-04-20T01:51:11.812066', 'updated_at': '2026-04-20T01:51:11.812066', 'dns_server_address': '85.77.118.66', 'tags': [], 'project_id': '0f540f04927f45d28488850e0fb8ef32'}} 2026-04-20 01:51:11,985 - INFO - Created VN ctest-vn-73959938 2026-04-20 01:51:12,041 - DEBUG - VN ctest-vn-73959938 UUID is b8b1e330-6df5-4edd-ba8a-dc4b6bd52f86 2026-04-20 01:51:12,638 - DEBUG - Response for create_network : {'network': {'id': '1b271451-c789-431c-919c-78e67b227f37', 'name': 'ctest-ext_vn-79807948', 'tenant_id': '0f540f04927f45d28488850e0fb8ef32', 'project_id': '0f540f04927f45d28488850e0fb8ef32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-59397280', 'ctest-ext_vn-79807948'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-04-20 01:51:12,927 - DEBUG - Response for create_subnet : {'subnet': {'id': '459cb5ad-958b-41b5-8838-306f7cc2a803', 'name': '', 'tenant_id': '0f540f04927f45d28488850e0fb8ef32', 'network_id': '1b271451-c789-431c-919c-78e67b227f37', 'ip_version': 4, 'cidr': '25.152.115.128/26', 'allocation_pools': [{'start': '25.152.115.130', 'end': '25.152.115.190'}], 'gateway_ip': '25.152.115.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-04-20T01:51:12.811786', 'updated_at': '2026-04-20T01:51:12.811786', 'dns_server_address': '25.152.115.130', 'tags': [], 'project_id': '0f540f04927f45d28488850e0fb8ef32'}} 2026-04-20 01:51:13,011 - INFO - Created VN ctest-ext_vn-79807948 2026-04-20 01:51:13,073 - DEBUG - VN ctest-ext_vn-79807948 UUID is 1b271451-c789-431c-919c-78e67b227f37 2026-04-20 01:51:13,415 - DEBUG - Services list from nova: [, , ] 2026-04-20 01:51:14,592 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-695-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-695-1) 2026-04-20 01:51:15,980 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-695-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-695-1) 2026-04-20 01:51:16,171 - INFO - Setting gateway for router 60340fe6-1e00-482f-aaed-80d0f6d2f29a to network 1b271451-c789-431c-919c-78e67b227f37 2026-04-20 01:51:16,347 - INFO - Adding interface with subnet_id 83248cbb-44c1-4836-ae03-0bf571e2a119, port_id None to router 60340fe6-1e00-482f-aaed-80d0f6d2f29a 2026-04-20 01:51:17,056 - INFO - Waiting for VM ctest-TestRoutersBasic-59397280-16853763 to be up.. 2026-04-20 01:51:17,301 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-20 01:51:22,461 - DEBUG - VM is in ACTIVE state now 2026-04-20 01:51:22,461 - INFO - VM name : ctest-TestRoutersBasic-59397280-16853763 2026-04-20 01:51:22,624 - DEBUG - VM ctest-TestRoutersBasic-59397280-16853763 ID is a667be56-881d-4aa1-8deb-dbcf0e79de91 2026-04-20 01:51:22,654 - DEBUG - VM ctest-TestRoutersBasic-59397280-16853763 launched on Node cn-jenkins-deploy-platform-juju-os-695-1 2026-04-20 01:51:22,826 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/a667be56-881d-4aa1-8deb-dbcf0e79de91 2026-04-20 01:51:23,196 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/a667be56-881d-4aa1-8deb-dbcf0e79de91 2026-04-20 01:51:23,310 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/e9779277-5de2-4615-b12d-215c8dbc6207 2026-04-20 01:51:26,826 - 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 1016ms') 2026-04-20 01:51:26,826 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59397280-16853763 failed! 2026-04-20 01:51:26,892 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-59397280:ctest-vn-73959938 is 85.77.118.65 and allocation pool is NOT set 2026-04-20 01:51:29,002 - 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.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.52 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 = 3.522/4.016/4.510/0.494 ms') 2026-04-20 01:51:29,002 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59397280-16853763 passed 2026-04-20 01:51:29,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 01:51:29,161 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59397280-16853763, IP 85.77.118.67, Port 22 2026-04-20 01:51:29,380 - DEBUG - VM ctest-TestRoutersBasic-59397280-16853763 is ready for SSH connections 2026-04-20 01:51:29,380 - INFO - Waiting for VM ctest-TestRoutersBasic-59397280-16984198 to be up.. 2026-04-20 01:51:29,565 - DEBUG - VM is in ACTIVE state now 2026-04-20 01:51:29,565 - INFO - VM name : ctest-TestRoutersBasic-59397280-16984198 2026-04-20 01:51:29,743 - DEBUG - VM ctest-TestRoutersBasic-59397280-16984198 ID is 552eebe9-a938-460f-89ed-97e0b7e5c3ea 2026-04-20 01:51:29,743 - DEBUG - VM ctest-TestRoutersBasic-59397280-16984198 launched on Node cn-jenkins-deploy-platform-juju-os-695-1 2026-04-20 01:51:29,897 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/552eebe9-a938-460f-89ed-97e0b7e5c3ea 2026-04-20 01:51:29,958 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/9981a4f3-aa06-49e1-9339-7bdb5e4184bf 2026-04-20 01:51:31,451 - 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=4.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.61 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 = 1.614/3.187/4.760/1.573 ms') 2026-04-20 01:51:31,451 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-59397280-16984198 passed 2026-04-20 01:51:31,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 01:51:31,610 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59397280-16984198, IP 25.152.115.131, Port 22 2026-04-20 01:51:31,839 - DEBUG - VM ctest-TestRoutersBasic-59397280-16984198 is ready for SSH connections 2026-04-20 01:51:31,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 01:51:31,839 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.152.115.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-04-20 01:51:31,839 - DEBUG - ping -s 56 -c 3 -W 1 25.152.115.131 2026-04-20 01:51:35,580 - DEBUG - PING 25.152.115.131 (25.152.115.131): 56 data bytes 64 bytes from 25.152.115.131: seq=0 ttl=62 time=7.434 ms 64 bytes from 25.152.115.131: seq=1 ttl=62 time=1.170 ms 64 bytes from 25.152.115.131: seq=2 ttl=62 time=1.084 ms --- 25.152.115.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.084/3.229/7.434 ms 2026-04-20 01:51:35,580 - INFO - Ping to IP 25.152.115.131 from VM ctest-TestRoutersBasic-59397280-16853763 passed 2026-04-20 01:51:35,580 - INFO - Deleting interface with subnet_id 83248cbb-44c1-4836-ae03-0bf571e2a119, port_id None from router 60340fe6-1e00-482f-aaed-80d0f6d2f29a 2026-04-20 01:51:36,055 - INFO - Deleting VM ctest-TestRoutersBasic-59397280-16984198 2026-04-20 01:51:36,192 - INFO - Deleting VM ctest-TestRoutersBasic-59397280-16853763 2026-04-20 01:51:36,330 - INFO - Deleting VN ctest-ext_vn-79807948 2026-04-20 01:51:36,562 - DEBUG - VN 1b271451-c789-431c-919c-78e67b227f37 still in use: Unable to complete operation on network 1b271451-c789-431c-919c-78e67b227f37. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d070ad04-422d-4572-8def-9b89af4af2bb'] 2026-04-20 01:51:36,563 - WARNING - Deleting VN ctest-ext_vn-79807948 failed..Will retry 2026-04-20 01:51:38,881 - DEBUG - Response for deleting network () 2026-04-20 01:51:38,881 - INFO - Deleting VN ctest-vn-73959938 2026-04-20 01:51:39,070 - DEBUG - Response for deleting network () 2026-04-20 01:51:39,479 - DEBUG - No XMPP flaps were noticed during the test
2026-04-20 01:51:39,479 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2026-04-20 01:51:39,479 - INFO - -------------------------------------------------------------------------------- 2026-04-20 01:51:40,301 - INFO - Deleted project: ctest-TestRoutersBasic-59397280, ID : 0f540f04-927f-45d2-8488-850e0fb8ef32