2025-09-22 19:41:01,196 - INFO - Domain Default found not creating 2025-09-22 19:41:01,334 - INFO - Project ctest-TestRoutersBasic-13256575 not found, creating it 2025-09-22 19:41:01,773 - INFO - Created Project:ctest-TestRoutersBasic-13256575, ID : 558d4870-de56-4db8-b894-a1f75148c382 2025-09-22 19:41:03,186 - INFO - ================================================================================ 2025-09-22 19:41:03,186 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-22 19:41:03,186 - 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-09-22 19:41:03,445 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.14': '0'}} with 2025-09-22 19:41:03,445 - INFO - Initial checks done. Running the testcase now 2025-09-22 19:41:03,445 - INFO - 2025-09-22 19:41:04,122 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-13256575 2025-09-22 19:41:04,215 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-13256575 2025-09-22 19:41:04,535 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13256575', 'default']} 2025-09-22 19:41:04,809 - DEBUG - Response for create_network : {'network': {'id': '2119ad32-fbc9-44d2-b55c-d276112eff90', 'name': 'ctest-vn-28281806', 'tenant_id': '558d4870de564db8b894a1f75148c382', 'project_id': '558d4870de564db8b894a1f75148c382', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13256575', 'ctest-vn-28281806'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 19:41:04,974 - DEBUG - Response for create_subnet : {'subnet': {'id': '08f5c8bf-bce6-41f8-bda2-7a1dd45e54d7', 'name': '', 'tenant_id': '558d4870de564db8b894a1f75148c382', 'network_id': '2119ad32-fbc9-44d2-b55c-d276112eff90', 'ip_version': 4, 'cidr': '216.7.46.64/26', 'allocation_pools': [{'start': '216.7.46.66', 'end': '216.7.46.126'}], 'gateway_ip': '216.7.46.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.7.46.66', 'tags': [], 'project_id': '558d4870de564db8b894a1f75148c382'}} 2025-09-22 19:41:04,990 - INFO - Created VN ctest-vn-28281806 2025-09-22 19:41:05,043 - DEBUG - VN ctest-vn-28281806 UUID is 2119ad32-fbc9-44d2-b55c-d276112eff90 2025-09-22 19:41:05,367 - DEBUG - Response for create_network : {'network': {'id': '9f063fb8-c086-49d1-b22d-2af22facfaa8', 'name': 'ctest-ext_vn-09831484', 'tenant_id': '558d4870de564db8b894a1f75148c382', 'project_id': '558d4870de564db8b894a1f75148c382', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13256575', 'ctest-ext_vn-09831484'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 19:41:05,523 - DEBUG - Response for create_subnet : {'subnet': {'id': '61d088a7-ab47-42ea-8f8a-6c7e7dbb08e2', 'name': '', 'tenant_id': '558d4870de564db8b894a1f75148c382', 'network_id': '9f063fb8-c086-49d1-b22d-2af22facfaa8', 'ip_version': 4, 'cidr': '12.61.225.0/26', 'allocation_pools': [{'start': '12.61.225.2', 'end': '12.61.225.62'}], 'gateway_ip': '12.61.225.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.61.225.2', 'tags': [], 'project_id': '558d4870de564db8b894a1f75148c382'}} 2025-09-22 19:41:05,538 - INFO - Created VN ctest-ext_vn-09831484 2025-09-22 19:41:05,587 - DEBUG - VN ctest-ext_vn-09831484 UUID is 9f063fb8-c086-49d1-b22d-2af22facfaa8 2025-09-22 19:41:05,785 - DEBUG - Services list from nova: [, , ] 2025-09-22 19:41:06,762 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4171-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4171-1) 2025-09-22 19:41:07,961 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4171-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4171-1) 2025-09-22 19:41:08,053 - INFO - Setting gateway for router aa6cbad7-19be-4d70-ba46-2deff87d6748 to network 9f063fb8-c086-49d1-b22d-2af22facfaa8 2025-09-22 19:41:08,113 - INFO - Adding interface with subnet_id 08f5c8bf-bce6-41f8-bda2-7a1dd45e54d7, port_id None to router aa6cbad7-19be-4d70-ba46-2deff87d6748 2025-09-22 19:41:08,444 - INFO - Waiting for VM ctest-TestRoutersBasic-13256575-69250718 to be up.. 2025-09-22 19:41:08,540 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-22 19:41:13,616 - DEBUG - VM is in ACTIVE state now 2025-09-22 19:41:13,616 - INFO - VM name : ctest-TestRoutersBasic-13256575-69250718 2025-09-22 19:41:13,681 - DEBUG - VM ctest-TestRoutersBasic-13256575-69250718 ID is 330dcd5f-ed81-4123-bb27-33c43583df7f 2025-09-22 19:41:13,700 - DEBUG - VM ctest-TestRoutersBasic-13256575-69250718 launched on Node cn-jenkins-deploy-platform-ansible-os-4171-1 2025-09-22 19:41:13,781 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/330dcd5f-ed81-4123-bb27-33c43583df7f 2025-09-22 19:41:14,080 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/330dcd5f-ed81-4123-bb27-33c43583df7f 2025-09-22 19:41:14,127 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/5487c78a-c8b3-48b4-b278-faff4da26356 2025-09-22 19:41:17,377 - 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-09-22 19:41:17,377 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13256575-69250718 failed! 2025-09-22 19:41:17,431 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-13256575:ctest-vn-28281806 is 216.7.46.65 and allocation pool is NOT set 2025-09-22 19:41:19,495 - 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.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.532 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 = 0.532/1.811/3.090/1.279 ms') 2025-09-22 19:41:19,495 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13256575-69250718 passed 2025-09-22 19:41:19,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 19:41:19,643 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13256575-69250718, IP 216.7.46.67, Port 22 2025-09-22 19:41:19,799 - DEBUG - VM ctest-TestRoutersBasic-13256575-69250718 is ready for SSH connections 2025-09-22 19:41:19,799 - INFO - Waiting for VM ctest-TestRoutersBasic-13256575-04956407 to be up.. 2025-09-22 19:41:19,882 - DEBUG - VM is in ACTIVE state now 2025-09-22 19:41:19,882 - INFO - VM name : ctest-TestRoutersBasic-13256575-04956407 2025-09-22 19:41:19,955 - DEBUG - VM ctest-TestRoutersBasic-13256575-04956407 ID is d33e379e-356d-4ca8-83f5-bbed5d57cc78 2025-09-22 19:41:19,955 - DEBUG - VM ctest-TestRoutersBasic-13256575-04956407 launched on Node cn-jenkins-deploy-platform-ansible-os-4171-1 2025-09-22 19:41:20,044 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/d33e379e-356d-4ca8-83f5-bbed5d57cc78 2025-09-22 19:41:20,052 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/f1d7ebf1-fb4f-4a84-93c2-0782aa51cb33 2025-09-22 19:41:21,299 - 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=4.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.62 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.617/3.046/4.476/1.429 ms') 2025-09-22 19:41:21,299 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-13256575-04956407 passed 2025-09-22 19:41:21,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 19:41:21,447 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13256575-04956407, IP 12.61.225.3, Port 22 2025-09-22 19:41:21,602 - DEBUG - VM ctest-TestRoutersBasic-13256575-04956407 is ready for SSH connections 2025-09-22 19:41:21,603 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 19:41:21,603 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.61.225.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-09-22 19:41:21,603 - DEBUG - ping -s 56 -c 3 -W 1 12.61.225.3 2025-09-22 19:41:25,268 - DEBUG - PING 12.61.225.3 (12.61.225.3): 56 data bytes 64 bytes from 12.61.225.3: seq=0 ttl=62 time=6.059 ms 64 bytes from 12.61.225.3: seq=1 ttl=62 time=1.041 ms 64 bytes from 12.61.225.3: seq=2 ttl=62 time=0.861 ms --- 12.61.225.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.861/2.653/6.059 ms 2025-09-22 19:41:25,269 - INFO - Ping to IP 12.61.225.3 from VM ctest-TestRoutersBasic-13256575-69250718 passed 2025-09-22 19:41:25,269 - INFO - Deleting interface with subnet_id 08f5c8bf-bce6-41f8-bda2-7a1dd45e54d7, port_id None from router aa6cbad7-19be-4d70-ba46-2deff87d6748 2025-09-22 19:41:25,448 - INFO - Deleting VM ctest-TestRoutersBasic-13256575-04956407 2025-09-22 19:41:25,527 - INFO - Deleting VM ctest-TestRoutersBasic-13256575-69250718 2025-09-22 19:41:25,603 - INFO - Deleting VN ctest-ext_vn-09831484 2025-09-22 19:41:25,674 - DEBUG - VN 9f063fb8-c086-49d1-b22d-2af22facfaa8 still in use: Unable to complete operation on network 9f063fb8-c086-49d1-b22d-2af22facfaa8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-34e9a92a-9bb9-4cb7-8d52-6f6a97e0d26d'] 2025-09-22 19:41:25,674 - WARNING - Deleting VN ctest-ext_vn-09831484 failed..Will retry 2025-09-22 19:41:27,780 - DEBUG - Response for deleting network () 2025-09-22 19:41:27,780 - INFO - Deleting VN ctest-vn-28281806 2025-09-22 19:41:27,879 - DEBUG - Response for deleting network () 2025-09-22 19:41:28,137 - DEBUG - No XMPP flaps were noticed during the test
2025-09-22 19:41:28,137 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-22 19:41:28,138 - INFO - -------------------------------------------------------------------------------- 2025-09-22 19:41:28,851 - INFO - Deleted project: ctest-TestRoutersBasic-13256575, ID : 558d4870-de56-4db8-b894-a1f75148c382