2025-09-11 16:57:19,109 - INFO - Domain Default found not creating 2025-09-11 16:57:19,255 - INFO - Project ctest-TestRoutersBasic-59887499 not found, creating it 2025-09-11 16:57:19,678 - INFO - Created Project:ctest-TestRoutersBasic-59887499, ID : edf597de-2e0c-4d41-af61-865490a34259 2025-09-11 16:57:21,104 - INFO - ================================================================================ 2025-09-11 16:57:21,104 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-11 16:57:21,104 - 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-09-11 16:57:21,361 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-09-11 16:57:21,361 - INFO - Initial checks done. Running the testcase now 2025-09-11 16:57:21,361 - INFO - 2025-09-11 16:57:22,047 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-59887499 2025-09-11 16:57:22,143 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-59887499 2025-09-11 16:57:22,454 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59887499', 'default']} 2025-09-11 16:57:22,737 - DEBUG - Response for create_network : {'network': {'id': '3538a6fc-8750-40c6-a0ba-9e70cb850351', 'name': 'ctest-vn-60373515', 'tenant_id': 'edf597de2e0c4d41af61865490a34259', 'project_id': 'edf597de2e0c4d41af61865490a34259', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59887499', 'ctest-vn-60373515'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 16:57:22,910 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a69c9b1-00d4-49e2-ab6b-cbe416c8a50c', 'name': '', 'tenant_id': 'edf597de2e0c4d41af61865490a34259', 'network_id': '3538a6fc-8750-40c6-a0ba-9e70cb850351', 'ip_version': 4, 'cidr': '157.181.31.192/26', 'allocation_pools': [{'start': '157.181.31.194', 'end': '157.181.31.254'}], 'gateway_ip': '157.181.31.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.181.31.194', 'tags': [], 'project_id': 'edf597de2e0c4d41af61865490a34259'}} 2025-09-11 16:57:22,927 - INFO - Created VN ctest-vn-60373515 2025-09-11 16:57:22,979 - DEBUG - VN ctest-vn-60373515 UUID is 3538a6fc-8750-40c6-a0ba-9e70cb850351 2025-09-11 16:57:23,312 - DEBUG - Response for create_network : {'network': {'id': '9415cd7c-b378-43af-adb6-0525a666dca1', 'name': 'ctest-ext_vn-72893393', 'tenant_id': 'edf597de2e0c4d41af61865490a34259', 'project_id': 'edf597de2e0c4d41af61865490a34259', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59887499', 'ctest-ext_vn-72893393'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 16:57:23,497 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ccd75b8c-a8f7-46d4-81e8-285f69dc27f4', 'name': '', 'tenant_id': 'edf597de2e0c4d41af61865490a34259', 'network_id': '9415cd7c-b378-43af-adb6-0525a666dca1', 'ip_version': 4, 'cidr': '80.182.64.64/26', 'allocation_pools': [{'start': '80.182.64.66', 'end': '80.182.64.126'}], 'gateway_ip': '80.182.64.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.182.64.66', 'tags': [], 'project_id': 'edf597de2e0c4d41af61865490a34259'}} 2025-09-11 16:57:23,513 - INFO - Created VN ctest-ext_vn-72893393 2025-09-11 16:57:23,563 - DEBUG - VN ctest-ext_vn-72893393 UUID is 9415cd7c-b378-43af-adb6-0525a666dca1 2025-09-11 16:57:23,756 - DEBUG - Services list from nova: [, , ] 2025-09-11 16:57:24,756 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4096-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4096-1) 2025-09-11 16:57:25,852 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4096-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4096-1) 2025-09-11 16:57:25,931 - INFO - Setting gateway for router a6499842-c611-41ca-976c-84665de9d8a8 to network 9415cd7c-b378-43af-adb6-0525a666dca1 2025-09-11 16:57:25,995 - INFO - Adding interface with subnet_id 9a69c9b1-00d4-49e2-ab6b-cbe416c8a50c, port_id None to router a6499842-c611-41ca-976c-84665de9d8a8 2025-09-11 16:57:26,334 - INFO - Waiting for VM ctest-TestRoutersBasic-59887499-02104990 to be up.. 2025-09-11 16:57:26,492 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 16:57:31,560 - DEBUG - VM is in ACTIVE state now 2025-09-11 16:57:31,560 - INFO - VM name : ctest-TestRoutersBasic-59887499-02104990 2025-09-11 16:57:31,631 - DEBUG - VM ctest-TestRoutersBasic-59887499-02104990 ID is 4812aeb7-e39f-442b-acb3-e35ff52745bf 2025-09-11 16:57:31,649 - DEBUG - VM ctest-TestRoutersBasic-59887499-02104990 launched on Node cn-jenkins-deploy-platform-ansible-os-4096-1 2025-09-11 16:57:31,716 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4812aeb7-e39f-442b-acb3-e35ff52745bf 2025-09-11 16:57:32,009 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4812aeb7-e39f-442b-acb3-e35ff52745bf 2025-09-11 16:57:32,038 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/aa13d307-75e7-4f01-a634-41b300d89a1c 2025-09-11 16:57:35,295 - 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 1025ms') 2025-09-11 16:57:35,295 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59887499-02104990 failed! 2025-09-11 16:57:35,351 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-59887499:ctest-vn-60373515 is 157.181.31.193 and allocation pool is NOT set 2025-09-11 16:57:37,410 - 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=3.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.808 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.808/2.198/3.588/1.390 ms') 2025-09-11 16:57:37,410 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59887499-02104990 passed 2025-09-11 16:57:37,559 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 16:57:37,559 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59887499-02104990, IP 157.181.31.195, Port 22 2025-09-11 16:57:37,718 - DEBUG - VM ctest-TestRoutersBasic-59887499-02104990 is ready for SSH connections 2025-09-11 16:57:37,719 - INFO - Waiting for VM ctest-TestRoutersBasic-59887499-74623687 to be up.. 2025-09-11 16:57:37,795 - DEBUG - VM is in ACTIVE state now 2025-09-11 16:57:37,795 - INFO - VM name : ctest-TestRoutersBasic-59887499-74623687 2025-09-11 16:57:37,870 - DEBUG - VM ctest-TestRoutersBasic-59887499-74623687 ID is 5defea65-1f28-446a-8710-2c17eb89d7c9 2025-09-11 16:57:37,870 - DEBUG - VM ctest-TestRoutersBasic-59887499-74623687 launched on Node cn-jenkins-deploy-platform-ansible-os-4096-1 2025-09-11 16:57:37,944 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5defea65-1f28-446a-8710-2c17eb89d7c9 2025-09-11 16:57:37,952 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c8c3092e-28ce-4372-a3bc-3aea15f76123 2025-09-11 16:57:39,177 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.488 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.488/2.285/4.082/1.797 ms') 2025-09-11 16:57:39,177 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-59887499-74623687 passed 2025-09-11 16:57:39,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 16:57:39,331 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59887499-74623687, IP 80.182.64.67, Port 22 2025-09-11 16:57:39,482 - DEBUG - VM ctest-TestRoutersBasic-59887499-74623687 is ready for SSH connections 2025-09-11 16:57:39,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 16:57:39,483 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.182.64.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-11 16:57:39,483 - DEBUG - ping -s 56 -c 3 -W 1 80.182.64.67 2025-09-11 16:57:43,475 - DEBUG - PING 80.182.64.67 (80.182.64.67): 56 data bytes 64 bytes from 80.182.64.67: seq=0 ttl=62 time=5.414 ms 64 bytes from 80.182.64.67: seq=1 ttl=62 time=0.942 ms 64 bytes from 80.182.64.67: seq=2 ttl=62 time=0.849 ms --- 80.182.64.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.849/2.401/5.414 ms 2025-09-11 16:57:43,475 - INFO - Ping to IP 80.182.64.67 from VM ctest-TestRoutersBasic-59887499-02104990 passed 2025-09-11 16:57:43,475 - INFO - Deleting interface with subnet_id 9a69c9b1-00d4-49e2-ab6b-cbe416c8a50c, port_id None from router a6499842-c611-41ca-976c-84665de9d8a8 2025-09-11 16:57:43,657 - INFO - Deleting VM ctest-TestRoutersBasic-59887499-74623687 2025-09-11 16:57:43,727 - INFO - Deleting VM ctest-TestRoutersBasic-59887499-02104990 2025-09-11 16:57:43,796 - INFO - Deleting VN ctest-ext_vn-72893393 2025-09-11 16:57:43,855 - DEBUG - VN 9415cd7c-b378-43af-adb6-0525a666dca1 still in use: Unable to complete operation on network 9415cd7c-b378-43af-adb6-0525a666dca1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-68d3516d-0371-4fb9-8639-71b13bfa030f'] 2025-09-11 16:57:43,855 - WARNING - Deleting VN ctest-ext_vn-72893393 failed..Will retry 2025-09-11 16:57:45,942 - DEBUG - Response for deleting network () 2025-09-11 16:57:45,942 - INFO - Deleting VN ctest-vn-60373515 2025-09-11 16:57:46,053 - DEBUG - Response for deleting network () 2025-09-11 16:57:46,311 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 16:57:46,311 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-11 16:57:46,311 - INFO - -------------------------------------------------------------------------------- 2025-09-11 16:57:46,993 - INFO - Deleted project: ctest-TestRoutersBasic-59887499, ID : edf597de-2e0c-4d41-af61-865490a34259