2025-03-30 21:00:47,044 - INFO - Domain Default found not creating
2025-03-30 21:00:47,207 - INFO - Project ctest-TestRoutersBasic-81652257 not found, creating it
2025-03-30 21:00:47,694 - INFO - Created Project:ctest-TestRoutersBasic-81652257, ID : a4859687-a8d2-4a07-a9d6-1fc173bf054f
2025-03-30 21:00:49,189 - INFO - ================================================================================
2025-03-30 21:00:49,189 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-03-30 21:00:49,189 - 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-30 21:00:49,448 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.11': '0'}} with
2025-03-30 21:00:49,448 - INFO - Initial checks done. Running the testcase now
2025-03-30 21:00:49,448 - INFO -
2025-03-30 21:00:50,560 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-81652257
2025-03-30 21:00:50,665 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-81652257
2025-03-30 21:00:50,997 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81652257', 'default']}
2025-03-30 21:00:51,294 - DEBUG - Response for create_network : {'network': {'id': '01aed166-e1b9-4787-a703-0269cfd8eefc', 'name': 'ctest-vn-89114412', 'tenant_id': 'a4859687a8d24a07a9d61fc173bf054f', 'project_id': 'a4859687a8d24a07a9d61fc173bf054f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81652257', 'ctest-vn-89114412'], 'port_security_enabled': True, 'description': ''}}
2025-03-30 21:00:51,487 - DEBUG - Response for create_subnet : {'subnet': {'id': '1951c2d2-3e5c-4474-a3f0-59e25b48fbf0', 'name': '', 'tenant_id': 'a4859687a8d24a07a9d61fc173bf054f', 'network_id': '01aed166-e1b9-4787-a703-0269cfd8eefc', 'ip_version': 4, 'cidr': '73.155.164.0/26', 'allocation_pools': [{'start': '73.155.164.2', 'end': '73.155.164.62'}], 'gateway_ip': '73.155.164.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.155.164.2', 'tags': [], 'project_id': 'a4859687a8d24a07a9d61fc173bf054f'}}
2025-03-30 21:00:51,506 - INFO - Created VN ctest-vn-89114412
2025-03-30 21:00:51,561 - DEBUG - VN ctest-vn-89114412 UUID is 01aed166-e1b9-4787-a703-0269cfd8eefc
2025-03-30 21:00:51,904 - DEBUG - Response for create_network : {'network': {'id': '3d797090-bf07-49b2-b971-78f5fb7a4c29', 'name': 'ctest-ext_vn-03234602', 'tenant_id': 'a4859687a8d24a07a9d61fc173bf054f', 'project_id': 'a4859687a8d24a07a9d61fc173bf054f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81652257', 'ctest-ext_vn-03234602'], 'port_security_enabled': True, 'description': ''}}
2025-03-30 21:00:52,091 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e123e92b-c793-49f6-a6b6-668f9c2f77db', 'name': '', 'tenant_id': 'a4859687a8d24a07a9d61fc173bf054f', 'network_id': '3d797090-bf07-49b2-b971-78f5fb7a4c29', 'ip_version': 4, 'cidr': '88.56.57.128/26', 'allocation_pools': [{'start': '88.56.57.130', 'end': '88.56.57.190'}], 'gateway_ip': '88.56.57.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.56.57.130', 'tags': [], 'project_id': 'a4859687a8d24a07a9d61fc173bf054f'}}
2025-03-30 21:00:52,113 - INFO - Created VN ctest-ext_vn-03234602
2025-03-30 21:00:52,169 - DEBUG - VN ctest-ext_vn-03234602 UUID is 3d797090-bf07-49b2-b971-78f5fb7a4c29
2025-03-30 21:00:52,350 - DEBUG - Services list from nova: [, , ]
2025-03-30 21:00:53,429 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3009-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3009-1)
2025-03-30 21:00:54,661 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3009-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3009-1)
2025-03-30 21:00:54,760 - INFO - Setting gateway for router caeefe82-44d3-46b0-a11c-8c016d40100e to network 3d797090-bf07-49b2-b971-78f5fb7a4c29
2025-03-30 21:00:54,847 - INFO - Adding interface with subnet_id 1951c2d2-3e5c-4474-a3f0-59e25b48fbf0, port_id None to router caeefe82-44d3-46b0-a11c-8c016d40100e
2025-03-30 21:00:55,405 - INFO - Waiting for VM ctest-TestRoutersBasic-81652257-62410299 to be up..
2025-03-30 21:00:55,628 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-03-30 21:01:00,727 - DEBUG - VM is in ACTIVE state now
2025-03-30 21:01:00,727 - INFO - VM name : ctest-TestRoutersBasic-81652257-62410299
2025-03-30 21:01:00,838 - DEBUG - VM ctest-TestRoutersBasic-81652257-62410299 ID is 01af0fbc-677d-40dc-b03e-8db1e6dbdd8e
2025-03-30 21:01:00,873 - DEBUG - VM ctest-TestRoutersBasic-81652257-62410299 launched on Node cn-jenkins-deploy-platform-ansible-os-3009-1
2025-03-30 21:01:00,971 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/01af0fbc-677d-40dc-b03e-8db1e6dbdd8e
2025-03-30 21:01:01,384 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/01af0fbc-677d-40dc-b03e-8db1e6dbdd8e
2025-03-30 21:01:01,422 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/02b3c730-a728-4da5-b1cf-2e9edcff045c
2025-03-30 21:01:04,672 - 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-03-30 21:01:04,672 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81652257-62410299 failed!
2025-03-30 21:01:04,729 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-81652257:ctest-vn-89114412 is 73.155.164.1 and allocation pool is NOT set
2025-03-30 21:01:06,794 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.414 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.414/1.518/2.623/1.104 ms')
2025-03-30 21:01:06,794 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81652257-62410299 passed
2025-03-30 21:01:06,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-30 21:01:06,953 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81652257-62410299, IP 73.155.164.3, Port 22
2025-03-30 21:01:07,112 - DEBUG - VM ctest-TestRoutersBasic-81652257-62410299 is ready for SSH connections
2025-03-30 21:01:07,112 - INFO - Waiting for VM ctest-TestRoutersBasic-81652257-09533348 to be up..
2025-03-30 21:01:07,204 - DEBUG - VM is in ACTIVE state now
2025-03-30 21:01:07,205 - INFO - VM name : ctest-TestRoutersBasic-81652257-09533348
2025-03-30 21:01:07,284 - DEBUG - VM ctest-TestRoutersBasic-81652257-09533348 ID is 2a9551b2-582e-4771-8455-b3210ddce3b4
2025-03-30 21:01:07,284 - DEBUG - VM ctest-TestRoutersBasic-81652257-09533348 launched on Node cn-jenkins-deploy-platform-ansible-os-3009-1
2025-03-30 21:01:07,366 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2a9551b2-582e-4771-8455-b3210ddce3b4
2025-03-30 21:01:07,376 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c18777b7-7e2a-428c-9cc3-a1d71666364e
2025-03-30 21:01:08,622 - 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=4.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.32 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 = 1.324/3.024/4.725/1.700 ms')
2025-03-30 21:01:08,622 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-81652257-09533348 passed
2025-03-30 21:01:08,777 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-30 21:01:08,777 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81652257-09533348, IP 88.56.57.131, Port 22
2025-03-30 21:01:08,944 - DEBUG - VM ctest-TestRoutersBasic-81652257-09533348 is ready for SSH connections
2025-03-30 21:01:08,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-03-30 21:01:08,944 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.56.57.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-03-30 21:01:08,945 - DEBUG - ping -s 56 -c 3 -W 1 88.56.57.131
2025-03-30 21:01:13,009 - DEBUG - PING 88.56.57.131 (88.56.57.131): 56 data bytes
64 bytes from 88.56.57.131: seq=0 ttl=62 time=5.771 ms
64 bytes from 88.56.57.131: seq=1 ttl=62 time=1.025 ms
64 bytes from 88.56.57.131: seq=2 ttl=62 time=1.233 ms
--- 88.56.57.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.025/2.676/5.771 ms
2025-03-30 21:01:13,009 - INFO - Ping to IP 88.56.57.131 from VM ctest-TestRoutersBasic-81652257-62410299 passed
2025-03-30 21:01:13,009 - INFO - Deleting interface with subnet_id 1951c2d2-3e5c-4474-a3f0-59e25b48fbf0, port_id None from router caeefe82-44d3-46b0-a11c-8c016d40100e
2025-03-30 21:01:13,252 - INFO - Deleting VM ctest-TestRoutersBasic-81652257-09533348
2025-03-30 21:01:13,334 - INFO - Deleting VM ctest-TestRoutersBasic-81652257-62410299
2025-03-30 21:01:13,431 - INFO - Deleting VN ctest-ext_vn-03234602
2025-03-30 21:01:13,525 - DEBUG - VN 3d797090-bf07-49b2-b971-78f5fb7a4c29 still in use: Unable to complete operation on network 3d797090-bf07-49b2-b971-78f5fb7a4c29. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-7695c130-ed7c-4112-827a-e2b13738dddf']
2025-03-30 21:01:13,525 - WARNING - Deleting VN ctest-ext_vn-03234602 failed..Will retry
2025-03-30 21:01:15,649 - DEBUG - Response for deleting network ()
2025-03-30 21:01:15,650 - INFO - Deleting VN ctest-vn-89114412
2025-03-30 21:01:15,793 - DEBUG - Response for deleting network ()
2025-03-30 21:01:16,055 - DEBUG - No XMPP flaps were noticed during the test
2025-03-30 21:01:16,055 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-03-30 21:01:16,056 - INFO - --------------------------------------------------------------------------------
2025-03-30 21:01:16,718 - INFO - Deleted project: ctest-TestRoutersBasic-81652257, ID : a4859687-a8d2-4a07-a9d6-1fc173bf054f