2025-08-07 19:56:57,729 - INFO - Domain Default found not creating 2025-08-07 19:56:57,872 - INFO - Project ctest-TestPorts-78797097 not found, creating it 2025-08-07 19:56:58,312 - INFO - Created Project:ctest-TestPorts-78797097, ID : 40ff354f-8e8a-4044-baa6-6cc1e2325761 2025-08-07 19:56:59,826 - INFO - ================================================================================ 2025-08-07 19:56:59,827 - INFO - STARTING TEST : test_ports_bindings 2025-08-07 19:56:59,827 - 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-07 19:57:00,082 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-07 19:57:00,082 - INFO - Initial checks done. Running the testcase now 2025-08-07 19:57:00,082 - INFO - 2025-08-07 19:57:01,036 - DEBUG - Response for create_network : {'network': {'id': '0de7efa3-a2ab-477f-95ab-6c795535bd86', 'name': 'ctest-vn-68248740', 'tenant_id': '40ff354f8e8a4044baa66cc1e2325761', 'project_id': '40ff354f8e8a4044baa66cc1e2325761', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-78797097', 'ctest-vn-68248740'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 19:57:01,425 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c90ab05-b8e0-4e29-9ded-5d85867d5df4', 'name': '', 'tenant_id': '40ff354f8e8a4044baa66cc1e2325761', 'network_id': '0de7efa3-a2ab-477f-95ab-6c795535bd86', 'ip_version': 4, 'cidr': '116.227.194.192/26', 'allocation_pools': [{'start': '116.227.194.194', 'end': '116.227.194.254'}], 'gateway_ip': '116.227.194.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.227.194.194', 'tags': [], 'project_id': '40ff354f8e8a4044baa66cc1e2325761'}} 2025-08-07 19:57:01,446 - INFO - Created VN ctest-vn-68248740 2025-08-07 19:57:01,500 - DEBUG - VN ctest-vn-68248740 UUID is 0de7efa3-a2ab-477f-95ab-6c795535bd86 2025-08-07 19:57:01,615 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-78797097', 'ctest-vmi-31106155']} 2025-08-07 19:57:01,859 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-31106155', 'id': '13d2d2a4-d596-4582-8974-620404ff4b2d', 'tenant_id': '40ff354f8e8a4044baa66cc1e2325761', 'network_id': '0de7efa3-a2ab-477f-95ab-6c795535bd86', 'mac_address': '02:13:d2:d2:a4:d5', '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': '116.227.194.195', 'subnet_id': '3c90ab05-b8e0-4e29-9ded-5d85867d5df4'}], 'security_groups': ['e69277a9-9c28-43d0-aca6-d75157b42efc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '40ff354f8e8a4044baa66cc1e2325761'}} 2025-08-07 19:57:01,860 - DEBUG - Created port 13d2d2a4-d596-4582-8974-620404ff4b2d 2025-08-07 19:57:01,963 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/13d2d2a4-d596-4582-8974-620404ff4b2d 2025-08-07 19:57:02,294 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/13d2d2a4-d596-4582-8974-620404ff4b2d 2025-08-07 19:57:02,325 - INFO - VMI 13d2d2a4-d596-4582-8974-620404ff4b2d verification in API Server passed 2025-08-07 19:57:02,463 - DEBUG - Response for delete_port : () 2025-08-07 19:57:02,463 - INFO - Deleted port 13d2d2a4-d596-4582-8974-620404ff4b2d 2025-08-07 19:57:02,463 - INFO - Deleting VN ctest-vn-68248740 2025-08-07 19:57:02,565 - DEBUG - Response for deleting network () 2025-08-07 19:57:02,827 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 19:57:02,827 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-08-07 19:57:02,827 - INFO - -------------------------------------------------------------------------------- 2025-08-07 19:57:02,830 - INFO - ================================================================================ 2025-08-07 19:57:02,830 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-07 19:57:02,830 - 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-07 19:57:03,136 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-07 19:57:03,136 - INFO - Initial checks done. Running the testcase now 2025-08-07 19:57:03,136 - INFO - 2025-08-07 19:57:03,319 - DEBUG - Response for create_network : {'network': {'id': 'f4e9bae1-394c-4111-b638-7670ed57c9cd', 'name': 'ctest-vn1-45308869', 'tenant_id': '40ff354f8e8a4044baa66cc1e2325761', 'project_id': '40ff354f8e8a4044baa66cc1e2325761', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-78797097', 'ctest-vn1-45308869'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 19:57:03,513 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4a54317-4a5a-40bf-833a-78a1fcb7f9f7', 'name': '', 'tenant_id': '40ff354f8e8a4044baa66cc1e2325761', 'network_id': 'f4e9bae1-394c-4111-b638-7670ed57c9cd', 'ip_version': 4, 'cidr': '77.112.46.64/26', 'allocation_pools': [{'start': '77.112.46.66', 'end': '77.112.46.126'}], 'gateway_ip': '77.112.46.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.112.46.66', 'tags': [], 'project_id': '40ff354f8e8a4044baa66cc1e2325761'}} 2025-08-07 19:57:03,677 - DEBUG - Response for create_subnet : {'subnet': {'id': '467ca456-dae2-470a-8c9e-431eb0c51b33', 'name': '', 'tenant_id': '40ff354f8e8a4044baa66cc1e2325761', 'network_id': 'f4e9bae1-394c-4111-b638-7670ed57c9cd', 'ip_version': 4, 'cidr': '67.86.69.192/26', 'allocation_pools': [{'start': '67.86.69.194', 'end': '67.86.69.254'}], 'gateway_ip': '67.86.69.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.86.69.194', 'tags': [], 'project_id': '40ff354f8e8a4044baa66cc1e2325761'}} 2025-08-07 19:57:03,697 - INFO - Created VN ctest-vn1-45308869 2025-08-07 19:57:03,747 - DEBUG - VN ctest-vn1-45308869 UUID is f4e9bae1-394c-4111-b638-7670ed57c9cd 2025-08-07 19:57:04,094 - DEBUG - Response for create_port : {'port': {'name': '5614f5b5-5959-40fc-ba91-c2383ed26f34', 'id': '5614f5b5-5959-40fc-ba91-c2383ed26f34', 'tenant_id': '40ff354f8e8a4044baa66cc1e2325761', 'network_id': 'f4e9bae1-394c-4111-b638-7670ed57c9cd', 'mac_address': '02:56:14:f5:b5: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': '77.112.46.69', 'subnet_id': 'e4a54317-4a5a-40bf-833a-78a1fcb7f9f7'}], 'security_groups': ['e69277a9-9c28-43d0-aca6-d75157b42efc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '40ff354f8e8a4044baa66cc1e2325761'}} 2025-08-07 19:57:04,284 - DEBUG - Response for create_port : {'port': {'name': '05263179-af98-452a-9f07-cee57e1feea6', 'id': '05263179-af98-452a-9f07-cee57e1feea6', 'tenant_id': '40ff354f8e8a4044baa66cc1e2325761', 'network_id': 'f4e9bae1-394c-4111-b638-7670ed57c9cd', 'mac_address': '02:05:26:31:79:af', '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': '67.86.69.197', 'subnet_id': '467ca456-dae2-470a-8c9e-431eb0c51b33'}], 'security_groups': ['e69277a9-9c28-43d0-aca6-d75157b42efc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '40ff354f8e8a4044baa66cc1e2325761'}} 2025-08-07 19:57:04,341 - DEBUG - Services list from nova: [, , ] 2025-08-07 19:57:04,700 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3776-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3776-1) 2025-08-07 19:57:05,097 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3776-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3776-1) 2025-08-07 19:57:05,097 - INFO - Waiting for VM ctest-vn1-vm1-90740303 to be up.. 2025-08-07 19:57:05,133 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 19:57:10,209 - DEBUG - VM is in ACTIVE state now 2025-08-07 19:57:10,209 - INFO - VM name : ctest-vn1-vm1-90740303 2025-08-07 19:57:10,281 - DEBUG - VM ctest-vn1-vm1-90740303 ID is afe88ec6-6a37-4752-8027-075f635c05c1 2025-08-07 19:57:10,300 - DEBUG - VM ctest-vn1-vm1-90740303 launched on Node cn-jenkins-deploy-platform-ansible-os-3776-1 2025-08-07 19:57:10,370 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/afe88ec6-6a37-4752-8027-075f635c05c1 2025-08-07 19:57:10,379 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5614f5b5-5959-40fc-ba91-c2383ed26f34 2025-08-07 19:57:13,624 - 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 1007ms') 2025-08-07 19:57:13,625 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-90740303 failed! 2025-08-07 19:57:13,679 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-78797097:ctest-vn1-45308869 is 77.112.46.65 and allocation pool is NOT set 2025-08-07 19:57:13,680 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-78797097:ctest-vn1-45308869 is 67.86.69.193 and allocation pool is NOT set 2025-08-07 19:57:17,758 - 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=2 ttl=63 time=5.65 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 5.649/5.649/5.649/0.000 ms') 2025-08-07 19:57:17,758 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-90740303 passed 2025-08-07 19:57:17,916 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 19:57:17,916 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-90740303, IP 77.112.46.69, Port 22 2025-08-07 19:57:18,071 - DEBUG - VM ctest-vn1-vm1-90740303 is ready for SSH connections 2025-08-07 19:57:18,071 - INFO - Waiting for VM ctest-vn1-vm2-91698100 to be up.. 2025-08-07 19:57:18,141 - DEBUG - VM is in ACTIVE state now 2025-08-07 19:57:18,141 - INFO - VM name : ctest-vn1-vm2-91698100 2025-08-07 19:57:18,209 - DEBUG - VM ctest-vn1-vm2-91698100 ID is 9c0a8cea-635d-4a96-8a95-100c1a3a4f10 2025-08-07 19:57:18,209 - DEBUG - VM ctest-vn1-vm2-91698100 launched on Node cn-jenkins-deploy-platform-ansible-os-3776-1 2025-08-07 19:57:18,281 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9c0a8cea-635d-4a96-8a95-100c1a3a4f10 2025-08-07 19:57:18,289 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/05263179-af98-452a-9f07-cee57e1feea6 2025-08-07 19:57:19,531 - 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.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.390 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.390/1.733/3.076/1.343 ms') 2025-08-07 19:57:19,531 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-91698100 passed 2025-08-07 19:57:19,688 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 19:57:19,688 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-91698100, IP 67.86.69.197, Port 22 2025-08-07 19:57:19,843 - DEBUG - VM ctest-vn1-vm2-91698100 is ready for SSH connections 2025-08-07 19:57:19,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 19:57:19,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 19:57:19,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 19:57:19,843 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.112.46.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-07 19:57:19,843 - DEBUG - ping -s 56 -c 3 -W 1 77.112.46.69 2025-08-07 19:57:23,883 - DEBUG - PING 77.112.46.69 (77.112.46.69): 56 data bytes 64 bytes from 77.112.46.69: seq=0 ttl=63 time=3.968 ms 64 bytes from 77.112.46.69: seq=1 ttl=63 time=0.726 ms 64 bytes from 77.112.46.69: seq=2 ttl=63 time=0.741 ms --- 77.112.46.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.726/1.811/3.968 ms 2025-08-07 19:57:23,883 - INFO - Ping to IP 77.112.46.69 from VM ctest-vn1-vm2-91698100 passed 2025-08-07 19:57:23,883 - INFO - Detaching port 05263179-af98-452a-9f07-cee57e1feea6 from VM ctest-vn1-vm2-91698100 2025-08-07 19:57:23,945 - INFO - Deleting VM ctest-vn1-vm2-91698100 2025-08-07 19:57:24,012 - INFO - Detaching port 5614f5b5-5959-40fc-ba91-c2383ed26f34 from VM ctest-vn1-vm1-90740303 2025-08-07 19:57:24,042 - INFO - Deleting VM ctest-vn1-vm1-90740303 2025-08-07 19:57:24,260 - DEBUG - Response for delete_port : () 2025-08-07 19:57:24,434 - DEBUG - Response for delete_port : () 2025-08-07 19:57:24,434 - INFO - Deleting VN ctest-vn1-45308869 2025-08-07 19:57:24,579 - DEBUG - Response for deleting network () 2025-08-07 19:57:24,837 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 19:57:24,838 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22] 2025-08-07 19:57:24,838 - INFO - -------------------------------------------------------------------------------- 2025-08-07 19:57:25,570 - INFO - Deleted project: ctest-TestPorts-78797097, ID : 40ff354f-8e8a-4044-baa6-6cc1e2325761