2025-11-12 03:24:56,789 - INFO - Domain Default found not creating 2025-11-12 03:24:56,920 - INFO - Project ctest-TestRoutersBasic-44296188 not found, creating it 2025-11-12 03:24:57,330 - INFO - Created Project:ctest-TestRoutersBasic-44296188, ID : c6aeb143-b2a9-4e52-8a6e-e579886a8b35 2025-11-12 03:24:58,680 - INFO - ================================================================================ 2025-11-12 03:24:58,680 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-12 03:24:58,680 - 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-11-12 03:24:58,931 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-11-12 03:24:58,931 - INFO - Initial checks done. Running the testcase now 2025-11-12 03:24:58,931 - INFO - 2025-11-12 03:24:59,603 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-44296188 2025-11-12 03:24:59,695 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-44296188 2025-11-12 03:25:00,011 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44296188', 'default']} 2025-11-12 03:25:00,279 - DEBUG - Response for create_network : {'network': {'id': 'c63112cf-edb7-4eed-9ee8-6edcb72c6a83', 'name': 'ctest-vn-28253996', 'tenant_id': 'c6aeb143b2a94e528a6ee579886a8b35', 'project_id': 'c6aeb143b2a94e528a6ee579886a8b35', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44296188', 'ctest-vn-28253996'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 03:25:00,480 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c4ad75e3-194e-4708-b986-497bde0e0ba0', 'name': '', 'tenant_id': 'c6aeb143b2a94e528a6ee579886a8b35', 'network_id': 'c63112cf-edb7-4eed-9ee8-6edcb72c6a83', 'ip_version': 4, 'cidr': '71.29.14.64/26', 'allocation_pools': [{'start': '71.29.14.66', 'end': '71.29.14.126'}], 'gateway_ip': '71.29.14.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.29.14.66', 'tags': [], 'project_id': 'c6aeb143b2a94e528a6ee579886a8b35'}} 2025-11-12 03:25:00,496 - INFO - Created VN ctest-vn-28253996 2025-11-12 03:25:00,547 - DEBUG - VN ctest-vn-28253996 UUID is c63112cf-edb7-4eed-9ee8-6edcb72c6a83 2025-11-12 03:25:00,862 - DEBUG - Response for create_network : {'network': {'id': 'e01a112e-e64e-489e-aec7-eddeade107d4', 'name': 'ctest-ext_vn-05313269', 'tenant_id': 'c6aeb143b2a94e528a6ee579886a8b35', 'project_id': 'c6aeb143b2a94e528a6ee579886a8b35', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44296188', 'ctest-ext_vn-05313269'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 03:25:01,069 - DEBUG - Response for create_subnet : {'subnet': {'id': '1549c027-d6c8-417b-86b9-3581ac639c6e', 'name': '', 'tenant_id': 'c6aeb143b2a94e528a6ee579886a8b35', 'network_id': 'e01a112e-e64e-489e-aec7-eddeade107d4', 'ip_version': 4, 'cidr': '58.34.129.128/26', 'allocation_pools': [{'start': '58.34.129.130', 'end': '58.34.129.190'}], 'gateway_ip': '58.34.129.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.34.129.130', 'tags': [], 'project_id': 'c6aeb143b2a94e528a6ee579886a8b35'}} 2025-11-12 03:25:01,085 - INFO - Created VN ctest-ext_vn-05313269 2025-11-12 03:25:01,135 - DEBUG - VN ctest-ext_vn-05313269 UUID is e01a112e-e64e-489e-aec7-eddeade107d4 2025-11-12 03:25:01,328 - DEBUG - Services list from nova: [, , ] 2025-11-12 03:25:02,266 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4698-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4698-1) 2025-11-12 03:25:03,323 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4698-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4698-1) 2025-11-12 03:25:03,387 - INFO - Setting gateway for router fb48ebb7-da67-4677-8113-23dc526bad2d to network e01a112e-e64e-489e-aec7-eddeade107d4 2025-11-12 03:25:03,453 - INFO - Adding interface with subnet_id c4ad75e3-194e-4708-b986-497bde0e0ba0, port_id None to router fb48ebb7-da67-4677-8113-23dc526bad2d 2025-11-12 03:25:03,750 - INFO - Waiting for VM ctest-TestRoutersBasic-44296188-12542498 to be up.. 2025-11-12 03:25:03,874 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 03:25:08,940 - DEBUG - VM is in ACTIVE state now 2025-11-12 03:25:08,940 - INFO - VM name : ctest-TestRoutersBasic-44296188-12542498 2025-11-12 03:25:09,005 - DEBUG - VM ctest-TestRoutersBasic-44296188-12542498 ID is 7ba319be-9b5e-46b7-b399-87fa444dd3b2 2025-11-12 03:25:09,023 - DEBUG - VM ctest-TestRoutersBasic-44296188-12542498 launched on Node cn-jenkins-deploy-platform-ansible-os-4698-1 2025-11-12 03:25:09,087 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7ba319be-9b5e-46b7-b399-87fa444dd3b2 2025-11-12 03:25:09,376 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7ba319be-9b5e-46b7-b399-87fa444dd3b2 2025-11-12 03:25:09,680 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/01974d56-1ff8-4037-96e5-909315438661 2025-11-12 03:25:12,939 - 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 1028ms') 2025-11-12 03:25:12,939 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44296188-12542498 failed! 2025-11-12 03:25:12,991 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-44296188:ctest-vn-28253996 is 71.29.14.65 and allocation pool is NOT set 2025-11-12 03:25:15,050 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.422 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.422/1.579/2.736/1.157 ms') 2025-11-12 03:25:15,050 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44296188-12542498 passed 2025-11-12 03:25:15,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:25:15,203 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44296188-12542498, IP 71.29.14.67, Port 22 2025-11-12 03:25:15,358 - DEBUG - VM ctest-TestRoutersBasic-44296188-12542498 is ready for SSH connections 2025-11-12 03:25:15,358 - INFO - Waiting for VM ctest-TestRoutersBasic-44296188-46102869 to be up.. 2025-11-12 03:25:15,424 - DEBUG - VM is in ACTIVE state now 2025-11-12 03:25:15,424 - INFO - VM name : ctest-TestRoutersBasic-44296188-46102869 2025-11-12 03:25:15,485 - DEBUG - VM ctest-TestRoutersBasic-44296188-46102869 ID is e030d8a2-ddf7-4174-83c0-a58c6565f23b 2025-11-12 03:25:15,485 - DEBUG - VM ctest-TestRoutersBasic-44296188-46102869 launched on Node cn-jenkins-deploy-platform-ansible-os-4698-1 2025-11-12 03:25:15,543 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e030d8a2-ddf7-4174-83c0-a58c6565f23b 2025-11-12 03:25:15,551 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7586b237-1cfb-43e3-9caf-3e0b8e67db30 2025-11-12 03:25:16,783 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.233 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.233/1.406/2.579/1.173 ms') 2025-11-12 03:25:16,783 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-44296188-46102869 passed 2025-11-12 03:25:16,931 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:25:16,931 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44296188-46102869, IP 58.34.129.131, Port 22 2025-11-12 03:25:17,082 - DEBUG - VM ctest-TestRoutersBasic-44296188-46102869 is ready for SSH connections 2025-11-12 03:25:17,082 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:25:17,082 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.34.129.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-12 03:25:17,082 - DEBUG - ping -s 56 -c 3 -W 1 58.34.129.131 2025-11-12 03:25:20,767 - DEBUG - PING 58.34.129.131 (58.34.129.131): 56 data bytes 64 bytes from 58.34.129.131: seq=0 ttl=62 time=4.064 ms 64 bytes from 58.34.129.131: seq=1 ttl=62 time=0.773 ms 64 bytes from 58.34.129.131: seq=2 ttl=62 time=0.723 ms --- 58.34.129.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.723/1.853/4.064 ms 2025-11-12 03:25:20,767 - INFO - Ping to IP 58.34.129.131 from VM ctest-TestRoutersBasic-44296188-12542498 passed 2025-11-12 03:25:20,767 - INFO - Deleting interface with subnet_id c4ad75e3-194e-4708-b986-497bde0e0ba0, port_id None from router fb48ebb7-da67-4677-8113-23dc526bad2d 2025-11-12 03:25:20,931 - INFO - Deleting VM ctest-TestRoutersBasic-44296188-46102869 2025-11-12 03:25:20,993 - INFO - Deleting VM ctest-TestRoutersBasic-44296188-12542498 2025-11-12 03:25:21,057 - INFO - Deleting VN ctest-ext_vn-05313269 2025-11-12 03:25:21,118 - DEBUG - VN e01a112e-e64e-489e-aec7-eddeade107d4 still in use: Unable to complete operation on network e01a112e-e64e-489e-aec7-eddeade107d4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cb39442a-d38a-42f5-9f12-e4e680a572ce'] 2025-11-12 03:25:21,118 - WARNING - Deleting VN ctest-ext_vn-05313269 failed..Will retry 2025-11-12 03:25:23,210 - DEBUG - Response for deleting network () 2025-11-12 03:25:23,210 - INFO - Deleting VN ctest-vn-28253996 2025-11-12 03:25:23,293 - DEBUG - Response for deleting network () 2025-11-12 03:25:23,551 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 03:25:23,551 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-12 03:25:23,551 - INFO - -------------------------------------------------------------------------------- 2025-11-12 03:25:24,247 - INFO - Deleted project: ctest-TestRoutersBasic-44296188, ID : c6aeb143-b2a9-4e52-8a6e-e579886a8b35