2025-05-13 11:12:32,379 - INFO - Domain Default found not creating 2025-05-13 11:12:32,514 - INFO - Project ctest-TestRoutersBasic-58991439 not found, creating it 2025-05-13 11:12:32,934 - INFO - Created Project:ctest-TestRoutersBasic-58991439, ID : 5e235fb8-54a2-4f45-8aea-59a5ead62e54 2025-05-13 11:12:34,274 - INFO - ================================================================================ 2025-05-13 11:12:34,275 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-13 11:12:34,275 - 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-05-13 11:12:34,542 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-05-13 11:12:34,542 - INFO - Initial checks done. Running the testcase now 2025-05-13 11:12:34,542 - INFO - 2025-05-13 11:12:35,222 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-58991439 2025-05-13 11:12:35,319 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-58991439 2025-05-13 11:12:35,643 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58991439', 'default']} 2025-05-13 11:12:35,930 - DEBUG - Response for create_network : {'network': {'id': 'df19a0bc-1792-4c4d-b80b-99c9f9ad02c9', 'name': 'ctest-vn-27582468', 'tenant_id': '5e235fb854a24f458aea59a5ead62e54', 'project_id': '5e235fb854a24f458aea59a5ead62e54', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58991439', 'ctest-vn-27582468'], 'port_security_enabled': True, 'description': ''}} 2025-05-13 11:12:36,142 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a9ff9b0-2040-4a26-82e1-e40a0cf7c5ac', 'name': '', 'tenant_id': '5e235fb854a24f458aea59a5ead62e54', 'network_id': 'df19a0bc-1792-4c4d-b80b-99c9f9ad02c9', 'ip_version': 4, 'cidr': '126.196.182.0/26', 'allocation_pools': [{'start': '126.196.182.2', 'end': '126.196.182.62'}], 'gateway_ip': '126.196.182.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.196.182.2', 'tags': [], 'project_id': '5e235fb854a24f458aea59a5ead62e54'}} 2025-05-13 11:12:36,159 - INFO - Created VN ctest-vn-27582468 2025-05-13 11:12:36,211 - DEBUG - VN ctest-vn-27582468 UUID is df19a0bc-1792-4c4d-b80b-99c9f9ad02c9 2025-05-13 11:12:36,567 - DEBUG - Response for create_network : {'network': {'id': '65604906-37aa-4c6a-a8c8-3ec69257a0e6', 'name': 'ctest-ext_vn-18915065', 'tenant_id': '5e235fb854a24f458aea59a5ead62e54', 'project_id': '5e235fb854a24f458aea59a5ead62e54', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58991439', 'ctest-ext_vn-18915065'], 'port_security_enabled': True, 'description': ''}} 2025-05-13 11:12:36,746 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e7c03139-c23c-4ea2-bedd-a89c6043e3fa', 'name': '', 'tenant_id': '5e235fb854a24f458aea59a5ead62e54', 'network_id': '65604906-37aa-4c6a-a8c8-3ec69257a0e6', 'ip_version': 4, 'cidr': '203.177.122.192/26', 'allocation_pools': [{'start': '203.177.122.194', 'end': '203.177.122.254'}], 'gateway_ip': '203.177.122.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.177.122.194', 'tags': [], 'project_id': '5e235fb854a24f458aea59a5ead62e54'}} 2025-05-13 11:12:36,762 - INFO - Created VN ctest-ext_vn-18915065 2025-05-13 11:12:36,815 - DEBUG - VN ctest-ext_vn-18915065 UUID is 65604906-37aa-4c6a-a8c8-3ec69257a0e6 2025-05-13 11:12:37,017 - DEBUG - Services list from nova: [, , ] 2025-05-13 11:12:37,977 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3305-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3305-1) 2025-05-13 11:12:39,063 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3305-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3305-1) 2025-05-13 11:12:39,131 - INFO - Setting gateway for router 26c7aa2f-193f-4907-9d03-bb319b9a636d to network 65604906-37aa-4c6a-a8c8-3ec69257a0e6 2025-05-13 11:12:39,183 - INFO - Adding interface with subnet_id 3a9ff9b0-2040-4a26-82e1-e40a0cf7c5ac, port_id None to router 26c7aa2f-193f-4907-9d03-bb319b9a636d 2025-05-13 11:12:39,571 - INFO - Waiting for VM ctest-TestRoutersBasic-58991439-29664956 to be up.. 2025-05-13 11:12:39,714 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-13 11:12:44,782 - DEBUG - VM is in ACTIVE state now 2025-05-13 11:12:44,782 - INFO - VM name : ctest-TestRoutersBasic-58991439-29664956 2025-05-13 11:12:44,849 - DEBUG - VM ctest-TestRoutersBasic-58991439-29664956 ID is 15d27146-5bb0-4138-a955-3e9961dbdd12 2025-05-13 11:12:44,865 - DEBUG - VM ctest-TestRoutersBasic-58991439-29664956 launched on Node cn-jenkins-deploy-platform-ansible-os-3305-1 2025-05-13 11:12:44,932 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/15d27146-5bb0-4138-a955-3e9961dbdd12 2025-05-13 11:12:45,221 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/15d27146-5bb0-4138-a955-3e9961dbdd12 2025-05-13 11:12:45,248 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/488d3517-29f3-4a98-8344-7bfdc0bbd8c0 2025-05-13 11:12:48,493 - 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 1020ms') 2025-05-13 11:12:48,493 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58991439-29664956 failed! 2025-05-13 11:12:48,547 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-58991439:ctest-vn-27582468 is 126.196.182.1 and allocation pool is NOT set 2025-05-13 11:12:50,604 - 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=2.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.391 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.391/1.500/2.610/1.109 ms') 2025-05-13 11:12:50,604 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58991439-29664956 passed 2025-05-13 11:12:50,751 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-13 11:12:50,751 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58991439-29664956, IP 126.196.182.3, Port 22 2025-05-13 11:12:50,910 - DEBUG - VM ctest-TestRoutersBasic-58991439-29664956 is ready for SSH connections 2025-05-13 11:12:50,910 - INFO - Waiting for VM ctest-TestRoutersBasic-58991439-81277047 to be up.. 2025-05-13 11:12:51,036 - DEBUG - VM is in ACTIVE state now 2025-05-13 11:12:51,036 - INFO - VM name : ctest-TestRoutersBasic-58991439-81277047 2025-05-13 11:12:51,110 - DEBUG - VM ctest-TestRoutersBasic-58991439-81277047 ID is 786b704b-a70f-404e-9de7-95e2b9be8475 2025-05-13 11:12:51,111 - DEBUG - VM ctest-TestRoutersBasic-58991439-81277047 launched on Node cn-jenkins-deploy-platform-ansible-os-3305-1 2025-05-13 11:12:51,226 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/786b704b-a70f-404e-9de7-95e2b9be8475 2025-05-13 11:12:51,238 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/800fafee-bd10-4147-86e5-8da943fd169e 2025-05-13 11:12:52,507 - 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.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.324 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.324/1.789/3.255/1.465 ms') 2025-05-13 11:12:52,508 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-58991439-81277047 passed 2025-05-13 11:12:52,663 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-13 11:12:52,663 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58991439-81277047, IP 203.177.122.195, Port 22 2025-05-13 11:12:52,818 - DEBUG - VM ctest-TestRoutersBasic-58991439-81277047 is ready for SSH connections 2025-05-13 11:12:52,818 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-13 11:12:52,818 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.177.122.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-05-13 11:12:52,818 - DEBUG - ping -s 56 -c 3 -W 1 203.177.122.195 2025-05-13 11:12:56,799 - DEBUG - PING 203.177.122.195 (203.177.122.195): 56 data bytes 64 bytes from 203.177.122.195: seq=0 ttl=62 time=5.421 ms 64 bytes from 203.177.122.195: seq=1 ttl=62 time=0.706 ms 64 bytes from 203.177.122.195: seq=2 ttl=62 time=0.944 ms --- 203.177.122.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.706/2.357/5.421 ms 2025-05-13 11:12:56,799 - INFO - Ping to IP 203.177.122.195 from VM ctest-TestRoutersBasic-58991439-29664956 passed 2025-05-13 11:12:56,799 - INFO - Deleting interface with subnet_id 3a9ff9b0-2040-4a26-82e1-e40a0cf7c5ac, port_id None from router 26c7aa2f-193f-4907-9d03-bb319b9a636d 2025-05-13 11:12:57,004 - INFO - Deleting VM ctest-TestRoutersBasic-58991439-81277047 2025-05-13 11:12:57,064 - INFO - Deleting VM ctest-TestRoutersBasic-58991439-29664956 2025-05-13 11:12:57,141 - INFO - Deleting VN ctest-ext_vn-18915065 2025-05-13 11:12:57,199 - DEBUG - VN 65604906-37aa-4c6a-a8c8-3ec69257a0e6 still in use: Unable to complete operation on network 65604906-37aa-4c6a-a8c8-3ec69257a0e6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-94a67d7c-08d8-4017-b581-f29eb0b8ea88'] 2025-05-13 11:12:57,200 - WARNING - Deleting VN ctest-ext_vn-18915065 failed..Will retry 2025-05-13 11:12:59,294 - DEBUG - Response for deleting network () 2025-05-13 11:12:59,294 - INFO - Deleting VN ctest-vn-27582468 2025-05-13 11:12:59,394 - DEBUG - Response for deleting network () 2025-05-13 11:12:59,649 - DEBUG - No XMPP flaps were noticed during the test
2025-05-13 11:12:59,649 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-05-13 11:12:59,649 - INFO - -------------------------------------------------------------------------------- 2025-05-13 11:13:00,282 - INFO - Deleted project: ctest-TestRoutersBasic-58991439, ID : 5e235fb8-54a2-4f45-8aea-59a5ead62e54