2025-08-20 18:16:39,949 - INFO - Domain Default found not creating 2025-08-20 18:16:40,087 - INFO - Project ctest-TestPorts-78810743 not found, creating it 2025-08-20 18:16:40,535 - INFO - Created Project:ctest-TestPorts-78810743, ID : 07c0fc67-43ca-4482-9898-d334b83ce32e 2025-08-20 18:16:42,042 - INFO - ================================================================================ 2025-08-20 18:16:42,042 - INFO - STARTING TEST : test_ports_bindings 2025-08-20 18:16:42,042 - INFO - TEST DESCRIPTION : Verify that we are able to create a port with custom port bindings Steps: 1) Create Port with Port bindings profile set to {'foo': 'bar'} 2) Retrieve and verify the same is set 2025-08-20 18:16:42,304 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-08-20 18:16:42,304 - INFO - Initial checks done. Running the testcase now 2025-08-20 18:16:42,304 - INFO - 2025-08-20 18:16:42,890 - DEBUG - Response for create_network : {'network': {'id': '0677ce11-c280-4ec6-8478-b95dbf6d01b0', 'name': 'ctest-vn-59722157', 'tenant_id': '07c0fc6743ca44829898d334b83ce32e', 'project_id': '07c0fc6743ca44829898d334b83ce32e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-78810743', 'ctest-vn-59722157'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 18:16:43,093 - DEBUG - Response for create_subnet : {'subnet': {'id': '0bb43812-3917-46cc-8c87-bc07ac193a5a', 'name': '', 'tenant_id': '07c0fc6743ca44829898d334b83ce32e', 'network_id': '0677ce11-c280-4ec6-8478-b95dbf6d01b0', 'ip_version': 4, 'cidr': '121.105.14.64/26', 'allocation_pools': [{'start': '121.105.14.66', 'end': '121.105.14.126'}], 'gateway_ip': '121.105.14.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.105.14.66', 'tags': [], 'project_id': '07c0fc6743ca44829898d334b83ce32e'}} 2025-08-20 18:16:43,112 - INFO - Created VN ctest-vn-59722157 2025-08-20 18:16:43,168 - DEBUG - VN ctest-vn-59722157 UUID is 0677ce11-c280-4ec6-8478-b95dbf6d01b0 2025-08-20 18:16:43,281 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-78810743', 'ctest-vmi-24137019']} 2025-08-20 18:16:43,580 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-24137019', 'id': '8fe2ee5d-b168-4634-839e-8b15b8d213cf', 'tenant_id': '07c0fc6743ca44829898d334b83ce32e', 'network_id': '0677ce11-c280-4ec6-8478-b95dbf6d01b0', 'mac_address': '02:8f:e2:ee:5d:b1', 'binding:profile': {'foo': 'bar'}, 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '121.105.14.67', 'subnet_id': '0bb43812-3917-46cc-8c87-bc07ac193a5a'}], 'security_groups': ['3e553181-e047-49ba-b99a-78089150b84e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '07c0fc6743ca44829898d334b83ce32e'}} 2025-08-20 18:16:43,580 - DEBUG - Created port 8fe2ee5d-b168-4634-839e-8b15b8d213cf 2025-08-20 18:16:43,684 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/8fe2ee5d-b168-4634-839e-8b15b8d213cf 2025-08-20 18:16:44,022 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/8fe2ee5d-b168-4634-839e-8b15b8d213cf 2025-08-20 18:16:44,057 - INFO - VMI 8fe2ee5d-b168-4634-839e-8b15b8d213cf verification in API Server passed 2025-08-20 18:16:44,163 - DEBUG - Response for delete_port : () 2025-08-20 18:16:44,163 - INFO - Deleted port 8fe2ee5d-b168-4634-839e-8b15b8d213cf 2025-08-20 18:16:44,164 - INFO - Deleting VN ctest-vn-59722157 2025-08-20 18:16:44,274 - DEBUG - Response for deleting network () 2025-08-20 18:16:44,543 - DEBUG - No XMPP flaps were noticed during the test 2025-08-20 18:16:44,543 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-20 18:16:44,543 - INFO - -------------------------------------------------------------------------------- 2025-08-20 18:16:44,546 - INFO - ================================================================================ 2025-08-20 18:16:44,547 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-20 18:16:44,547 - INFO - TEST DESCRIPTION : Create ports with specific Subnet and IP Create two ports in a VN with 2 subnets and specific IPs Attach to two VMs Ping between them should pass 2025-08-20 18:16:44,830 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-08-20 18:16:44,830 - INFO - Initial checks done. Running the testcase now 2025-08-20 18:16:44,830 - INFO - 2025-08-20 18:16:45,019 - DEBUG - Response for create_network : {'network': {'id': '20eb3ae1-a8cc-47d4-845f-1025ca5dfb81', 'name': 'ctest-vn1-88734290', 'tenant_id': '07c0fc6743ca44829898d334b83ce32e', 'project_id': '07c0fc6743ca44829898d334b83ce32e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-78810743', 'ctest-vn1-88734290'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 18:16:45,179 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e9412f5-08eb-4b35-9d9d-de54638202c0', 'name': '', 'tenant_id': '07c0fc6743ca44829898d334b83ce32e', 'network_id': '20eb3ae1-a8cc-47d4-845f-1025ca5dfb81', 'ip_version': 4, 'cidr': '125.185.9.0/26', 'allocation_pools': [{'start': '125.185.9.2', 'end': '125.185.9.62'}], 'gateway_ip': '125.185.9.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.185.9.2', 'tags': [], 'project_id': '07c0fc6743ca44829898d334b83ce32e'}} 2025-08-20 18:16:45,355 - DEBUG - Response for create_subnet : {'subnet': {'id': '3db8ce2e-4984-41f5-996a-c0d45b568f51', 'name': '', 'tenant_id': '07c0fc6743ca44829898d334b83ce32e', 'network_id': '20eb3ae1-a8cc-47d4-845f-1025ca5dfb81', 'ip_version': 4, 'cidr': '125.68.12.192/26', 'allocation_pools': [{'start': '125.68.12.194', 'end': '125.68.12.254'}], 'gateway_ip': '125.68.12.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.68.12.194', 'tags': [], 'project_id': '07c0fc6743ca44829898d334b83ce32e'}} 2025-08-20 18:16:45,376 - INFO - Created VN ctest-vn1-88734290 2025-08-20 18:16:45,428 - DEBUG - VN ctest-vn1-88734290 UUID is 20eb3ae1-a8cc-47d4-845f-1025ca5dfb81 2025-08-20 18:16:45,734 - DEBUG - Response for create_port : {'port': {'name': '3ad4eca4-f0f2-4acd-b75c-00093751f17b', 'id': '3ad4eca4-f0f2-4acd-b75c-00093751f17b', 'tenant_id': '07c0fc6743ca44829898d334b83ce32e', 'network_id': '20eb3ae1-a8cc-47d4-845f-1025ca5dfb81', 'mac_address': '02:3a:d4:ec:a4:f0', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '125.185.9.5', 'subnet_id': '3e9412f5-08eb-4b35-9d9d-de54638202c0'}], 'security_groups': ['3e553181-e047-49ba-b99a-78089150b84e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '07c0fc6743ca44829898d334b83ce32e'}} 2025-08-20 18:16:45,905 - DEBUG - Response for create_port : {'port': {'name': '97e20b14-a8d1-44ba-a298-44c66edbae2e', 'id': '97e20b14-a8d1-44ba-a298-44c66edbae2e', 'tenant_id': '07c0fc6743ca44829898d334b83ce32e', 'network_id': '20eb3ae1-a8cc-47d4-845f-1025ca5dfb81', 'mac_address': '02:97:e2:0b:14:a8', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '125.68.12.197', 'subnet_id': '3db8ce2e-4984-41f5-996a-c0d45b568f51'}], 'security_groups': ['3e553181-e047-49ba-b99a-78089150b84e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '07c0fc6743ca44829898d334b83ce32e'}} 2025-08-20 18:16:45,961 - DEBUG - Services list from nova: [, , ] 2025-08-20 18:16:46,281 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3900-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3900-1) 2025-08-20 18:16:46,685 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3900-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3900-1) 2025-08-20 18:16:46,685 - INFO - Waiting for VM ctest-vn1-vm1-24998351 to be up.. 2025-08-20 18:16:46,725 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-20 18:16:51,799 - DEBUG - VM is in ACTIVE state now 2025-08-20 18:16:51,799 - INFO - VM name : ctest-vn1-vm1-24998351 2025-08-20 18:16:51,871 - DEBUG - VM ctest-vn1-vm1-24998351 ID is ad1f31f8-0143-40a9-9a18-9fd44a027504 2025-08-20 18:16:51,890 - DEBUG - VM ctest-vn1-vm1-24998351 launched on Node cn-jenkins-deploy-platform-ansible-os-3900-1 2025-08-20 18:16:51,963 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/ad1f31f8-0143-40a9-9a18-9fd44a027504 2025-08-20 18:16:51,973 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/3ad4eca4-f0f2-4acd-b75c-00093751f17b 2025-08-20 18:16:55,240 - 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 1030ms') 2025-08-20 18:16:55,240 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-24998351 failed! 2025-08-20 18:16:55,301 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-78810743:ctest-vn1-88734290 is 125.185.9.1 and allocation pool is NOT set 2025-08-20 18:16:55,301 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-78810743:ctest-vn1-88734290 is 125.68.12.193 and allocation pool is NOT set 2025-08-20 18:16:57,366 - 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=12.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.37 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.370/7.289/12.209/4.919 ms') 2025-08-20 18:16:57,366 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-24998351 passed 2025-08-20 18:16:57,520 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 18:16:57,520 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-24998351, IP 125.185.9.5, Port 22 2025-08-20 18:16:57,590 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-20 18:16:57,671 - DEBUG - VM ctest-vn1-vm1-24998351 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-20 18:17:02,671 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 18:17:02,671 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-24998351, IP 125.185.9.5, Port 22 2025-08-20 18:17:02,827 - DEBUG - VM ctest-vn1-vm1-24998351 is ready for SSH connections 2025-08-20 18:17:02,828 - INFO - Waiting for VM ctest-vn1-vm2-29449862 to be up.. 2025-08-20 18:17:02,901 - DEBUG - VM is in ACTIVE state now 2025-08-20 18:17:02,901 - INFO - VM name : ctest-vn1-vm2-29449862 2025-08-20 18:17:02,978 - DEBUG - VM ctest-vn1-vm2-29449862 ID is 0f697c1d-f0ef-43ed-8390-722302fe29f0 2025-08-20 18:17:02,978 - DEBUG - VM ctest-vn1-vm2-29449862 launched on Node cn-jenkins-deploy-platform-ansible-os-3900-1 2025-08-20 18:17:03,051 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/0f697c1d-f0ef-43ed-8390-722302fe29f0 2025-08-20 18:17:03,061 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/97e20b14-a8d1-44ba-a298-44c66edbae2e 2025-08-20 18:17:04,305 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.456 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.456/1.778/3.100/1.322 ms') 2025-08-20 18:17:04,305 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-29449862 passed 2025-08-20 18:17:04,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 18:17:04,464 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-29449862, IP 125.68.12.197, Port 22 2025-08-20 18:17:04,624 - DEBUG - VM ctest-vn1-vm2-29449862 is ready for SSH connections 2025-08-20 18:17:04,624 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 18:17:04,624 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 18:17:04,624 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 18:17:04,624 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.185.9.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-20 18:17:04,624 - DEBUG - ping -s 56 -c 3 -W 1 125.185.9.5 2025-08-20 18:17:07,282 - DEBUG - PING 125.185.9.5 (125.185.9.5): 56 data bytes 64 bytes from 125.185.9.5: seq=0 ttl=63 time=3.747 ms 64 bytes from 125.185.9.5: seq=1 ttl=63 time=0.770 ms 64 bytes from 125.185.9.5: seq=2 ttl=63 time=0.895 ms --- 125.185.9.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.770/1.804/3.747 ms 2025-08-20 18:17:07,282 - INFO - Ping to IP 125.185.9.5 from VM ctest-vn1-vm2-29449862 passed 2025-08-20 18:17:07,282 - INFO - Detaching port 97e20b14-a8d1-44ba-a298-44c66edbae2e from VM ctest-vn1-vm2-29449862 2025-08-20 18:17:07,338 - INFO - Deleting VM ctest-vn1-vm2-29449862 2025-08-20 18:17:07,405 - INFO - Detaching port 3ad4eca4-f0f2-4acd-b75c-00093751f17b from VM ctest-vn1-vm1-24998351 2025-08-20 18:17:07,435 - INFO - Deleting VM ctest-vn1-vm1-24998351 2025-08-20 18:17:07,655 - DEBUG - Response for delete_port : () 2025-08-20 18:17:07,840 - DEBUG - Response for delete_port : () 2025-08-20 18:17:07,840 - INFO - Deleting VN ctest-vn1-88734290 2025-08-20 18:17:07,982 - DEBUG - Response for deleting network () 2025-08-20 18:17:08,255 - DEBUG - No XMPP flaps were noticed during the test 2025-08-20 18:17:08,255 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-08-20 18:17:08,255 - INFO - -------------------------------------------------------------------------------- 2025-08-20 18:17:09,224 - INFO - Deleted project: ctest-TestPorts-78810743, ID : 07c0fc67-43ca-4482-9898-d334b83ce32e