2025-10-19 18:58:34,742 - INFO - Reading existing Domain with UUID 9b919512-b1f0-4532-a457-4be316848bb6
2025-10-19 18:58:34,753 - INFO - Using existing domain ['admin_domain'](9b919512-b1f0-4532-a457-4be316848bb6)
2025-10-19 18:58:34,944 - INFO - Project ctest-TestRoutersBasic-67512651 not found, creating it
2025-10-19 18:58:35,443 - INFO - Created Project:ctest-TestRoutersBasic-67512651, ID : cfe7d00e-9099-4b07-a96d-0ef1581fdf53
2025-10-19 18:58:37,054 - INFO - ================================================================================
2025-10-19 18:58:37,054 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-19 18:58:37,054 - 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-19 18:58:37,430 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.0.0.38': '42'}} with
2025-10-19 18:58:37,430 - INFO - Initial checks done. Running the testcase now
2025-10-19 18:58:37,431 - INFO -
2025-10-19 18:58:38,185 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-67512651
2025-10-19 18:58:38,281 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-67512651
2025-10-19 18:58:38,601 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-67512651', 'default']}
2025-10-19 18:58:39,066 - DEBUG - Response for create_network : {'network': {'id': '506560b0-bdf9-43e1-bb6a-efa1ddd1384b', 'name': 'ctest-vn-63393617', 'tenant_id': 'cfe7d00e90994b07a96d0ef1581fdf53', 'project_id': 'cfe7d00e90994b07a96d0ef1581fdf53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-67512651', 'ctest-vn-63393617'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-10-19 18:58:39,265 - DEBUG - Response for create_subnet : {'subnet': {'id': '1e18f26f-5320-4da6-a5ca-16f8d403d2fd', 'name': '', 'tenant_id': 'cfe7d00e90994b07a96d0ef1581fdf53', 'network_id': '506560b0-bdf9-43e1-bb6a-efa1ddd1384b', 'ip_version': 4, 'cidr': '184.71.103.128/26', 'allocation_pools': [{'start': '184.71.103.130', 'end': '184.71.103.190'}], 'gateway_ip': '184.71.103.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-19T18:58:39.167450', 'updated_at': '2025-10-19T18:58:39.167450', 'dns_server_address': '184.71.103.130', 'tags': [], 'project_id': 'cfe7d00e90994b07a96d0ef1581fdf53'}}
2025-10-19 18:58:39,327 - INFO - Created VN ctest-vn-63393617
2025-10-19 18:58:39,381 - DEBUG - VN ctest-vn-63393617 UUID is 506560b0-bdf9-43e1-bb6a-efa1ddd1384b
2025-10-19 18:58:39,889 - DEBUG - Response for create_network : {'network': {'id': 'f40dd88f-e95b-4865-803f-a02fdb8e6151', 'name': 'ctest-ext_vn-41681692', 'tenant_id': 'cfe7d00e90994b07a96d0ef1581fdf53', 'project_id': 'cfe7d00e90994b07a96d0ef1581fdf53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-67512651', 'ctest-ext_vn-41681692'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-10-19 18:58:40,114 - DEBUG - Response for create_subnet : {'subnet': {'id': '30d643d5-32db-4159-86e3-345cf3c2d514', 'name': '', 'tenant_id': 'cfe7d00e90994b07a96d0ef1581fdf53', 'network_id': 'f40dd88f-e95b-4865-803f-a02fdb8e6151', 'ip_version': 4, 'cidr': '20.214.24.128/26', 'allocation_pools': [{'start': '20.214.24.130', 'end': '20.214.24.190'}], 'gateway_ip': '20.214.24.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-19T18:58:40.021327', 'updated_at': '2025-10-19T18:58:40.021327', 'dns_server_address': '20.214.24.130', 'tags': [], 'project_id': 'cfe7d00e90994b07a96d0ef1581fdf53'}}
2025-10-19 18:58:40,175 - INFO - Created VN ctest-ext_vn-41681692
2025-10-19 18:58:40,229 - DEBUG - VN ctest-ext_vn-41681692 UUID is f40dd88f-e95b-4865-803f-a02fdb8e6151
2025-10-19 18:58:40,516 - DEBUG - Services list from nova: [, , ]
2025-10-19 18:58:41,543 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-596-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-596-1)
2025-10-19 18:58:42,898 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-596-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-596-1)
2025-10-19 18:58:43,037 - INFO - Setting gateway for router 5eb54e0a-70d8-44cc-b870-105f1bdd398c to network f40dd88f-e95b-4865-803f-a02fdb8e6151
2025-10-19 18:58:43,181 - INFO - Adding interface with subnet_id 1e18f26f-5320-4da6-a5ca-16f8d403d2fd, port_id None to router 5eb54e0a-70d8-44cc-b870-105f1bdd398c
2025-10-19 18:58:43,715 - INFO - Waiting for VM ctest-TestRoutersBasic-67512651-71140187 to be up..
2025-10-19 18:58:43,856 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-19 18:58:48,986 - DEBUG - VM is in ACTIVE state now
2025-10-19 18:58:48,986 - INFO - VM name : ctest-TestRoutersBasic-67512651-71140187
2025-10-19 18:58:49,127 - DEBUG - VM ctest-TestRoutersBasic-67512651-71140187 ID is 98a8f697-69a4-4a02-bf50-5d3583809555
2025-10-19 18:58:49,149 - DEBUG - VM ctest-TestRoutersBasic-67512651-71140187 launched on Node cn-jenkins-deploy-platform-juju-os-596-1
2025-10-19 18:58:49,277 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-machine/98a8f697-69a4-4a02-bf50-5d3583809555
2025-10-19 18:58:49,617 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-machine/98a8f697-69a4-4a02-bf50-5d3583809555
2025-10-19 18:58:49,694 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-machine-interface/c465f667-e478-45ef-a4b4-18c91591499e
2025-10-19 18:58:53,140 - 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 1005ms')
2025-10-19 18:58:53,140 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-67512651-71140187 failed!
2025-10-19 18:58:53,193 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-67512651:ctest-vn-63393617 is 184.71.103.129 and allocation pool is NOT set
2025-10-19 18:58:55,280 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.70 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 = 1.699/3.121/4.543/1.422 ms')
2025-10-19 18:58:55,281 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-67512651-71140187 passed
2025-10-19 18:58:55,437 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-19 18:58:55,437 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67512651-71140187, IP 184.71.103.131, Port 22
2025-10-19 18:58:55,647 - DEBUG - VM ctest-TestRoutersBasic-67512651-71140187 is ready for SSH connections
2025-10-19 18:58:55,647 - INFO - Waiting for VM ctest-TestRoutersBasic-67512651-95182160 to be up..
2025-10-19 18:58:55,783 - DEBUG - VM is in ACTIVE state now
2025-10-19 18:58:55,783 - INFO - VM name : ctest-TestRoutersBasic-67512651-95182160
2025-10-19 18:58:55,919 - DEBUG - VM ctest-TestRoutersBasic-67512651-95182160 ID is 99363131-165d-42fe-a765-0499b7828743
2025-10-19 18:58:55,919 - DEBUG - VM ctest-TestRoutersBasic-67512651-95182160 launched on Node cn-jenkins-deploy-platform-juju-os-596-1
2025-10-19 18:58:56,052 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-machine/99363131-165d-42fe-a765-0499b7828743
2025-10-19 18:58:56,106 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-machine-interface/8cf19eea-5982-4812-b0d7-bb42904590d9
2025-10-19 18:58:57,552 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 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 = 0.444/1.555/2.667/1.111 ms')
2025-10-19 18:58:57,552 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-67512651-95182160 passed
2025-10-19 18:58:57,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-19 18:58:57,705 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67512651-95182160, IP 20.214.24.131, Port 22
2025-10-19 18:58:57,919 - DEBUG - VM ctest-TestRoutersBasic-67512651-95182160 is ready for SSH connections
2025-10-19 18:58:57,919 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-19 18:58:57,920 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.214.24.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-10-19 18:58:57,920 - DEBUG - ping -s 56 -c 3 -W 1 20.214.24.131
2025-10-19 18:59:01,602 - DEBUG - PING 20.214.24.131 (20.214.24.131): 56 data bytes
64 bytes from 20.214.24.131: seq=0 ttl=62 time=5.232 ms
64 bytes from 20.214.24.131: seq=1 ttl=62 time=0.780 ms
64 bytes from 20.214.24.131: seq=2 ttl=62 time=0.859 ms
--- 20.214.24.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.780/2.290/5.232 ms
2025-10-19 18:59:01,602 - INFO - Ping to IP 20.214.24.131 from VM ctest-TestRoutersBasic-67512651-71140187 passed
2025-10-19 18:59:01,602 - INFO - Deleting interface with subnet_id 1e18f26f-5320-4da6-a5ca-16f8d403d2fd, port_id None from router 5eb54e0a-70d8-44cc-b870-105f1bdd398c
2025-10-19 18:59:02,019 - INFO - Deleting VM ctest-TestRoutersBasic-67512651-95182160
2025-10-19 18:59:02,118 - INFO - Deleting VM ctest-TestRoutersBasic-67512651-71140187
2025-10-19 18:59:02,220 - INFO - Deleting VN ctest-ext_vn-41681692
2025-10-19 18:59:02,476 - DEBUG - VN f40dd88f-e95b-4865-803f-a02fdb8e6151 still in use: Unable to complete operation on network f40dd88f-e95b-4865-803f-a02fdb8e6151. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c3f5e86c-68dc-415f-8886-eef5efd1eddc']
2025-10-19 18:59:02,476 - WARNING - Deleting VN ctest-ext_vn-41681692 failed..Will retry
2025-10-19 18:59:04,627 - DEBUG - Response for deleting network ()
2025-10-19 18:59:04,627 - INFO - Deleting VN ctest-vn-63393617
2025-10-19 18:59:04,791 - DEBUG - Response for deleting network ()
2025-10-19 18:59:05,170 - DEBUG - No XMPP flaps were noticed during the test
2025-10-19 18:59:05,170 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-10-19 18:59:05,170 - INFO - --------------------------------------------------------------------------------
2025-10-19 18:59:05,919 - INFO - Deleted project: ctest-TestRoutersBasic-67512651, ID : cfe7d00e-9099-4b07-a96d-0ef1581fdf53