2025-10-08 14:41:33,738 - INFO - Domain Default found not creating 2025-10-08 14:41:33,865 - INFO - Project ctest-TestPorts-60995475 not found, creating it 2025-10-08 14:41:34,276 - INFO - Created Project:ctest-TestPorts-60995475, ID : c35b88d4-b6c9-401f-bb97-f8a6a5426cd6 2025-10-08 14:41:35,582 - INFO - ================================================================================ 2025-10-08 14:41:35,582 - INFO - STARTING TEST : test_ports_bindings 2025-10-08 14:41:35,582 - 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-10-08 14:41:35,836 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.18': '0'}} with 2025-10-08 14:41:35,836 - INFO - Initial checks done. Running the testcase now 2025-10-08 14:41:35,836 - INFO - 2025-10-08 14:41:36,353 - DEBUG - Response for create_network : {'network': {'id': '8050ed6b-9fd8-4a6a-9204-35c3977483a7', 'name': 'ctest-vn-00262112', 'tenant_id': 'c35b88d4b6c9401fbb97f8a6a5426cd6', 'project_id': 'c35b88d4b6c9401fbb97f8a6a5426cd6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60995475', 'ctest-vn-00262112'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 14:41:36,538 - DEBUG - Response for create_subnet : {'subnet': {'id': '66829e81-008c-4d56-9ec8-161d017eca96', 'name': '', 'tenant_id': 'c35b88d4b6c9401fbb97f8a6a5426cd6', 'network_id': '8050ed6b-9fd8-4a6a-9204-35c3977483a7', 'ip_version': 4, 'cidr': '175.62.98.64/26', 'allocation_pools': [{'start': '175.62.98.66', 'end': '175.62.98.126'}], 'gateway_ip': '175.62.98.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.62.98.66', 'tags': [], 'project_id': 'c35b88d4b6c9401fbb97f8a6a5426cd6'}} 2025-10-08 14:41:36,553 - INFO - Created VN ctest-vn-00262112 2025-10-08 14:41:36,603 - DEBUG - VN ctest-vn-00262112 UUID is 8050ed6b-9fd8-4a6a-9204-35c3977483a7 2025-10-08 14:41:36,698 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-60995475', 'ctest-vmi-29484482']} 2025-10-08 14:41:36,976 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-29484482', 'id': '43c38a40-7256-49e4-acc0-1aeb90501a86', 'tenant_id': 'c35b88d4b6c9401fbb97f8a6a5426cd6', 'network_id': '8050ed6b-9fd8-4a6a-9204-35c3977483a7', 'mac_address': '02:43:c3:8a:40:72', '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': '175.62.98.67', 'subnet_id': '66829e81-008c-4d56-9ec8-161d017eca96'}], 'security_groups': ['f7d07fc6-4d19-4b1a-899a-2fbcb4323ecd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c35b88d4b6c9401fbb97f8a6a5426cd6'}} 2025-10-08 14:41:36,976 - DEBUG - Created port 43c38a40-7256-49e4-acc0-1aeb90501a86 2025-10-08 14:41:37,083 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/43c38a40-7256-49e4-acc0-1aeb90501a86 2025-10-08 14:41:37,368 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/43c38a40-7256-49e4-acc0-1aeb90501a86 2025-10-08 14:41:37,396 - INFO - VMI 43c38a40-7256-49e4-acc0-1aeb90501a86 verification in API Server passed 2025-10-08 14:41:37,470 - DEBUG - Response for delete_port : () 2025-10-08 14:41:37,471 - INFO - Deleted port 43c38a40-7256-49e4-acc0-1aeb90501a86 2025-10-08 14:41:37,471 - INFO - Deleting VN ctest-vn-00262112 2025-10-08 14:41:37,560 - DEBUG - Response for deleting network () 2025-10-08 14:41:37,811 - DEBUG - No XMPP flaps were noticed during the test 2025-10-08 14:41:37,811 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-08 14:41:37,811 - INFO - -------------------------------------------------------------------------------- 2025-10-08 14:41:37,813 - INFO - ================================================================================ 2025-10-08 14:41:37,813 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-08 14:41:37,813 - 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-10-08 14:41:38,099 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.18': '0'}} with 2025-10-08 14:41:38,099 - INFO - Initial checks done. Running the testcase now 2025-10-08 14:41:38,099 - INFO - 2025-10-08 14:41:38,267 - DEBUG - Response for create_network : {'network': {'id': '054b11e2-e75b-49da-9f74-e78ab251dafa', 'name': 'ctest-vn1-67091431', 'tenant_id': 'c35b88d4b6c9401fbb97f8a6a5426cd6', 'project_id': 'c35b88d4b6c9401fbb97f8a6a5426cd6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60995475', 'ctest-vn1-67091431'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 14:41:38,475 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d41768c-0fed-43bc-96a9-4020e5ee981f', 'name': '', 'tenant_id': 'c35b88d4b6c9401fbb97f8a6a5426cd6', 'network_id': '054b11e2-e75b-49da-9f74-e78ab251dafa', 'ip_version': 4, 'cidr': '91.74.246.128/26', 'allocation_pools': [{'start': '91.74.246.130', 'end': '91.74.246.190'}], 'gateway_ip': '91.74.246.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.74.246.130', 'tags': [], 'project_id': 'c35b88d4b6c9401fbb97f8a6a5426cd6'}} 2025-10-08 14:41:38,629 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bcaf1249-90d9-4ae6-ae48-92c12f129a9f', 'name': '', 'tenant_id': 'c35b88d4b6c9401fbb97f8a6a5426cd6', 'network_id': '054b11e2-e75b-49da-9f74-e78ab251dafa', 'ip_version': 4, 'cidr': '130.11.141.0/26', 'allocation_pools': [{'start': '130.11.141.2', 'end': '130.11.141.62'}], 'gateway_ip': '130.11.141.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.11.141.2', 'tags': [], 'project_id': 'c35b88d4b6c9401fbb97f8a6a5426cd6'}} 2025-10-08 14:41:38,646 - INFO - Created VN ctest-vn1-67091431 2025-10-08 14:41:38,695 - DEBUG - VN ctest-vn1-67091431 UUID is 054b11e2-e75b-49da-9f74-e78ab251dafa 2025-10-08 14:41:38,958 - DEBUG - Response for create_port : {'port': {'name': '6c536534-a4ed-4d8d-9420-07faacab5789', 'id': '6c536534-a4ed-4d8d-9420-07faacab5789', 'tenant_id': 'c35b88d4b6c9401fbb97f8a6a5426cd6', 'network_id': '054b11e2-e75b-49da-9f74-e78ab251dafa', 'mac_address': '02:6c:53:65:34:a4', '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': '91.74.246.133', 'subnet_id': '9d41768c-0fed-43bc-96a9-4020e5ee981f'}], 'security_groups': ['f7d07fc6-4d19-4b1a-899a-2fbcb4323ecd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c35b88d4b6c9401fbb97f8a6a5426cd6'}} 2025-10-08 14:41:39,109 - DEBUG - Response for create_port : {'port': {'name': '58382e36-7e88-483f-8399-79b8f250cc56', 'id': '58382e36-7e88-483f-8399-79b8f250cc56', 'tenant_id': 'c35b88d4b6c9401fbb97f8a6a5426cd6', 'network_id': '054b11e2-e75b-49da-9f74-e78ab251dafa', 'mac_address': '02:58:38:2e:36:7e', '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': '130.11.141.5', 'subnet_id': 'bcaf1249-90d9-4ae6-ae48-92c12f129a9f'}], 'security_groups': ['f7d07fc6-4d19-4b1a-899a-2fbcb4323ecd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c35b88d4b6c9401fbb97f8a6a5426cd6'}} 2025-10-08 14:41:39,158 - DEBUG - Services list from nova: [, , ] 2025-10-08 14:41:39,460 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4237-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4237-1) 2025-10-08 14:41:39,803 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4237-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4237-1) 2025-10-08 14:41:39,803 - INFO - Waiting for VM ctest-vn1-vm1-63773889 to be up.. 2025-10-08 14:41:39,956 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 14:41:45,021 - DEBUG - VM is in ACTIVE state now 2025-10-08 14:41:45,021 - INFO - VM name : ctest-vn1-vm1-63773889 2025-10-08 14:41:45,083 - DEBUG - VM ctest-vn1-vm1-63773889 ID is 3efc88b0-fdaa-4c58-acff-ec789c6fe8e2 2025-10-08 14:41:45,099 - DEBUG - VM ctest-vn1-vm1-63773889 launched on Node cn-jenkins-deploy-platform-ansible-os-4237-1 2025-10-08 14:41:45,164 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/3efc88b0-fdaa-4c58-acff-ec789c6fe8e2 2025-10-08 14:41:45,172 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/6c536534-a4ed-4d8d-9420-07faacab5789 2025-10-08 14:41:48,421 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1012ms') 2025-10-08 14:41:48,421 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-63773889 failed! 2025-10-08 14:41:48,475 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60995475:ctest-vn1-67091431 is 91.74.246.129 and allocation pool is NOT set 2025-10-08 14:41:48,475 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60995475:ctest-vn1-67091431 is 130.11.141.1 and allocation pool is NOT set 2025-10-08 14:41:50,537 - 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.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.325 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.325/1.864/3.403/1.539 ms') 2025-10-08 14:41:50,537 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-63773889 passed 2025-10-08 14:41:50,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 14:41:50,691 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-63773889, IP 91.74.246.133, Port 22 2025-10-08 14:41:50,843 - DEBUG - VM ctest-vn1-vm1-63773889 is ready for SSH connections 2025-10-08 14:41:50,843 - INFO - Waiting for VM ctest-vn1-vm2-36866509 to be up.. 2025-10-08 14:41:50,919 - DEBUG - VM is in ACTIVE state now 2025-10-08 14:41:50,919 - INFO - VM name : ctest-vn1-vm2-36866509 2025-10-08 14:41:50,993 - DEBUG - VM ctest-vn1-vm2-36866509 ID is ed0c6e81-8b38-4954-b162-7704fe875564 2025-10-08 14:41:50,993 - DEBUG - VM ctest-vn1-vm2-36866509 launched on Node cn-jenkins-deploy-platform-ansible-os-4237-1 2025-10-08 14:41:51,069 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/ed0c6e81-8b38-4954-b162-7704fe875564 2025-10-08 14:41:51,078 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/58382e36-7e88-483f-8399-79b8f250cc56 2025-10-08 14:41:52,321 - 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.472 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.472/1.783/3.094/1.311 ms') 2025-10-08 14:41:52,322 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-36866509 passed 2025-10-08 14:41:52,471 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 14:41:52,471 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-36866509, IP 130.11.141.5, Port 22 2025-10-08 14:41:52,626 - DEBUG - VM ctest-vn1-vm2-36866509 is ready for SSH connections 2025-10-08 14:41:52,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 14:41:52,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 14:41:52,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 14:41:52,626 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.74.246.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2025-10-08 14:41:52,627 - DEBUG - ping -s 56 -c 3 -W 1 91.74.246.133 2025-10-08 14:41:56,669 - DEBUG - PING 91.74.246.133 (91.74.246.133): 56 data bytes 64 bytes from 91.74.246.133: seq=0 ttl=63 time=3.100 ms 64 bytes from 91.74.246.133: seq=1 ttl=63 time=0.671 ms 64 bytes from 91.74.246.133: seq=2 ttl=63 time=0.780 ms --- 91.74.246.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.671/1.517/3.100 ms 2025-10-08 14:41:56,669 - INFO - Ping to IP 91.74.246.133 from VM ctest-vn1-vm2-36866509 passed 2025-10-08 14:41:56,669 - INFO - Detaching port 58382e36-7e88-483f-8399-79b8f250cc56 from VM ctest-vn1-vm2-36866509 2025-10-08 14:41:56,714 - INFO - Deleting VM ctest-vn1-vm2-36866509 2025-10-08 14:41:56,776 - INFO - Detaching port 6c536534-a4ed-4d8d-9420-07faacab5789 from VM ctest-vn1-vm1-63773889 2025-10-08 14:41:56,809 - INFO - Deleting VM ctest-vn1-vm1-63773889 2025-10-08 14:41:57,037 - DEBUG - Response for delete_port : () 2025-10-08 14:41:57,183 - DEBUG - Response for delete_port : () 2025-10-08 14:41:57,183 - INFO - Deleting VN ctest-vn1-67091431 2025-10-08 14:41:57,333 - DEBUG - Response for deleting network () 2025-10-08 14:41:57,596 - DEBUG - No XMPP flaps were noticed during the test 2025-10-08 14:41:57,596 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20] 2025-10-08 14:41:57,596 - INFO - -------------------------------------------------------------------------------- 2025-10-08 14:41:58,261 - INFO - Deleted project: ctest-TestPorts-60995475, ID : c35b88d4-b6c9-401f-bb97-f8a6a5426cd6