2025-05-29 02:33:05,267 - INFO - Domain Default found not creating
2025-05-29 02:33:05,407 - INFO - Project ctest-TestRoutersBasic-40615390 not found, creating it
2025-05-29 02:33:05,848 - INFO - Created Project:ctest-TestRoutersBasic-40615390, ID : 0fe5db77-7b9c-47dc-b50d-27ac6883b965
2025-05-29 02:33:07,225 - INFO - ================================================================================
2025-05-29 02:33:07,225 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-05-29 02:33:07,225 - 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-29 02:33:07,484 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-05-29 02:33:07,484 - INFO - Initial checks done. Running the testcase now
2025-05-29 02:33:07,484 - INFO -
2025-05-29 02:33:08,165 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-40615390
2025-05-29 02:33:08,262 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-40615390
2025-05-29 02:33:08,586 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40615390', 'default']}
2025-05-29 02:33:08,867 - DEBUG - Response for create_network : {'network': {'id': '7e5eb4bf-477c-44a8-8633-ade0319903cb', 'name': 'ctest-vn-97575444', 'tenant_id': '0fe5db777b9c47dcb50d27ac6883b965', 'project_id': '0fe5db777b9c47dcb50d27ac6883b965', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40615390', 'ctest-vn-97575444'], 'port_security_enabled': True, 'description': ''}}
2025-05-29 02:33:09,128 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b94c312e-f78c-4ce5-95b5-728a7cb5409d', 'name': '', 'tenant_id': '0fe5db777b9c47dcb50d27ac6883b965', 'network_id': '7e5eb4bf-477c-44a8-8633-ade0319903cb', 'ip_version': 4, 'cidr': '95.254.93.0/26', 'allocation_pools': [{'start': '95.254.93.2', 'end': '95.254.93.62'}], 'gateway_ip': '95.254.93.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.254.93.2', 'tags': [], 'project_id': '0fe5db777b9c47dcb50d27ac6883b965'}}
2025-05-29 02:33:09,147 - INFO - Created VN ctest-vn-97575444
2025-05-29 02:33:09,202 - DEBUG - VN ctest-vn-97575444 UUID is 7e5eb4bf-477c-44a8-8633-ade0319903cb
2025-05-29 02:33:09,550 - DEBUG - Response for create_network : {'network': {'id': '62adf2db-da97-4df2-a770-8b7e1382a172', 'name': 'ctest-ext_vn-95571128', 'tenant_id': '0fe5db777b9c47dcb50d27ac6883b965', 'project_id': '0fe5db777b9c47dcb50d27ac6883b965', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40615390', 'ctest-ext_vn-95571128'], 'port_security_enabled': True, 'description': ''}}
2025-05-29 02:33:09,693 - DEBUG - Response for create_subnet : {'subnet': {'id': '166d553e-b987-429d-88ce-683af1aeae17', 'name': '', 'tenant_id': '0fe5db777b9c47dcb50d27ac6883b965', 'network_id': '62adf2db-da97-4df2-a770-8b7e1382a172', 'ip_version': 4, 'cidr': '58.86.96.0/26', 'allocation_pools': [{'start': '58.86.96.2', 'end': '58.86.96.62'}], 'gateway_ip': '58.86.96.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.86.96.2', 'tags': [], 'project_id': '0fe5db777b9c47dcb50d27ac6883b965'}}
2025-05-29 02:33:09,710 - INFO - Created VN ctest-ext_vn-95571128
2025-05-29 02:33:09,762 - DEBUG - VN ctest-ext_vn-95571128 UUID is 62adf2db-da97-4df2-a770-8b7e1382a172
2025-05-29 02:33:09,969 - DEBUG - Services list from nova: [, , ]
2025-05-29 02:33:10,974 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3362-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3362-1)
2025-05-29 02:33:12,068 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3362-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3362-1)
2025-05-29 02:33:12,153 - INFO - Setting gateway for router 3e61d695-696a-48a0-af30-2e3fe49f5a8c to network 62adf2db-da97-4df2-a770-8b7e1382a172
2025-05-29 02:33:12,221 - INFO - Adding interface with subnet_id b94c312e-f78c-4ce5-95b5-728a7cb5409d, port_id None to router 3e61d695-696a-48a0-af30-2e3fe49f5a8c
2025-05-29 02:33:12,669 - INFO - Waiting for VM ctest-TestRoutersBasic-40615390-72190866 to be up..
2025-05-29 02:33:12,813 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-05-29 02:33:17,895 - DEBUG - VM is in ACTIVE state now
2025-05-29 02:33:17,895 - INFO - VM name : ctest-TestRoutersBasic-40615390-72190866
2025-05-29 02:33:17,971 - DEBUG - VM ctest-TestRoutersBasic-40615390-72190866 ID is 84713420-a84d-436e-be9b-3f9586b0990f
2025-05-29 02:33:17,990 - DEBUG - VM ctest-TestRoutersBasic-40615390-72190866 launched on Node cn-jenkins-deploy-platform-ansible-os-3362-1
2025-05-29 02:33:18,059 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/84713420-a84d-436e-be9b-3f9586b0990f
2025-05-29 02:33:18,348 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/84713420-a84d-436e-be9b-3f9586b0990f
2025-05-29 02:33:18,377 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3da68576-8be6-4e9a-870d-22e767e4cc9a
2025-05-29 02:33:21,632 - 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-05-29 02:33:21,632 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40615390-72190866 failed!
2025-05-29 02:33:21,690 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-40615390:ctest-vn-97575444 is 95.254.93.1 and allocation pool is NOT set
2025-05-29 02:33:23,749 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.346 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.346/1.516/2.687/1.170 ms')
2025-05-29 02:33:23,749 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40615390-72190866 passed
2025-05-29 02:33:23,898 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-29 02:33:23,898 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40615390-72190866, IP 95.254.93.3, Port 22
2025-05-29 02:33:24,049 - DEBUG - VM ctest-TestRoutersBasic-40615390-72190866 is ready for SSH connections
2025-05-29 02:33:24,050 - INFO - Waiting for VM ctest-TestRoutersBasic-40615390-06090133 to be up..
2025-05-29 02:33:24,119 - DEBUG - VM is in ACTIVE state now
2025-05-29 02:33:24,119 - INFO - VM name : ctest-TestRoutersBasic-40615390-06090133
2025-05-29 02:33:24,191 - DEBUG - VM ctest-TestRoutersBasic-40615390-06090133 ID is 98f2a96c-3b48-4c10-a5fe-5bbc98a380cf
2025-05-29 02:33:24,191 - DEBUG - VM ctest-TestRoutersBasic-40615390-06090133 launched on Node cn-jenkins-deploy-platform-ansible-os-3362-1
2025-05-29 02:33:24,258 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/98f2a96c-3b48-4c10-a5fe-5bbc98a380cf
2025-05-29 02:33:24,266 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/47805fcf-b073-47f4-8820-54ed6fb1e933
2025-05-29 02:33:25,500 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.330 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.330/1.524/2.718/1.194 ms')
2025-05-29 02:33:25,500 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-40615390-06090133 passed
2025-05-29 02:33:25,658 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-29 02:33:25,658 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40615390-06090133, IP 58.86.96.3, Port 22
2025-05-29 02:33:25,818 - DEBUG - VM ctest-TestRoutersBasic-40615390-06090133 is ready for SSH connections
2025-05-29 02:33:25,818 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-29 02:33:25,818 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.86.96.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-05-29 02:33:25,818 - DEBUG - ping -s 56 -c 3 -W 1 58.86.96.3
2025-05-29 02:33:29,829 - DEBUG - PING 58.86.96.3 (58.86.96.3): 56 data bytes
64 bytes from 58.86.96.3: seq=0 ttl=62 time=4.847 ms
64 bytes from 58.86.96.3: seq=1 ttl=62 time=0.745 ms
64 bytes from 58.86.96.3: seq=2 ttl=62 time=0.762 ms
--- 58.86.96.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.745/2.118/4.847 ms
2025-05-29 02:33:29,829 - INFO - Ping to IP 58.86.96.3 from VM ctest-TestRoutersBasic-40615390-72190866 passed
2025-05-29 02:33:29,829 - INFO - Deleting interface with subnet_id b94c312e-f78c-4ce5-95b5-728a7cb5409d, port_id None from router 3e61d695-696a-48a0-af30-2e3fe49f5a8c
2025-05-29 02:33:30,058 - INFO - Deleting VM ctest-TestRoutersBasic-40615390-06090133
2025-05-29 02:33:30,125 - INFO - Deleting VM ctest-TestRoutersBasic-40615390-72190866
2025-05-29 02:33:30,229 - INFO - Deleting VN ctest-ext_vn-95571128
2025-05-29 02:33:30,299 - DEBUG - VN 62adf2db-da97-4df2-a770-8b7e1382a172 still in use: Unable to complete operation on network 62adf2db-da97-4df2-a770-8b7e1382a172. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-54b0781d-11d4-4cdd-bc68-a23dae0626bf']
2025-05-29 02:33:30,299 - WARNING - Deleting VN ctest-ext_vn-95571128 failed..Will retry
2025-05-29 02:33:32,392 - DEBUG - Response for deleting network ()
2025-05-29 02:33:32,392 - INFO - Deleting VN ctest-vn-97575444
2025-05-29 02:33:32,484 - DEBUG - Response for deleting network ()
2025-05-29 02:33:32,739 - DEBUG - No XMPP flaps were noticed during the test
2025-05-29 02:33:32,739 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-05-29 02:33:32,739 - INFO - --------------------------------------------------------------------------------
2025-05-29 02:33:33,381 - INFO - Deleted project: ctest-TestRoutersBasic-40615390, ID : 0fe5db77-7b9c-47dc-b50d-27ac6883b965