2025-02-03 21:26:58,596 - INFO - Domain Default found not creating 2025-02-03 21:26:58,748 - INFO - Project ctest-TestRoutersBasic-79364726 not found, creating it 2025-02-03 21:26:59,218 - INFO - Created Project:ctest-TestRoutersBasic-79364726, ID : 49532b4a-ba16-4b3c-af62-7e6d87013ed9 2025-02-03 21:27:00,684 - INFO - ================================================================================ 2025-02-03 21:27:00,684 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-03 21:27:00,684 - 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-02-03 21:27:00,948 - DEBUG - Nothing to compare xmpp stats {'10.0.0.54': {'10.20.0.8': '0'}} with 2025-02-03 21:27:00,948 - INFO - Initial checks done. Running the testcase now 2025-02-03 21:27:00,948 - INFO - 2025-02-03 21:27:01,933 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-79364726 2025-02-03 21:27:02,034 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-79364726 2025-02-03 21:27:02,366 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79364726', 'default']} 2025-02-03 21:27:02,701 - DEBUG - Response for create_network : {'network': {'id': '5bed8739-79fa-4190-888a-9b3cf5674528', 'name': 'ctest-vn-85618599', 'tenant_id': '49532b4aba164b3caf627e6d87013ed9', 'project_id': '49532b4aba164b3caf627e6d87013ed9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79364726', 'ctest-vn-85618599'], 'port_security_enabled': True, 'description': ''}} 2025-02-03 21:27:02,915 - DEBUG - Response for create_subnet : {'subnet': {'id': '76c8c6e1-22c1-4700-9e5e-9feabbb98957', 'name': '', 'tenant_id': '49532b4aba164b3caf627e6d87013ed9', 'network_id': '5bed8739-79fa-4190-888a-9b3cf5674528', 'ip_version': 4, 'cidr': '222.181.202.192/26', 'allocation_pools': [{'start': '222.181.202.194', 'end': '222.181.202.254'}], 'gateway_ip': '222.181.202.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.181.202.194', 'tags': [], 'project_id': '49532b4aba164b3caf627e6d87013ed9'}} 2025-02-03 21:27:02,934 - INFO - Created VN ctest-vn-85618599 2025-02-03 21:27:02,990 - DEBUG - VN ctest-vn-85618599 UUID is 5bed8739-79fa-4190-888a-9b3cf5674528 2025-02-03 21:27:03,316 - DEBUG - Response for create_network : {'network': {'id': '9d25c60d-3905-44f8-a318-75bcc44423a0', 'name': 'ctest-ext_vn-06532487', 'tenant_id': '49532b4aba164b3caf627e6d87013ed9', 'project_id': '49532b4aba164b3caf627e6d87013ed9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79364726', 'ctest-ext_vn-06532487'], 'port_security_enabled': True, 'description': ''}} 2025-02-03 21:27:03,532 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e39ac51-8cc1-4701-899f-d38fc14c9c30', 'name': '', 'tenant_id': '49532b4aba164b3caf627e6d87013ed9', 'network_id': '9d25c60d-3905-44f8-a318-75bcc44423a0', 'ip_version': 4, 'cidr': '93.141.169.128/26', 'allocation_pools': [{'start': '93.141.169.130', 'end': '93.141.169.190'}], 'gateway_ip': '93.141.169.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.141.169.130', 'tags': [], 'project_id': '49532b4aba164b3caf627e6d87013ed9'}} 2025-02-03 21:27:03,551 - INFO - Created VN ctest-ext_vn-06532487 2025-02-03 21:27:03,602 - DEBUG - VN ctest-ext_vn-06532487 UUID is 9d25c60d-3905-44f8-a318-75bcc44423a0 2025-02-03 21:27:03,802 - DEBUG - Services list from nova: [, , ] 2025-02-03 21:27:04,801 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2683-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2683-1) 2025-02-03 21:27:05,974 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2683-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2683-1) 2025-02-03 21:27:06,051 - INFO - Setting gateway for router d2002ff4-571c-4668-944c-5ea35c5411cf to network 9d25c60d-3905-44f8-a318-75bcc44423a0 2025-02-03 21:27:06,105 - INFO - Adding interface with subnet_id 76c8c6e1-22c1-4700-9e5e-9feabbb98957, port_id None to router d2002ff4-571c-4668-944c-5ea35c5411cf 2025-02-03 21:27:06,591 - INFO - Waiting for VM ctest-TestRoutersBasic-79364726-80028191 to be up.. 2025-02-03 21:27:06,794 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-03 21:27:11,888 - DEBUG - VM is in ACTIVE state now 2025-02-03 21:27:11,888 - INFO - VM name : ctest-TestRoutersBasic-79364726-80028191 2025-02-03 21:27:11,973 - DEBUG - VM ctest-TestRoutersBasic-79364726-80028191 ID is 206010f9-c70e-4d06-a41f-5e4b89b63368 2025-02-03 21:27:11,994 - DEBUG - VM ctest-TestRoutersBasic-79364726-80028191 launched on Node cn-jenkins-deploy-platform-ansible-os-2683-1 2025-02-03 21:27:12,078 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/206010f9-c70e-4d06-a41f-5e4b89b63368 2025-02-03 21:27:12,386 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/206010f9-c70e-4d06-a41f-5e4b89b63368 2025-02-03 21:27:12,420 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine-interface/9c0e9565-28cf-4690-b327-6cca3e0a6644 2025-02-03 21:27:15,659 - 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-02-03 21:27:15,659 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79364726-80028191 failed! 2025-02-03 21:27:15,714 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-79364726:ctest-vn-85618599 is 222.181.202.193 and allocation pool is NOT set 2025-02-03 21:27:17,776 - 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.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.20 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 = 1.200/2.115/3.030/0.915 ms') 2025-02-03 21:27:17,776 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79364726-80028191 passed 2025-02-03 21:27:17,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 21:27:17,930 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79364726-80028191, IP 222.181.202.195, Port 22 2025-02-03 21:27:18,085 - DEBUG - VM ctest-TestRoutersBasic-79364726-80028191 is ready for SSH connections 2025-02-03 21:27:18,086 - INFO - Waiting for VM ctest-TestRoutersBasic-79364726-47086305 to be up.. 2025-02-03 21:27:18,169 - DEBUG - VM is in ACTIVE state now 2025-02-03 21:27:18,169 - INFO - VM name : ctest-TestRoutersBasic-79364726-47086305 2025-02-03 21:27:18,240 - DEBUG - VM ctest-TestRoutersBasic-79364726-47086305 ID is 05af6275-1135-4031-ab2b-08a06e0e9a28 2025-02-03 21:27:18,240 - DEBUG - VM ctest-TestRoutersBasic-79364726-47086305 launched on Node cn-jenkins-deploy-platform-ansible-os-2683-1 2025-02-03 21:27:18,312 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/05af6275-1135-4031-ab2b-08a06e0e9a28 2025-02-03 21:27:18,321 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine-interface/b5290468-033f-4381-8641-41a83be03252 2025-02-03 21:27:19,564 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.331 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.331/1.911/3.491/1.580 ms') 2025-02-03 21:27:19,564 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-79364726-47086305 passed 2025-02-03 21:27:19,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 21:27:19,718 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79364726-47086305, IP 93.141.169.131, Port 22 2025-02-03 21:27:19,878 - DEBUG - VM ctest-TestRoutersBasic-79364726-47086305 is ready for SSH connections 2025-02-03 21:27:19,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 21:27:19,878 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.141.169.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.54, gateway password: c0ntrail123 2025-02-03 21:27:19,878 - DEBUG - ping -s 56 -c 3 -W 1 93.141.169.131 2025-02-03 21:27:23,566 - DEBUG - PING 93.141.169.131 (93.141.169.131): 56 data bytes 64 bytes from 93.141.169.131: seq=0 ttl=62 time=8.096 ms 64 bytes from 93.141.169.131: seq=1 ttl=62 time=1.086 ms 64 bytes from 93.141.169.131: seq=2 ttl=62 time=1.058 ms --- 93.141.169.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.058/3.413/8.096 ms 2025-02-03 21:27:23,566 - INFO - Ping to IP 93.141.169.131 from VM ctest-TestRoutersBasic-79364726-80028191 passed 2025-02-03 21:27:23,566 - INFO - Deleting interface with subnet_id 76c8c6e1-22c1-4700-9e5e-9feabbb98957, port_id None from router d2002ff4-571c-4668-944c-5ea35c5411cf 2025-02-03 21:27:23,815 - INFO - Deleting VM ctest-TestRoutersBasic-79364726-47086305 2025-02-03 21:27:23,878 - INFO - Deleting VM ctest-TestRoutersBasic-79364726-80028191 2025-02-03 21:27:23,961 - INFO - Deleting VN ctest-ext_vn-06532487 2025-02-03 21:27:24,048 - DEBUG - VN 9d25c60d-3905-44f8-a318-75bcc44423a0 still in use: Unable to complete operation on network 9d25c60d-3905-44f8-a318-75bcc44423a0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ca0dc833-8978-47b0-862b-f7f0eedbce8b'] 2025-02-03 21:27:24,049 - WARNING - Deleting VN ctest-ext_vn-06532487 failed..Will retry 2025-02-03 21:27:26,168 - DEBUG - Response for deleting network () 2025-02-03 21:27:26,168 - INFO - Deleting VN ctest-vn-85618599 2025-02-03 21:27:26,275 - DEBUG - Response for deleting network () 2025-02-03 21:27:26,535 - DEBUG - No XMPP flaps were noticed during the test
2025-02-03 21:27:26,535 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-02-03 21:27:26,535 - INFO - -------------------------------------------------------------------------------- 2025-02-03 21:27:27,216 - INFO - Deleted project: ctest-TestRoutersBasic-79364726, ID : 49532b4a-ba16-4b3c-af62-7e6d87013ed9