2025-04-23 16:55:23,435 - INFO - Domain Default found not creating 2025-04-23 16:55:23,540 - INFO - Project ctest-TestRoutersBasic-38372515 not found, creating it 2025-04-23 16:55:24,024 - INFO - Created Project:ctest-TestRoutersBasic-38372515, ID : 3b90070b-6c34-4e9e-9b8f-d0081b3b53fa 2025-04-23 16:55:25,169 - INFO - ================================================================================ 2025-04-23 16:55:25,169 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-23 16:55:25,169 - 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-23 16:55:25,421 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-04-23 16:55:25,421 - INFO - Initial checks done. Running the testcase now 2025-04-23 16:55:25,421 - INFO - 2025-04-23 16:55:26,010 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-38372515 2025-04-23 16:55:26,108 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-38372515 2025-04-23 16:55:26,408 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38372515', 'default']} 2025-04-23 16:55:26,654 - DEBUG - Response for create_network : {'network': {'id': '4cbb2148-0b41-4309-8811-0d442e7bf803', 'name': 'ctest-vn-73698619', 'tenant_id': '3b90070b6c344e9e9b8fd0081b3b53fa', 'project_id': '3b90070b6c344e9e9b8fd0081b3b53fa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38372515', 'ctest-vn-73698619'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 16:55:26,793 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7bacd6b-ea07-4aef-b690-79a7b7ecfae5', 'name': '', 'tenant_id': '3b90070b6c344e9e9b8fd0081b3b53fa', 'network_id': '4cbb2148-0b41-4309-8811-0d442e7bf803', 'ip_version': 4, 'cidr': '210.162.86.0/26', 'allocation_pools': [{'start': '210.162.86.2', 'end': '210.162.86.62'}], 'gateway_ip': '210.162.86.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.162.86.2', 'tags': [], 'project_id': '3b90070b6c344e9e9b8fd0081b3b53fa'}} 2025-04-23 16:55:26,807 - INFO - Created VN ctest-vn-73698619 2025-04-23 16:55:26,856 - DEBUG - VN ctest-vn-73698619 UUID is 4cbb2148-0b41-4309-8811-0d442e7bf803 2025-04-23 16:55:27,153 - DEBUG - Response for create_network : {'network': {'id': '2667566c-142f-48af-ae58-5a9a54658d9a', 'name': 'ctest-ext_vn-33365855', 'tenant_id': '3b90070b6c344e9e9b8fd0081b3b53fa', 'project_id': '3b90070b6c344e9e9b8fd0081b3b53fa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38372515', 'ctest-ext_vn-33365855'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 16:55:27,280 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fd3c8a1-cbc3-466d-a913-87cb8e1c9eaf', 'name': '', 'tenant_id': '3b90070b6c344e9e9b8fd0081b3b53fa', 'network_id': '2667566c-142f-48af-ae58-5a9a54658d9a', 'ip_version': 4, 'cidr': '145.194.211.192/26', 'allocation_pools': [{'start': '145.194.211.194', 'end': '145.194.211.254'}], 'gateway_ip': '145.194.211.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.194.211.194', 'tags': [], 'project_id': '3b90070b6c344e9e9b8fd0081b3b53fa'}} 2025-04-23 16:55:27,294 - INFO - Created VN ctest-ext_vn-33365855 2025-04-23 16:55:27,344 - DEBUG - VN ctest-ext_vn-33365855 UUID is 2667566c-142f-48af-ae58-5a9a54658d9a 2025-04-23 16:55:27,516 - DEBUG - Services list from nova: [, , ] 2025-04-23 16:55:28,336 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3193-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3193-1) 2025-04-23 16:55:29,256 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3193-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3193-1) 2025-04-23 16:55:29,323 - INFO - Setting gateway for router 837f0790-7eed-4274-9d22-1f8dc4f944ef to network 2667566c-142f-48af-ae58-5a9a54658d9a 2025-04-23 16:55:29,385 - INFO - Adding interface with subnet_id c7bacd6b-ea07-4aef-b690-79a7b7ecfae5, port_id None to router 837f0790-7eed-4274-9d22-1f8dc4f944ef 2025-04-23 16:55:29,661 - INFO - Waiting for VM ctest-TestRoutersBasic-38372515-96346592 to be up.. 2025-04-23 16:55:29,778 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-23 16:55:34,838 - DEBUG - VM is in ACTIVE state now 2025-04-23 16:55:34,838 - INFO - VM name : ctest-TestRoutersBasic-38372515-96346592 2025-04-23 16:55:34,891 - DEBUG - VM ctest-TestRoutersBasic-38372515-96346592 ID is 4c40fda6-d66e-425d-a3b0-8c54b79d45c5 2025-04-23 16:55:34,904 - DEBUG - VM ctest-TestRoutersBasic-38372515-96346592 launched on Node cn-jenkins-deploy-platform-ansible-os-3193-1 2025-04-23 16:55:34,958 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4c40fda6-d66e-425d-a3b0-8c54b79d45c5 2025-04-23 16:55:35,214 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4c40fda6-d66e-425d-a3b0-8c54b79d45c5 2025-04-23 16:55:35,243 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/eb94985e-c0b8-4405-b00f-1f02280494a8 2025-04-23 16:55:38,497 - 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=2 ttl=63 time=6.92 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1028ms\r\nrtt min/avg/max/mdev = 6.916/6.916/6.916/0.000 ms') 2025-04-23 16:55:38,497 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38372515-96346592 passed 2025-04-23 16:55:38,648 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 16:55:38,648 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38372515-96346592, IP 210.162.86.3, Port 22 2025-04-23 16:55:38,803 - DEBUG - VM ctest-TestRoutersBasic-38372515-96346592 is ready for SSH connections 2025-04-23 16:55:38,803 - INFO - Waiting for VM ctest-TestRoutersBasic-38372515-69209590 to be up.. 2025-04-23 16:55:38,864 - DEBUG - VM is in ACTIVE state now 2025-04-23 16:55:38,864 - INFO - VM name : ctest-TestRoutersBasic-38372515-69209590 2025-04-23 16:55:38,918 - DEBUG - VM ctest-TestRoutersBasic-38372515-69209590 ID is b5bfefcc-c7f3-4746-a08d-227774a9b8f4 2025-04-23 16:55:38,918 - DEBUG - VM ctest-TestRoutersBasic-38372515-69209590 launched on Node cn-jenkins-deploy-platform-ansible-os-3193-1 2025-04-23 16:55:38,968 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b5bfefcc-c7f3-4746-a08d-227774a9b8f4 2025-04-23 16:55:38,974 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f6b9de3b-f730-4be1-adf9-d1fc7792160d 2025-04-23 16:55:40,201 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.291 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.291/1.248/2.205/0.957 ms') 2025-04-23 16:55:40,201 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-38372515-69209590 passed 2025-04-23 16:55:40,344 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 16:55:40,344 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38372515-69209590, IP 145.194.211.195, Port 22 2025-04-23 16:55:40,503 - DEBUG - VM ctest-TestRoutersBasic-38372515-69209590 is ready for SSH connections 2025-04-23 16:55:40,503 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 16:55:40,504 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 145.194.211.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-23 16:55:40,504 - DEBUG - ping -s 56 -c 3 -W 1 145.194.211.195 2025-04-23 16:55:44,116 - DEBUG - PING 145.194.211.195 (145.194.211.195): 56 data bytes 64 bytes from 145.194.211.195: seq=0 ttl=62 time=3.992 ms 64 bytes from 145.194.211.195: seq=1 ttl=62 time=0.733 ms 64 bytes from 145.194.211.195: seq=2 ttl=62 time=0.823 ms --- 145.194.211.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.733/1.849/3.992 ms 2025-04-23 16:55:44,116 - INFO - Ping to IP 145.194.211.195 from VM ctest-TestRoutersBasic-38372515-96346592 passed 2025-04-23 16:55:44,116 - INFO - Deleting interface with subnet_id c7bacd6b-ea07-4aef-b690-79a7b7ecfae5, port_id None from router 837f0790-7eed-4274-9d22-1f8dc4f944ef 2025-04-23 16:55:44,281 - INFO - Deleting VM ctest-TestRoutersBasic-38372515-69209590 2025-04-23 16:55:44,331 - INFO - Deleting VM ctest-TestRoutersBasic-38372515-96346592 2025-04-23 16:55:44,390 - INFO - Deleting VN ctest-ext_vn-33365855 2025-04-23 16:55:44,442 - DEBUG - VN 2667566c-142f-48af-ae58-5a9a54658d9a still in use: Unable to complete operation on network 2667566c-142f-48af-ae58-5a9a54658d9a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b266a454-a2c7-469d-b394-b2a7fb3ad971'] 2025-04-23 16:55:44,442 - WARNING - Deleting VN ctest-ext_vn-33365855 failed..Will retry 2025-04-23 16:55:46,535 - DEBUG - Response for deleting network () 2025-04-23 16:55:46,537 - INFO - Deleting VN ctest-vn-73698619 2025-04-23 16:55:46,624 - DEBUG - Response for deleting network () 2025-04-23 16:55:46,881 - DEBUG - No XMPP flaps were noticed during the test
2025-04-23 16:55:46,881 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:21]
2025-04-23 16:55:46,881 - INFO - -------------------------------------------------------------------------------- 2025-04-23 16:55:47,480 - INFO - Deleted project: ctest-TestRoutersBasic-38372515, ID : 3b90070b-6c34-4e9e-9b8f-d0081b3b53fa