2025-07-09 12:29:10,326 - INFO - Domain Default found not creating 2025-07-09 12:29:10,480 - INFO - Project ctest-TestRoutersBasic-94182311 not found, creating it 2025-07-09 12:29:10,940 - INFO - Created Project:ctest-TestRoutersBasic-94182311, ID : 1aad9f01-3a92-49ed-92d2-f63e32b646ae 2025-07-09 12:29:12,283 - INFO - ================================================================================ 2025-07-09 12:29:12,283 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-09 12:29:12,283 - 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-09 12:29:12,544 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with 2025-07-09 12:29:12,544 - INFO - Initial checks done. Running the testcase now 2025-07-09 12:29:12,545 - INFO - 2025-07-09 12:29:13,244 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-94182311 2025-07-09 12:29:13,343 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-94182311 2025-07-09 12:29:13,659 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94182311', 'default']} 2025-07-09 12:29:13,946 - DEBUG - Response for create_network : {'network': {'id': '89f4815a-c20d-4158-86b0-35f128e69daf', 'name': 'ctest-vn-32805147', 'tenant_id': '1aad9f013a9249ed92d2f63e32b646ae', 'project_id': '1aad9f013a9249ed92d2f63e32b646ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94182311', 'ctest-vn-32805147'], 'port_security_enabled': True, 'description': ''}} 2025-07-09 12:29:14,118 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd72bb354-3fba-4fb5-8748-7dc919d47914', 'name': '', 'tenant_id': '1aad9f013a9249ed92d2f63e32b646ae', 'network_id': '89f4815a-c20d-4158-86b0-35f128e69daf', 'ip_version': 4, 'cidr': '92.46.188.0/26', 'allocation_pools': [{'start': '92.46.188.2', 'end': '92.46.188.62'}], 'gateway_ip': '92.46.188.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.46.188.2', 'tags': [], 'project_id': '1aad9f013a9249ed92d2f63e32b646ae'}} 2025-07-09 12:29:14,135 - INFO - Created VN ctest-vn-32805147 2025-07-09 12:29:14,191 - DEBUG - VN ctest-vn-32805147 UUID is 89f4815a-c20d-4158-86b0-35f128e69daf 2025-07-09 12:29:14,494 - DEBUG - Response for create_network : {'network': {'id': '2b374e23-bdae-4e5c-a42a-f121f8302db5', 'name': 'ctest-ext_vn-26494808', 'tenant_id': '1aad9f013a9249ed92d2f63e32b646ae', 'project_id': '1aad9f013a9249ed92d2f63e32b646ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94182311', 'ctest-ext_vn-26494808'], 'port_security_enabled': True, 'description': ''}} 2025-07-09 12:29:14,707 - DEBUG - Response for create_subnet : {'subnet': {'id': '33e0f783-db6f-4536-a425-d16a51973b7e', 'name': '', 'tenant_id': '1aad9f013a9249ed92d2f63e32b646ae', 'network_id': '2b374e23-bdae-4e5c-a42a-f121f8302db5', 'ip_version': 4, 'cidr': '59.129.10.64/26', 'allocation_pools': [{'start': '59.129.10.66', 'end': '59.129.10.126'}], 'gateway_ip': '59.129.10.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.129.10.66', 'tags': [], 'project_id': '1aad9f013a9249ed92d2f63e32b646ae'}} 2025-07-09 12:29:14,724 - INFO - Created VN ctest-ext_vn-26494808 2025-07-09 12:29:14,775 - DEBUG - VN ctest-ext_vn-26494808 UUID is 2b374e23-bdae-4e5c-a42a-f121f8302db5 2025-07-09 12:29:14,933 - DEBUG - Services list from nova: [, , ] 2025-07-09 12:29:15,901 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3618-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3618-1) 2025-07-09 12:29:16,970 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3618-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3618-1) 2025-07-09 12:29:17,051 - INFO - Setting gateway for router 50343b24-10ac-48bd-b6a9-51dd7be56d25 to network 2b374e23-bdae-4e5c-a42a-f121f8302db5 2025-07-09 12:29:17,115 - INFO - Adding interface with subnet_id d72bb354-3fba-4fb5-8748-7dc919d47914, port_id None to router 50343b24-10ac-48bd-b6a9-51dd7be56d25 2025-07-09 12:29:17,517 - INFO - Waiting for VM ctest-TestRoutersBasic-94182311-27972100 to be up.. 2025-07-09 12:29:17,663 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-09 12:29:22,735 - DEBUG - VM is in ACTIVE state now 2025-07-09 12:29:22,735 - INFO - VM name : ctest-TestRoutersBasic-94182311-27972100 2025-07-09 12:29:22,815 - DEBUG - VM ctest-TestRoutersBasic-94182311-27972100 ID is c00fcdfe-5a92-478d-894d-29c2e3586afd 2025-07-09 12:29:22,839 - DEBUG - VM ctest-TestRoutersBasic-94182311-27972100 launched on Node cn-jenkins-deploy-platform-ansible-os-3618-1 2025-07-09 12:29:22,926 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/c00fcdfe-5a92-478d-894d-29c2e3586afd 2025-07-09 12:29:23,227 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/c00fcdfe-5a92-478d-894d-29c2e3586afd 2025-07-09 12:29:23,262 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/7fdb1a82-4dd1-44b0-ad3e-d30850bd3134 2025-07-09 12:29:26,515 - 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 1007ms') 2025-07-09 12:29:26,515 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-94182311-27972100 failed! 2025-07-09 12:29:26,583 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-94182311:ctest-vn-32805147 is 92.46.188.1 and allocation pool is NOT set 2025-07-09 12:29:28,646 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.512 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.512/2.061/3.611/1.549 ms') 2025-07-09 12:29:28,646 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-94182311-27972100 passed 2025-07-09 12:29:28,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 12:29:28,799 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94182311-27972100, IP 92.46.188.3, Port 22 2025-07-09 12:29:28,955 - DEBUG - VM ctest-TestRoutersBasic-94182311-27972100 is ready for SSH connections 2025-07-09 12:29:28,955 - INFO - Waiting for VM ctest-TestRoutersBasic-94182311-87022920 to be up.. 2025-07-09 12:29:29,027 - DEBUG - VM is in ACTIVE state now 2025-07-09 12:29:29,027 - INFO - VM name : ctest-TestRoutersBasic-94182311-87022920 2025-07-09 12:29:29,096 - DEBUG - VM ctest-TestRoutersBasic-94182311-87022920 ID is 50d91c22-8004-4f48-aa42-372f2e30474e 2025-07-09 12:29:29,097 - DEBUG - VM ctest-TestRoutersBasic-94182311-87022920 launched on Node cn-jenkins-deploy-platform-ansible-os-3618-1 2025-07-09 12:29:29,166 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/50d91c22-8004-4f48-aa42-372f2e30474e 2025-07-09 12:29:29,175 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/a0f3b6a0-cbb5-446a-99fa-d2c6e0e12146 2025-07-09 12:29:30,420 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.372 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.372/1.531/2.691/1.159 ms') 2025-07-09 12:29:30,421 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-94182311-87022920 passed 2025-07-09 12:29:30,571 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 12:29:30,571 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94182311-87022920, IP 59.129.10.67, Port 22 2025-07-09 12:29:30,730 - DEBUG - VM ctest-TestRoutersBasic-94182311-87022920 is ready for SSH connections 2025-07-09 12:29:30,730 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 12:29:30,731 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.129.10.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-07-09 12:29:30,731 - DEBUG - ping -s 56 -c 3 -W 1 59.129.10.67 2025-07-09 12:29:34,677 - DEBUG - PING 59.129.10.67 (59.129.10.67): 56 data bytes 64 bytes from 59.129.10.67: seq=0 ttl=62 time=5.674 ms 64 bytes from 59.129.10.67: seq=1 ttl=62 time=0.869 ms 64 bytes from 59.129.10.67: seq=2 ttl=62 time=0.725 ms --- 59.129.10.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.725/2.422/5.674 ms 2025-07-09 12:29:34,677 - INFO - Ping to IP 59.129.10.67 from VM ctest-TestRoutersBasic-94182311-27972100 passed 2025-07-09 12:29:34,677 - INFO - Deleting interface with subnet_id d72bb354-3fba-4fb5-8748-7dc919d47914, port_id None from router 50343b24-10ac-48bd-b6a9-51dd7be56d25 2025-07-09 12:29:34,879 - INFO - Deleting VM ctest-TestRoutersBasic-94182311-87022920 2025-07-09 12:29:34,966 - INFO - Deleting VM ctest-TestRoutersBasic-94182311-27972100 2025-07-09 12:29:35,045 - INFO - Deleting VN ctest-ext_vn-26494808 2025-07-09 12:29:35,109 - DEBUG - VN 2b374e23-bdae-4e5c-a42a-f121f8302db5 still in use: Unable to complete operation on network 2b374e23-bdae-4e5c-a42a-f121f8302db5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f51dd241-9354-49db-b4a8-7f4cab274352'] 2025-07-09 12:29:35,109 - WARNING - Deleting VN ctest-ext_vn-26494808 failed..Will retry 2025-07-09 12:29:37,227 - DEBUG - Response for deleting network () 2025-07-09 12:29:37,227 - INFO - Deleting VN ctest-vn-32805147 2025-07-09 12:29:37,344 - DEBUG - Response for deleting network () 2025-07-09 12:29:37,597 - DEBUG - No XMPP flaps were noticed during the test 2025-07-09 12:29:37,597 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-07-09 12:29:37,597 - INFO - -------------------------------------------------------------------------------- 2025-07-09 12:29:38,265 - INFO - Deleted project: ctest-TestRoutersBasic-94182311, ID : 1aad9f01-3a92-49ed-92d2-f63e32b646ae