2025-04-22 18:24:48,846 - INFO - Domain Default found not creating
2025-04-22 18:24:48,973 - INFO - Project ctest-TestRoutersBasic-75908707 not found, creating it
2025-04-22 18:24:49,425 - INFO - Created Project:ctest-TestRoutersBasic-75908707, ID : 21b70130-fcea-4d2a-97d6-6d26d441c042
2025-04-22 18:24:50,794 - INFO - ================================================================================
2025-04-22 18:24:50,795 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-22 18:24:50,795 - 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-04-22 18:24:51,057 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-04-22 18:24:51,057 - INFO - Initial checks done. Running the testcase now
2025-04-22 18:24:51,057 - INFO -
2025-04-22 18:24:51,746 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-75908707
2025-04-22 18:24:51,840 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-75908707
2025-04-22 18:24:52,168 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75908707', 'default']}
2025-04-22 18:24:52,461 - DEBUG - Response for create_network : {'network': {'id': '6bce9f54-90ea-4a41-bbee-b76d46e0d836', 'name': 'ctest-vn-54008194', 'tenant_id': '21b70130fcea4d2a97d66d26d441c042', 'project_id': '21b70130fcea4d2a97d66d26d441c042', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75908707', 'ctest-vn-54008194'], 'port_security_enabled': True, 'description': ''}}
2025-04-22 18:24:52,678 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc71255d-e266-4c9a-a046-207cd1bec241', 'name': '', 'tenant_id': '21b70130fcea4d2a97d66d26d441c042', 'network_id': '6bce9f54-90ea-4a41-bbee-b76d46e0d836', 'ip_version': 4, 'cidr': '85.91.109.128/26', 'allocation_pools': [{'start': '85.91.109.130', 'end': '85.91.109.190'}], 'gateway_ip': '85.91.109.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.91.109.130', 'tags': [], 'project_id': '21b70130fcea4d2a97d66d26d441c042'}}
2025-04-22 18:24:52,695 - INFO - Created VN ctest-vn-54008194
2025-04-22 18:24:52,752 - DEBUG - VN ctest-vn-54008194 UUID is 6bce9f54-90ea-4a41-bbee-b76d46e0d836
2025-04-22 18:24:53,113 - DEBUG - Response for create_network : {'network': {'id': '8be41307-858c-414b-a616-cca7567b7b83', 'name': 'ctest-ext_vn-34394736', 'tenant_id': '21b70130fcea4d2a97d66d26d441c042', 'project_id': '21b70130fcea4d2a97d66d26d441c042', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75908707', 'ctest-ext_vn-34394736'], 'port_security_enabled': True, 'description': ''}}
2025-04-22 18:24:53,339 - DEBUG - Response for create_subnet : {'subnet': {'id': '360cbeaa-66ad-40fb-bb1c-f44d94acfbac', 'name': '', 'tenant_id': '21b70130fcea4d2a97d66d26d441c042', 'network_id': '8be41307-858c-414b-a616-cca7567b7b83', 'ip_version': 4, 'cidr': '207.112.38.192/26', 'allocation_pools': [{'start': '207.112.38.194', 'end': '207.112.38.254'}], 'gateway_ip': '207.112.38.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.112.38.194', 'tags': [], 'project_id': '21b70130fcea4d2a97d66d26d441c042'}}
2025-04-22 18:24:53,355 - INFO - Created VN ctest-ext_vn-34394736
2025-04-22 18:24:53,408 - DEBUG - VN ctest-ext_vn-34394736 UUID is 8be41307-858c-414b-a616-cca7567b7b83
2025-04-22 18:24:53,573 - DEBUG - Services list from nova: [, , ]
2025-04-22 18:24:54,549 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3170-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3170-1)
2025-04-22 18:24:55,653 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3170-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3170-1)
2025-04-22 18:24:55,736 - INFO - Setting gateway for router ede39565-432a-44b5-925c-7a6c67d71915 to network 8be41307-858c-414b-a616-cca7567b7b83
2025-04-22 18:24:55,838 - INFO - Adding interface with subnet_id fc71255d-e266-4c9a-a046-207cd1bec241, port_id None to router ede39565-432a-44b5-925c-7a6c67d71915
2025-04-22 18:24:56,236 - INFO - Waiting for VM ctest-TestRoutersBasic-75908707-90353464 to be up..
2025-04-22 18:24:56,368 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-22 18:25:01,439 - DEBUG - VM is in ACTIVE state now
2025-04-22 18:25:01,440 - INFO - VM name : ctest-TestRoutersBasic-75908707-90353464
2025-04-22 18:25:01,509 - DEBUG - VM ctest-TestRoutersBasic-75908707-90353464 ID is 4e109e03-d599-4302-b8f5-332d1f398d99
2025-04-22 18:25:01,526 - DEBUG - VM ctest-TestRoutersBasic-75908707-90353464 launched on Node cn-jenkins-deploy-platform-ansible-os-3170-1
2025-04-22 18:25:01,595 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4e109e03-d599-4302-b8f5-332d1f398d99
2025-04-22 18:25:01,886 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4e109e03-d599-4302-b8f5-332d1f398d99
2025-04-22 18:25:01,916 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8d6fee35-027b-40e2-93e8-890aa2cc57ff
2025-04-22 18:25:05,160 - 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-04-22 18:25:05,160 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75908707-90353464 failed!
2025-04-22 18:25:05,216 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-75908707:ctest-vn-54008194 is 85.91.109.129 and allocation pool is NOT set
2025-04-22 18:25:07,274 - 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.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.14 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.140/2.758/4.377/1.618 ms')
2025-04-22 18:25:07,274 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75908707-90353464 passed
2025-04-22 18:25:07,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-22 18:25:07,424 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75908707-90353464, IP 85.91.109.131, Port 22
2025-04-22 18:25:07,587 - DEBUG - VM ctest-TestRoutersBasic-75908707-90353464 is ready for SSH connections
2025-04-22 18:25:07,587 - INFO - Waiting for VM ctest-TestRoutersBasic-75908707-57079752 to be up..
2025-04-22 18:25:07,663 - DEBUG - VM is in ACTIVE state now
2025-04-22 18:25:07,663 - INFO - VM name : ctest-TestRoutersBasic-75908707-57079752
2025-04-22 18:25:07,740 - DEBUG - VM ctest-TestRoutersBasic-75908707-57079752 ID is 627b613f-3d29-4377-9436-31cfcf1011c1
2025-04-22 18:25:07,740 - DEBUG - VM ctest-TestRoutersBasic-75908707-57079752 launched on Node cn-jenkins-deploy-platform-ansible-os-3170-1
2025-04-22 18:25:07,819 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/627b613f-3d29-4377-9436-31cfcf1011c1
2025-04-22 18:25:07,828 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/23790c59-8f11-48d6-8b29-8cc3f0a266ca
2025-04-22 18:25:09,071 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.441 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.441/1.543/2.646/1.102 ms')
2025-04-22 18:25:09,071 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-75908707-57079752 passed
2025-04-22 18:25:09,224 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-22 18:25:09,224 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75908707-57079752, IP 207.112.38.195, Port 22
2025-04-22 18:25:09,383 - DEBUG - VM ctest-TestRoutersBasic-75908707-57079752 is ready for SSH connections
2025-04-22 18:25:09,384 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-22 18:25:09,384 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.112.38.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-04-22 18:25:09,384 - DEBUG - ping -s 56 -c 3 -W 1 207.112.38.195
2025-04-22 18:25:13,052 - DEBUG - PING 207.112.38.195 (207.112.38.195): 56 data bytes
64 bytes from 207.112.38.195: seq=0 ttl=62 time=5.850 ms
64 bytes from 207.112.38.195: seq=1 ttl=62 time=0.929 ms
64 bytes from 207.112.38.195: seq=2 ttl=62 time=0.845 ms
--- 207.112.38.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.845/2.541/5.850 ms
2025-04-22 18:25:13,052 - INFO - Ping to IP 207.112.38.195 from VM ctest-TestRoutersBasic-75908707-90353464 passed
2025-04-22 18:25:13,052 - INFO - Deleting interface with subnet_id fc71255d-e266-4c9a-a046-207cd1bec241, port_id None from router ede39565-432a-44b5-925c-7a6c67d71915
2025-04-22 18:25:13,225 - INFO - Deleting VM ctest-TestRoutersBasic-75908707-57079752
2025-04-22 18:25:13,286 - INFO - Deleting VM ctest-TestRoutersBasic-75908707-90353464
2025-04-22 18:25:13,366 - INFO - Deleting VN ctest-ext_vn-34394736
2025-04-22 18:25:13,441 - DEBUG - VN 8be41307-858c-414b-a616-cca7567b7b83 still in use: Unable to complete operation on network 8be41307-858c-414b-a616-cca7567b7b83. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-12cc7e0f-2b29-4523-8386-9c92b0e428b4']
2025-04-22 18:25:13,441 - WARNING - Deleting VN ctest-ext_vn-34394736 failed..Will retry
2025-04-22 18:25:15,546 - DEBUG - Response for deleting network ()
2025-04-22 18:25:15,546 - INFO - Deleting VN ctest-vn-54008194
2025-04-22 18:25:15,639 - DEBUG - Response for deleting network ()
2025-04-22 18:25:15,893 - DEBUG - No XMPP flaps were noticed during the test
2025-04-22 18:25:15,893 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-04-22 18:25:15,893 - INFO - --------------------------------------------------------------------------------
2025-04-22 18:25:16,546 - INFO - Deleted project: ctest-TestRoutersBasic-75908707, ID : 21b70130-fcea-4d2a-97d6-6d26d441c042