2025-04-22 17:29:50,665 - INFO - Domain Default found not creating 2025-04-22 17:29:50,790 - INFO - Project ctest-TestRoutersBasic-46422729 not found, creating it 2025-04-22 17:29:51,212 - INFO - Created Project:ctest-TestRoutersBasic-46422729, ID : 3b23710f-d622-4ba5-9587-6d23ca9891dc 2025-04-22 17:29:52,540 - INFO - ================================================================================ 2025-04-22 17:29:52,540 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-22 17:29:52,540 - 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-22 17:29:52,801 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-04-22 17:29:52,801 - INFO - Initial checks done. Running the testcase now 2025-04-22 17:29:52,801 - INFO - 2025-04-22 17:29:53,486 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-46422729 2025-04-22 17:29:53,584 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-46422729 2025-04-22 17:29:53,911 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46422729', 'default']} 2025-04-22 17:29:54,190 - DEBUG - Response for create_network : {'network': {'id': '1fc73336-cd10-4361-83ad-d1ec6e6006ad', 'name': 'ctest-vn-15098115', 'tenant_id': '3b23710fd6224ba595876d23ca9891dc', 'project_id': '3b23710fd6224ba595876d23ca9891dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46422729', 'ctest-vn-15098115'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 17:29:54,335 - DEBUG - Response for create_subnet : {'subnet': {'id': '9879f96e-96e0-4ac5-b859-9ef4cf9f4234', 'name': '', 'tenant_id': '3b23710fd6224ba595876d23ca9891dc', 'network_id': '1fc73336-cd10-4361-83ad-d1ec6e6006ad', 'ip_version': 4, 'cidr': '179.26.95.64/26', 'allocation_pools': [{'start': '179.26.95.66', 'end': '179.26.95.126'}], 'gateway_ip': '179.26.95.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.26.95.66', 'tags': [], 'project_id': '3b23710fd6224ba595876d23ca9891dc'}} 2025-04-22 17:29:54,352 - INFO - Created VN ctest-vn-15098115 2025-04-22 17:29:54,404 - DEBUG - VN ctest-vn-15098115 UUID is 1fc73336-cd10-4361-83ad-d1ec6e6006ad 2025-04-22 17:29:54,728 - DEBUG - Response for create_network : {'network': {'id': 'a24c4987-6e6f-4bc5-ab91-e288a7f3fe97', 'name': 'ctest-ext_vn-85294937', 'tenant_id': '3b23710fd6224ba595876d23ca9891dc', 'project_id': '3b23710fd6224ba595876d23ca9891dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46422729', 'ctest-ext_vn-85294937'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 17:29:54,882 - DEBUG - Response for create_subnet : {'subnet': {'id': '10fec534-62ae-40f2-bcc0-98202ceb242f', 'name': '', 'tenant_id': '3b23710fd6224ba595876d23ca9891dc', 'network_id': 'a24c4987-6e6f-4bc5-ab91-e288a7f3fe97', 'ip_version': 4, 'cidr': '39.156.39.64/26', 'allocation_pools': [{'start': '39.156.39.66', 'end': '39.156.39.126'}], 'gateway_ip': '39.156.39.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.156.39.66', 'tags': [], 'project_id': '3b23710fd6224ba595876d23ca9891dc'}} 2025-04-22 17:29:54,900 - INFO - Created VN ctest-ext_vn-85294937 2025-04-22 17:29:54,952 - DEBUG - VN ctest-ext_vn-85294937 UUID is a24c4987-6e6f-4bc5-ab91-e288a7f3fe97 2025-04-22 17:29:55,147 - DEBUG - Services list from nova: [, , ] 2025-04-22 17:29:56,094 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3168-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3168-1) 2025-04-22 17:29:57,168 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3168-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3168-1) 2025-04-22 17:29:57,239 - INFO - Setting gateway for router a6b4b5b6-f614-49db-9a8a-780d59b4a757 to network a24c4987-6e6f-4bc5-ab91-e288a7f3fe97 2025-04-22 17:29:57,297 - INFO - Adding interface with subnet_id 9879f96e-96e0-4ac5-b859-9ef4cf9f4234, port_id None to router a6b4b5b6-f614-49db-9a8a-780d59b4a757 2025-04-22 17:29:57,577 - INFO - Waiting for VM ctest-TestRoutersBasic-46422729-27631874 to be up.. 2025-04-22 17:29:57,761 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-22 17:30:02,847 - DEBUG - VM is in ACTIVE state now 2025-04-22 17:30:02,847 - INFO - VM name : ctest-TestRoutersBasic-46422729-27631874 2025-04-22 17:30:02,915 - DEBUG - VM ctest-TestRoutersBasic-46422729-27631874 ID is 191f6896-8fba-476c-8e46-4b0155808dd6 2025-04-22 17:30:02,932 - DEBUG - VM ctest-TestRoutersBasic-46422729-27631874 launched on Node cn-jenkins-deploy-platform-ansible-os-3168-1 2025-04-22 17:30:02,997 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/191f6896-8fba-476c-8e46-4b0155808dd6 2025-04-22 17:30:03,287 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/191f6896-8fba-476c-8e46-4b0155808dd6 2025-04-22 17:30:03,318 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6316cb8a-d95e-4670-a350-e1eabf80e318 2025-04-22 17:30:06,584 - 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 1023ms') 2025-04-22 17:30:06,584 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46422729-27631874 failed! 2025-04-22 17:30:06,640 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-46422729:ctest-vn-15098115 is 179.26.95.65 and allocation pool is NOT set 2025-04-22 17:30:08,709 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.332 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.332/1.570/2.809/1.238 ms') 2025-04-22 17:30:08,709 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46422729-27631874 passed 2025-04-22 17:30:08,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 17:30:08,860 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46422729-27631874, IP 179.26.95.67, Port 22 2025-04-22 17:30:09,019 - DEBUG - VM ctest-TestRoutersBasic-46422729-27631874 is ready for SSH connections 2025-04-22 17:30:09,019 - INFO - Waiting for VM ctest-TestRoutersBasic-46422729-01572308 to be up.. 2025-04-22 17:30:09,091 - DEBUG - VM is in ACTIVE state now 2025-04-22 17:30:09,091 - INFO - VM name : ctest-TestRoutersBasic-46422729-01572308 2025-04-22 17:30:09,153 - DEBUG - VM ctest-TestRoutersBasic-46422729-01572308 ID is f1a8fa12-55a0-4f51-9beb-9a9451515e07 2025-04-22 17:30:09,154 - DEBUG - VM ctest-TestRoutersBasic-46422729-01572308 launched on Node cn-jenkins-deploy-platform-ansible-os-3168-1 2025-04-22 17:30:09,215 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f1a8fa12-55a0-4f51-9beb-9a9451515e07 2025-04-22 17:30:09,223 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/687d3db3-8d3d-43dd-bb96-70d87d78f5c6 2025-04-22 17:30:10,456 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.439 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.439/1.597/2.755/1.158 ms') 2025-04-22 17:30:10,456 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-46422729-01572308 passed 2025-04-22 17:30:10,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 17:30:10,612 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46422729-01572308, IP 39.156.39.67, Port 22 2025-04-22 17:30:10,772 - DEBUG - VM ctest-TestRoutersBasic-46422729-01572308 is ready for SSH connections 2025-04-22 17:30:10,772 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 17:30:10,772 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.156.39.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-22 17:30:10,772 - DEBUG - ping -s 56 -c 3 -W 1 39.156.39.67 2025-04-22 17:30:14,722 - DEBUG - PING 39.156.39.67 (39.156.39.67): 56 data bytes 64 bytes from 39.156.39.67: seq=0 ttl=62 time=4.341 ms 64 bytes from 39.156.39.67: seq=1 ttl=62 time=0.967 ms 64 bytes from 39.156.39.67: seq=2 ttl=62 time=0.959 ms --- 39.156.39.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.959/2.089/4.341 ms 2025-04-22 17:30:14,722 - INFO - Ping to IP 39.156.39.67 from VM ctest-TestRoutersBasic-46422729-27631874 passed 2025-04-22 17:30:14,722 - INFO - Deleting interface with subnet_id 9879f96e-96e0-4ac5-b859-9ef4cf9f4234, port_id None from router a6b4b5b6-f614-49db-9a8a-780d59b4a757 2025-04-22 17:30:14,941 - INFO - Deleting VM ctest-TestRoutersBasic-46422729-01572308 2025-04-22 17:30:15,019 - INFO - Deleting VM ctest-TestRoutersBasic-46422729-27631874 2025-04-22 17:30:15,088 - INFO - Deleting VN ctest-ext_vn-85294937 2025-04-22 17:30:15,153 - DEBUG - VN a24c4987-6e6f-4bc5-ab91-e288a7f3fe97 still in use: Unable to complete operation on network a24c4987-6e6f-4bc5-ab91-e288a7f3fe97. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-69f9d95b-6965-43be-9c58-774afa34b492'] 2025-04-22 17:30:15,153 - WARNING - Deleting VN ctest-ext_vn-85294937 failed..Will retry 2025-04-22 17:30:17,267 - DEBUG - Response for deleting network () 2025-04-22 17:30:17,267 - INFO - Deleting VN ctest-vn-15098115 2025-04-22 17:30:17,365 - DEBUG - Response for deleting network () 2025-04-22 17:30:17,629 - DEBUG - No XMPP flaps were noticed during the test
2025-04-22 17:30:17,629 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-04-22 17:30:17,629 - INFO - -------------------------------------------------------------------------------- 2025-04-22 17:30:18,284 - INFO - Deleted project: ctest-TestRoutersBasic-46422729, ID : 3b23710f-d622-4ba5-9587-6d23ca9891dc