2025-10-27 20:56:42,436 - INFO - Domain Default found not creating
2025-10-27 20:56:42,579 - INFO - Project ctest-TestRoutersBasic-45724223 not found, creating it
2025-10-27 20:56:43,008 - INFO - Created Project:ctest-TestRoutersBasic-45724223, ID : 9abe8d0b-6714-44e4-9a2d-2491c0dd4956 
2025-10-27 20:56:44,519 - INFO - ================================================================================
2025-10-27 20:56:44,519 - INFO - STARTING TEST    : test_basic_snat_behavior_without_external_connectivity
2025-10-27 20:56:44,519 - 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-27 20:56:44,781 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2025-10-27 20:56:44,781 - INFO - Initial checks done. Running the testcase now
2025-10-27 20:56:44,781 - INFO - 
2025-10-27 20:56:45,564 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-45724223
2025-10-27 20:56:45,656 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-45724223
2025-10-27 20:56:45,972 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45724223', 'default']}
2025-10-27 20:56:46,264 - DEBUG - Response for create_network : {'network': {'id': '48d6ad27-7036-4b43-bf04-54f9b41f2e09', 'name': 'ctest-vn-35724546', 'tenant_id': '9abe8d0b671444e49a2d2491c0dd4956', 'project_id': '9abe8d0b671444e49a2d2491c0dd4956', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45724223', 'ctest-vn-35724546'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 20:56:46,467 - DEBUG - Response for create_subnet : {'subnet': {'id': '16726777-4afa-4b7d-9c4f-ccb10eb4605e', 'name': '', 'tenant_id': '9abe8d0b671444e49a2d2491c0dd4956', 'network_id': '48d6ad27-7036-4b43-bf04-54f9b41f2e09', 'ip_version': 4, 'cidr': '191.204.250.128/26', 'allocation_pools': [{'start': '191.204.250.130', 'end': '191.204.250.190'}], 'gateway_ip': '191.204.250.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.204.250.130', 'tags': [], 'project_id': '9abe8d0b671444e49a2d2491c0dd4956'}}
2025-10-27 20:56:46,485 - INFO - Created VN ctest-vn-35724546
2025-10-27 20:56:46,536 - DEBUG - VN ctest-vn-35724546 UUID is 48d6ad27-7036-4b43-bf04-54f9b41f2e09
2025-10-27 20:56:46,841 - DEBUG - Response for create_network : {'network': {'id': '35b60fb5-158e-4ba6-8c4a-a4d57e302913', 'name': 'ctest-ext_vn-48543481', 'tenant_id': '9abe8d0b671444e49a2d2491c0dd4956', 'project_id': '9abe8d0b671444e49a2d2491c0dd4956', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45724223', 'ctest-ext_vn-48543481'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 20:56:47,017 - DEBUG - Response for create_subnet : {'subnet': {'id': '99976cb3-01a5-47de-81a7-50a1a62882bb', 'name': '', 'tenant_id': '9abe8d0b671444e49a2d2491c0dd4956', 'network_id': '35b60fb5-158e-4ba6-8c4a-a4d57e302913', 'ip_version': 4, 'cidr': '181.29.18.192/26', 'allocation_pools': [{'start': '181.29.18.194', 'end': '181.29.18.254'}], 'gateway_ip': '181.29.18.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.29.18.194', 'tags': [], 'project_id': '9abe8d0b671444e49a2d2491c0dd4956'}}
2025-10-27 20:56:47,034 - INFO - Created VN ctest-ext_vn-48543481
2025-10-27 20:56:47,088 - DEBUG - VN ctest-ext_vn-48543481 UUID is 35b60fb5-158e-4ba6-8c4a-a4d57e302913
2025-10-27 20:56:47,262 - DEBUG - Services list from nova: [, , ]
2025-10-27 20:56:48,354 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4512-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4512-1)
2025-10-27 20:56:49,562 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4512-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4512-1)
2025-10-27 20:56:49,654 - INFO - Setting gateway for router 5d0d56bb-58dc-477f-b5a9-8dd27508ccbc to network 35b60fb5-158e-4ba6-8c4a-a4d57e302913 
2025-10-27 20:56:49,718 - INFO - Adding interface with subnet_id 16726777-4afa-4b7d-9c4f-ccb10eb4605e, port_id None to router 5d0d56bb-58dc-477f-b5a9-8dd27508ccbc
2025-10-27 20:56:50,014 - INFO - Waiting for VM ctest-TestRoutersBasic-45724223-30634522 to be up..
2025-10-27 20:56:50,151 - DEBUG - VM  is still in BUILD state, Expected: ACTIVE
2025-10-27 20:56:55,222 - DEBUG - VM  is in ACTIVE state now
2025-10-27 20:56:55,222 - INFO - VM name : ctest-TestRoutersBasic-45724223-30634522
2025-10-27 20:56:55,294 - DEBUG - VM ctest-TestRoutersBasic-45724223-30634522 ID is 6dae47e3-8986-4c5c-8fee-9e33c3855c6f
2025-10-27 20:56:55,314 - DEBUG - VM ctest-TestRoutersBasic-45724223-30634522 launched on Node cn-jenkins-deploy-platform-ansible-os-4512-1
2025-10-27 20:56:55,386 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/6dae47e3-8986-4c5c-8fee-9e33c3855c6f
2025-10-27 20:56:55,723 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/6dae47e3-8986-4c5c-8fee-9e33c3855c6f
2025-10-27 20:56:55,754 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/2983b194-7e0f-4fb9-a081-0468fcdf02e2
2025-10-27 20:56:59,013 - 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 1023ms')
2025-10-27 20:56:59,013 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-45724223-30634522 failed!
2025-10-27 20:56:59,064 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-45724223:ctest-vn-35724546 is 191.204.250.129 and allocation pool is NOT set
2025-10-27 20:57:01,121 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.32 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.323/3.139/4.956/1.816 ms')
2025-10-27 20:57:01,121 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-45724223-30634522 passed
2025-10-27 20:57:01,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 20:57:01,276 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45724223-30634522, IP 191.204.250.131, Port 22
2025-10-27 20:57:01,442 - DEBUG - VM ctest-TestRoutersBasic-45724223-30634522 is ready for SSH connections
2025-10-27 20:57:01,442 - INFO - Waiting for VM ctest-TestRoutersBasic-45724223-19097262 to be up..
2025-10-27 20:57:01,529 - DEBUG - VM  is in ACTIVE state now
2025-10-27 20:57:01,530 - INFO - VM name : ctest-TestRoutersBasic-45724223-19097262
2025-10-27 20:57:01,604 - DEBUG - VM ctest-TestRoutersBasic-45724223-19097262 ID is ba043615-e5cd-4e42-b74a-6d68f9e66798
2025-10-27 20:57:01,604 - DEBUG - VM ctest-TestRoutersBasic-45724223-19097262 launched on Node cn-jenkins-deploy-platform-ansible-os-4512-1
2025-10-27 20:57:01,679 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/ba043615-e5cd-4e42-b74a-6d68f9e66798
2025-10-27 20:57:01,687 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/e666e373-1046-452b-9441-393679cada35
2025-10-27 20:57:02,930 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.801 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.801/2.509/4.217/1.708 ms')
2025-10-27 20:57:02,930 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-45724223-19097262 passed
2025-10-27 20:57:03,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 20:57:03,076 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45724223-19097262, IP 181.29.18.195, Port 22
2025-10-27 20:57:03,231 - DEBUG - VM ctest-TestRoutersBasic-45724223-19097262 is ready for SSH connections
2025-10-27 20:57:03,232 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 20:57:03,232 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1  181.29.18.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-10-27 20:57:03,232 - DEBUG - ping -s 56 -c 3 -W 1  181.29.18.195
2025-10-27 20:57:06,970 - DEBUG - PING 181.29.18.195 (181.29.18.195): 56 data bytes
64 bytes from 181.29.18.195: seq=0 ttl=62 time=5.314 ms
64 bytes from 181.29.18.195: seq=1 ttl=62 time=0.768 ms
64 bytes from 181.29.18.195: seq=2 ttl=62 time=0.888 ms
--- 181.29.18.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.768/2.323/5.314 ms
2025-10-27 20:57:06,970 - INFO - Ping to IP 181.29.18.195 from VM ctest-TestRoutersBasic-45724223-30634522 passed
2025-10-27 20:57:06,970 - INFO - Deleting interface with subnet_id 16726777-4afa-4b7d-9c4f-ccb10eb4605e, port_id None from router 5d0d56bb-58dc-477f-b5a9-8dd27508ccbc
2025-10-27 20:57:07,138 - INFO - Deleting VM ctest-TestRoutersBasic-45724223-19097262
2025-10-27 20:57:07,204 - INFO - Deleting VM ctest-TestRoutersBasic-45724223-30634522
2025-10-27 20:57:07,275 - INFO - Deleting VN ctest-ext_vn-48543481 
2025-10-27 20:57:07,336 - DEBUG - VN 35b60fb5-158e-4ba6-8c4a-a4d57e302913 still in use: Unable to complete operation on network 35b60fb5-158e-4ba6-8c4a-a4d57e302913. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-5ffc97ba-7d5a-452a-8a41-f1cd1c6e238d']
2025-10-27 20:57:07,336 - WARNING - Deleting VN ctest-ext_vn-48543481 failed..Will retry
2025-10-27 20:57:09,475 - DEBUG - Response for deleting network ()
2025-10-27 20:57:09,475 - INFO - Deleting VN ctest-vn-35724546 
2025-10-27 20:57:09,607 - DEBUG - Response for deleting network ()
2025-10-27 20:57:09,875 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 20:57:09,875 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-27 20:57:09,875 - INFO - --------------------------------------------------------------------------------
2025-10-27 20:57:10,604 - INFO - Deleted project: ctest-TestRoutersBasic-45724223, ID : 9abe8d0b-6714-44e4-9a2d-2491c0dd4956