2025-11-27 02:06:45,474 - INFO - Domain Default found not creating 2025-11-27 02:06:45,764 - INFO - Project ctest-TestPorts-06661582 not found, creating it 2025-11-27 02:06:46,260 - INFO - Created Project:ctest-TestPorts-06661582, ID : e481969f-91ec-4275-83d7-045ee10a3011 2025-11-27 02:06:47,878 - INFO - ================================================================================ 2025-11-27 02:06:47,878 - INFO - STARTING TEST : test_ports_bindings 2025-11-27 02:06:47,878 - 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-27 02:06:48,141 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.14': '0'}} with 2025-11-27 02:06:48,141 - INFO - Initial checks done. Running the testcase now 2025-11-27 02:06:48,141 - INFO - 2025-11-27 02:06:48,793 - DEBUG - Response for create_network : {'network': {'id': 'd70b2efc-72c9-49ae-8c39-c2bb60f532e7', 'name': 'ctest-vn-62661369', 'tenant_id': 'e481969f91ec427583d7045ee10a3011', 'project_id': 'e481969f91ec427583d7045ee10a3011', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-06661582', 'ctest-vn-62661369'], 'port_security_enabled': True, 'description': ''}} 2025-11-27 02:06:49,030 - DEBUG - Response for create_subnet : {'subnet': {'id': '39927268-99b3-4639-a4f5-d1e78c8e2088', 'name': '', 'tenant_id': 'e481969f91ec427583d7045ee10a3011', 'network_id': 'd70b2efc-72c9-49ae-8c39-c2bb60f532e7', 'ip_version': 4, 'cidr': '88.101.163.0/26', 'allocation_pools': [{'start': '88.101.163.2', 'end': '88.101.163.62'}], 'gateway_ip': '88.101.163.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.101.163.2', 'tags': [], 'project_id': 'e481969f91ec427583d7045ee10a3011'}} 2025-11-27 02:06:49,051 - INFO - Created VN ctest-vn-62661369 2025-11-27 02:06:49,104 - DEBUG - VN ctest-vn-62661369 UUID is d70b2efc-72c9-49ae-8c39-c2bb60f532e7 2025-11-27 02:06:49,234 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-06661582', 'ctest-vmi-54083213']} 2025-11-27 02:06:49,488 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-54083213', 'id': 'ba25d693-92c5-4006-973b-dffe2064397e', 'tenant_id': 'e481969f91ec427583d7045ee10a3011', 'network_id': 'd70b2efc-72c9-49ae-8c39-c2bb60f532e7', 'mac_address': '02:ba:25:d6:93:92', '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': '88.101.163.3', 'subnet_id': '39927268-99b3-4639-a4f5-d1e78c8e2088'}], 'security_groups': ['3e4c00c9-dba4-41c5-be3f-648b4bfc9797'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e481969f91ec427583d7045ee10a3011'}} 2025-11-27 02:06:49,488 - DEBUG - Created port ba25d693-92c5-4006-973b-dffe2064397e 2025-11-27 02:06:49,591 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/ba25d693-92c5-4006-973b-dffe2064397e 2025-11-27 02:06:49,897 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/ba25d693-92c5-4006-973b-dffe2064397e 2025-11-27 02:06:49,938 - INFO - VMI ba25d693-92c5-4006-973b-dffe2064397e verification in API Server passed 2025-11-27 02:06:50,042 - DEBUG - Response for delete_port : () 2025-11-27 02:06:50,042 - INFO - Deleted port ba25d693-92c5-4006-973b-dffe2064397e 2025-11-27 02:06:50,043 - INFO - Deleting VN ctest-vn-62661369 2025-11-27 02:06:50,158 - DEBUG - Response for deleting network () 2025-11-27 02:06:50,432 - DEBUG - No XMPP flaps were noticed during the test
2025-11-27 02:06:50,432 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-27 02:06:50,432 - INFO - -------------------------------------------------------------------------------- 2025-11-27 02:06:50,435 - INFO - ================================================================================ 2025-11-27 02:06:50,435 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-27 02:06:50,435 - 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-27 02:06:50,719 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.14': '0'}} with 2025-11-27 02:06:50,719 - INFO - Initial checks done. Running the testcase now 2025-11-27 02:06:50,719 - INFO - 2025-11-27 02:06:50,922 - DEBUG - Response for create_network : {'network': {'id': '07457b1f-5efc-4a7b-8c6b-81aa8fc6f6a9', 'name': 'ctest-vn1-17145339', 'tenant_id': 'e481969f91ec427583d7045ee10a3011', 'project_id': 'e481969f91ec427583d7045ee10a3011', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-06661582', 'ctest-vn1-17145339'], 'port_security_enabled': True, 'description': ''}} 2025-11-27 02:06:51,097 - DEBUG - Response for create_subnet : {'subnet': {'id': '863a66d3-e763-45b1-9c90-69d9a77cd226', 'name': '', 'tenant_id': 'e481969f91ec427583d7045ee10a3011', 'network_id': '07457b1f-5efc-4a7b-8c6b-81aa8fc6f6a9', 'ip_version': 4, 'cidr': '170.2.107.0/26', 'allocation_pools': [{'start': '170.2.107.2', 'end': '170.2.107.62'}], 'gateway_ip': '170.2.107.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.2.107.2', 'tags': [], 'project_id': 'e481969f91ec427583d7045ee10a3011'}} 2025-11-27 02:06:51,254 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd5946b77-1516-4710-861e-d12dfc6a320e', 'name': '', 'tenant_id': 'e481969f91ec427583d7045ee10a3011', 'network_id': '07457b1f-5efc-4a7b-8c6b-81aa8fc6f6a9', 'ip_version': 4, 'cidr': '96.91.94.0/26', 'allocation_pools': [{'start': '96.91.94.2', 'end': '96.91.94.62'}], 'gateway_ip': '96.91.94.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.91.94.2', 'tags': [], 'project_id': 'e481969f91ec427583d7045ee10a3011'}} 2025-11-27 02:06:51,276 - INFO - Created VN ctest-vn1-17145339 2025-11-27 02:06:51,327 - DEBUG - VN ctest-vn1-17145339 UUID is 07457b1f-5efc-4a7b-8c6b-81aa8fc6f6a9 2025-11-27 02:06:51,652 - DEBUG - Response for create_port : {'port': {'name': '95561151-5903-41dc-9d1e-98b4d58e12ec', 'id': '95561151-5903-41dc-9d1e-98b4d58e12ec', 'tenant_id': 'e481969f91ec427583d7045ee10a3011', 'network_id': '07457b1f-5efc-4a7b-8c6b-81aa8fc6f6a9', 'mac_address': '02:95:56:11:51:59', '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': '170.2.107.5', 'subnet_id': '863a66d3-e763-45b1-9c90-69d9a77cd226'}], 'security_groups': ['3e4c00c9-dba4-41c5-be3f-648b4bfc9797'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e481969f91ec427583d7045ee10a3011'}} 2025-11-27 02:06:51,859 - DEBUG - Response for create_port : {'port': {'name': '50656976-b68b-46b1-8b3a-a47ffe0620d8', 'id': '50656976-b68b-46b1-8b3a-a47ffe0620d8', 'tenant_id': 'e481969f91ec427583d7045ee10a3011', 'network_id': '07457b1f-5efc-4a7b-8c6b-81aa8fc6f6a9', 'mac_address': '02:50:65:69:76:b6', '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': '96.91.94.5', 'subnet_id': 'd5946b77-1516-4710-861e-d12dfc6a320e'}], 'security_groups': ['3e4c00c9-dba4-41c5-be3f-648b4bfc9797'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e481969f91ec427583d7045ee10a3011'}} 2025-11-27 02:06:51,929 - DEBUG - Services list from nova: [, , ] 2025-11-27 02:06:52,326 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4819-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4819-1) 2025-11-27 02:06:52,785 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4819-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4819-1) 2025-11-27 02:06:52,785 - INFO - Waiting for VM ctest-vn1-vm1-80243640 to be up.. 2025-11-27 02:06:52,842 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-27 02:06:57,922 - DEBUG - VM is in ACTIVE state now 2025-11-27 02:06:57,922 - INFO - VM name : ctest-vn1-vm1-80243640 2025-11-27 02:06:58,002 - DEBUG - VM ctest-vn1-vm1-80243640 ID is 3eb312e5-67ea-4868-bd72-a3b35669fa16 2025-11-27 02:06:58,024 - DEBUG - VM ctest-vn1-vm1-80243640 launched on Node cn-jenkins-deploy-platform-ansible-os-4819-1 2025-11-27 02:06:58,104 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/3eb312e5-67ea-4868-bd72-a3b35669fa16 2025-11-27 02:06:58,115 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/95561151-5903-41dc-9d1e-98b4d58e12ec 2025-11-27 02:07:01,385 - 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 1029ms') 2025-11-27 02:07:01,385 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80243640 failed! 2025-11-27 02:07:01,440 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-06661582:ctest-vn1-17145339 is 170.2.107.1 and allocation pool is NOT set 2025-11-27 02:07:01,440 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-06661582:ctest-vn1-17145339 is 96.91.94.1 and allocation pool is NOT set 2025-11-27 02:07:05,517 - 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=2 ttl=63 time=8.83 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1022ms\r\nrtt min/avg/max/mdev = 8.830/8.830/8.830/0.000 ms') 2025-11-27 02:07:05,517 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80243640 passed 2025-11-27 02:07:05,675 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:07:05,676 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80243640, IP 170.2.107.5, Port 22 2025-11-27 02:07:05,830 - DEBUG - VM ctest-vn1-vm1-80243640 is ready for SSH connections 2025-11-27 02:07:05,830 - INFO - Waiting for VM ctest-vn1-vm2-33878490 to be up.. 2025-11-27 02:07:05,918 - DEBUG - VM is in ACTIVE state now 2025-11-27 02:07:05,918 - INFO - VM name : ctest-vn1-vm2-33878490 2025-11-27 02:07:06,007 - DEBUG - VM ctest-vn1-vm2-33878490 ID is b97ea9d8-7028-440f-8b9c-d4832d602ca9 2025-11-27 02:07:06,007 - DEBUG - VM ctest-vn1-vm2-33878490 launched on Node cn-jenkins-deploy-platform-ansible-os-4819-1 2025-11-27 02:07:06,101 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/b97ea9d8-7028-440f-8b9c-d4832d602ca9 2025-11-27 02:07:06,112 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/50656976-b68b-46b1-8b3a-a47ffe0620d8 2025-11-27 02:07:07,356 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.475 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.475/1.841/3.207/1.366 ms') 2025-11-27 02:07:07,356 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-33878490 passed 2025-11-27 02:07:07,507 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:07:07,508 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-33878490, IP 96.91.94.5, Port 22 2025-11-27 02:07:07,674 - DEBUG - VM ctest-vn1-vm2-33878490 is ready for SSH connections 2025-11-27 02:07:07,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:07:07,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:07:07,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:07:07,674 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.2.107.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-11-27 02:07:07,674 - DEBUG - ping -s 56 -c 3 -W 1 170.2.107.5 2025-11-27 02:07:10,354 - DEBUG - PING 170.2.107.5 (170.2.107.5): 56 data bytes 64 bytes from 170.2.107.5: seq=0 ttl=63 time=3.765 ms 64 bytes from 170.2.107.5: seq=1 ttl=63 time=1.270 ms 64 bytes from 170.2.107.5: seq=2 ttl=63 time=1.442 ms --- 170.2.107.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.270/2.159/3.765 ms 2025-11-27 02:07:10,354 - INFO - Ping to IP 170.2.107.5 from VM ctest-vn1-vm2-33878490 passed 2025-11-27 02:07:10,355 - INFO - Detaching port 50656976-b68b-46b1-8b3a-a47ffe0620d8 from VM ctest-vn1-vm2-33878490 2025-11-27 02:07:10,410 - INFO - Deleting VM ctest-vn1-vm2-33878490 2025-11-27 02:07:10,500 - INFO - Detaching port 95561151-5903-41dc-9d1e-98b4d58e12ec from VM ctest-vn1-vm1-80243640 2025-11-27 02:07:10,557 - INFO - Deleting VM ctest-vn1-vm1-80243640 2025-11-27 02:07:10,800 - DEBUG - Response for delete_port : () 2025-11-27 02:07:10,967 - DEBUG - Response for delete_port : () 2025-11-27 02:07:10,967 - INFO - Deleting VN ctest-vn1-17145339 2025-11-27 02:07:11,121 - DEBUG - Response for deleting network () 2025-11-27 02:07:11,396 - DEBUG - No XMPP flaps were noticed during the test
2025-11-27 02:07:11,396 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-11-27 02:07:11,397 - INFO - -------------------------------------------------------------------------------- 2025-11-27 02:07:12,103 - INFO - Deleted project: ctest-TestPorts-06661582, ID : e481969f-91ec-4275-83d7-045ee10a3011