2025-03-25 03:27:40,945 - INFO - Domain Default found not creating
2025-03-25 03:27:41,091 - INFO - Project ctest-TestRoutersBasic-06481569 not found, creating it
2025-03-25 03:27:41,619 - INFO - Created Project:ctest-TestRoutersBasic-06481569, ID : c81c9f50-6917-4b50-a4ee-b30a634e1bb1
2025-03-25 03:27:43,031 - INFO - ================================================================================
2025-03-25 03:27:43,031 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-03-25 03:27:43,031 - 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-03-25 03:27:43,287 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.7': '0'}} with
2025-03-25 03:27:43,287 - INFO - Initial checks done. Running the testcase now
2025-03-25 03:27:43,288 - INFO -
2025-03-25 03:27:43,992 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-06481569
2025-03-25 03:27:44,091 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-06481569
2025-03-25 03:27:44,426 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06481569', 'default']}
2025-03-25 03:27:44,750 - DEBUG - Response for create_network : {'network': {'id': '617a8d05-fe64-4895-95ea-e71054880fb0', 'name': 'ctest-vn-33112074', 'tenant_id': 'c81c9f5069174b50a4eeb30a634e1bb1', 'project_id': 'c81c9f5069174b50a4eeb30a634e1bb1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06481569', 'ctest-vn-33112074'], 'port_security_enabled': True, 'description': ''}}
2025-03-25 03:27:44,966 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd8999e07-afff-42b6-b87b-f5e9744f5df8', 'name': '', 'tenant_id': 'c81c9f5069174b50a4eeb30a634e1bb1', 'network_id': '617a8d05-fe64-4895-95ea-e71054880fb0', 'ip_version': 4, 'cidr': '64.54.110.64/26', 'allocation_pools': [{'start': '64.54.110.66', 'end': '64.54.110.126'}], 'gateway_ip': '64.54.110.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.54.110.66', 'tags': [], 'project_id': 'c81c9f5069174b50a4eeb30a634e1bb1'}}
2025-03-25 03:27:44,992 - INFO - Created VN ctest-vn-33112074
2025-03-25 03:27:45,047 - DEBUG - VN ctest-vn-33112074 UUID is 617a8d05-fe64-4895-95ea-e71054880fb0
2025-03-25 03:27:45,400 - DEBUG - Response for create_network : {'network': {'id': 'afbd45bb-4fd3-4f32-886b-e1d18138f784', 'name': 'ctest-ext_vn-27456647', 'tenant_id': 'c81c9f5069174b50a4eeb30a634e1bb1', 'project_id': 'c81c9f5069174b50a4eeb30a634e1bb1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06481569', 'ctest-ext_vn-27456647'], 'port_security_enabled': True, 'description': ''}}
2025-03-25 03:27:45,652 - DEBUG - Response for create_subnet : {'subnet': {'id': '95c3aa28-ea51-4bc6-9d38-21340f209e65', 'name': '', 'tenant_id': 'c81c9f5069174b50a4eeb30a634e1bb1', 'network_id': 'afbd45bb-4fd3-4f32-886b-e1d18138f784', 'ip_version': 4, 'cidr': '196.223.164.128/26', 'allocation_pools': [{'start': '196.223.164.130', 'end': '196.223.164.190'}], 'gateway_ip': '196.223.164.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.223.164.130', 'tags': [], 'project_id': 'c81c9f5069174b50a4eeb30a634e1bb1'}}
2025-03-25 03:27:45,676 - INFO - Created VN ctest-ext_vn-27456647
2025-03-25 03:27:45,731 - DEBUG - VN ctest-ext_vn-27456647 UUID is afbd45bb-4fd3-4f32-886b-e1d18138f784
2025-03-25 03:27:45,922 - DEBUG - Services list from nova: [, , ]
2025-03-25 03:27:46,953 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2947-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2947-1)
2025-03-25 03:27:48,140 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2947-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2947-1)
2025-03-25 03:27:48,220 - INFO - Setting gateway for router 8757f3b5-8bb6-4b10-9c9c-f7749dee30d9 to network afbd45bb-4fd3-4f32-886b-e1d18138f784
2025-03-25 03:27:48,316 - INFO - Adding interface with subnet_id d8999e07-afff-42b6-b87b-f5e9744f5df8, port_id None to router 8757f3b5-8bb6-4b10-9c9c-f7749dee30d9
2025-03-25 03:27:48,943 - INFO - Waiting for VM ctest-TestRoutersBasic-06481569-17183167 to be up..
2025-03-25 03:27:49,126 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-03-25 03:27:54,211 - DEBUG - VM is in ACTIVE state now
2025-03-25 03:27:54,212 - INFO - VM name : ctest-TestRoutersBasic-06481569-17183167
2025-03-25 03:27:54,298 - DEBUG - VM ctest-TestRoutersBasic-06481569-17183167 ID is dd653e4e-dc1b-43bf-9ccf-e093daf8ac31
2025-03-25 03:27:54,319 - DEBUG - VM ctest-TestRoutersBasic-06481569-17183167 launched on Node cn-jenkins-deploy-platform-ansible-os-2947-1
2025-03-25 03:27:54,411 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/dd653e4e-dc1b-43bf-9ccf-e093daf8ac31
2025-03-25 03:27:54,709 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/dd653e4e-dc1b-43bf-9ccf-e093daf8ac31
2025-03-25 03:27:54,757 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/b1a66597-6761-41d4-bdd8-ee6ad1c40ebc
2025-03-25 03:27:58,037 - 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 1023ms')
2025-03-25 03:27:58,037 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06481569-17183167 failed!
2025-03-25 03:27:58,095 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-06481569:ctest-vn-33112074 is 64.54.110.65 and allocation pool is NOT set
2025-03-25 03:28:00,163 - 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.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.420 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.420/2.280/4.141/1.860 ms')
2025-03-25 03:28:00,163 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06481569-17183167 passed
2025-03-25 03:28:00,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-25 03:28:00,275 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06481569-17183167, IP 64.54.110.67, Port 22
2025-03-25 03:28:00,445 - DEBUG - VM ctest-TestRoutersBasic-06481569-17183167 is ready for SSH connections
2025-03-25 03:28:00,445 - INFO - Waiting for VM ctest-TestRoutersBasic-06481569-72056353 to be up..
2025-03-25 03:28:00,529 - DEBUG - VM is in ACTIVE state now
2025-03-25 03:28:00,529 - INFO - VM name : ctest-TestRoutersBasic-06481569-72056353
2025-03-25 03:28:00,606 - DEBUG - VM ctest-TestRoutersBasic-06481569-72056353 ID is 5b81d777-621b-41fd-83a9-e784f4da57d0
2025-03-25 03:28:00,606 - DEBUG - VM ctest-TestRoutersBasic-06481569-72056353 launched on Node cn-jenkins-deploy-platform-ansible-os-2947-1
2025-03-25 03:28:00,679 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/5b81d777-621b-41fd-83a9-e784f4da57d0
2025-03-25 03:28:00,687 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/831325a7-7328-4aca-9632-c3f17bc2ceec
2025-03-25 03:28:01,936 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.543 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.543/1.797/3.051/1.254 ms')
2025-03-25 03:28:01,936 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-06481569-72056353 passed
2025-03-25 03:28:02,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-25 03:28:02,091 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06481569-72056353, IP 196.223.164.131, Port 22
2025-03-25 03:28:02,260 - DEBUG - VM ctest-TestRoutersBasic-06481569-72056353 is ready for SSH connections
2025-03-25 03:28:02,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-25 03:28:02,261 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.223.164.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123
2025-03-25 03:28:02,261 - DEBUG - ping -s 56 -c 3 -W 1 196.223.164.131
2025-03-25 03:28:06,277 - DEBUG - PING 196.223.164.131 (196.223.164.131): 56 data bytes
64 bytes from 196.223.164.131: seq=0 ttl=62 time=7.165 ms
64 bytes from 196.223.164.131: seq=1 ttl=62 time=1.200 ms
64 bytes from 196.223.164.131: seq=2 ttl=62 time=1.161 ms
--- 196.223.164.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.161/3.175/7.165 ms
2025-03-25 03:28:06,277 - INFO - Ping to IP 196.223.164.131 from VM ctest-TestRoutersBasic-06481569-17183167 passed
2025-03-25 03:28:06,277 - INFO - Deleting interface with subnet_id d8999e07-afff-42b6-b87b-f5e9744f5df8, port_id None from router 8757f3b5-8bb6-4b10-9c9c-f7749dee30d9
2025-03-25 03:28:06,468 - INFO - Deleting VM ctest-TestRoutersBasic-06481569-72056353
2025-03-25 03:28:06,548 - INFO - Deleting VM ctest-TestRoutersBasic-06481569-17183167
2025-03-25 03:28:06,629 - INFO - Deleting VN ctest-ext_vn-27456647
2025-03-25 03:28:06,695 - DEBUG - VN afbd45bb-4fd3-4f32-886b-e1d18138f784 still in use: Unable to complete operation on network afbd45bb-4fd3-4f32-886b-e1d18138f784. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c303d6ff-99fe-48d6-9fe4-a383ef3d9c49']
2025-03-25 03:28:06,696 - WARNING - Deleting VN ctest-ext_vn-27456647 failed..Will retry
2025-03-25 03:28:08,796 - DEBUG - Response for deleting network ()
2025-03-25 03:28:08,796 - INFO - Deleting VN ctest-vn-33112074
2025-03-25 03:28:08,904 - DEBUG - Response for deleting network ()
2025-03-25 03:28:09,161 - DEBUG - No XMPP flaps were noticed during the test
2025-03-25 03:28:09,161 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-03-25 03:28:09,162 - INFO - --------------------------------------------------------------------------------
2025-03-25 03:28:09,874 - INFO - Deleted project: ctest-TestRoutersBasic-06481569, ID : c81c9f50-6917-4b50-a4ee-b30a634e1bb1