2025-05-22 15:57:09,149 - INFO - Domain Default found not creating
2025-05-22 15:57:09,315 - INFO - Project ctest-TestRoutersBasic-57307561 not found, creating it
2025-05-22 15:57:09,785 - INFO - Created Project:ctest-TestRoutersBasic-57307561, ID : 91109161-7fdf-4d21-a7f1-80fc398a8277
2025-05-22 15:57:11,243 - INFO - ================================================================================
2025-05-22 15:57:11,243 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-05-22 15:57:11,243 - 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-22 15:57:11,502 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2025-05-22 15:57:11,502 - INFO - Initial checks done. Running the testcase now
2025-05-22 15:57:11,502 - INFO -
2025-05-22 15:57:12,206 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-57307561
2025-05-22 15:57:12,303 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-57307561
2025-05-22 15:57:12,635 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57307561', 'default']}
2025-05-22 15:57:12,937 - DEBUG - Response for create_network : {'network': {'id': 'a70ebabd-f16d-4ea2-af1f-8614aee83992', 'name': 'ctest-vn-29209167', 'tenant_id': '911091617fdf4d21a7f180fc398a8277', 'project_id': '911091617fdf4d21a7f180fc398a8277', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57307561', 'ctest-vn-29209167'], 'port_security_enabled': True, 'description': ''}}
2025-05-22 15:57:13,092 - DEBUG - Response for create_subnet : {'subnet': {'id': 'efd2a6cf-0be0-43ee-b07b-ff608d212e21', 'name': '', 'tenant_id': '911091617fdf4d21a7f180fc398a8277', 'network_id': 'a70ebabd-f16d-4ea2-af1f-8614aee83992', 'ip_version': 4, 'cidr': '113.208.46.0/26', 'allocation_pools': [{'start': '113.208.46.2', 'end': '113.208.46.62'}], 'gateway_ip': '113.208.46.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.208.46.2', 'tags': [], 'project_id': '911091617fdf4d21a7f180fc398a8277'}}
2025-05-22 15:57:13,111 - INFO - Created VN ctest-vn-29209167
2025-05-22 15:57:13,163 - DEBUG - VN ctest-vn-29209167 UUID is a70ebabd-f16d-4ea2-af1f-8614aee83992
2025-05-22 15:57:13,511 - DEBUG - Response for create_network : {'network': {'id': 'a916bdf0-09fe-47a0-9a82-5bb83b34b318', 'name': 'ctest-ext_vn-03616940', 'tenant_id': '911091617fdf4d21a7f180fc398a8277', 'project_id': '911091617fdf4d21a7f180fc398a8277', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57307561', 'ctest-ext_vn-03616940'], 'port_security_enabled': True, 'description': ''}}
2025-05-22 15:57:13,709 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b376f00-cfbc-489e-80d6-a58a6b9a9137', 'name': '', 'tenant_id': '911091617fdf4d21a7f180fc398a8277', 'network_id': 'a916bdf0-09fe-47a0-9a82-5bb83b34b318', 'ip_version': 4, 'cidr': '168.109.250.192/26', 'allocation_pools': [{'start': '168.109.250.194', 'end': '168.109.250.254'}], 'gateway_ip': '168.109.250.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.109.250.194', 'tags': [], 'project_id': '911091617fdf4d21a7f180fc398a8277'}}
2025-05-22 15:57:13,727 - INFO - Created VN ctest-ext_vn-03616940
2025-05-22 15:57:13,779 - DEBUG - VN ctest-ext_vn-03616940 UUID is a916bdf0-09fe-47a0-9a82-5bb83b34b318
2025-05-22 15:57:13,947 - DEBUG - Services list from nova: [, , ]
2025-05-22 15:57:14,974 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3333-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3333-1)
2025-05-22 15:57:16,203 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3333-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3333-1)
2025-05-22 15:57:16,291 - INFO - Setting gateway for router 46e27762-fd1f-4d21-aaa0-efb71da33d69 to network a916bdf0-09fe-47a0-9a82-5bb83b34b318
2025-05-22 15:57:16,369 - INFO - Adding interface with subnet_id efd2a6cf-0be0-43ee-b07b-ff608d212e21, port_id None to router 46e27762-fd1f-4d21-aaa0-efb71da33d69
2025-05-22 15:57:16,919 - INFO - Waiting for VM ctest-TestRoutersBasic-57307561-65958079 to be up..
2025-05-22 15:57:17,081 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-05-22 15:57:22,160 - DEBUG - VM is in ACTIVE state now
2025-05-22 15:57:22,160 - INFO - VM name : ctest-TestRoutersBasic-57307561-65958079
2025-05-22 15:57:22,239 - DEBUG - VM ctest-TestRoutersBasic-57307561-65958079 ID is c5bfa26d-b421-4e4f-9ffc-5ad82c83eb14
2025-05-22 15:57:22,256 - DEBUG - VM ctest-TestRoutersBasic-57307561-65958079 launched on Node cn-jenkins-deploy-platform-ansible-os-3333-1
2025-05-22 15:57:22,334 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c5bfa26d-b421-4e4f-9ffc-5ad82c83eb14
2025-05-22 15:57:22,631 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c5bfa26d-b421-4e4f-9ffc-5ad82c83eb14
2025-05-22 15:57:22,666 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/67b929b7-ffcc-4823-885a-525fd96cad4c
2025-05-22 15:57:25,930 - 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 1018ms')
2025-05-22 15:57:25,930 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57307561-65958079 failed!
2025-05-22 15:57:25,987 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-57307561:ctest-vn-29209167 is 113.208.46.1 and allocation pool is NOT set
2025-05-22 15:57:28,044 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.452 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.452/2.130/3.809/1.678 ms')
2025-05-22 15:57:28,044 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57307561-65958079 passed
2025-05-22 15:57:28,199 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-22 15:57:28,200 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57307561-65958079, IP 113.208.46.3, Port 22
2025-05-22 15:57:28,366 - DEBUG - VM ctest-TestRoutersBasic-57307561-65958079 is ready for SSH connections
2025-05-22 15:57:28,366 - INFO - Waiting for VM ctest-TestRoutersBasic-57307561-50827197 to be up..
2025-05-22 15:57:28,449 - DEBUG - VM is in ACTIVE state now
2025-05-22 15:57:28,449 - INFO - VM name : ctest-TestRoutersBasic-57307561-50827197
2025-05-22 15:57:28,533 - DEBUG - VM ctest-TestRoutersBasic-57307561-50827197 ID is 78c862b2-e220-4ba2-ad21-1fab7fc8a472
2025-05-22 15:57:28,533 - DEBUG - VM ctest-TestRoutersBasic-57307561-50827197 launched on Node cn-jenkins-deploy-platform-ansible-os-3333-1
2025-05-22 15:57:28,621 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/78c862b2-e220-4ba2-ad21-1fab7fc8a472
2025-05-22 15:57:28,631 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d4bb789a-7c57-4a3a-b390-80196d89620b
2025-05-22 15:57:29,876 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.397 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.397/1.589/2.781/1.192 ms')
2025-05-22 15:57:29,876 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-57307561-50827197 passed
2025-05-22 15:57:30,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-22 15:57:30,031 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57307561-50827197, IP 168.109.250.195, Port 22
2025-05-22 15:57:30,187 - DEBUG - VM ctest-TestRoutersBasic-57307561-50827197 is ready for SSH connections
2025-05-22 15:57:30,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-05-22 15:57:30,187 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.109.250.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-05-22 15:57:30,187 - DEBUG - ping -s 56 -c 3 -W 1 168.109.250.195
2025-05-22 15:57:34,203 - DEBUG - PING 168.109.250.195 (168.109.250.195): 56 data bytes
64 bytes from 168.109.250.195: seq=0 ttl=62 time=7.720 ms
64 bytes from 168.109.250.195: seq=1 ttl=62 time=1.234 ms
64 bytes from 168.109.250.195: seq=2 ttl=62 time=0.906 ms
--- 168.109.250.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.906/3.286/7.720 ms
2025-05-22 15:57:34,203 - INFO - Ping to IP 168.109.250.195 from VM ctest-TestRoutersBasic-57307561-65958079 passed
2025-05-22 15:57:34,203 - INFO - Deleting interface with subnet_id efd2a6cf-0be0-43ee-b07b-ff608d212e21, port_id None from router 46e27762-fd1f-4d21-aaa0-efb71da33d69
2025-05-22 15:57:34,480 - INFO - Deleting VM ctest-TestRoutersBasic-57307561-50827197
2025-05-22 15:57:34,586 - INFO - Deleting VM ctest-TestRoutersBasic-57307561-65958079
2025-05-22 15:57:34,674 - INFO - Deleting VN ctest-ext_vn-03616940
2025-05-22 15:57:34,767 - DEBUG - VN a916bdf0-09fe-47a0-9a82-5bb83b34b318 still in use: Unable to complete operation on network a916bdf0-09fe-47a0-9a82-5bb83b34b318. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f509b752-13ae-49ab-b43d-7d3cb277ccc7']
2025-05-22 15:57:34,767 - WARNING - Deleting VN ctest-ext_vn-03616940 failed..Will retry
2025-05-22 15:57:36,878 - DEBUG - Response for deleting network ()
2025-05-22 15:57:36,878 - INFO - Deleting VN ctest-vn-29209167
2025-05-22 15:57:36,978 - DEBUG - Response for deleting network ()
2025-05-22 15:57:37,233 - DEBUG - No XMPP flaps were noticed during the test
2025-05-22 15:57:37,233 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-05-22 15:57:37,233 - INFO - --------------------------------------------------------------------------------
2025-05-22 15:57:37,907 - INFO - Deleted project: ctest-TestRoutersBasic-57307561, ID : 91109161-7fdf-4d21-a7f1-80fc398a8277