2025-04-30 14:40:38,313 - INFO - Domain Default found not creating 2025-04-30 14:40:38,435 - INFO - Project ctest-TestRoutersBasic-00770325 not found, creating it 2025-04-30 14:40:38,937 - INFO - Created Project:ctest-TestRoutersBasic-00770325, ID : 8f476188-3c6b-4b6e-842f-6483f5675d26 2025-04-30 14:40:40,266 - INFO - ================================================================================ 2025-04-30 14:40:40,267 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-30 14:40:40,267 - 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-30 14:40:40,514 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-04-30 14:40:40,514 - INFO - Initial checks done. Running the testcase now 2025-04-30 14:40:40,514 - INFO - 2025-04-30 14:40:41,201 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-00770325 2025-04-30 14:40:41,301 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-00770325 2025-04-30 14:40:41,629 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00770325', 'default']} 2025-04-30 14:40:41,914 - DEBUG - Response for create_network : {'network': {'id': '5b21245c-1862-44f0-8e4f-f8caab16804e', 'name': 'ctest-vn-33831864', 'tenant_id': '8f4761883c6b4b6e842f6483f5675d26', 'project_id': '8f4761883c6b4b6e842f6483f5675d26', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00770325', 'ctest-vn-33831864'], 'port_security_enabled': True, 'description': ''}} 2025-04-30 14:40:42,126 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4b834d8-33d2-4097-9f9e-cbf2bf605aae', 'name': '', 'tenant_id': '8f4761883c6b4b6e842f6483f5675d26', 'network_id': '5b21245c-1862-44f0-8e4f-f8caab16804e', 'ip_version': 4, 'cidr': '51.79.134.0/26', 'allocation_pools': [{'start': '51.79.134.2', 'end': '51.79.134.62'}], 'gateway_ip': '51.79.134.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.79.134.2', 'tags': [], 'project_id': '8f4761883c6b4b6e842f6483f5675d26'}} 2025-04-30 14:40:42,142 - INFO - Created VN ctest-vn-33831864 2025-04-30 14:40:42,193 - DEBUG - VN ctest-vn-33831864 UUID is 5b21245c-1862-44f0-8e4f-f8caab16804e 2025-04-30 14:40:42,517 - DEBUG - Response for create_network : {'network': {'id': 'a5520e2e-6b2a-493e-bc35-04d600d26ced', 'name': 'ctest-ext_vn-84984191', 'tenant_id': '8f4761883c6b4b6e842f6483f5675d26', 'project_id': '8f4761883c6b4b6e842f6483f5675d26', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00770325', 'ctest-ext_vn-84984191'], 'port_security_enabled': True, 'description': ''}} 2025-04-30 14:40:42,670 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7ace8db-fde3-4bfa-ba66-aba0bd0b1173', 'name': '', 'tenant_id': '8f4761883c6b4b6e842f6483f5675d26', 'network_id': 'a5520e2e-6b2a-493e-bc35-04d600d26ced', 'ip_version': 4, 'cidr': '180.61.208.0/26', 'allocation_pools': [{'start': '180.61.208.2', 'end': '180.61.208.62'}], 'gateway_ip': '180.61.208.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.61.208.2', 'tags': [], 'project_id': '8f4761883c6b4b6e842f6483f5675d26'}} 2025-04-30 14:40:42,685 - INFO - Created VN ctest-ext_vn-84984191 2025-04-30 14:40:42,741 - DEBUG - VN ctest-ext_vn-84984191 UUID is a5520e2e-6b2a-493e-bc35-04d600d26ced 2025-04-30 14:40:42,929 - DEBUG - Services list from nova: [, , ] 2025-04-30 14:40:43,866 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3249-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3249-1) 2025-04-30 14:40:44,898 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3249-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3249-1) 2025-04-30 14:40:44,965 - INFO - Setting gateway for router 72f16f1d-d5c0-444f-8baf-ac62892ef4f7 to network a5520e2e-6b2a-493e-bc35-04d600d26ced 2025-04-30 14:40:45,018 - INFO - Adding interface with subnet_id f4b834d8-33d2-4097-9f9e-cbf2bf605aae, port_id None to router 72f16f1d-d5c0-444f-8baf-ac62892ef4f7 2025-04-30 14:40:45,375 - INFO - Waiting for VM ctest-TestRoutersBasic-00770325-27958864 to be up.. 2025-04-30 14:40:45,541 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-30 14:40:50,611 - DEBUG - VM is in ACTIVE state now 2025-04-30 14:40:50,611 - INFO - VM name : ctest-TestRoutersBasic-00770325-27958864 2025-04-30 14:40:50,687 - DEBUG - VM ctest-TestRoutersBasic-00770325-27958864 ID is 841cb84d-c4b3-48e8-af26-b21696ccc1d5 2025-04-30 14:40:50,712 - DEBUG - VM ctest-TestRoutersBasic-00770325-27958864 launched on Node cn-jenkins-deploy-platform-ansible-os-3249-1 2025-04-30 14:40:50,790 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/841cb84d-c4b3-48e8-af26-b21696ccc1d5 2025-04-30 14:40:51,085 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/841cb84d-c4b3-48e8-af26-b21696ccc1d5 2025-04-30 14:40:51,113 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1d43f57e-af39-4a93-bd5c-9d9e5fd5a4b1 2025-04-30 14:40:54,386 - 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=9.56 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1036ms\r\nrtt min/avg/max/mdev = 9.564/9.564/9.564/0.000 ms') 2025-04-30 14:40:54,386 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-00770325-27958864 passed 2025-04-30 14:40:54,537 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-30 14:40:54,537 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00770325-27958864, IP 51.79.134.3, Port 22 2025-04-30 14:40:54,708 - DEBUG - VM ctest-TestRoutersBasic-00770325-27958864 is ready for SSH connections 2025-04-30 14:40:54,708 - INFO - Waiting for VM ctest-TestRoutersBasic-00770325-27535847 to be up.. 2025-04-30 14:40:54,773 - DEBUG - VM is in ACTIVE state now 2025-04-30 14:40:54,773 - INFO - VM name : ctest-TestRoutersBasic-00770325-27535847 2025-04-30 14:40:54,830 - DEBUG - VM ctest-TestRoutersBasic-00770325-27535847 ID is 48e02889-9b4d-41b5-b34f-514b241f6350 2025-04-30 14:40:54,830 - DEBUG - VM ctest-TestRoutersBasic-00770325-27535847 launched on Node cn-jenkins-deploy-platform-ansible-os-3249-1 2025-04-30 14:40:54,887 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/48e02889-9b4d-41b5-b34f-514b241f6350 2025-04-30 14:40:54,894 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4780fe97-b35b-40b1-873c-4657132b56de 2025-04-30 14:40:56,132 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.740 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.740/1.939/3.139/1.199 ms') 2025-04-30 14:40:56,132 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-00770325-27535847 passed 2025-04-30 14:40:56,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-30 14:40:56,281 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00770325-27535847, IP 180.61.208.3, Port 22 2025-04-30 14:40:56,436 - DEBUG - VM ctest-TestRoutersBasic-00770325-27535847 is ready for SSH connections 2025-04-30 14:40:56,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-30 14:40:56,436 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.61.208.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-30 14:40:56,437 - DEBUG - ping -s 56 -c 3 -W 1 180.61.208.3 2025-04-30 14:41:00,124 - DEBUG - PING 180.61.208.3 (180.61.208.3): 56 data bytes 64 bytes from 180.61.208.3: seq=0 ttl=62 time=7.258 ms 64 bytes from 180.61.208.3: seq=1 ttl=62 time=0.764 ms 64 bytes from 180.61.208.3: seq=2 ttl=62 time=0.928 ms --- 180.61.208.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.764/2.983/7.258 ms 2025-04-30 14:41:00,124 - INFO - Ping to IP 180.61.208.3 from VM ctest-TestRoutersBasic-00770325-27958864 passed 2025-04-30 14:41:00,125 - INFO - Deleting interface with subnet_id f4b834d8-33d2-4097-9f9e-cbf2bf605aae, port_id None from router 72f16f1d-d5c0-444f-8baf-ac62892ef4f7 2025-04-30 14:41:00,285 - INFO - Deleting VM ctest-TestRoutersBasic-00770325-27535847 2025-04-30 14:41:00,341 - INFO - Deleting VM ctest-TestRoutersBasic-00770325-27958864 2025-04-30 14:41:00,403 - INFO - Deleting VN ctest-ext_vn-84984191 2025-04-30 14:41:00,460 - DEBUG - VN a5520e2e-6b2a-493e-bc35-04d600d26ced still in use: Unable to complete operation on network a5520e2e-6b2a-493e-bc35-04d600d26ced. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9e87578f-69e0-4c94-81fb-1556d9600fe5'] 2025-04-30 14:41:00,460 - WARNING - Deleting VN ctest-ext_vn-84984191 failed..Will retry 2025-04-30 14:41:02,549 - DEBUG - Response for deleting network () 2025-04-30 14:41:02,549 - INFO - Deleting VN ctest-vn-33831864 2025-04-30 14:41:02,648 - DEBUG - Response for deleting network () 2025-04-30 14:41:02,910 - DEBUG - No XMPP flaps were noticed during the test 2025-04-30 14:41:02,910 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:22] 2025-04-30 14:41:02,910 - INFO - -------------------------------------------------------------------------------- 2025-04-30 14:41:03,544 - INFO - Deleted project: ctest-TestRoutersBasic-00770325, ID : 8f476188-3c6b-4b6e-842f-6483f5675d26