2025-03-19 16:39:51,332 - INFO - Domain Default found not creating 2025-03-19 16:39:51,482 - INFO - Project ctest-TestRoutersBasic-00421890 not found, creating it 2025-03-19 16:39:51,959 - INFO - Created Project:ctest-TestRoutersBasic-00421890, ID : 3eb04b72-3fbc-4e00-919b-278d51aa5018 2025-03-19 16:39:53,390 - INFO - ================================================================================ 2025-03-19 16:39:53,391 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-03-19 16:39:53,391 - 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-03-19 16:39:53,648 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.30': '0'}} with 2025-03-19 16:39:53,648 - INFO - Initial checks done. Running the testcase now 2025-03-19 16:39:53,648 - INFO - 2025-03-19 16:39:54,355 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-00421890 2025-03-19 16:39:54,448 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-00421890 2025-03-19 16:39:54,768 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00421890', 'default']} 2025-03-19 16:39:55,080 - DEBUG - Response for create_network : {'network': {'id': '96885315-b73d-4eb0-a0c8-0dbdf316ed63', 'name': 'ctest-vn-62093207', 'tenant_id': '3eb04b723fbc4e00919b278d51aa5018', 'project_id': '3eb04b723fbc4e00919b278d51aa5018', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00421890', 'ctest-vn-62093207'], 'port_security_enabled': True, 'description': ''}} 2025-03-19 16:39:55,266 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ed892cc5-7808-452c-8158-d88a1a9272fe', 'name': '', 'tenant_id': '3eb04b723fbc4e00919b278d51aa5018', 'network_id': '96885315-b73d-4eb0-a0c8-0dbdf316ed63', 'ip_version': 4, 'cidr': '213.133.195.64/26', 'allocation_pools': [{'start': '213.133.195.66', 'end': '213.133.195.126'}], 'gateway_ip': '213.133.195.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.133.195.66', 'tags': [], 'project_id': '3eb04b723fbc4e00919b278d51aa5018'}} 2025-03-19 16:39:55,287 - INFO - Created VN ctest-vn-62093207 2025-03-19 16:39:55,348 - DEBUG - VN ctest-vn-62093207 UUID is 96885315-b73d-4eb0-a0c8-0dbdf316ed63 2025-03-19 16:39:55,674 - DEBUG - Response for create_network : {'network': {'id': '9be4a932-d3e8-4f15-ac33-34fa5e059492', 'name': 'ctest-ext_vn-99076683', 'tenant_id': '3eb04b723fbc4e00919b278d51aa5018', 'project_id': '3eb04b723fbc4e00919b278d51aa5018', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00421890', 'ctest-ext_vn-99076683'], 'port_security_enabled': True, 'description': ''}} 2025-03-19 16:39:55,879 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd0a6db89-d900-4bec-bb48-8fa4629158ae', 'name': '', 'tenant_id': '3eb04b723fbc4e00919b278d51aa5018', 'network_id': '9be4a932-d3e8-4f15-ac33-34fa5e059492', 'ip_version': 4, 'cidr': '161.67.84.64/26', 'allocation_pools': [{'start': '161.67.84.66', 'end': '161.67.84.126'}], 'gateway_ip': '161.67.84.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.67.84.66', 'tags': [], 'project_id': '3eb04b723fbc4e00919b278d51aa5018'}} 2025-03-19 16:39:55,896 - INFO - Created VN ctest-ext_vn-99076683 2025-03-19 16:39:55,948 - DEBUG - VN ctest-ext_vn-99076683 UUID is 9be4a932-d3e8-4f15-ac33-34fa5e059492 2025-03-19 16:39:56,146 - DEBUG - Services list from nova: [, , ] 2025-03-19 16:39:57,167 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2921-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2921-1) 2025-03-19 16:39:58,296 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2921-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2921-1) 2025-03-19 16:39:58,364 - INFO - Setting gateway for router d43e6b2f-2936-4753-9d59-fce108bf466f to network 9be4a932-d3e8-4f15-ac33-34fa5e059492 2025-03-19 16:39:58,420 - INFO - Adding interface with subnet_id ed892cc5-7808-452c-8158-d88a1a9272fe, port_id None to router d43e6b2f-2936-4753-9d59-fce108bf466f 2025-03-19 16:39:58,801 - INFO - Waiting for VM ctest-TestRoutersBasic-00421890-84453114 to be up.. 2025-03-19 16:39:59,021 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-19 16:40:04,110 - DEBUG - VM is in ACTIVE state now 2025-03-19 16:40:04,111 - INFO - VM name : ctest-TestRoutersBasic-00421890-84453114 2025-03-19 16:40:04,196 - DEBUG - VM ctest-TestRoutersBasic-00421890-84453114 ID is cd42228a-819f-43c0-a064-e658b9a7478a 2025-03-19 16:40:04,219 - DEBUG - VM ctest-TestRoutersBasic-00421890-84453114 launched on Node cn-jenkins-deploy-platform-ansible-os-2921-1 2025-03-19 16:40:04,301 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/cd42228a-819f-43c0-a064-e658b9a7478a 2025-03-19 16:40:04,592 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/cd42228a-819f-43c0-a064-e658b9a7478a 2025-03-19 16:40:04,626 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/aa1f4066-f8c1-42d1-b8c2-75851f0bf24c 2025-03-19 16:40:07,883 - 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 1003ms') 2025-03-19 16:40:07,883 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-00421890-84453114 failed! 2025-03-19 16:40:07,936 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-00421890:ctest-vn-62093207 is 213.133.195.65 and allocation pool is NOT set 2025-03-19 16:40:09,998 - 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.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.12 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 = 1.117/2.613/4.110/1.496 ms') 2025-03-19 16:40:09,998 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-00421890-84453114 passed 2025-03-19 16:40:10,104 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-19 16:40:10,105 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00421890-84453114, IP 213.133.195.67, Port 22 2025-03-19 16:40:10,260 - DEBUG - VM ctest-TestRoutersBasic-00421890-84453114 is ready for SSH connections 2025-03-19 16:40:10,260 - INFO - Waiting for VM ctest-TestRoutersBasic-00421890-34439080 to be up.. 2025-03-19 16:40:10,339 - DEBUG - VM is in ACTIVE state now 2025-03-19 16:40:10,339 - INFO - VM name : ctest-TestRoutersBasic-00421890-34439080 2025-03-19 16:40:10,409 - DEBUG - VM ctest-TestRoutersBasic-00421890-34439080 ID is da31473a-5726-4f3f-80ca-97ceb3536d89 2025-03-19 16:40:10,409 - DEBUG - VM ctest-TestRoutersBasic-00421890-34439080 launched on Node cn-jenkins-deploy-platform-ansible-os-2921-1 2025-03-19 16:40:10,499 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/da31473a-5726-4f3f-80ca-97ceb3536d89 2025-03-19 16:40:10,507 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/19cf2c52-79e3-4605-8345-9340b29a70ad 2025-03-19 16:40:11,745 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.464 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.464/1.604/2.744/1.140 ms') 2025-03-19 16:40:11,745 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-00421890-34439080 passed 2025-03-19 16:40:11,896 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-19 16:40:11,897 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00421890-34439080, IP 161.67.84.67, Port 22 2025-03-19 16:40:12,051 - DEBUG - VM ctest-TestRoutersBasic-00421890-34439080 is ready for SSH connections 2025-03-19 16:40:12,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-19 16:40:12,052 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.67.84.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2025-03-19 16:40:12,052 - DEBUG - ping -s 56 -c 3 -W 1 161.67.84.67 2025-03-19 16:40:15,727 - DEBUG - PING 161.67.84.67 (161.67.84.67): 56 data bytes 64 bytes from 161.67.84.67: seq=0 ttl=62 time=5.336 ms 64 bytes from 161.67.84.67: seq=1 ttl=62 time=0.930 ms 64 bytes from 161.67.84.67: seq=2 ttl=62 time=0.894 ms --- 161.67.84.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.894/2.386/5.336 ms 2025-03-19 16:40:15,727 - INFO - Ping to IP 161.67.84.67 from VM ctest-TestRoutersBasic-00421890-84453114 passed 2025-03-19 16:40:15,727 - INFO - Deleting interface with subnet_id ed892cc5-7808-452c-8158-d88a1a9272fe, port_id None from router d43e6b2f-2936-4753-9d59-fce108bf466f 2025-03-19 16:40:15,937 - INFO - Deleting VM ctest-TestRoutersBasic-00421890-34439080 2025-03-19 16:40:16,008 - INFO - Deleting VM ctest-TestRoutersBasic-00421890-84453114 2025-03-19 16:40:16,098 - INFO - Deleting VN ctest-ext_vn-99076683 2025-03-19 16:40:16,170 - DEBUG - VN 9be4a932-d3e8-4f15-ac33-34fa5e059492 still in use: Unable to complete operation on network 9be4a932-d3e8-4f15-ac33-34fa5e059492. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6a6efbb5-8b5a-47f4-9121-9ec0a6730b55'] 2025-03-19 16:40:16,170 - WARNING - Deleting VN ctest-ext_vn-99076683 failed..Will retry 2025-03-19 16:40:18,271 - DEBUG - Response for deleting network () 2025-03-19 16:40:18,271 - INFO - Deleting VN ctest-vn-62093207 2025-03-19 16:40:18,373 - DEBUG - Response for deleting network () 2025-03-19 16:40:18,631 - DEBUG - No XMPP flaps were noticed during the test
2025-03-19 16:40:18,631 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-03-19 16:40:18,631 - INFO - -------------------------------------------------------------------------------- 2025-03-19 16:40:19,297 - INFO - Deleted project: ctest-TestRoutersBasic-00421890, ID : 3eb04b72-3fbc-4e00-919b-278d51aa5018