2025-04-04 15:04:24,012 - INFO - Domain Default found not creating
2025-04-04 15:04:24,210 - INFO - Project ctest-TestRoutersBasic-14758573 not found, creating it
2025-04-04 15:04:24,690 - INFO - Created Project:ctest-TestRoutersBasic-14758573, ID : 2188224e-f991-40bb-b2ca-599dfe3ac016
2025-04-04 15:04:26,181 - INFO - ================================================================================
2025-04-04 15:04:26,181 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-04-04 15:04:26,182 - 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-04 15:04:26,438 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.7': '0'}} with
2025-04-04 15:04:26,438 - INFO - Initial checks done. Running the testcase now
2025-04-04 15:04:26,438 - INFO -
2025-04-04 15:04:27,165 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-14758573
2025-04-04 15:04:27,272 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-14758573
2025-04-04 15:04:27,607 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14758573', 'default']}
2025-04-04 15:04:27,955 - DEBUG - Response for create_network : {'network': {'id': '3db9b46d-8135-4918-a367-f6e877b3bfc3', 'name': 'ctest-vn-26107002', 'tenant_id': '2188224ef99140bbb2ca599dfe3ac016', 'project_id': '2188224ef99140bbb2ca599dfe3ac016', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14758573', 'ctest-vn-26107002'], 'port_security_enabled': True, 'description': ''}}
2025-04-04 15:04:28,145 - DEBUG - Response for create_subnet : {'subnet': {'id': '5679119f-497a-48ae-8307-fd3640c909ef', 'name': '', 'tenant_id': '2188224ef99140bbb2ca599dfe3ac016', 'network_id': '3db9b46d-8135-4918-a367-f6e877b3bfc3', 'ip_version': 4, 'cidr': '11.160.163.0/26', 'allocation_pools': [{'start': '11.160.163.2', 'end': '11.160.163.62'}], 'gateway_ip': '11.160.163.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.160.163.2', 'tags': [], 'project_id': '2188224ef99140bbb2ca599dfe3ac016'}}
2025-04-04 15:04:28,165 - INFO - Created VN ctest-vn-26107002
2025-04-04 15:04:28,219 - DEBUG - VN ctest-vn-26107002 UUID is 3db9b46d-8135-4918-a367-f6e877b3bfc3
2025-04-04 15:04:28,571 - DEBUG - Response for create_network : {'network': {'id': 'c548b2e9-99a5-4a44-8ea3-2b69b2292f4d', 'name': 'ctest-ext_vn-59493263', 'tenant_id': '2188224ef99140bbb2ca599dfe3ac016', 'project_id': '2188224ef99140bbb2ca599dfe3ac016', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14758573', 'ctest-ext_vn-59493263'], 'port_security_enabled': True, 'description': ''}}
2025-04-04 15:04:28,774 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dfa56926-2842-4d31-8eb3-e05b74f73a9a', 'name': '', 'tenant_id': '2188224ef99140bbb2ca599dfe3ac016', 'network_id': 'c548b2e9-99a5-4a44-8ea3-2b69b2292f4d', 'ip_version': 4, 'cidr': '223.226.16.128/26', 'allocation_pools': [{'start': '223.226.16.130', 'end': '223.226.16.190'}], 'gateway_ip': '223.226.16.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.226.16.130', 'tags': [], 'project_id': '2188224ef99140bbb2ca599dfe3ac016'}}
2025-04-04 15:04:28,794 - INFO - Created VN ctest-ext_vn-59493263
2025-04-04 15:04:28,847 - DEBUG - VN ctest-ext_vn-59493263 UUID is c548b2e9-99a5-4a44-8ea3-2b69b2292f4d
2025-04-04 15:04:29,015 - DEBUG - Services list from nova: [, , ]
2025-04-04 15:04:30,047 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3033-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3033-1)
2025-04-04 15:04:31,316 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3033-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3033-1)
2025-04-04 15:04:31,421 - INFO - Setting gateway for router 9b47519e-7e18-4fce-8dc8-5425a2151ff8 to network c548b2e9-99a5-4a44-8ea3-2b69b2292f4d
2025-04-04 15:04:31,537 - INFO - Adding interface with subnet_id 5679119f-497a-48ae-8307-fd3640c909ef, port_id None to router 9b47519e-7e18-4fce-8dc8-5425a2151ff8
2025-04-04 15:04:32,044 - INFO - Waiting for VM ctest-TestRoutersBasic-14758573-17520243 to be up..
2025-04-04 15:04:32,340 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-04 15:04:37,422 - DEBUG - VM is in ACTIVE state now
2025-04-04 15:04:37,422 - INFO - VM name : ctest-TestRoutersBasic-14758573-17520243
2025-04-04 15:04:37,508 - DEBUG - VM ctest-TestRoutersBasic-14758573-17520243 ID is 77d8eda1-8d40-4a70-8549-f12f7f86ae51
2025-04-04 15:04:37,534 - DEBUG - VM ctest-TestRoutersBasic-14758573-17520243 launched on Node cn-jenkins-deploy-platform-ansible-os-3033-1
2025-04-04 15:04:37,630 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/77d8eda1-8d40-4a70-8549-f12f7f86ae51
2025-04-04 15:04:37,924 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/77d8eda1-8d40-4a70-8549-f12f7f86ae51
2025-04-04 15:04:37,963 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/ede9d049-d807-45ec-8045-bed85d06377a
2025-04-04 15:04:41,241 - 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 1027ms')
2025-04-04 15:04:41,241 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-14758573-17520243 failed!
2025-04-04 15:04:41,295 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-14758573:ctest-vn-26107002 is 11.160.163.1 and allocation pool is NOT set
2025-04-04 15:04:43,363 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.02 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 = 1.023/2.355/3.687/1.332 ms')
2025-04-04 15:04:43,364 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-14758573-17520243 passed
2025-04-04 15:04:43,528 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-04 15:04:43,528 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14758573-17520243, IP 11.160.163.3, Port 22
2025-04-04 15:04:43,697 - DEBUG - VM ctest-TestRoutersBasic-14758573-17520243 is ready for SSH connections
2025-04-04 15:04:43,697 - INFO - Waiting for VM ctest-TestRoutersBasic-14758573-96621286 to be up..
2025-04-04 15:04:43,800 - DEBUG - VM is in ACTIVE state now
2025-04-04 15:04:43,800 - INFO - VM name : ctest-TestRoutersBasic-14758573-96621286
2025-04-04 15:04:43,883 - DEBUG - VM ctest-TestRoutersBasic-14758573-96621286 ID is 80ed6b16-89c6-4627-88ba-b6cb0cc16104
2025-04-04 15:04:43,884 - DEBUG - VM ctest-TestRoutersBasic-14758573-96621286 launched on Node cn-jenkins-deploy-platform-ansible-os-3033-1
2025-04-04 15:04:43,972 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/80ed6b16-89c6-4627-88ba-b6cb0cc16104
2025-04-04 15:04:43,983 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/e377b5e4-6bac-4a90-8fd2-0694ae32463f
2025-04-04 15:04:45,233 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.513 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.513/1.717/2.921/1.204 ms')
2025-04-04 15:04:45,233 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-14758573-96621286 passed
2025-04-04 15:04:45,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-04 15:04:45,392 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14758573-96621286, IP 223.226.16.131, Port 22
2025-04-04 15:04:45,561 - DEBUG - VM ctest-TestRoutersBasic-14758573-96621286 is ready for SSH connections
2025-04-04 15:04:45,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-04 15:04:45,562 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.226.16.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123
2025-04-04 15:04:45,562 - DEBUG - ping -s 56 -c 3 -W 1 223.226.16.131
2025-04-04 15:04:49,250 - DEBUG - PING 223.226.16.131 (223.226.16.131): 56 data bytes
64 bytes from 223.226.16.131: seq=0 ttl=62 time=5.172 ms
64 bytes from 223.226.16.131: seq=1 ttl=62 time=1.205 ms
64 bytes from 223.226.16.131: seq=2 ttl=62 time=1.005 ms
--- 223.226.16.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.005/2.460/5.172 ms
2025-04-04 15:04:49,250 - INFO - Ping to IP 223.226.16.131 from VM ctest-TestRoutersBasic-14758573-17520243 passed
2025-04-04 15:04:49,251 - INFO - Deleting interface with subnet_id 5679119f-497a-48ae-8307-fd3640c909ef, port_id None from router 9b47519e-7e18-4fce-8dc8-5425a2151ff8
2025-04-04 15:04:49,498 - INFO - Deleting VM ctest-TestRoutersBasic-14758573-96621286
2025-04-04 15:04:49,567 - INFO - Deleting VM ctest-TestRoutersBasic-14758573-17520243
2025-04-04 15:04:49,660 - INFO - Deleting VN ctest-ext_vn-59493263
2025-04-04 15:04:49,739 - DEBUG - VN c548b2e9-99a5-4a44-8ea3-2b69b2292f4d still in use: Unable to complete operation on network c548b2e9-99a5-4a44-8ea3-2b69b2292f4d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-61691ed5-0263-45b0-bf89-b87505f21a65']
2025-04-04 15:04:49,739 - WARNING - Deleting VN ctest-ext_vn-59493263 failed..Will retry
2025-04-04 15:04:51,874 - DEBUG - Response for deleting network ()
2025-04-04 15:04:51,874 - INFO - Deleting VN ctest-vn-26107002
2025-04-04 15:04:52,004 - DEBUG - Response for deleting network ()
2025-04-04 15:04:52,257 - DEBUG - No XMPP flaps were noticed during the test
2025-04-04 15:04:52,257 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-04 15:04:52,257 - INFO - --------------------------------------------------------------------------------
2025-04-04 15:04:52,989 - INFO - Deleted project: ctest-TestRoutersBasic-14758573, ID : 2188224e-f991-40bb-b2ca-599dfe3ac016