2025-04-29 09:57:33,119 - INFO - Domain Default found not creating 2025-04-29 09:57:33,251 - INFO - Project ctest-TestRoutersBasic-91043094 not found, creating it 2025-04-29 09:57:33,671 - INFO - Created Project:ctest-TestRoutersBasic-91043094, ID : e1c7862d-43fa-4660-a023-8e7a648770a0 2025-04-29 09:57:34,917 - INFO - ================================================================================ 2025-04-29 09:57:34,917 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-29 09:57:34,917 - 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-29 09:57:35,170 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-04-29 09:57:35,170 - INFO - Initial checks done. Running the testcase now 2025-04-29 09:57:35,171 - INFO - 2025-04-29 09:57:35,766 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-91043094 2025-04-29 09:57:35,861 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-91043094 2025-04-29 09:57:36,177 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91043094', 'default']} 2025-04-29 09:57:36,465 - DEBUG - Response for create_network : {'network': {'id': '1f42e237-09b1-46c4-a66d-250485dcc6cf', 'name': 'ctest-vn-00602073', 'tenant_id': 'e1c7862d43fa4660a0238e7a648770a0', 'project_id': 'e1c7862d43fa4660a0238e7a648770a0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91043094', 'ctest-vn-00602073'], 'port_security_enabled': True, 'description': ''}} 2025-04-29 09:57:36,659 - DEBUG - Response for create_subnet : {'subnet': {'id': '643988ec-9d20-4b33-9f2d-083e28499f84', 'name': '', 'tenant_id': 'e1c7862d43fa4660a0238e7a648770a0', 'network_id': '1f42e237-09b1-46c4-a66d-250485dcc6cf', 'ip_version': 4, 'cidr': '134.152.216.0/26', 'allocation_pools': [{'start': '134.152.216.2', 'end': '134.152.216.62'}], 'gateway_ip': '134.152.216.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.152.216.2', 'tags': [], 'project_id': 'e1c7862d43fa4660a0238e7a648770a0'}} 2025-04-29 09:57:36,674 - INFO - Created VN ctest-vn-00602073 2025-04-29 09:57:36,725 - DEBUG - VN ctest-vn-00602073 UUID is 1f42e237-09b1-46c4-a66d-250485dcc6cf 2025-04-29 09:57:37,077 - DEBUG - Response for create_network : {'network': {'id': 'a4459f2c-c747-43c2-8da7-f2c2e50a4e6a', 'name': 'ctest-ext_vn-51580068', 'tenant_id': 'e1c7862d43fa4660a0238e7a648770a0', 'project_id': 'e1c7862d43fa4660a0238e7a648770a0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91043094', 'ctest-ext_vn-51580068'], 'port_security_enabled': True, 'description': ''}} 2025-04-29 09:57:37,278 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2bb09a0-f4f1-41ed-b8f1-14ce357ee5d2', 'name': '', 'tenant_id': 'e1c7862d43fa4660a0238e7a648770a0', 'network_id': 'a4459f2c-c747-43c2-8da7-f2c2e50a4e6a', 'ip_version': 4, 'cidr': '99.135.97.64/26', 'allocation_pools': [{'start': '99.135.97.66', 'end': '99.135.97.126'}], 'gateway_ip': '99.135.97.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.135.97.66', 'tags': [], 'project_id': 'e1c7862d43fa4660a0238e7a648770a0'}} 2025-04-29 09:57:37,294 - INFO - Created VN ctest-ext_vn-51580068 2025-04-29 09:57:37,345 - DEBUG - VN ctest-ext_vn-51580068 UUID is a4459f2c-c747-43c2-8da7-f2c2e50a4e6a 2025-04-29 09:57:37,536 - DEBUG - Services list from nova: [, , ] 2025-04-29 09:57:38,419 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3246-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3246-1) 2025-04-29 09:57:39,409 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3246-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3246-1) 2025-04-29 09:57:39,485 - INFO - Setting gateway for router 6d0ac7fd-9641-49c1-b60b-bfc56daa82f5 to network a4459f2c-c747-43c2-8da7-f2c2e50a4e6a 2025-04-29 09:57:39,571 - INFO - Adding interface with subnet_id 643988ec-9d20-4b33-9f2d-083e28499f84, port_id None to router 6d0ac7fd-9641-49c1-b60b-bfc56daa82f5 2025-04-29 09:57:39,974 - INFO - Waiting for VM ctest-TestRoutersBasic-91043094-02022825 to be up.. 2025-04-29 09:57:40,170 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-29 09:57:45,237 - DEBUG - VM is in ACTIVE state now 2025-04-29 09:57:45,237 - INFO - VM name : ctest-TestRoutersBasic-91043094-02022825 2025-04-29 09:57:45,303 - DEBUG - VM ctest-TestRoutersBasic-91043094-02022825 ID is 45eba9a5-b747-4bbf-b65b-99f334fc2e56 2025-04-29 09:57:45,321 - DEBUG - VM ctest-TestRoutersBasic-91043094-02022825 launched on Node cn-jenkins-deploy-platform-ansible-os-3246-1 2025-04-29 09:57:45,382 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/45eba9a5-b747-4bbf-b65b-99f334fc2e56 2025-04-29 09:57:45,640 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/45eba9a5-b747-4bbf-b65b-99f334fc2e56 2025-04-29 09:57:45,669 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7e08b596-7de5-4eb5-80f2-a7af5e999272 2025-04-29 09:57:48,925 - 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=8.27 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 = 8.269/8.269/8.269/0.000 ms') 2025-04-29 09:57:48,925 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91043094-02022825 passed 2025-04-29 09:57:49,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-29 09:57:49,073 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91043094-02022825, IP 134.152.216.3, Port 22 2025-04-29 09:57:49,224 - DEBUG - VM ctest-TestRoutersBasic-91043094-02022825 is ready for SSH connections 2025-04-29 09:57:49,224 - INFO - Waiting for VM ctest-TestRoutersBasic-91043094-96328082 to be up.. 2025-04-29 09:57:49,292 - DEBUG - VM is in ACTIVE state now 2025-04-29 09:57:49,292 - INFO - VM name : ctest-TestRoutersBasic-91043094-96328082 2025-04-29 09:57:49,358 - DEBUG - VM ctest-TestRoutersBasic-91043094-96328082 ID is 8b10b8a9-fbc2-446a-af6b-aa3731518b70 2025-04-29 09:57:49,358 - DEBUG - VM ctest-TestRoutersBasic-91043094-96328082 launched on Node cn-jenkins-deploy-platform-ansible-os-3246-1 2025-04-29 09:57:49,416 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8b10b8a9-fbc2-446a-af6b-aa3731518b70 2025-04-29 09:57:49,423 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/52f612e3-4af1-4df9-905b-169390389448 2025-04-29 09:57:50,654 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.447 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.447/1.804/3.162/1.357 ms') 2025-04-29 09:57:50,654 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-91043094-96328082 passed 2025-04-29 09:57:50,801 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-29 09:57:50,801 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91043094-96328082, IP 99.135.97.67, Port 22 2025-04-29 09:57:50,953 - DEBUG - VM ctest-TestRoutersBasic-91043094-96328082 is ready for SSH connections 2025-04-29 09:57:50,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-29 09:57:50,953 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.135.97.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-04-29 09:57:50,953 - DEBUG - ping -s 56 -c 3 -W 1 99.135.97.67 2025-04-29 09:57:54,546 - DEBUG - PING 99.135.97.67 (99.135.97.67): 56 data bytes 64 bytes from 99.135.97.67: seq=0 ttl=62 time=7.125 ms 64 bytes from 99.135.97.67: seq=1 ttl=62 time=0.865 ms 64 bytes from 99.135.97.67: seq=2 ttl=62 time=1.085 ms --- 99.135.97.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.865/3.025/7.125 ms 2025-04-29 09:57:54,546 - INFO - Ping to IP 99.135.97.67 from VM ctest-TestRoutersBasic-91043094-02022825 passed 2025-04-29 09:57:54,546 - INFO - Deleting interface with subnet_id 643988ec-9d20-4b33-9f2d-083e28499f84, port_id None from router 6d0ac7fd-9641-49c1-b60b-bfc56daa82f5 2025-04-29 09:57:54,702 - INFO - Deleting VM ctest-TestRoutersBasic-91043094-96328082 2025-04-29 09:57:54,760 - INFO - Deleting VM ctest-TestRoutersBasic-91043094-02022825 2025-04-29 09:57:54,817 - INFO - Deleting VN ctest-ext_vn-51580068 2025-04-29 09:57:54,876 - DEBUG - VN a4459f2c-c747-43c2-8da7-f2c2e50a4e6a still in use: Unable to complete operation on network a4459f2c-c747-43c2-8da7-f2c2e50a4e6a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-58b54fda-9c38-482a-ac12-fc24036663e6'] 2025-04-29 09:57:54,877 - WARNING - Deleting VN ctest-ext_vn-51580068 failed..Will retry 2025-04-29 09:57:56,983 - DEBUG - Response for deleting network () 2025-04-29 09:57:56,983 - INFO - Deleting VN ctest-vn-00602073 2025-04-29 09:57:57,076 - DEBUG - Response for deleting network () 2025-04-29 09:57:57,326 - DEBUG - No XMPP flaps were noticed during the test
2025-04-29 09:57:57,326 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23]
2025-04-29 09:57:57,326 - INFO - -------------------------------------------------------------------------------- 2025-04-29 09:57:57,934 - INFO - Deleted project: ctest-TestRoutersBasic-91043094, ID : e1c7862d-43fa-4660-a023-8e7a648770a0