2025-11-12 14:41:36,155 - INFO - Domain Default found not creating
2025-11-12 14:41:36,299 - INFO - Project ctest-TestRoutersBasic-41214302 not found, creating it
2025-11-12 14:41:36,727 - INFO - Created Project:ctest-TestRoutersBasic-41214302, ID : add7a175-8fd7-44a0-86d4-8ebad4df1a47
2025-11-12 14:41:38,679 - INFO - ================================================================================
2025-11-12 14:41:38,679 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-12 14:41:38,679 - 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 14:41:38,933 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-11-12 14:41:38,933 - INFO - Initial checks done. Running the testcase now
2025-11-12 14:41:38,933 - INFO -
2025-11-12 14:41:39,609 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-41214302
2025-11-12 14:41:39,704 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-41214302
2025-11-12 14:41:40,016 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41214302', 'default']}
2025-11-12 14:41:40,292 - DEBUG - Response for create_network : {'network': {'id': '0f731964-5c99-4326-9851-4c98f006a1ed', 'name': 'ctest-vn-14835021', 'tenant_id': 'add7a1758fd744a086d48ebad4df1a47', 'project_id': 'add7a1758fd744a086d48ebad4df1a47', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41214302', 'ctest-vn-14835021'], 'port_security_enabled': True, 'description': ''}}
2025-11-12 14:41:40,431 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db0680a2-146a-4b97-bf37-f3426e9da5c9', 'name': '', 'tenant_id': 'add7a1758fd744a086d48ebad4df1a47', 'network_id': '0f731964-5c99-4326-9851-4c98f006a1ed', 'ip_version': 4, 'cidr': '117.135.248.128/26', 'allocation_pools': [{'start': '117.135.248.130', 'end': '117.135.248.190'}], 'gateway_ip': '117.135.248.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.135.248.130', 'tags': [], 'project_id': 'add7a1758fd744a086d48ebad4df1a47'}}
2025-11-12 14:41:40,449 - INFO - Created VN ctest-vn-14835021
2025-11-12 14:41:40,500 - DEBUG - VN ctest-vn-14835021 UUID is 0f731964-5c99-4326-9851-4c98f006a1ed
2025-11-12 14:41:40,808 - DEBUG - Response for create_network : {'network': {'id': 'c1c42884-71cb-451e-a2ed-82f3f59c036e', 'name': 'ctest-ext_vn-62242781', 'tenant_id': 'add7a1758fd744a086d48ebad4df1a47', 'project_id': 'add7a1758fd744a086d48ebad4df1a47', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41214302', 'ctest-ext_vn-62242781'], 'port_security_enabled': True, 'description': ''}}
2025-11-12 14:41:40,950 - DEBUG - Response for create_subnet : {'subnet': {'id': '741c7866-e66d-4393-b12e-86128e16218b', 'name': '', 'tenant_id': 'add7a1758fd744a086d48ebad4df1a47', 'network_id': 'c1c42884-71cb-451e-a2ed-82f3f59c036e', 'ip_version': 4, 'cidr': '174.101.142.0/26', 'allocation_pools': [{'start': '174.101.142.2', 'end': '174.101.142.62'}], 'gateway_ip': '174.101.142.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.101.142.2', 'tags': [], 'project_id': 'add7a1758fd744a086d48ebad4df1a47'}}
2025-11-12 14:41:40,966 - INFO - Created VN ctest-ext_vn-62242781
2025-11-12 14:41:41,016 - DEBUG - VN ctest-ext_vn-62242781 UUID is c1c42884-71cb-451e-a2ed-82f3f59c036e
2025-11-12 14:41:41,213 - DEBUG - Services list from nova: [, , ]
2025-11-12 14:41:42,173 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4705-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4705-1)
2025-11-12 14:41:43,272 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4705-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4705-1)
2025-11-12 14:41:43,344 - INFO - Setting gateway for router a25a7867-4fd9-4ce0-8b92-87d4a1f20956 to network c1c42884-71cb-451e-a2ed-82f3f59c036e
2025-11-12 14:41:43,407 - INFO - Adding interface with subnet_id db0680a2-146a-4b97-bf37-f3426e9da5c9, port_id None to router a25a7867-4fd9-4ce0-8b92-87d4a1f20956
2025-11-12 14:41:43,689 - INFO - Waiting for VM ctest-TestRoutersBasic-41214302-61601938 to be up..
2025-11-12 14:41:43,795 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-12 14:41:48,868 - DEBUG - VM is in ACTIVE state now
2025-11-12 14:41:48,869 - INFO - VM name : ctest-TestRoutersBasic-41214302-61601938
2025-11-12 14:41:48,940 - DEBUG - VM ctest-TestRoutersBasic-41214302-61601938 ID is 55404216-8c60-4195-a100-2ae759b52f0e
2025-11-12 14:41:48,965 - DEBUG - VM ctest-TestRoutersBasic-41214302-61601938 launched on Node cn-jenkins-deploy-platform-ansible-os-4705-1
2025-11-12 14:41:49,048 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/55404216-8c60-4195-a100-2ae759b52f0e
2025-11-12 14:41:49,352 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/55404216-8c60-4195-a100-2ae759b52f0e
2025-11-12 14:41:49,381 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/18e987ee-c835-4245-96ef-9c3010609770
2025-11-12 14:41:52,627 - 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 1011ms')
2025-11-12 14:41:52,628 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-41214302-61601938 failed!
2025-11-12 14:41:52,680 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-41214302:ctest-vn-14835021 is 117.135.248.129 and allocation pool is NOT set
2025-11-12 14:41:54,736 - 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.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.427 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.427/1.703/2.980/1.276 ms')
2025-11-12 14:41:54,736 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-41214302-61601938 passed
2025-11-12 14:41:54,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 14:41:54,884 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41214302-61601938, IP 117.135.248.131, Port 22
2025-11-12 14:41:55,040 - DEBUG - VM ctest-TestRoutersBasic-41214302-61601938 is ready for SSH connections
2025-11-12 14:41:55,040 - INFO - Waiting for VM ctest-TestRoutersBasic-41214302-87955152 to be up..
2025-11-12 14:41:55,107 - DEBUG - VM is in ACTIVE state now
2025-11-12 14:41:55,107 - INFO - VM name : ctest-TestRoutersBasic-41214302-87955152
2025-11-12 14:41:55,173 - DEBUG - VM ctest-TestRoutersBasic-41214302-87955152 ID is f0da3dab-99d9-417c-b0a3-1e0c2b662c64
2025-11-12 14:41:55,173 - DEBUG - VM ctest-TestRoutersBasic-41214302-87955152 launched on Node cn-jenkins-deploy-platform-ansible-os-4705-1
2025-11-12 14:41:55,239 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f0da3dab-99d9-417c-b0a3-1e0c2b662c64
2025-11-12 14:41:55,247 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/dda25b83-0fb4-4839-87f9-6d6194c20498
2025-11-12 14:41:56,481 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.337 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.337/1.755/3.174/1.418 ms')
2025-11-12 14:41:56,481 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-41214302-87955152 passed
2025-11-12 14:41:56,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 14:41:56,628 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41214302-87955152, IP 174.101.142.3, Port 22
2025-11-12 14:41:56,784 - DEBUG - VM ctest-TestRoutersBasic-41214302-87955152 is ready for SSH connections
2025-11-12 14:41:56,785 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 14:41:56,785 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.101.142.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-11-12 14:41:56,785 - DEBUG - ping -s 56 -c 3 -W 1 174.101.142.3
2025-11-12 14:42:00,780 - DEBUG - PING 174.101.142.3 (174.101.142.3): 56 data bytes
64 bytes from 174.101.142.3: seq=0 ttl=62 time=4.945 ms
64 bytes from 174.101.142.3: seq=1 ttl=62 time=0.964 ms
64 bytes from 174.101.142.3: seq=2 ttl=62 time=0.833 ms
--- 174.101.142.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.833/2.247/4.945 ms
2025-11-12 14:42:00,780 - INFO - Ping to IP 174.101.142.3 from VM ctest-TestRoutersBasic-41214302-61601938 passed
2025-11-12 14:42:00,780 - INFO - Deleting interface with subnet_id db0680a2-146a-4b97-bf37-f3426e9da5c9, port_id None from router a25a7867-4fd9-4ce0-8b92-87d4a1f20956
2025-11-12 14:42:00,948 - INFO - Deleting VM ctest-TestRoutersBasic-41214302-87955152
2025-11-12 14:42:01,032 - INFO - Deleting VM ctest-TestRoutersBasic-41214302-61601938
2025-11-12 14:42:01,123 - INFO - Deleting VN ctest-ext_vn-62242781
2025-11-12 14:42:01,191 - DEBUG - VN c1c42884-71cb-451e-a2ed-82f3f59c036e still in use: Unable to complete operation on network c1c42884-71cb-451e-a2ed-82f3f59c036e. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-49000ed9-33b9-48e4-b775-4831f204bc4a']
2025-11-12 14:42:01,191 - WARNING - Deleting VN ctest-ext_vn-62242781 failed..Will retry
2025-11-12 14:42:03,282 - DEBUG - Response for deleting network ()
2025-11-12 14:42:03,282 - INFO - Deleting VN ctest-vn-14835021
2025-11-12 14:42:03,372 - DEBUG - Response for deleting network ()
2025-11-12 14:42:03,626 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 14:42:03,626 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-12 14:42:03,626 - INFO - --------------------------------------------------------------------------------
2025-11-12 14:42:04,269 - INFO - Deleted project: ctest-TestRoutersBasic-41214302, ID : add7a175-8fd7-44a0-86d4-8ebad4df1a47