2025-04-23 10:10:36,920 - INFO - Domain Default found not creating 2025-04-23 10:10:37,137 - INFO - Project ctest-TestRoutersBasic-38573693 not found, creating it 2025-04-23 10:10:37,691 - INFO - Created Project:ctest-TestRoutersBasic-38573693, ID : 8a31ce21-f59b-4c3c-adbb-691ff9857565 2025-04-23 10:10:39,346 - INFO - ================================================================================ 2025-04-23 10:10:39,346 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-23 10:10:39,346 - 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-23 10:10:39,616 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2025-04-23 10:10:39,616 - INFO - Initial checks done. Running the testcase now 2025-04-23 10:10:39,616 - INFO - 2025-04-23 10:10:40,412 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-38573693 2025-04-23 10:10:40,511 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-38573693 2025-04-23 10:10:40,871 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38573693', 'default']} 2025-04-23 10:10:41,249 - DEBUG - Response for create_network : {'network': {'id': '00a38cfd-df02-4540-9481-a66aa097c1f0', 'name': 'ctest-vn-36443085', 'tenant_id': '8a31ce21f59b4c3cadbb691ff9857565', 'project_id': '8a31ce21f59b4c3cadbb691ff9857565', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38573693', 'ctest-vn-36443085'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 10:10:41,419 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e1a4347-7505-4d6f-b2e1-dc974118e528', 'name': '', 'tenant_id': '8a31ce21f59b4c3cadbb691ff9857565', 'network_id': '00a38cfd-df02-4540-9481-a66aa097c1f0', 'ip_version': 4, 'cidr': '74.104.216.0/26', 'allocation_pools': [{'start': '74.104.216.2', 'end': '74.104.216.62'}], 'gateway_ip': '74.104.216.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.104.216.2', 'tags': [], 'project_id': '8a31ce21f59b4c3cadbb691ff9857565'}} 2025-04-23 10:10:41,441 - INFO - Created VN ctest-vn-36443085 2025-04-23 10:10:41,495 - DEBUG - VN ctest-vn-36443085 UUID is 00a38cfd-df02-4540-9481-a66aa097c1f0 2025-04-23 10:10:41,881 - DEBUG - Response for create_network : {'network': {'id': 'c2f6e41b-0b5c-4d59-8425-9932bf6ff5cf', 'name': 'ctest-ext_vn-73047221', 'tenant_id': '8a31ce21f59b4c3cadbb691ff9857565', 'project_id': '8a31ce21f59b4c3cadbb691ff9857565', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38573693', 'ctest-ext_vn-73047221'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 10:10:42,128 - DEBUG - Response for create_subnet : {'subnet': {'id': '86cb9e08-4c5d-4aed-99a4-c6b5c61223fe', 'name': '', 'tenant_id': '8a31ce21f59b4c3cadbb691ff9857565', 'network_id': 'c2f6e41b-0b5c-4d59-8425-9932bf6ff5cf', 'ip_version': 4, 'cidr': '70.62.69.0/26', 'allocation_pools': [{'start': '70.62.69.2', 'end': '70.62.69.62'}], 'gateway_ip': '70.62.69.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.62.69.2', 'tags': [], 'project_id': '8a31ce21f59b4c3cadbb691ff9857565'}} 2025-04-23 10:10:42,159 - INFO - Created VN ctest-ext_vn-73047221 2025-04-23 10:10:42,215 - DEBUG - VN ctest-ext_vn-73047221 UUID is c2f6e41b-0b5c-4d59-8425-9932bf6ff5cf 2025-04-23 10:10:42,421 - DEBUG - Services list from nova: [, , ] 2025-04-23 10:10:43,743 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3179-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3179-1) 2025-04-23 10:10:45,053 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3179-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3179-1) 2025-04-23 10:10:45,163 - INFO - Setting gateway for router b256fb49-90a8-4b17-8341-ee7539312edd to network c2f6e41b-0b5c-4d59-8425-9932bf6ff5cf 2025-04-23 10:10:45,274 - INFO - Adding interface with subnet_id 0e1a4347-7505-4d6f-b2e1-dc974118e528, port_id None to router b256fb49-90a8-4b17-8341-ee7539312edd 2025-04-23 10:10:45,804 - INFO - Waiting for VM ctest-TestRoutersBasic-38573693-53681161 to be up.. 2025-04-23 10:10:46,065 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-23 10:10:51,163 - DEBUG - VM is in ACTIVE state now 2025-04-23 10:10:51,163 - INFO - VM name : ctest-TestRoutersBasic-38573693-53681161 2025-04-23 10:10:51,260 - DEBUG - VM ctest-TestRoutersBasic-38573693-53681161 ID is 182e93f9-2562-48ea-ab11-89e7e11e6e41 2025-04-23 10:10:51,283 - DEBUG - VM ctest-TestRoutersBasic-38573693-53681161 launched on Node cn-jenkins-deploy-platform-ansible-os-3179-1 2025-04-23 10:10:51,385 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/182e93f9-2562-48ea-ab11-89e7e11e6e41 2025-04-23 10:10:51,716 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/182e93f9-2562-48ea-ab11-89e7e11e6e41 2025-04-23 10:10:51,759 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/b5b2dc35-10ca-44cd-90f5-1f7461ae6d72 2025-04-23 10:10:55,031 - 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 1014ms') 2025-04-23 10:10:55,031 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38573693-53681161 failed! 2025-04-23 10:10:55,091 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-38573693:ctest-vn-36443085 is 74.104.216.1 and allocation pool is NOT set 2025-04-23 10:10:57,160 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.26 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.264/3.564/4.865/1.300 ms') 2025-04-23 10:10:57,160 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38573693-53681161 passed 2025-04-23 10:10:57,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 10:10:57,315 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38573693-53681161, IP 74.104.216.3, Port 22 2025-04-23 10:10:57,493 - DEBUG - VM ctest-TestRoutersBasic-38573693-53681161 is ready for SSH connections 2025-04-23 10:10:57,493 - INFO - Waiting for VM ctest-TestRoutersBasic-38573693-59688536 to be up.. 2025-04-23 10:10:57,598 - DEBUG - VM is in ACTIVE state now 2025-04-23 10:10:57,598 - INFO - VM name : ctest-TestRoutersBasic-38573693-59688536 2025-04-23 10:10:57,694 - DEBUG - VM ctest-TestRoutersBasic-38573693-59688536 ID is 137fcb2a-e09f-4d6f-9d08-2104ef00e1f2 2025-04-23 10:10:57,694 - DEBUG - VM ctest-TestRoutersBasic-38573693-59688536 launched on Node cn-jenkins-deploy-platform-ansible-os-3179-1 2025-04-23 10:10:57,783 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/137fcb2a-e09f-4d6f-9d08-2104ef00e1f2 2025-04-23 10:10:57,795 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/c496e987-c71a-4e29-9f0d-ec86d7ab0c31 2025-04-23 10:10:59,061 - 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=5.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.46 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 = 1.460/3.598/5.736/2.138 ms') 2025-04-23 10:10:59,061 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-38573693-59688536 passed 2025-04-23 10:10:59,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 10:10:59,231 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38573693-59688536, IP 70.62.69.3, Port 22 2025-04-23 10:10:59,397 - DEBUG - VM ctest-TestRoutersBasic-38573693-59688536 is ready for SSH connections 2025-04-23 10:10:59,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 10:10:59,397 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.62.69.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-04-23 10:10:59,397 - DEBUG - ping -s 56 -c 3 -W 1 70.62.69.3 2025-04-23 10:11:03,204 - DEBUG - PING 70.62.69.3 (70.62.69.3): 56 data bytes 64 bytes from 70.62.69.3: seq=0 ttl=62 time=11.951 ms 64 bytes from 70.62.69.3: seq=1 ttl=62 time=1.191 ms 64 bytes from 70.62.69.3: seq=2 ttl=62 time=1.044 ms --- 70.62.69.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.044/4.728/11.951 ms 2025-04-23 10:11:03,204 - INFO - Ping to IP 70.62.69.3 from VM ctest-TestRoutersBasic-38573693-53681161 passed 2025-04-23 10:11:03,204 - INFO - Deleting interface with subnet_id 0e1a4347-7505-4d6f-b2e1-dc974118e528, port_id None from router b256fb49-90a8-4b17-8341-ee7539312edd 2025-04-23 10:11:03,490 - INFO - Deleting VM ctest-TestRoutersBasic-38573693-59688536 2025-04-23 10:11:03,577 - INFO - Deleting VM ctest-TestRoutersBasic-38573693-53681161 2025-04-23 10:11:03,678 - INFO - Deleting VN ctest-ext_vn-73047221 2025-04-23 10:11:03,781 - DEBUG - VN c2f6e41b-0b5c-4d59-8425-9932bf6ff5cf still in use: Unable to complete operation on network c2f6e41b-0b5c-4d59-8425-9932bf6ff5cf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-18354472-1bbc-407a-aeca-dc394de3a489'] 2025-04-23 10:11:03,781 - WARNING - Deleting VN ctest-ext_vn-73047221 failed..Will retry 2025-04-23 10:11:05,917 - DEBUG - Response for deleting network () 2025-04-23 10:11:05,917 - INFO - Deleting VN ctest-vn-36443085 2025-04-23 10:11:06,070 - DEBUG - Response for deleting network () 2025-04-23 10:11:06,343 - DEBUG - No XMPP flaps were noticed during the test
2025-04-23 10:11:06,343 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-04-23 10:11:06,343 - INFO - -------------------------------------------------------------------------------- 2025-04-23 10:11:07,111 - INFO - Deleted project: ctest-TestRoutersBasic-38573693, ID : 8a31ce21-f59b-4c3c-adbb-691ff9857565