2025-05-27 12:15:31,331 - INFO - Domain Default found not creating
2025-05-27 12:15:31,496 - INFO - Project ctest-TestRoutersBasic-83479301 not found, creating it
2025-05-27 12:15:32,004 - INFO - Created Project:ctest-TestRoutersBasic-83479301, ID : 3f357463-fae7-4e68-8013-98c6374e0d0f
2025-05-27 12:15:33,506 - INFO - ================================================================================
2025-05-27 12:15:33,506 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-05-27 12:15:33,506 - 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-05-27 12:15:33,768 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2025-05-27 12:15:33,768 - INFO - Initial checks done. Running the testcase now
2025-05-27 12:15:33,768 - INFO -
2025-05-27 12:15:34,993 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-83479301
2025-05-27 12:15:35,096 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-83479301
2025-05-27 12:15:35,455 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83479301', 'default']}
2025-05-27 12:15:35,773 - DEBUG - Response for create_network : {'network': {'id': '1a92c7d7-5ab1-4c9f-9f1c-e831df846166', 'name': 'ctest-vn-74762486', 'tenant_id': '3f357463fae74e68801398c6374e0d0f', 'project_id': '3f357463fae74e68801398c6374e0d0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83479301', 'ctest-vn-74762486'], 'port_security_enabled': True, 'description': ''}}
2025-05-27 12:15:35,979 - DEBUG - Response for create_subnet : {'subnet': {'id': '835b6b83-52a7-4ecd-b56a-f821f23b95c6', 'name': '', 'tenant_id': '3f357463fae74e68801398c6374e0d0f', 'network_id': '1a92c7d7-5ab1-4c9f-9f1c-e831df846166', 'ip_version': 4, 'cidr': '214.55.40.0/26', 'allocation_pools': [{'start': '214.55.40.2', 'end': '214.55.40.62'}], 'gateway_ip': '214.55.40.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.55.40.2', 'tags': [], 'project_id': '3f357463fae74e68801398c6374e0d0f'}}
2025-05-27 12:15:35,998 - INFO - Created VN ctest-vn-74762486
2025-05-27 12:15:36,055 - DEBUG - VN ctest-vn-74762486 UUID is 1a92c7d7-5ab1-4c9f-9f1c-e831df846166
2025-05-27 12:15:36,404 - DEBUG - Response for create_network : {'network': {'id': 'b7ed7307-c847-4f8f-9007-7d666e5fabbb', 'name': 'ctest-ext_vn-94810879', 'tenant_id': '3f357463fae74e68801398c6374e0d0f', 'project_id': '3f357463fae74e68801398c6374e0d0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83479301', 'ctest-ext_vn-94810879'], 'port_security_enabled': True, 'description': ''}}
2025-05-27 12:15:36,628 - DEBUG - Response for create_subnet : {'subnet': {'id': '859b3557-0812-41e0-9be3-89f31a010b55', 'name': '', 'tenant_id': '3f357463fae74e68801398c6374e0d0f', 'network_id': 'b7ed7307-c847-4f8f-9007-7d666e5fabbb', 'ip_version': 4, 'cidr': '122.116.139.64/26', 'allocation_pools': [{'start': '122.116.139.66', 'end': '122.116.139.126'}], 'gateway_ip': '122.116.139.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.116.139.66', 'tags': [], 'project_id': '3f357463fae74e68801398c6374e0d0f'}}
2025-05-27 12:15:36,646 - INFO - Created VN ctest-ext_vn-94810879
2025-05-27 12:15:36,699 - DEBUG - VN ctest-ext_vn-94810879 UUID is b7ed7307-c847-4f8f-9007-7d666e5fabbb
2025-05-27 12:15:36,882 - DEBUG - Services list from nova: [, , ]
2025-05-27 12:15:37,937 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3344-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3344-1)
2025-05-27 12:15:39,133 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3344-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3344-1)
2025-05-27 12:15:39,211 - INFO - Setting gateway for router b4593c89-7905-481e-86d8-d61ce09a1e26 to network b7ed7307-c847-4f8f-9007-7d666e5fabbb
2025-05-27 12:15:39,284 - INFO - Adding interface with subnet_id 835b6b83-52a7-4ecd-b56a-f821f23b95c6, port_id None to router b4593c89-7905-481e-86d8-d61ce09a1e26
2025-05-27 12:15:39,713 - INFO - Waiting for VM ctest-TestRoutersBasic-83479301-06088683 to be up..
2025-05-27 12:15:39,891 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-05-27 12:15:44,989 - DEBUG - VM is in ACTIVE state now
2025-05-27 12:15:44,989 - INFO - VM name : ctest-TestRoutersBasic-83479301-06088683
2025-05-27 12:15:45,073 - DEBUG - VM ctest-TestRoutersBasic-83479301-06088683 ID is d0a22cf1-f726-4295-a770-ed467e19f699
2025-05-27 12:15:45,099 - DEBUG - VM ctest-TestRoutersBasic-83479301-06088683 launched on Node cn-jenkins-deploy-platform-ansible-os-3344-1
2025-05-27 12:15:45,188 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d0a22cf1-f726-4295-a770-ed467e19f699
2025-05-27 12:15:45,497 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d0a22cf1-f726-4295-a770-ed467e19f699
2025-05-27 12:15:45,545 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b0e236d2-c090-462e-b820-d5ce55e32248
2025-05-27 12:15:48,826 - 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 1031ms')
2025-05-27 12:15:48,826 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83479301-06088683 failed!
2025-05-27 12:15:48,883 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-83479301:ctest-vn-74762486 is 214.55.40.1 and allocation pool is NOT set
2025-05-27 12:15:50,948 - 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.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.411 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.411/1.708/3.005/1.297 ms')
2025-05-27 12:15:50,948 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83479301-06088683 passed
2025-05-27 12:15:51,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-27 12:15:51,116 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83479301-06088683, IP 214.55.40.3, Port 22
2025-05-27 12:15:51,293 - DEBUG - VM ctest-TestRoutersBasic-83479301-06088683 is ready for SSH connections
2025-05-27 12:15:51,293 - INFO - Waiting for VM ctest-TestRoutersBasic-83479301-05330074 to be up..
2025-05-27 12:15:51,391 - DEBUG - VM is in ACTIVE state now
2025-05-27 12:15:51,391 - INFO - VM name : ctest-TestRoutersBasic-83479301-05330074
2025-05-27 12:15:51,484 - DEBUG - VM ctest-TestRoutersBasic-83479301-05330074 ID is 536c309d-c7aa-4f67-81b0-0c9aa021d754
2025-05-27 12:15:51,485 - DEBUG - VM ctest-TestRoutersBasic-83479301-05330074 launched on Node cn-jenkins-deploy-platform-ansible-os-3344-1
2025-05-27 12:15:51,583 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/536c309d-c7aa-4f67-81b0-0c9aa021d754
2025-05-27 12:15:51,595 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/47b077ce-8cff-4a20-ad40-7c38d8399686
2025-05-27 12:15:52,853 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.470 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.470/1.712/2.955/1.242 ms')
2025-05-27 12:15:52,853 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-83479301-05330074 passed
2025-05-27 12:15:53,011 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-27 12:15:53,011 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83479301-05330074, IP 122.116.139.67, Port 22
2025-05-27 12:15:53,177 - DEBUG - VM ctest-TestRoutersBasic-83479301-05330074 is ready for SSH connections
2025-05-27 12:15:53,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-27 12:15:53,178 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.116.139.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-05-27 12:15:53,178 - DEBUG - ping -s 56 -c 3 -W 1 122.116.139.67
2025-05-27 12:15:57,276 - DEBUG - PING 122.116.139.67 (122.116.139.67): 56 data bytes
64 bytes from 122.116.139.67: seq=0 ttl=62 time=9.095 ms
64 bytes from 122.116.139.67: seq=1 ttl=62 time=1.793 ms
64 bytes from 122.116.139.67: seq=2 ttl=62 time=1.065 ms
--- 122.116.139.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.065/3.984/9.095 ms
2025-05-27 12:15:57,276 - INFO - Ping to IP 122.116.139.67 from VM ctest-TestRoutersBasic-83479301-06088683 passed
2025-05-27 12:15:57,276 - INFO - Deleting interface with subnet_id 835b6b83-52a7-4ecd-b56a-f821f23b95c6, port_id None from router b4593c89-7905-481e-86d8-d61ce09a1e26
2025-05-27 12:15:57,511 - INFO - Deleting VM ctest-TestRoutersBasic-83479301-05330074
2025-05-27 12:15:57,586 - INFO - Deleting VM ctest-TestRoutersBasic-83479301-06088683
2025-05-27 12:15:57,677 - INFO - Deleting VN ctest-ext_vn-94810879
2025-05-27 12:15:57,769 - DEBUG - VN b7ed7307-c847-4f8f-9007-7d666e5fabbb still in use: Unable to complete operation on network b7ed7307-c847-4f8f-9007-7d666e5fabbb. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-54470097-206c-401c-9cc7-0dd78fe34300']
2025-05-27 12:15:57,769 - WARNING - Deleting VN ctest-ext_vn-94810879 failed..Will retry
2025-05-27 12:15:59,898 - DEBUG - Response for deleting network ()
2025-05-27 12:15:59,898 - INFO - Deleting VN ctest-vn-74762486
2025-05-27 12:16:00,018 - DEBUG - Response for deleting network ()
2025-05-27 12:16:00,279 - DEBUG - No XMPP flaps were noticed during the test
2025-05-27 12:16:00,279 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-05-27 12:16:00,279 - INFO - --------------------------------------------------------------------------------
2025-05-27 12:16:00,977 - INFO - Deleted project: ctest-TestRoutersBasic-83479301, ID : 3f357463-fae7-4e68-8013-98c6374e0d0f