2025-11-14 07:49:39,993 - INFO - Domain Default found not creating 2025-11-14 07:49:40,161 - INFO - Project ctest-TestPorts-74441321 not found, creating it 2025-11-14 07:49:40,661 - INFO - Created Project:ctest-TestPorts-74441321, ID : b5711c77-f2b8-4b50-b9eb-301a84b0acf3 2025-11-14 07:49:42,148 - INFO - ================================================================================ 2025-11-14 07:49:42,148 - INFO - STARTING TEST : test_ports_bindings 2025-11-14 07:49:42,148 - 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-11-14 07:49:42,402 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2025-11-14 07:49:42,402 - INFO - Initial checks done. Running the testcase now 2025-11-14 07:49:42,402 - INFO - 2025-11-14 07:49:42,986 - DEBUG - Response for create_network : {'network': {'id': 'b3e03f62-478c-4ca8-b6b7-f11f2f83a475', 'name': 'ctest-vn-72793709', 'tenant_id': 'b5711c77f2b84b50b9eb301a84b0acf3', 'project_id': 'b5711c77f2b84b50b9eb301a84b0acf3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74441321', 'ctest-vn-72793709'], 'port_security_enabled': True, 'description': ''}} 2025-11-14 07:49:43,178 - DEBUG - Response for create_subnet : {'subnet': {'id': '12cbeaa5-ff2b-4f25-bce4-8dc27a9758cc', 'name': '', 'tenant_id': 'b5711c77f2b84b50b9eb301a84b0acf3', 'network_id': 'b3e03f62-478c-4ca8-b6b7-f11f2f83a475', 'ip_version': 4, 'cidr': '204.146.47.128/26', 'allocation_pools': [{'start': '204.146.47.130', 'end': '204.146.47.190'}], 'gateway_ip': '204.146.47.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.146.47.130', 'tags': [], 'project_id': 'b5711c77f2b84b50b9eb301a84b0acf3'}} 2025-11-14 07:49:43,197 - INFO - Created VN ctest-vn-72793709 2025-11-14 07:49:43,249 - DEBUG - VN ctest-vn-72793709 UUID is b3e03f62-478c-4ca8-b6b7-f11f2f83a475 2025-11-14 07:49:43,357 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-74441321', 'ctest-vmi-93084068']} 2025-11-14 07:49:43,627 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-93084068', 'id': '1e4d33ee-be20-48ff-848d-295ac7b23a47', 'tenant_id': 'b5711c77f2b84b50b9eb301a84b0acf3', 'network_id': 'b3e03f62-478c-4ca8-b6b7-f11f2f83a475', 'mac_address': '02:1e:4d:33:ee:be', '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': '204.146.47.131', 'subnet_id': '12cbeaa5-ff2b-4f25-bce4-8dc27a9758cc'}], 'security_groups': ['051dfaa8-207c-471f-9d77-f5ad1675ae4d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b5711c77f2b84b50b9eb301a84b0acf3'}} 2025-11-14 07:49:43,627 - DEBUG - Created port 1e4d33ee-be20-48ff-848d-295ac7b23a47 2025-11-14 07:49:43,733 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/1e4d33ee-be20-48ff-848d-295ac7b23a47 2025-11-14 07:49:44,026 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/1e4d33ee-be20-48ff-848d-295ac7b23a47 2025-11-14 07:49:44,060 - INFO - VMI 1e4d33ee-be20-48ff-848d-295ac7b23a47 verification in API Server passed 2025-11-14 07:49:44,155 - DEBUG - Response for delete_port : () 2025-11-14 07:49:44,155 - INFO - Deleted port 1e4d33ee-be20-48ff-848d-295ac7b23a47 2025-11-14 07:49:44,155 - INFO - Deleting VN ctest-vn-72793709 2025-11-14 07:49:44,256 - DEBUG - Response for deleting network () 2025-11-14 07:49:44,515 - DEBUG - No XMPP flaps were noticed during the test
2025-11-14 07:49:44,515 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-14 07:49:44,515 - INFO - -------------------------------------------------------------------------------- 2025-11-14 07:49:44,518 - INFO - ================================================================================ 2025-11-14 07:49:44,518 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-14 07:49:44,518 - 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-11-14 07:49:44,814 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2025-11-14 07:49:44,814 - INFO - Initial checks done. Running the testcase now 2025-11-14 07:49:44,814 - INFO - 2025-11-14 07:49:44,981 - DEBUG - Response for create_network : {'network': {'id': 'b9f69e76-6800-4016-80f5-c35dffe1658f', 'name': 'ctest-vn1-52921635', 'tenant_id': 'b5711c77f2b84b50b9eb301a84b0acf3', 'project_id': 'b5711c77f2b84b50b9eb301a84b0acf3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74441321', 'ctest-vn1-52921635'], 'port_security_enabled': True, 'description': ''}} 2025-11-14 07:49:45,176 - DEBUG - Response for create_subnet : {'subnet': {'id': '320a5ae5-62e3-4c40-8489-f0ac4edd07c2', 'name': '', 'tenant_id': 'b5711c77f2b84b50b9eb301a84b0acf3', 'network_id': 'b9f69e76-6800-4016-80f5-c35dffe1658f', 'ip_version': 4, 'cidr': '75.64.252.0/26', 'allocation_pools': [{'start': '75.64.252.2', 'end': '75.64.252.62'}], 'gateway_ip': '75.64.252.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.64.252.2', 'tags': [], 'project_id': 'b5711c77f2b84b50b9eb301a84b0acf3'}} 2025-11-14 07:49:45,338 - DEBUG - Response for create_subnet : {'subnet': {'id': '45af7ed1-6f4a-4104-939d-c8835f2e0115', 'name': '', 'tenant_id': 'b5711c77f2b84b50b9eb301a84b0acf3', 'network_id': 'b9f69e76-6800-4016-80f5-c35dffe1658f', 'ip_version': 4, 'cidr': '175.5.31.64/26', 'allocation_pools': [{'start': '175.5.31.66', 'end': '175.5.31.126'}], 'gateway_ip': '175.5.31.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.5.31.66', 'tags': [], 'project_id': 'b5711c77f2b84b50b9eb301a84b0acf3'}} 2025-11-14 07:49:45,355 - INFO - Created VN ctest-vn1-52921635 2025-11-14 07:49:45,409 - DEBUG - VN ctest-vn1-52921635 UUID is b9f69e76-6800-4016-80f5-c35dffe1658f 2025-11-14 07:49:45,688 - DEBUG - Response for create_port : {'port': {'name': '4e822cf0-f019-448e-8f79-9fba051e9dd3', 'id': '4e822cf0-f019-448e-8f79-9fba051e9dd3', 'tenant_id': 'b5711c77f2b84b50b9eb301a84b0acf3', 'network_id': 'b9f69e76-6800-4016-80f5-c35dffe1658f', 'mac_address': '02:4e:82:2c:f0: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': '75.64.252.5', 'subnet_id': '320a5ae5-62e3-4c40-8489-f0ac4edd07c2'}], 'security_groups': ['051dfaa8-207c-471f-9d77-f5ad1675ae4d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b5711c77f2b84b50b9eb301a84b0acf3'}} 2025-11-14 07:49:45,844 - DEBUG - Response for create_port : {'port': {'name': '1d0cdddf-75f0-4c07-b2ca-0923d1791da4', 'id': '1d0cdddf-75f0-4c07-b2ca-0923d1791da4', 'tenant_id': 'b5711c77f2b84b50b9eb301a84b0acf3', 'network_id': 'b9f69e76-6800-4016-80f5-c35dffe1658f', 'mac_address': '02:1d:0c:dd:df:75', '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': '175.5.31.69', 'subnet_id': '45af7ed1-6f4a-4104-939d-c8835f2e0115'}], 'security_groups': ['051dfaa8-207c-471f-9d77-f5ad1675ae4d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b5711c77f2b84b50b9eb301a84b0acf3'}} 2025-11-14 07:49:45,908 - DEBUG - Services list from nova: [, , ] 2025-11-14 07:49:46,270 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4728-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4728-1) 2025-11-14 07:49:46,649 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4728-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4728-1) 2025-11-14 07:49:46,649 - INFO - Waiting for VM ctest-vn1-vm1-82822339 to be up.. 2025-11-14 07:49:46,687 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-14 07:49:51,758 - DEBUG - VM is in ACTIVE state now 2025-11-14 07:49:51,758 - INFO - VM name : ctest-vn1-vm1-82822339 2025-11-14 07:49:51,833 - DEBUG - VM ctest-vn1-vm1-82822339 ID is 63c8b003-c5bd-423e-9754-5d459c67b9ab 2025-11-14 07:49:51,850 - DEBUG - VM ctest-vn1-vm1-82822339 launched on Node cn-jenkins-deploy-platform-ansible-os-4728-1 2025-11-14 07:49:51,920 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/63c8b003-c5bd-423e-9754-5d459c67b9ab 2025-11-14 07:49:51,929 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/4e822cf0-f019-448e-8f79-9fba051e9dd3 2025-11-14 07:49:55,164 - 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 1002ms') 2025-11-14 07:49:55,164 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82822339 failed! 2025-11-14 07:49:55,217 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74441321:ctest-vn1-52921635 is 75.64.252.1 and allocation pool is NOT set 2025-11-14 07:49:55,217 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74441321:ctest-vn1-52921635 is 175.5.31.65 and allocation pool is NOT set 2025-11-14 07:49:57,280 - 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.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.35 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.347/3.177/5.008/1.830 ms') 2025-11-14 07:49:57,280 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82822339 passed 2025-11-14 07:49:57,429 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 07:49:57,429 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-82822339, IP 75.64.252.5, Port 22 2025-11-14 07:49:57,495 - 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-11-14 07:49:57,711 - DEBUG - VM ctest-vn1-vm1-82822339 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-14 07:50:02,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 07:50:02,712 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-82822339, IP 75.64.252.5, Port 22 2025-11-14 07:50:02,868 - DEBUG - VM ctest-vn1-vm1-82822339 is ready for SSH connections 2025-11-14 07:50:02,868 - INFO - Waiting for VM ctest-vn1-vm2-25314252 to be up.. 2025-11-14 07:50:02,946 - DEBUG - VM is in ACTIVE state now 2025-11-14 07:50:02,946 - INFO - VM name : ctest-vn1-vm2-25314252 2025-11-14 07:50:03,030 - DEBUG - VM ctest-vn1-vm2-25314252 ID is de48a089-84f0-4d71-a177-16e05bca9e63 2025-11-14 07:50:03,031 - DEBUG - VM ctest-vn1-vm2-25314252 launched on Node cn-jenkins-deploy-platform-ansible-os-4728-1 2025-11-14 07:50:03,115 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/de48a089-84f0-4d71-a177-16e05bca9e63 2025-11-14 07:50:03,123 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/1d0cdddf-75f0-4c07-b2ca-0923d1791da4 2025-11-14 07:50:04,355 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.531 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.531/1.681/2.832/1.150 ms') 2025-11-14 07:50:04,355 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-25314252 passed 2025-11-14 07:50:04,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 07:50:04,501 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-25314252, IP 175.5.31.69, Port 22 2025-11-14 07:50:04,661 - DEBUG - VM ctest-vn1-vm2-25314252 is ready for SSH connections 2025-11-14 07:50:04,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 07:50:04,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 07:50:04,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 07:50:04,661 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.64.252.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-14 07:50:04,661 - DEBUG - ping -s 56 -c 3 -W 1 75.64.252.5 2025-11-14 07:50:07,306 - DEBUG - PING 75.64.252.5 (75.64.252.5): 56 data bytes 64 bytes from 75.64.252.5: seq=0 ttl=63 time=3.887 ms 64 bytes from 75.64.252.5: seq=1 ttl=63 time=0.884 ms 64 bytes from 75.64.252.5: seq=2 ttl=63 time=0.947 ms --- 75.64.252.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.884/1.906/3.887 ms 2025-11-14 07:50:07,306 - INFO - Ping to IP 75.64.252.5 from VM ctest-vn1-vm2-25314252 passed 2025-11-14 07:50:07,306 - INFO - Detaching port 1d0cdddf-75f0-4c07-b2ca-0923d1791da4 from VM ctest-vn1-vm2-25314252 2025-11-14 07:50:07,357 - INFO - Deleting VM ctest-vn1-vm2-25314252 2025-11-14 07:50:07,426 - INFO - Detaching port 4e822cf0-f019-448e-8f79-9fba051e9dd3 from VM ctest-vn1-vm1-82822339 2025-11-14 07:50:07,461 - INFO - Deleting VM ctest-vn1-vm1-82822339 2025-11-14 07:50:07,706 - DEBUG - Response for delete_port : () 2025-11-14 07:50:07,861 - DEBUG - Response for delete_port : () 2025-11-14 07:50:07,861 - INFO - Deleting VN ctest-vn1-52921635 2025-11-14 07:50:08,017 - DEBUG - Response for deleting network () 2025-11-14 07:50:08,293 - DEBUG - No XMPP flaps were noticed during the test
2025-11-14 07:50:08,293 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-11-14 07:50:08,293 - INFO - -------------------------------------------------------------------------------- 2025-11-14 07:50:09,053 - INFO - Deleted project: ctest-TestPorts-74441321, ID : b5711c77-f2b8-4b50-b9eb-301a84b0acf3