2025-11-12 18:16:07,947 - INFO - Domain Default found not creating
2025-11-12 18:16:08,114 - INFO - Project ctest-TestRoutersBasic-98369008 not found, creating it
2025-11-12 18:16:08,560 - INFO - Created Project:ctest-TestRoutersBasic-98369008, ID : c27ef69c-aa22-4641-a761-88938d3caa9f
2025-11-12 18:16:09,961 - INFO - ================================================================================
2025-11-12 18:16:09,961 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-12 18:16:09,962 - 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-11-12 18:16:10,213 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with
2025-11-12 18:16:10,213 - INFO - Initial checks done. Running the testcase now
2025-11-12 18:16:10,213 - INFO -
2025-11-12 18:16:10,905 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-98369008
2025-11-12 18:16:11,004 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-98369008
2025-11-12 18:16:11,320 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98369008', 'default']}
2025-11-12 18:16:11,580 - DEBUG - Response for create_network : {'network': {'id': 'f0f6935c-2fc5-4624-bc33-06d162f3f029', 'name': 'ctest-vn-16757212', 'tenant_id': 'c27ef69caa224641a76188938d3caa9f', 'project_id': 'c27ef69caa224641a76188938d3caa9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98369008', 'ctest-vn-16757212'], 'port_security_enabled': True, 'description': ''}}
2025-11-12 18:16:11,734 - DEBUG - Response for create_subnet : {'subnet': {'id': '7a5114f2-6f0d-456d-a4a2-bab9f2c77cd4', 'name': '', 'tenant_id': 'c27ef69caa224641a76188938d3caa9f', 'network_id': 'f0f6935c-2fc5-4624-bc33-06d162f3f029', 'ip_version': 4, 'cidr': '216.213.31.192/26', 'allocation_pools': [{'start': '216.213.31.194', 'end': '216.213.31.254'}], 'gateway_ip': '216.213.31.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.213.31.194', 'tags': [], 'project_id': 'c27ef69caa224641a76188938d3caa9f'}}
2025-11-12 18:16:11,749 - INFO - Created VN ctest-vn-16757212
2025-11-12 18:16:11,800 - DEBUG - VN ctest-vn-16757212 UUID is f0f6935c-2fc5-4624-bc33-06d162f3f029
2025-11-12 18:16:12,126 - DEBUG - Response for create_network : {'network': {'id': 'ebace202-3e38-43e6-8b61-930fa1730b2b', 'name': 'ctest-ext_vn-76256087', 'tenant_id': 'c27ef69caa224641a76188938d3caa9f', 'project_id': 'c27ef69caa224641a76188938d3caa9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98369008', 'ctest-ext_vn-76256087'], 'port_security_enabled': True, 'description': ''}}
2025-11-12 18:16:12,334 - DEBUG - Response for create_subnet : {'subnet': {'id': '64574050-d92d-4325-9094-8642458c990a', 'name': '', 'tenant_id': 'c27ef69caa224641a76188938d3caa9f', 'network_id': 'ebace202-3e38-43e6-8b61-930fa1730b2b', 'ip_version': 4, 'cidr': '206.70.154.64/26', 'allocation_pools': [{'start': '206.70.154.66', 'end': '206.70.154.126'}], 'gateway_ip': '206.70.154.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.70.154.66', 'tags': [], 'project_id': 'c27ef69caa224641a76188938d3caa9f'}}
2025-11-12 18:16:12,348 - INFO - Created VN ctest-ext_vn-76256087
2025-11-12 18:16:12,400 - DEBUG - VN ctest-ext_vn-76256087 UUID is ebace202-3e38-43e6-8b61-930fa1730b2b
2025-11-12 18:16:12,591 - DEBUG - Services list from nova: [, , ]
2025-11-12 18:16:13,569 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4708-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4708-1)
2025-11-12 18:16:14,687 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4708-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4708-1)
2025-11-12 18:16:14,757 - INFO - Setting gateway for router 713d2fbf-8f38-4408-a998-61184698e026 to network ebace202-3e38-43e6-8b61-930fa1730b2b
2025-11-12 18:16:14,804 - INFO - Adding interface with subnet_id 7a5114f2-6f0d-456d-a4a2-bab9f2c77cd4, port_id None to router 713d2fbf-8f38-4408-a998-61184698e026
2025-11-12 18:16:15,021 - INFO - Waiting for VM ctest-TestRoutersBasic-98369008-36138758 to be up..
2025-11-12 18:16:15,166 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-12 18:16:20,232 - DEBUG - VM is in ACTIVE state now
2025-11-12 18:16:20,232 - INFO - VM name : ctest-TestRoutersBasic-98369008-36138758
2025-11-12 18:16:20,315 - DEBUG - VM ctest-TestRoutersBasic-98369008-36138758 ID is d1da4df7-5eee-4e4a-aafd-83cd00ae9980
2025-11-12 18:16:20,332 - DEBUG - VM ctest-TestRoutersBasic-98369008-36138758 launched on Node cn-jenkins-deploy-platform-ansible-os-4708-1
2025-11-12 18:16:20,409 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d1da4df7-5eee-4e4a-aafd-83cd00ae9980
2025-11-12 18:16:20,719 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d1da4df7-5eee-4e4a-aafd-83cd00ae9980
2025-11-12 18:16:20,751 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f5a814b1-f802-4ff2-a351-6e7be2b19009
2025-11-12 18:16:23,999 - 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 1009ms')
2025-11-12 18:16:23,999 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-98369008-36138758 failed!
2025-11-12 18:16:24,052 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-98369008:ctest-vn-16757212 is 216.213.31.193 and allocation pool is NOT set
2025-11-12 18:16:26,114 - 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=2.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.441 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 = 0.441/1.547/2.654/1.106 ms')
2025-11-12 18:16:26,114 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-98369008-36138758 passed
2025-11-12 18:16:26,264 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 18:16:26,265 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98369008-36138758, IP 216.213.31.195, Port 22
2025-11-12 18:16:26,416 - DEBUG - VM ctest-TestRoutersBasic-98369008-36138758 is ready for SSH connections
2025-11-12 18:16:26,416 - INFO - Waiting for VM ctest-TestRoutersBasic-98369008-14784514 to be up..
2025-11-12 18:16:26,479 - DEBUG - VM is in ACTIVE state now
2025-11-12 18:16:26,479 - INFO - VM name : ctest-TestRoutersBasic-98369008-14784514
2025-11-12 18:16:26,538 - DEBUG - VM ctest-TestRoutersBasic-98369008-14784514 ID is c5a20b7c-9333-4c61-b664-60e7470c0291
2025-11-12 18:16:26,538 - DEBUG - VM ctest-TestRoutersBasic-98369008-14784514 launched on Node cn-jenkins-deploy-platform-ansible-os-4708-1
2025-11-12 18:16:26,601 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c5a20b7c-9333-4c61-b664-60e7470c0291
2025-11-12 18:16:26,608 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e3e06d8d-8f81-4ec0-b008-0a1600dafe40
2025-11-12 18:16:27,840 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.449 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.449/1.682/2.916/1.233 ms')
2025-11-12 18:16:27,840 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-98369008-14784514 passed
2025-11-12 18:16:27,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 18:16:27,989 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98369008-14784514, IP 206.70.154.67, Port 22
2025-11-12 18:16:28,144 - DEBUG - VM ctest-TestRoutersBasic-98369008-14784514 is ready for SSH connections
2025-11-12 18:16:28,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 18:16:28,144 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.70.154.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-11-12 18:16:28,144 - DEBUG - ping -s 56 -c 3 -W 1 206.70.154.67
2025-11-12 18:16:31,838 - DEBUG - PING 206.70.154.67 (206.70.154.67): 56 data bytes
64 bytes from 206.70.154.67: seq=0 ttl=62 time=7.932 ms
64 bytes from 206.70.154.67: seq=1 ttl=62 time=0.737 ms
64 bytes from 206.70.154.67: seq=2 ttl=62 time=0.763 ms
--- 206.70.154.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.737/3.144/7.932 ms
2025-11-12 18:16:31,838 - INFO - Ping to IP 206.70.154.67 from VM ctest-TestRoutersBasic-98369008-36138758 passed
2025-11-12 18:16:31,838 - INFO - Deleting interface with subnet_id 7a5114f2-6f0d-456d-a4a2-bab9f2c77cd4, port_id None from router 713d2fbf-8f38-4408-a998-61184698e026
2025-11-12 18:16:32,014 - INFO - Deleting VM ctest-TestRoutersBasic-98369008-14784514
2025-11-12 18:16:32,071 - INFO - Deleting VM ctest-TestRoutersBasic-98369008-36138758
2025-11-12 18:16:32,148 - INFO - Deleting VN ctest-ext_vn-76256087
2025-11-12 18:16:32,211 - DEBUG - VN ebace202-3e38-43e6-8b61-930fa1730b2b still in use: Unable to complete operation on network ebace202-3e38-43e6-8b61-930fa1730b2b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2ce5fa09-068a-4aff-9b5f-3efa65870bcd']
2025-11-12 18:16:32,211 - WARNING - Deleting VN ctest-ext_vn-76256087 failed..Will retry
2025-11-12 18:16:34,362 - DEBUG - Response for deleting network ()
2025-11-12 18:16:34,362 - INFO - Deleting VN ctest-vn-16757212
2025-11-12 18:16:34,450 - DEBUG - Response for deleting network ()
2025-11-12 18:16:34,716 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 18:16:34,716 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-12 18:16:34,716 - INFO - --------------------------------------------------------------------------------
2025-11-12 18:16:35,355 - INFO - Deleted project: ctest-TestRoutersBasic-98369008, ID : c27ef69c-aa22-4641-a761-88938d3caa9f