2025-07-19 07:32:31,327 - INFO - Domain Default found not creating 2025-07-19 07:32:31,495 - INFO - Project ctest-TestRoutersBasic-27066409 not found, creating it 2025-07-19 07:32:31,989 - INFO - Created Project:ctest-TestRoutersBasic-27066409, ID : 45a71110-2507-4cff-9ab5-5d87600a71e2 2025-07-19 07:32:34,268 - INFO - ================================================================================ 2025-07-19 07:32:34,268 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-19 07:32:34,268 - 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-19 07:32:34,525 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-19 07:32:34,525 - INFO - Initial checks done. Running the testcase now 2025-07-19 07:32:34,526 - INFO - 2025-07-19 07:32:35,319 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-27066409 2025-07-19 07:32:35,419 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-27066409 2025-07-19 07:32:35,750 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27066409', 'default']} 2025-07-19 07:32:36,079 - DEBUG - Response for create_network : {'network': {'id': '5bb8f54d-6d7c-4f90-8983-3849af50eede', 'name': 'ctest-vn-22560315', 'tenant_id': '45a7111025074cff9ab55d87600a71e2', 'project_id': '45a7111025074cff9ab55d87600a71e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27066409', 'ctest-vn-22560315'], 'port_security_enabled': True, 'description': ''}} 2025-07-19 07:32:36,285 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7e0be99-c2db-4ea2-a4d2-6b4b40698fe3', 'name': '', 'tenant_id': '45a7111025074cff9ab55d87600a71e2', 'network_id': '5bb8f54d-6d7c-4f90-8983-3849af50eede', 'ip_version': 4, 'cidr': '88.101.204.192/26', 'allocation_pools': [{'start': '88.101.204.194', 'end': '88.101.204.254'}], 'gateway_ip': '88.101.204.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.101.204.194', 'tags': [], 'project_id': '45a7111025074cff9ab55d87600a71e2'}} 2025-07-19 07:32:36,311 - INFO - Created VN ctest-vn-22560315 2025-07-19 07:32:36,370 - DEBUG - VN ctest-vn-22560315 UUID is 5bb8f54d-6d7c-4f90-8983-3849af50eede 2025-07-19 07:32:36,728 - DEBUG - Response for create_network : {'network': {'id': 'cfa75951-c312-414d-86fd-709be470c0c3', 'name': 'ctest-ext_vn-92217704', 'tenant_id': '45a7111025074cff9ab55d87600a71e2', 'project_id': '45a7111025074cff9ab55d87600a71e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27066409', 'ctest-ext_vn-92217704'], 'port_security_enabled': True, 'description': ''}} 2025-07-19 07:32:36,911 - DEBUG - Response for create_subnet : {'subnet': {'id': '46ad722a-d68e-4bec-85ad-20a600cad57d', 'name': '', 'tenant_id': '45a7111025074cff9ab55d87600a71e2', 'network_id': 'cfa75951-c312-414d-86fd-709be470c0c3', 'ip_version': 4, 'cidr': '162.252.235.64/26', 'allocation_pools': [{'start': '162.252.235.66', 'end': '162.252.235.126'}], 'gateway_ip': '162.252.235.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.252.235.66', 'tags': [], 'project_id': '45a7111025074cff9ab55d87600a71e2'}} 2025-07-19 07:32:36,930 - INFO - Created VN ctest-ext_vn-92217704 2025-07-19 07:32:36,982 - DEBUG - VN ctest-ext_vn-92217704 UUID is cfa75951-c312-414d-86fd-709be470c0c3 2025-07-19 07:32:37,147 - DEBUG - Services list from nova: [, , ] 2025-07-19 07:32:38,295 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3666-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3666-1) 2025-07-19 07:32:39,569 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3666-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3666-1) 2025-07-19 07:32:39,652 - INFO - Setting gateway for router c71ba98f-593b-4e00-aa24-2e0099550531 to network cfa75951-c312-414d-86fd-709be470c0c3 2025-07-19 07:32:39,720 - INFO - Adding interface with subnet_id c7e0be99-c2db-4ea2-a4d2-6b4b40698fe3, port_id None to router c71ba98f-593b-4e00-aa24-2e0099550531 2025-07-19 07:32:40,159 - INFO - Waiting for VM ctest-TestRoutersBasic-27066409-15816692 to be up.. 2025-07-19 07:32:40,305 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-19 07:32:45,387 - DEBUG - VM is in ACTIVE state now 2025-07-19 07:32:45,387 - INFO - VM name : ctest-TestRoutersBasic-27066409-15816692 2025-07-19 07:32:45,461 - DEBUG - VM ctest-TestRoutersBasic-27066409-15816692 ID is c0e6bf54-2d09-4c2d-8179-815123b33303 2025-07-19 07:32:45,480 - DEBUG - VM ctest-TestRoutersBasic-27066409-15816692 launched on Node cn-jenkins-deploy-platform-ansible-os-3666-1 2025-07-19 07:32:45,557 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c0e6bf54-2d09-4c2d-8179-815123b33303 2025-07-19 07:32:45,905 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c0e6bf54-2d09-4c2d-8179-815123b33303 2025-07-19 07:32:45,947 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/82a81084-d2e2-49c1-9f4f-220e3f68072d 2025-07-19 07:32:49,200 - 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 1006ms') 2025-07-19 07:32:49,200 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-27066409-15816692 failed! 2025-07-19 07:32:49,258 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-27066409:ctest-vn-22560315 is 88.101.204.193 and allocation pool is NOT set 2025-07-19 07:32:51,325 - 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.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.39 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 = 2.389/3.224/4.059/0.835 ms') 2025-07-19 07:32:51,325 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-27066409-15816692 passed 2025-07-19 07:32:51,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-19 07:32:51,478 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27066409-15816692, IP 88.101.204.195, Port 22 2025-07-19 07:32:51,644 - DEBUG - VM ctest-TestRoutersBasic-27066409-15816692 is ready for SSH connections 2025-07-19 07:32:51,644 - INFO - Waiting for VM ctest-TestRoutersBasic-27066409-32796666 to be up.. 2025-07-19 07:32:51,733 - DEBUG - VM is in ACTIVE state now 2025-07-19 07:32:51,734 - INFO - VM name : ctest-TestRoutersBasic-27066409-32796666 2025-07-19 07:32:51,812 - DEBUG - VM ctest-TestRoutersBasic-27066409-32796666 ID is a14e1d01-c0cf-4d2d-b3c6-0b44bc32ed62 2025-07-19 07:32:51,812 - DEBUG - VM ctest-TestRoutersBasic-27066409-32796666 launched on Node cn-jenkins-deploy-platform-ansible-os-3666-1 2025-07-19 07:32:51,894 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a14e1d01-c0cf-4d2d-b3c6-0b44bc32ed62 2025-07-19 07:32:51,905 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e6e1cd0a-93f4-43eb-997c-1933b6c6445b 2025-07-19 07:32:53,147 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.455 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.455/1.681/2.907/1.226 ms') 2025-07-19 07:32:53,147 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-27066409-32796666 passed 2025-07-19 07:32:53,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-19 07:32:53,302 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27066409-32796666, IP 162.252.235.67, Port 22 2025-07-19 07:32:53,462 - DEBUG - VM ctest-TestRoutersBasic-27066409-32796666 is ready for SSH connections 2025-07-19 07:32:53,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-19 07:32:53,462 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.252.235.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-19 07:32:53,462 - DEBUG - ping -s 56 -c 3 -W 1 162.252.235.67 2025-07-19 07:32:57,178 - DEBUG - PING 162.252.235.67 (162.252.235.67): 56 data bytes 64 bytes from 162.252.235.67: seq=0 ttl=62 time=8.111 ms 64 bytes from 162.252.235.67: seq=1 ttl=62 time=0.794 ms 64 bytes from 162.252.235.67: seq=2 ttl=62 time=0.802 ms --- 162.252.235.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.794/3.235/8.111 ms 2025-07-19 07:32:57,178 - INFO - Ping to IP 162.252.235.67 from VM ctest-TestRoutersBasic-27066409-15816692 passed 2025-07-19 07:32:57,178 - INFO - Deleting interface with subnet_id c7e0be99-c2db-4ea2-a4d2-6b4b40698fe3, port_id None from router c71ba98f-593b-4e00-aa24-2e0099550531 2025-07-19 07:32:57,429 - INFO - Deleting VM ctest-TestRoutersBasic-27066409-32796666 2025-07-19 07:32:57,510 - INFO - Deleting VM ctest-TestRoutersBasic-27066409-15816692 2025-07-19 07:32:57,623 - INFO - Deleting VN ctest-ext_vn-92217704 2025-07-19 07:32:57,731 - DEBUG - VN cfa75951-c312-414d-86fd-709be470c0c3 still in use: Unable to complete operation on network cfa75951-c312-414d-86fd-709be470c0c3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-93a71d71-43af-4883-8779-bb42659c0c9d'] 2025-07-19 07:32:57,731 - WARNING - Deleting VN ctest-ext_vn-92217704 failed..Will retry 2025-07-19 07:32:59,847 - DEBUG - Response for deleting network () 2025-07-19 07:32:59,847 - INFO - Deleting VN ctest-vn-22560315 2025-07-19 07:32:59,966 - DEBUG - Response for deleting network () 2025-07-19 07:33:00,226 - DEBUG - No XMPP flaps were noticed during the test
2025-07-19 07:33:00,226 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-07-19 07:33:00,227 - INFO - -------------------------------------------------------------------------------- 2025-07-19 07:33:00,955 - INFO - Deleted project: ctest-TestRoutersBasic-27066409, ID : 45a71110-2507-4cff-9ab5-5d87600a71e2