2025-08-25 02:15:31,537 - INFO - Domain Default found not creating 2025-08-25 02:15:31,670 - INFO - Project ctest-TestRoutersBasic-22407011 not found, creating it 2025-08-25 02:15:32,190 - INFO - Created Project:ctest-TestRoutersBasic-22407011, ID : 1c9d2c68-14fe-452d-ab36-ce8d5101e9c1 2025-08-25 02:15:33,569 - INFO - ================================================================================ 2025-08-25 02:15:33,569 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-25 02:15:33,569 - 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-08-25 02:15:33,828 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-08-25 02:15:33,828 - INFO - Initial checks done. Running the testcase now 2025-08-25 02:15:33,828 - INFO - 2025-08-25 02:15:34,514 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-22407011 2025-08-25 02:15:34,606 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-22407011 2025-08-25 02:15:34,942 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22407011', 'default']} 2025-08-25 02:15:35,225 - DEBUG - Response for create_network : {'network': {'id': '94047558-beaf-4c6d-a2f5-6941745d8629', 'name': 'ctest-vn-62134681', 'tenant_id': '1c9d2c6814fe452dab36ce8d5101e9c1', 'project_id': '1c9d2c6814fe452dab36ce8d5101e9c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22407011', 'ctest-vn-62134681'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 02:15:35,400 - DEBUG - Response for create_subnet : {'subnet': {'id': '331e3c9d-715e-41d4-bb5a-f400c01913f8', 'name': '', 'tenant_id': '1c9d2c6814fe452dab36ce8d5101e9c1', 'network_id': '94047558-beaf-4c6d-a2f5-6941745d8629', 'ip_version': 4, 'cidr': '162.108.39.64/26', 'allocation_pools': [{'start': '162.108.39.66', 'end': '162.108.39.126'}], 'gateway_ip': '162.108.39.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.108.39.66', 'tags': [], 'project_id': '1c9d2c6814fe452dab36ce8d5101e9c1'}} 2025-08-25 02:15:35,416 - INFO - Created VN ctest-vn-62134681 2025-08-25 02:15:35,466 - DEBUG - VN ctest-vn-62134681 UUID is 94047558-beaf-4c6d-a2f5-6941745d8629 2025-08-25 02:15:35,802 - DEBUG - Response for create_network : {'network': {'id': '580d4a4b-1af9-43a3-889f-1c973aaabfba', 'name': 'ctest-ext_vn-88523699', 'tenant_id': '1c9d2c6814fe452dab36ce8d5101e9c1', 'project_id': '1c9d2c6814fe452dab36ce8d5101e9c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22407011', 'ctest-ext_vn-88523699'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 02:15:36,016 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd2b15e5-ce04-4bab-9afe-5240111fcd78', 'name': '', 'tenant_id': '1c9d2c6814fe452dab36ce8d5101e9c1', 'network_id': '580d4a4b-1af9-43a3-889f-1c973aaabfba', 'ip_version': 4, 'cidr': '26.133.118.192/26', 'allocation_pools': [{'start': '26.133.118.194', 'end': '26.133.118.254'}], 'gateway_ip': '26.133.118.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.133.118.194', 'tags': [], 'project_id': '1c9d2c6814fe452dab36ce8d5101e9c1'}} 2025-08-25 02:15:36,032 - INFO - Created VN ctest-ext_vn-88523699 2025-08-25 02:15:36,082 - DEBUG - VN ctest-ext_vn-88523699 UUID is 580d4a4b-1af9-43a3-889f-1c973aaabfba 2025-08-25 02:15:36,282 - DEBUG - Services list from nova: [, , ] 2025-08-25 02:15:37,229 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3918-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3918-1) 2025-08-25 02:15:38,330 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3918-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3918-1) 2025-08-25 02:15:38,411 - INFO - Setting gateway for router acf76e10-2a15-424f-a2b5-cd18d3b64f13 to network 580d4a4b-1af9-43a3-889f-1c973aaabfba 2025-08-25 02:15:38,476 - INFO - Adding interface with subnet_id 331e3c9d-715e-41d4-bb5a-f400c01913f8, port_id None to router acf76e10-2a15-424f-a2b5-cd18d3b64f13 2025-08-25 02:15:38,929 - INFO - Waiting for VM ctest-TestRoutersBasic-22407011-30219937 to be up.. 2025-08-25 02:15:39,066 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-25 02:15:44,131 - DEBUG - VM is in ACTIVE state now 2025-08-25 02:15:44,131 - INFO - VM name : ctest-TestRoutersBasic-22407011-30219937 2025-08-25 02:15:44,204 - DEBUG - VM ctest-TestRoutersBasic-22407011-30219937 ID is e9732dc6-f9dc-4274-8305-47a0bac8698d 2025-08-25 02:15:44,224 - DEBUG - VM ctest-TestRoutersBasic-22407011-30219937 launched on Node cn-jenkins-deploy-platform-ansible-os-3918-1 2025-08-25 02:15:44,295 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e9732dc6-f9dc-4274-8305-47a0bac8698d 2025-08-25 02:15:44,584 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e9732dc6-f9dc-4274-8305-47a0bac8698d 2025-08-25 02:15:44,613 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3644f039-dc9a-4441-9d87-b5cea28bced6 2025-08-25 02:15:47,875 - 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=11.9 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1024ms\r\nrtt min/avg/max/mdev = 11.883/11.883/11.883/0.000 ms') 2025-08-25 02:15:47,875 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-22407011-30219937 passed 2025-08-25 02:15:48,030 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 02:15:48,030 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22407011-30219937, IP 162.108.39.67, Port 22 2025-08-25 02:15:48,186 - DEBUG - VM ctest-TestRoutersBasic-22407011-30219937 is ready for SSH connections 2025-08-25 02:15:48,186 - INFO - Waiting for VM ctest-TestRoutersBasic-22407011-04401028 to be up.. 2025-08-25 02:15:48,281 - DEBUG - VM is in ACTIVE state now 2025-08-25 02:15:48,281 - INFO - VM name : ctest-TestRoutersBasic-22407011-04401028 2025-08-25 02:15:48,355 - DEBUG - VM ctest-TestRoutersBasic-22407011-04401028 ID is 965674f4-4487-475c-bf83-636c16e75456 2025-08-25 02:15:48,355 - DEBUG - VM ctest-TestRoutersBasic-22407011-04401028 launched on Node cn-jenkins-deploy-platform-ansible-os-3918-1 2025-08-25 02:15:48,428 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/965674f4-4487-475c-bf83-636c16e75456 2025-08-25 02:15:48,437 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7be573eb-8033-4e4f-876b-03ced0fba004 2025-08-25 02:15:49,693 - 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.401 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.401/1.592/2.783/1.191 ms') 2025-08-25 02:15:49,693 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-22407011-04401028 passed 2025-08-25 02:15:49,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 02:15:49,842 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22407011-04401028, IP 26.133.118.195, Port 22 2025-08-25 02:15:50,006 - DEBUG - VM ctest-TestRoutersBasic-22407011-04401028 is ready for SSH connections 2025-08-25 02:15:50,006 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 02:15:50,006 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.133.118.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-25 02:15:50,006 - DEBUG - ping -s 56 -c 3 -W 1 26.133.118.195 2025-08-25 02:15:53,962 - DEBUG - PING 26.133.118.195 (26.133.118.195): 56 data bytes 64 bytes from 26.133.118.195: seq=0 ttl=62 time=3.991 ms 64 bytes from 26.133.118.195: seq=1 ttl=62 time=0.743 ms 64 bytes from 26.133.118.195: seq=2 ttl=62 time=0.811 ms --- 26.133.118.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.743/1.848/3.991 ms 2025-08-25 02:15:53,962 - INFO - Ping to IP 26.133.118.195 from VM ctest-TestRoutersBasic-22407011-30219937 passed 2025-08-25 02:15:53,963 - INFO - Deleting interface with subnet_id 331e3c9d-715e-41d4-bb5a-f400c01913f8, port_id None from router acf76e10-2a15-424f-a2b5-cd18d3b64f13 2025-08-25 02:15:54,191 - INFO - Deleting VM ctest-TestRoutersBasic-22407011-04401028 2025-08-25 02:15:54,266 - INFO - Deleting VM ctest-TestRoutersBasic-22407011-30219937 2025-08-25 02:15:54,354 - INFO - Deleting VN ctest-ext_vn-88523699 2025-08-25 02:15:54,444 - DEBUG - VN 580d4a4b-1af9-43a3-889f-1c973aaabfba still in use: Unable to complete operation on network 580d4a4b-1af9-43a3-889f-1c973aaabfba. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2a302679-61ef-40dd-9a98-aacfd5ede497'] 2025-08-25 02:15:54,445 - WARNING - Deleting VN ctest-ext_vn-88523699 failed..Will retry 2025-08-25 02:15:56,557 - DEBUG - Response for deleting network () 2025-08-25 02:15:56,557 - INFO - Deleting VN ctest-vn-62134681 2025-08-25 02:15:56,669 - DEBUG - Response for deleting network () 2025-08-25 02:15:56,932 - DEBUG - No XMPP flaps were noticed during the test 2025-08-25 02:15:56,932 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23] 2025-08-25 02:15:56,932 - INFO - -------------------------------------------------------------------------------- 2025-08-25 02:15:57,610 - INFO - Deleted project: ctest-TestRoutersBasic-22407011, ID : 1c9d2c68-14fe-452d-ab36-ce8d5101e9c1