2025-07-07 02:09:52,288 - INFO - Domain Default found not creating 2025-07-07 02:09:52,437 - INFO - Project ctest-TestRoutersBasic-13321150 not found, creating it 2025-07-07 02:09:52,909 - INFO - Created Project:ctest-TestRoutersBasic-13321150, ID : e6ba3b1e-162b-4081-b82b-3ef6b2dcce6a 2025-07-07 02:09:54,465 - INFO - ================================================================================ 2025-07-07 02:09:54,465 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-07 02:09:54,465 - 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-07-07 02:09:54,724 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.192': '0'}} with 2025-07-07 02:09:54,724 - INFO - Initial checks done. Running the testcase now 2025-07-07 02:09:54,724 - INFO - 2025-07-07 02:09:55,508 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-13321150 2025-07-07 02:09:55,609 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-13321150 2025-07-07 02:09:55,929 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13321150', 'default']} 2025-07-07 02:09:56,395 - DEBUG - Response for create_network : {'network': {'id': '9c682d2a-32a9-4c43-80ec-2d138d58f8e3', 'name': 'ctest-vn-26531535', 'tenant_id': 'e6ba3b1e162b4081b82b3ef6b2dcce6a', 'project_id': 'e6ba3b1e162b4081b82b3ef6b2dcce6a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13321150', 'ctest-vn-26531535'], 'port_security_enabled': True, 'description': ''}} 2025-07-07 02:09:56,625 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd3562ef1-8b0b-424e-bdc2-45bfab4f262e', 'name': '', 'tenant_id': 'e6ba3b1e162b4081b82b3ef6b2dcce6a', 'network_id': '9c682d2a-32a9-4c43-80ec-2d138d58f8e3', 'ip_version': 4, 'cidr': '166.124.164.192/26', 'allocation_pools': [{'start': '166.124.164.194', 'end': '166.124.164.254'}], 'gateway_ip': '166.124.164.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.124.164.194', 'tags': [], 'project_id': 'e6ba3b1e162b4081b82b3ef6b2dcce6a'}} 2025-07-07 02:09:56,644 - INFO - Created VN ctest-vn-26531535 2025-07-07 02:09:56,697 - DEBUG - VN ctest-vn-26531535 UUID is 9c682d2a-32a9-4c43-80ec-2d138d58f8e3 2025-07-07 02:09:57,055 - DEBUG - Response for create_network : {'network': {'id': 'e854a646-a4ee-40db-b4de-c901900a1fd0', 'name': 'ctest-ext_vn-23760046', 'tenant_id': 'e6ba3b1e162b4081b82b3ef6b2dcce6a', 'project_id': 'e6ba3b1e162b4081b82b3ef6b2dcce6a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13321150', 'ctest-ext_vn-23760046'], 'port_security_enabled': True, 'description': ''}} 2025-07-07 02:09:57,257 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d4469f7-26af-463f-8138-2ee84a396aaf', 'name': '', 'tenant_id': 'e6ba3b1e162b4081b82b3ef6b2dcce6a', 'network_id': 'e854a646-a4ee-40db-b4de-c901900a1fd0', 'ip_version': 4, 'cidr': '97.119.41.128/26', 'allocation_pools': [{'start': '97.119.41.130', 'end': '97.119.41.190'}], 'gateway_ip': '97.119.41.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.119.41.130', 'tags': [], 'project_id': 'e6ba3b1e162b4081b82b3ef6b2dcce6a'}} 2025-07-07 02:09:57,276 - INFO - Created VN ctest-ext_vn-23760046 2025-07-07 02:09:57,329 - DEBUG - VN ctest-ext_vn-23760046 UUID is e854a646-a4ee-40db-b4de-c901900a1fd0 2025-07-07 02:09:57,504 - DEBUG - Services list from nova: [, , ] 2025-07-07 02:09:58,620 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3604-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3604-1) 2025-07-07 02:09:59,910 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3604-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3604-1) 2025-07-07 02:10:00,016 - INFO - Setting gateway for router 236dae60-4912-42f7-bb92-8bdf7bd8bc22 to network e854a646-a4ee-40db-b4de-c901900a1fd0 2025-07-07 02:10:00,097 - INFO - Adding interface with subnet_id d3562ef1-8b0b-424e-bdc2-45bfab4f262e, port_id None to router 236dae60-4912-42f7-bb92-8bdf7bd8bc22 2025-07-07 02:10:00,521 - INFO - Waiting for VM ctest-TestRoutersBasic-13321150-48061625 to be up.. 2025-07-07 02:10:00,779 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-07 02:10:05,860 - DEBUG - VM is in ACTIVE state now 2025-07-07 02:10:05,860 - INFO - VM name : ctest-TestRoutersBasic-13321150-48061625 2025-07-07 02:10:05,938 - DEBUG - VM ctest-TestRoutersBasic-13321150-48061625 ID is 2a4ea3ba-4810-47b8-8e27-20f182aff06f 2025-07-07 02:10:05,957 - DEBUG - VM ctest-TestRoutersBasic-13321150-48061625 launched on Node cn-jenkins-deploy-platform-ansible-os-3604-1 2025-07-07 02:10:06,045 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/2a4ea3ba-4810-47b8-8e27-20f182aff06f 2025-07-07 02:10:06,660 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/2a4ea3ba-4810-47b8-8e27-20f182aff06f 2025-07-07 02:10:06,701 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/4106ebf6-4fec-42fa-bfef-7f9faa441e86 2025-07-07 02:10:09,974 - 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 1022ms') 2025-07-07 02:10:09,974 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13321150-48061625 failed! 2025-07-07 02:10:10,033 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-13321150:ctest-vn-26531535 is 166.124.164.193 and allocation pool is NOT set 2025-07-07 02:10:12,097 - 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=4.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.869 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.869/2.444/4.019/1.575 ms') 2025-07-07 02:10:12,097 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13321150-48061625 passed 2025-07-07 02:10:12,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-07 02:10:12,257 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13321150-48061625, IP 166.124.164.195, Port 22 2025-07-07 02:10:12,413 - DEBUG - VM ctest-TestRoutersBasic-13321150-48061625 is ready for SSH connections 2025-07-07 02:10:12,413 - INFO - Waiting for VM ctest-TestRoutersBasic-13321150-50651768 to be up.. 2025-07-07 02:10:12,496 - DEBUG - VM is in ACTIVE state now 2025-07-07 02:10:12,496 - INFO - VM name : ctest-TestRoutersBasic-13321150-50651768 2025-07-07 02:10:12,577 - DEBUG - VM ctest-TestRoutersBasic-13321150-50651768 ID is 04dcd4e4-0d35-4ed7-b53d-9c27a46929e0 2025-07-07 02:10:12,577 - DEBUG - VM ctest-TestRoutersBasic-13321150-50651768 launched on Node cn-jenkins-deploy-platform-ansible-os-3604-1 2025-07-07 02:10:12,650 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/04dcd4e4-0d35-4ed7-b53d-9c27a46929e0 2025-07-07 02:10:12,659 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/1d3e817b-09d6-475a-8247-5325c3e2afed 2025-07-07 02:10:13,900 - 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=4.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.16 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 = 2.159/3.227/4.295/1.068 ms') 2025-07-07 02:10:13,900 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-13321150-50651768 passed 2025-07-07 02:10:14,049 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-07 02:10:14,049 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13321150-50651768, IP 97.119.41.131, Port 22 2025-07-07 02:10:14,204 - DEBUG - VM ctest-TestRoutersBasic-13321150-50651768 is ready for SSH connections 2025-07-07 02:10:14,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-07 02:10:14,205 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 97.119.41.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-07 02:10:14,205 - DEBUG - ping -s 56 -c 3 -W 1 97.119.41.131 2025-07-07 02:10:18,276 - DEBUG - PING 97.119.41.131 (97.119.41.131): 56 data bytes 64 bytes from 97.119.41.131: seq=0 ttl=62 time=4.912 ms 64 bytes from 97.119.41.131: seq=1 ttl=62 time=0.997 ms 64 bytes from 97.119.41.131: seq=2 ttl=62 time=1.000 ms --- 97.119.41.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.997/2.303/4.912 ms 2025-07-07 02:10:18,276 - INFO - Ping to IP 97.119.41.131 from VM ctest-TestRoutersBasic-13321150-48061625 passed 2025-07-07 02:10:18,276 - INFO - Deleting interface with subnet_id d3562ef1-8b0b-424e-bdc2-45bfab4f262e, port_id None from router 236dae60-4912-42f7-bb92-8bdf7bd8bc22 2025-07-07 02:10:18,499 - INFO - Deleting VM ctest-TestRoutersBasic-13321150-50651768 2025-07-07 02:10:18,586 - INFO - Deleting VM ctest-TestRoutersBasic-13321150-48061625 2025-07-07 02:10:18,698 - INFO - Deleting VN ctest-ext_vn-23760046 2025-07-07 02:10:18,794 - DEBUG - VN e854a646-a4ee-40db-b4de-c901900a1fd0 still in use: Unable to complete operation on network e854a646-a4ee-40db-b4de-c901900a1fd0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bdf57473-c03b-4fbf-9512-bc9b382a6af0'] 2025-07-07 02:10:18,794 - WARNING - Deleting VN ctest-ext_vn-23760046 failed..Will retry 2025-07-07 02:10:20,919 - DEBUG - Response for deleting network () 2025-07-07 02:10:20,920 - INFO - Deleting VN ctest-vn-26531535 2025-07-07 02:10:21,042 - DEBUG - Response for deleting network () 2025-07-07 02:10:21,301 - DEBUG - No XMPP flaps were noticed during the test 2025-07-07 02:10:21,301 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2025-07-07 02:10:21,301 - INFO - -------------------------------------------------------------------------------- 2025-07-07 02:10:22,078 - INFO - Deleted project: ctest-TestRoutersBasic-13321150, ID : e6ba3b1e-162b-4081-b82b-3ef6b2dcce6a