2025-10-30 22:22:40,388 - INFO - Domain Default found not creating 2025-10-30 22:22:40,502 - INFO - Project ctest-TestRoutersBasic-76726007 not found, creating it 2025-10-30 22:22:40,950 - INFO - Created Project:ctest-TestRoutersBasic-76726007, ID : c47f1b90-f6b3-4c48-bb12-dbe3d7450d4a 2025-10-30 22:22:42,302 - INFO - ================================================================================ 2025-10-30 22:22:42,302 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-30 22:22:42,302 - 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-10-30 22:22:42,554 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.153': '0'}} with 2025-10-30 22:22:42,554 - INFO - Initial checks done. Running the testcase now 2025-10-30 22:22:42,554 - INFO - 2025-10-30 22:22:43,229 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-76726007 2025-10-30 22:22:43,328 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-76726007 2025-10-30 22:22:43,644 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76726007', 'default']} 2025-10-30 22:22:43,930 - DEBUG - Response for create_network : {'network': {'id': 'd8942e9c-3702-4354-b9fe-f87a165b3862', 'name': 'ctest-vn-50572795', 'tenant_id': 'c47f1b90f6b34c48bb12dbe3d7450d4a', 'project_id': 'c47f1b90f6b34c48bb12dbe3d7450d4a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76726007', 'ctest-vn-50572795'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 22:22:44,105 - DEBUG - Response for create_subnet : {'subnet': {'id': '7996b4b6-e8f2-4f23-b747-ace21daab7ed', 'name': '', 'tenant_id': 'c47f1b90f6b34c48bb12dbe3d7450d4a', 'network_id': 'd8942e9c-3702-4354-b9fe-f87a165b3862', 'ip_version': 4, 'cidr': '212.164.64.128/26', 'allocation_pools': [{'start': '212.164.64.130', 'end': '212.164.64.190'}], 'gateway_ip': '212.164.64.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.164.64.130', 'tags': [], 'project_id': 'c47f1b90f6b34c48bb12dbe3d7450d4a'}} 2025-10-30 22:22:44,120 - INFO - Created VN ctest-vn-50572795 2025-10-30 22:22:44,172 - DEBUG - VN ctest-vn-50572795 UUID is d8942e9c-3702-4354-b9fe-f87a165b3862 2025-10-30 22:22:44,481 - DEBUG - Response for create_network : {'network': {'id': '0484229b-69f0-461e-848f-15456f5948ac', 'name': 'ctest-ext_vn-29576239', 'tenant_id': 'c47f1b90f6b34c48bb12dbe3d7450d4a', 'project_id': 'c47f1b90f6b34c48bb12dbe3d7450d4a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76726007', 'ctest-ext_vn-29576239'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 22:22:44,629 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c327ca21-b524-45bc-a359-b69faf47a6c1', 'name': '', 'tenant_id': 'c47f1b90f6b34c48bb12dbe3d7450d4a', 'network_id': '0484229b-69f0-461e-848f-15456f5948ac', 'ip_version': 4, 'cidr': '82.22.51.64/26', 'allocation_pools': [{'start': '82.22.51.66', 'end': '82.22.51.126'}], 'gateway_ip': '82.22.51.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.22.51.66', 'tags': [], 'project_id': 'c47f1b90f6b34c48bb12dbe3d7450d4a'}} 2025-10-30 22:22:44,645 - INFO - Created VN ctest-ext_vn-29576239 2025-10-30 22:22:44,701 - DEBUG - VN ctest-ext_vn-29576239 UUID is 0484229b-69f0-461e-848f-15456f5948ac 2025-10-30 22:22:44,896 - DEBUG - Services list from nova: [, , ] 2025-10-30 22:22:45,867 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4561-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4561-1) 2025-10-30 22:22:47,003 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4561-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4561-1) 2025-10-30 22:22:47,094 - INFO - Setting gateway for router df6880fd-773a-4326-ba8d-48b380f5319f to network 0484229b-69f0-461e-848f-15456f5948ac 2025-10-30 22:22:47,173 - INFO - Adding interface with subnet_id 7996b4b6-e8f2-4f23-b747-ace21daab7ed, port_id None to router df6880fd-773a-4326-ba8d-48b380f5319f 2025-10-30 22:22:47,470 - INFO - Waiting for VM ctest-TestRoutersBasic-76726007-62141751 to be up.. 2025-10-30 22:22:47,638 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 22:22:52,717 - DEBUG - VM is in ACTIVE state now 2025-10-30 22:22:52,717 - INFO - VM name : ctest-TestRoutersBasic-76726007-62141751 2025-10-30 22:22:52,780 - DEBUG - VM ctest-TestRoutersBasic-76726007-62141751 ID is 621a470a-78f6-4eb7-baf4-045ccd130495 2025-10-30 22:22:52,797 - DEBUG - VM ctest-TestRoutersBasic-76726007-62141751 launched on Node cn-jenkins-deploy-platform-ansible-os-4561-1 2025-10-30 22:22:52,863 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/621a470a-78f6-4eb7-baf4-045ccd130495 2025-10-30 22:22:53,151 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/621a470a-78f6-4eb7-baf4-045ccd130495 2025-10-30 22:22:53,180 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/f4b61457-d97f-4178-b8b4-a3b23987bc43 2025-10-30 22:22:56,426 - 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 1019ms') 2025-10-30 22:22:56,426 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76726007-62141751 failed! 2025-10-30 22:22:56,485 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-76726007:ctest-vn-50572795 is 212.164.64.129 and allocation pool is NOT set 2025-10-30 22:22:58,548 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.487 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.487/1.670/2.854/1.183 ms') 2025-10-30 22:22:58,549 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76726007-62141751 passed 2025-10-30 22:22:58,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 22:22:58,701 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76726007-62141751, IP 212.164.64.131, Port 22 2025-10-30 22:22:58,855 - DEBUG - VM ctest-TestRoutersBasic-76726007-62141751 is ready for SSH connections 2025-10-30 22:22:58,855 - INFO - Waiting for VM ctest-TestRoutersBasic-76726007-35665757 to be up.. 2025-10-30 22:22:58,926 - DEBUG - VM is in ACTIVE state now 2025-10-30 22:22:58,926 - INFO - VM name : ctest-TestRoutersBasic-76726007-35665757 2025-10-30 22:22:58,995 - DEBUG - VM ctest-TestRoutersBasic-76726007-35665757 ID is 97228821-1ddb-4ba5-8f44-eaa0655e51f3 2025-10-30 22:22:58,995 - DEBUG - VM ctest-TestRoutersBasic-76726007-35665757 launched on Node cn-jenkins-deploy-platform-ansible-os-4561-1 2025-10-30 22:22:59,059 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/97228821-1ddb-4ba5-8f44-eaa0655e51f3 2025-10-30 22:22:59,066 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/97385ad3-c868-407c-949c-1060103cc23c 2025-10-30 22:23:00,290 - 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=3.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.445 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.445/1.829/3.214/1.384 ms') 2025-10-30 22:23:00,290 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-76726007-35665757 passed 2025-10-30 22:23:00,439 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 22:23:00,439 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76726007-35665757, IP 82.22.51.67, Port 22 2025-10-30 22:23:00,608 - DEBUG - VM ctest-TestRoutersBasic-76726007-35665757 is ready for SSH connections 2025-10-30 22:23:00,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 22:23:00,608 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.22.51.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-30 22:23:00,609 - DEBUG - ping -s 56 -c 3 -W 1 82.22.51.67 2025-10-30 22:23:04,580 - DEBUG - PING 82.22.51.67 (82.22.51.67): 56 data bytes 64 bytes from 82.22.51.67: seq=0 ttl=62 time=4.703 ms 64 bytes from 82.22.51.67: seq=1 ttl=62 time=0.976 ms 64 bytes from 82.22.51.67: seq=2 ttl=62 time=1.003 ms --- 82.22.51.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.976/2.227/4.703 ms 2025-10-30 22:23:04,580 - INFO - Ping to IP 82.22.51.67 from VM ctest-TestRoutersBasic-76726007-62141751 passed 2025-10-30 22:23:04,580 - INFO - Deleting interface with subnet_id 7996b4b6-e8f2-4f23-b747-ace21daab7ed, port_id None from router df6880fd-773a-4326-ba8d-48b380f5319f 2025-10-30 22:23:04,736 - INFO - Deleting VM ctest-TestRoutersBasic-76726007-35665757 2025-10-30 22:23:04,800 - INFO - Deleting VM ctest-TestRoutersBasic-76726007-62141751 2025-10-30 22:23:04,891 - INFO - Deleting VN ctest-ext_vn-29576239 2025-10-30 22:23:04,957 - DEBUG - VN 0484229b-69f0-461e-848f-15456f5948ac still in use: Unable to complete operation on network 0484229b-69f0-461e-848f-15456f5948ac. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eb30f02c-bf80-4636-898c-1e691b9b024f'] 2025-10-30 22:23:04,958 - WARNING - Deleting VN ctest-ext_vn-29576239 failed..Will retry 2025-10-30 22:23:07,044 - DEBUG - Response for deleting network () 2025-10-30 22:23:07,044 - INFO - Deleting VN ctest-vn-50572795 2025-10-30 22:23:07,127 - DEBUG - Response for deleting network () 2025-10-30 22:23:07,380 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 22:23:07,381 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-30 22:23:07,381 - INFO - -------------------------------------------------------------------------------- 2025-10-30 22:23:08,021 - INFO - Deleted project: ctest-TestRoutersBasic-76726007, ID : c47f1b90-f6b3-4c48-bb12-dbe3d7450d4a