2025-09-09 22:52:29,882 - INFO - Domain Default found not creating
2025-09-09 22:52:30,025 - INFO - Project ctest-TestRoutersBasic-06565527 not found, creating it
2025-09-09 22:52:30,502 - INFO - Created Project:ctest-TestRoutersBasic-06565527, ID : a763a57c-185d-41b4-86d5-055a9da0ecdc
2025-09-09 22:52:31,912 - INFO - ================================================================================
2025-09-09 22:52:31,912 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-09-09 22:52:31,912 - 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-09-09 22:52:32,172 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-09-09 22:52:32,172 - INFO - Initial checks done. Running the testcase now
2025-09-09 22:52:32,172 - INFO -
2025-09-09 22:52:32,869 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-06565527
2025-09-09 22:52:32,964 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-06565527
2025-09-09 22:52:33,283 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06565527', 'default']}
2025-09-09 22:52:33,562 - DEBUG - Response for create_network : {'network': {'id': '46270c57-8252-48c3-8a34-64be5d0be89a', 'name': 'ctest-vn-21667399', 'tenant_id': 'a763a57c185d41b486d5055a9da0ecdc', 'project_id': 'a763a57c185d41b486d5055a9da0ecdc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06565527', 'ctest-vn-21667399'], 'port_security_enabled': True, 'description': ''}}
2025-09-09 22:52:33,701 - DEBUG - Response for create_subnet : {'subnet': {'id': '98001414-b973-4958-aca6-d2265a09f6bc', 'name': '', 'tenant_id': 'a763a57c185d41b486d5055a9da0ecdc', 'network_id': '46270c57-8252-48c3-8a34-64be5d0be89a', 'ip_version': 4, 'cidr': '34.96.6.0/26', 'allocation_pools': [{'start': '34.96.6.2', 'end': '34.96.6.62'}], 'gateway_ip': '34.96.6.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.96.6.2', 'tags': [], 'project_id': 'a763a57c185d41b486d5055a9da0ecdc'}}
2025-09-09 22:52:33,717 - INFO - Created VN ctest-vn-21667399
2025-09-09 22:52:33,767 - DEBUG - VN ctest-vn-21667399 UUID is 46270c57-8252-48c3-8a34-64be5d0be89a
2025-09-09 22:52:34,094 - DEBUG - Response for create_network : {'network': {'id': '7f88fb2c-8db6-466a-b96d-c7529b669fc1', 'name': 'ctest-ext_vn-02971857', 'tenant_id': 'a763a57c185d41b486d5055a9da0ecdc', 'project_id': 'a763a57c185d41b486d5055a9da0ecdc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06565527', 'ctest-ext_vn-02971857'], 'port_security_enabled': True, 'description': ''}}
2025-09-09 22:52:34,289 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b50cb554-931e-4952-8adc-324a5024e282', 'name': '', 'tenant_id': 'a763a57c185d41b486d5055a9da0ecdc', 'network_id': '7f88fb2c-8db6-466a-b96d-c7529b669fc1', 'ip_version': 4, 'cidr': '116.24.9.0/26', 'allocation_pools': [{'start': '116.24.9.2', 'end': '116.24.9.62'}], 'gateway_ip': '116.24.9.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.24.9.2', 'tags': [], 'project_id': 'a763a57c185d41b486d5055a9da0ecdc'}}
2025-09-09 22:52:34,304 - INFO - Created VN ctest-ext_vn-02971857
2025-09-09 22:52:34,355 - DEBUG - VN ctest-ext_vn-02971857 UUID is 7f88fb2c-8db6-466a-b96d-c7529b669fc1
2025-09-09 22:52:34,557 - DEBUG - Services list from nova: [, , ]
2025-09-09 22:52:35,532 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4063-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4063-1)
2025-09-09 22:52:36,632 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4063-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4063-1)
2025-09-09 22:52:36,713 - INFO - Setting gateway for router a7f5c07c-4e51-4459-aa55-f2ef338e9009 to network 7f88fb2c-8db6-466a-b96d-c7529b669fc1
2025-09-09 22:52:36,803 - INFO - Adding interface with subnet_id 98001414-b973-4958-aca6-d2265a09f6bc, port_id None to router a7f5c07c-4e51-4459-aa55-f2ef338e9009
2025-09-09 22:52:37,123 - INFO - Waiting for VM ctest-TestRoutersBasic-06565527-67310724 to be up..
2025-09-09 22:52:37,274 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-09 22:52:42,347 - DEBUG - VM is in ACTIVE state now
2025-09-09 22:52:42,347 - INFO - VM name : ctest-TestRoutersBasic-06565527-67310724
2025-09-09 22:52:42,416 - DEBUG - VM ctest-TestRoutersBasic-06565527-67310724 ID is 9e011879-e6a0-4c4a-84c2-3085c85f6f67
2025-09-09 22:52:42,435 - DEBUG - VM ctest-TestRoutersBasic-06565527-67310724 launched on Node cn-jenkins-deploy-platform-ansible-os-4063-1
2025-09-09 22:52:42,514 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9e011879-e6a0-4c4a-84c2-3085c85f6f67
2025-09-09 22:52:42,810 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9e011879-e6a0-4c4a-84c2-3085c85f6f67
2025-09-09 22:52:42,840 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/83b93fd5-79a9-4549-9b8a-b3e6f3cd324a
2025-09-09 22:52:46,086 - 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 1007ms')
2025-09-09 22:52:46,086 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06565527-67310724 failed!
2025-09-09 22:52:46,143 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-06565527:ctest-vn-21667399 is 34.96.6.1 and allocation pool is NOT set
2025-09-09 22:52:48,208 - 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=3.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.460 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.460/2.067/3.675/1.607 ms')
2025-09-09 22:52:48,208 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06565527-67310724 passed
2025-09-09 22:52:48,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-09 22:52:48,360 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06565527-67310724, IP 34.96.6.3, Port 22
2025-09-09 22:52:48,516 - DEBUG - VM ctest-TestRoutersBasic-06565527-67310724 is ready for SSH connections
2025-09-09 22:52:48,516 - INFO - Waiting for VM ctest-TestRoutersBasic-06565527-34649909 to be up..
2025-09-09 22:52:48,596 - DEBUG - VM is in ACTIVE state now
2025-09-09 22:52:48,596 - INFO - VM name : ctest-TestRoutersBasic-06565527-34649909
2025-09-09 22:52:48,666 - DEBUG - VM ctest-TestRoutersBasic-06565527-34649909 ID is 25b702d6-c869-454f-9e39-3755e746953e
2025-09-09 22:52:48,666 - DEBUG - VM ctest-TestRoutersBasic-06565527-34649909 launched on Node cn-jenkins-deploy-platform-ansible-os-4063-1
2025-09-09 22:52:48,735 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/25b702d6-c869-454f-9e39-3755e746953e
2025-09-09 22:52:48,743 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/31e0e9a5-2d9f-4afe-96bb-06665f2e95ae
2025-09-09 22:52:49,980 - 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=3.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.377 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.377/2.030/3.684/1.653 ms')
2025-09-09 22:52:49,980 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-06565527-34649909 passed
2025-09-09 22:52:50,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-09 22:52:50,132 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06565527-34649909, IP 116.24.9.3, Port 22
2025-09-09 22:52:50,295 - DEBUG - VM ctest-TestRoutersBasic-06565527-34649909 is ready for SSH connections
2025-09-09 22:52:50,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-09 22:52:50,295 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.24.9.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-09-09 22:52:50,295 - DEBUG - ping -s 56 -c 3 -W 1 116.24.9.3
2025-09-09 22:52:54,338 - DEBUG - PING 116.24.9.3 (116.24.9.3): 56 data bytes
64 bytes from 116.24.9.3: seq=0 ttl=62 time=5.335 ms
64 bytes from 116.24.9.3: seq=1 ttl=62 time=0.784 ms
64 bytes from 116.24.9.3: seq=2 ttl=62 time=1.017 ms
--- 116.24.9.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.784/2.378/5.335 ms
2025-09-09 22:52:54,338 - INFO - Ping to IP 116.24.9.3 from VM ctest-TestRoutersBasic-06565527-67310724 passed
2025-09-09 22:52:54,338 - INFO - Deleting interface with subnet_id 98001414-b973-4958-aca6-d2265a09f6bc, port_id None from router a7f5c07c-4e51-4459-aa55-f2ef338e9009
2025-09-09 22:52:54,507 - INFO - Deleting VM ctest-TestRoutersBasic-06565527-34649909
2025-09-09 22:52:54,581 - INFO - Deleting VM ctest-TestRoutersBasic-06565527-67310724
2025-09-09 22:52:54,671 - INFO - Deleting VN ctest-ext_vn-02971857
2025-09-09 22:52:54,749 - DEBUG - VN 7f88fb2c-8db6-466a-b96d-c7529b669fc1 still in use: Unable to complete operation on network 7f88fb2c-8db6-466a-b96d-c7529b669fc1. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-db989648-6d9c-43fa-bf07-02699c3a257b']
2025-09-09 22:52:54,749 - WARNING - Deleting VN ctest-ext_vn-02971857 failed..Will retry
2025-09-09 22:52:56,842 - DEBUG - Response for deleting network ()
2025-09-09 22:52:56,842 - INFO - Deleting VN ctest-vn-21667399
2025-09-09 22:52:56,940 - DEBUG - Response for deleting network ()
2025-09-09 22:52:57,193 - DEBUG - No XMPP flaps were noticed during the test
2025-09-09 22:52:57,193 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-09-09 22:52:57,193 - INFO - --------------------------------------------------------------------------------
2025-09-09 22:52:57,842 - INFO - Deleted project: ctest-TestRoutersBasic-06565527, ID : a763a57c-185d-41b4-86d5-055a9da0ecdc