2025-10-10 03:51:36,779 - INFO - Domain Default found not creating 2025-10-10 03:51:36,947 - INFO - Project ctest-TestRoutersBasic-28875649 not found, creating it 2025-10-10 03:51:37,405 - INFO - Created Project:ctest-TestRoutersBasic-28875649, ID : bb80a821-8ceb-4111-96b3-864c3651abb6 2025-10-10 03:51:38,812 - INFO - ================================================================================ 2025-10-10 03:51:38,812 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-10 03:51:38,812 - 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-10-10 03:51:39,065 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-10 03:51:39,065 - INFO - Initial checks done. Running the testcase now 2025-10-10 03:51:39,065 - INFO - 2025-10-10 03:51:39,771 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-28875649 2025-10-10 03:51:39,868 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-28875649 2025-10-10 03:51:40,183 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28875649', 'default']} 2025-10-10 03:51:40,495 - DEBUG - Response for create_network : {'network': {'id': '13056cfd-43d0-4aed-adb7-91cfe4add4cd', 'name': 'ctest-vn-45805280', 'tenant_id': 'bb80a8218ceb411196b3864c3651abb6', 'project_id': 'bb80a8218ceb411196b3864c3651abb6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28875649', 'ctest-vn-45805280'], 'port_security_enabled': True, 'description': ''}} 2025-10-10 03:51:40,672 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e450474e-4de4-4971-b89f-7d8725421d48', 'name': '', 'tenant_id': 'bb80a8218ceb411196b3864c3651abb6', 'network_id': '13056cfd-43d0-4aed-adb7-91cfe4add4cd', 'ip_version': 4, 'cidr': '104.247.121.0/26', 'allocation_pools': [{'start': '104.247.121.2', 'end': '104.247.121.62'}], 'gateway_ip': '104.247.121.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.247.121.2', 'tags': [], 'project_id': 'bb80a8218ceb411196b3864c3651abb6'}} 2025-10-10 03:51:40,689 - INFO - Created VN ctest-vn-45805280 2025-10-10 03:51:40,740 - DEBUG - VN ctest-vn-45805280 UUID is 13056cfd-43d0-4aed-adb7-91cfe4add4cd 2025-10-10 03:51:41,083 - DEBUG - Response for create_network : {'network': {'id': '6a6c9e58-44e7-473a-a939-3e1dafae3e47', 'name': 'ctest-ext_vn-88092092', 'tenant_id': 'bb80a8218ceb411196b3864c3651abb6', 'project_id': 'bb80a8218ceb411196b3864c3651abb6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28875649', 'ctest-ext_vn-88092092'], 'port_security_enabled': True, 'description': ''}} 2025-10-10 03:51:41,241 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6eaaf38-80fb-492f-b10c-2dccfe42a387', 'name': '', 'tenant_id': 'bb80a8218ceb411196b3864c3651abb6', 'network_id': '6a6c9e58-44e7-473a-a939-3e1dafae3e47', 'ip_version': 4, 'cidr': '174.254.87.128/26', 'allocation_pools': [{'start': '174.254.87.130', 'end': '174.254.87.190'}], 'gateway_ip': '174.254.87.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.254.87.130', 'tags': [], 'project_id': 'bb80a8218ceb411196b3864c3651abb6'}} 2025-10-10 03:51:41,257 - INFO - Created VN ctest-ext_vn-88092092 2025-10-10 03:51:41,308 - DEBUG - VN ctest-ext_vn-88092092 UUID is 6a6c9e58-44e7-473a-a939-3e1dafae3e47 2025-10-10 03:51:41,507 - DEBUG - Services list from nova: [, , ] 2025-10-10 03:51:42,514 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4283-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4283-1) 2025-10-10 03:51:43,607 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4283-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4283-1) 2025-10-10 03:51:43,673 - INFO - Setting gateway for router d4854ad5-4f78-4439-af9a-057618e2f1d9 to network 6a6c9e58-44e7-473a-a939-3e1dafae3e47 2025-10-10 03:51:43,735 - INFO - Adding interface with subnet_id e450474e-4de4-4971-b89f-7d8725421d48, port_id None to router d4854ad5-4f78-4439-af9a-057618e2f1d9 2025-10-10 03:51:44,069 - INFO - Waiting for VM ctest-TestRoutersBasic-28875649-92133716 to be up.. 2025-10-10 03:51:44,208 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-10 03:51:49,282 - DEBUG - VM is in ACTIVE state now 2025-10-10 03:51:49,282 - INFO - VM name : ctest-TestRoutersBasic-28875649-92133716 2025-10-10 03:51:49,352 - DEBUG - VM ctest-TestRoutersBasic-28875649-92133716 ID is dc6ced9a-eee8-427b-be4e-82ef652d79f3 2025-10-10 03:51:49,372 - DEBUG - VM ctest-TestRoutersBasic-28875649-92133716 launched on Node cn-jenkins-deploy-platform-ansible-os-4283-1 2025-10-10 03:51:49,444 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/dc6ced9a-eee8-427b-be4e-82ef652d79f3 2025-10-10 03:51:49,742 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/dc6ced9a-eee8-427b-be4e-82ef652d79f3 2025-10-10 03:51:49,781 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0bd5618c-3165-4a8a-8901-458bf4ca5027 2025-10-10 03:51:53,039 - 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 1021ms') 2025-10-10 03:51:53,040 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-28875649-92133716 failed! 2025-10-10 03:51:53,096 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-28875649:ctest-vn-45805280 is 104.247.121.1 and allocation pool is NOT set 2025-10-10 03:51:55,155 - 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=5.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.428 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.428/2.715/5.002/2.287 ms') 2025-10-10 03:51:55,156 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-28875649-92133716 passed 2025-10-10 03:51:55,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-10 03:51:55,308 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28875649-92133716, IP 104.247.121.3, Port 22 2025-10-10 03:51:55,463 - DEBUG - VM ctest-TestRoutersBasic-28875649-92133716 is ready for SSH connections 2025-10-10 03:51:55,463 - INFO - Waiting for VM ctest-TestRoutersBasic-28875649-70914566 to be up.. 2025-10-10 03:51:55,537 - DEBUG - VM is in ACTIVE state now 2025-10-10 03:51:55,537 - INFO - VM name : ctest-TestRoutersBasic-28875649-70914566 2025-10-10 03:51:55,615 - DEBUG - VM ctest-TestRoutersBasic-28875649-70914566 ID is 7cbfdac4-4bac-4123-a5b4-f58d77c6aef0 2025-10-10 03:51:55,615 - DEBUG - VM ctest-TestRoutersBasic-28875649-70914566 launched on Node cn-jenkins-deploy-platform-ansible-os-4283-1 2025-10-10 03:51:55,683 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/7cbfdac4-4bac-4123-a5b4-f58d77c6aef0 2025-10-10 03:51:55,690 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d3f10fd6-0285-4e55-89a1-61102288c5f1 2025-10-10 03:51:56,926 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.529 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.529/1.845/3.161/1.316 ms') 2025-10-10 03:51:56,926 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-28875649-70914566 passed 2025-10-10 03:51:57,080 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-10 03:51:57,080 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28875649-70914566, IP 174.254.87.131, Port 22 2025-10-10 03:51:57,235 - DEBUG - VM ctest-TestRoutersBasic-28875649-70914566 is ready for SSH connections 2025-10-10 03:51:57,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-10 03:51:57,236 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.254.87.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-10 03:51:57,236 - DEBUG - ping -s 56 -c 3 -W 1 174.254.87.131 2025-10-10 03:52:01,089 - DEBUG - PING 174.254.87.131 (174.254.87.131): 56 data bytes 64 bytes from 174.254.87.131: seq=0 ttl=62 time=7.184 ms 64 bytes from 174.254.87.131: seq=1 ttl=62 time=0.983 ms 64 bytes from 174.254.87.131: seq=2 ttl=62 time=1.061 ms --- 174.254.87.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.983/3.076/7.184 ms 2025-10-10 03:52:01,089 - INFO - Ping to IP 174.254.87.131 from VM ctest-TestRoutersBasic-28875649-92133716 passed 2025-10-10 03:52:01,089 - INFO - Deleting interface with subnet_id e450474e-4de4-4971-b89f-7d8725421d48, port_id None from router d4854ad5-4f78-4439-af9a-057618e2f1d9 2025-10-10 03:52:01,273 - INFO - Deleting VM ctest-TestRoutersBasic-28875649-70914566 2025-10-10 03:52:01,341 - INFO - Deleting VM ctest-TestRoutersBasic-28875649-92133716 2025-10-10 03:52:01,413 - INFO - Deleting VN ctest-ext_vn-88092092 2025-10-10 03:52:01,475 - DEBUG - VN 6a6c9e58-44e7-473a-a939-3e1dafae3e47 still in use: Unable to complete operation on network 6a6c9e58-44e7-473a-a939-3e1dafae3e47. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f6b809e5-e985-4985-aeb8-d1829a9b81a1'] 2025-10-10 03:52:01,475 - WARNING - Deleting VN ctest-ext_vn-88092092 failed..Will retry 2025-10-10 03:52:03,594 - DEBUG - Response for deleting network () 2025-10-10 03:52:03,594 - INFO - Deleting VN ctest-vn-45805280 2025-10-10 03:52:03,738 - DEBUG - Response for deleting network () 2025-10-10 03:52:03,993 - DEBUG - No XMPP flaps were noticed during the test
2025-10-10 03:52:03,994 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-10 03:52:03,994 - INFO - -------------------------------------------------------------------------------- 2025-10-10 03:52:04,683 - INFO - Deleted project: ctest-TestRoutersBasic-28875649, ID : bb80a821-8ceb-4111-96b3-864c3651abb6