2025-12-29 11:28:56,433 - INFO - Domain Default found not creating 2025-12-29 11:28:56,633 - INFO - Project ctest-TestPorts-21404649 not found, creating it 2025-12-29 11:28:57,101 - INFO - Created Project:ctest-TestPorts-21404649, ID : cc0462c8-5d7f-4c48-9f6a-9c3d4308ff2c 2025-12-29 11:28:58,749 - INFO - ================================================================================ 2025-12-29 11:28:58,749 - INFO - STARTING TEST : test_ports_bindings 2025-12-29 11:28:58,749 - 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-12-29 11:28:59,008 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-29 11:28:59,008 - INFO - Initial checks done. Running the testcase now 2025-12-29 11:28:59,008 - INFO - 2025-12-29 11:28:59,690 - DEBUG - Response for create_network : {'network': {'id': 'e90ec88c-4ceb-46d6-aca8-c105ba666e00', 'name': 'ctest-vn-30847606', 'tenant_id': 'cc0462c85d7f4c489f6a9c3d4308ff2c', 'project_id': 'cc0462c85d7f4c489f6a9c3d4308ff2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-21404649', 'ctest-vn-30847606'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 11:28:59,912 - DEBUG - Response for create_subnet : {'subnet': {'id': '7fb6364e-f1e9-4d83-a14e-19bafd2537f2', 'name': '', 'tenant_id': 'cc0462c85d7f4c489f6a9c3d4308ff2c', 'network_id': 'e90ec88c-4ceb-46d6-aca8-c105ba666e00', 'ip_version': 4, 'cidr': '103.121.43.128/26', 'allocation_pools': [{'start': '103.121.43.130', 'end': '103.121.43.190'}], 'gateway_ip': '103.121.43.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.121.43.130', 'tags': [], 'project_id': 'cc0462c85d7f4c489f6a9c3d4308ff2c'}} 2025-12-29 11:28:59,932 - INFO - Created VN ctest-vn-30847606 2025-12-29 11:28:59,987 - DEBUG - VN ctest-vn-30847606 UUID is e90ec88c-4ceb-46d6-aca8-c105ba666e00 2025-12-29 11:29:00,106 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-21404649', 'ctest-vmi-41245111']} 2025-12-29 11:29:00,406 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-41245111', 'id': '33d0ce3a-3783-422e-877e-c1301be9ec24', 'tenant_id': 'cc0462c85d7f4c489f6a9c3d4308ff2c', 'network_id': 'e90ec88c-4ceb-46d6-aca8-c105ba666e00', 'mac_address': '02:33:d0:ce:3a:37', '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': '103.121.43.131', 'subnet_id': '7fb6364e-f1e9-4d83-a14e-19bafd2537f2'}], 'security_groups': ['25e3b9c1-5cf9-4aa6-b630-4be32d22e6c5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cc0462c85d7f4c489f6a9c3d4308ff2c'}} 2025-12-29 11:29:00,406 - DEBUG - Created port 33d0ce3a-3783-422e-877e-c1301be9ec24 2025-12-29 11:29:00,511 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/33d0ce3a-3783-422e-877e-c1301be9ec24 2025-12-29 11:29:00,810 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/33d0ce3a-3783-422e-877e-c1301be9ec24 2025-12-29 11:29:00,847 - INFO - VMI 33d0ce3a-3783-422e-877e-c1301be9ec24 verification in API Server passed 2025-12-29 11:29:00,947 - DEBUG - Response for delete_port : () 2025-12-29 11:29:00,947 - INFO - Deleted port 33d0ce3a-3783-422e-877e-c1301be9ec24 2025-12-29 11:29:00,947 - INFO - Deleting VN ctest-vn-30847606 2025-12-29 11:29:01,059 - DEBUG - Response for deleting network () 2025-12-29 11:29:01,329 - DEBUG - No XMPP flaps were noticed during the test 2025-12-29 11:29:01,329 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-12-29 11:29:01,329 - INFO - -------------------------------------------------------------------------------- 2025-12-29 11:29:01,331 - INFO - ================================================================================ 2025-12-29 11:29:01,332 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-29 11:29:01,332 - 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-12-29 11:29:01,625 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-29 11:29:01,625 - INFO - Initial checks done. Running the testcase now 2025-12-29 11:29:01,625 - INFO - 2025-12-29 11:29:01,829 - DEBUG - Response for create_network : {'network': {'id': '4040462e-b723-4d52-9a9a-c7b1a7d509e8', 'name': 'ctest-vn1-60746449', 'tenant_id': 'cc0462c85d7f4c489f6a9c3d4308ff2c', 'project_id': 'cc0462c85d7f4c489f6a9c3d4308ff2c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-21404649', 'ctest-vn1-60746449'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 11:29:02,030 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd3e9ab58-02f1-4231-ab2f-3b4ece06dc06', 'name': '', 'tenant_id': 'cc0462c85d7f4c489f6a9c3d4308ff2c', 'network_id': '4040462e-b723-4d52-9a9a-c7b1a7d509e8', 'ip_version': 4, 'cidr': '32.77.220.128/26', 'allocation_pools': [{'start': '32.77.220.130', 'end': '32.77.220.190'}], 'gateway_ip': '32.77.220.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.77.220.130', 'tags': [], 'project_id': 'cc0462c85d7f4c489f6a9c3d4308ff2c'}} 2025-12-29 11:29:02,251 - DEBUG - Response for create_subnet : {'subnet': {'id': '64e1f863-b4ec-45ba-a972-a6b28c86576f', 'name': '', 'tenant_id': 'cc0462c85d7f4c489f6a9c3d4308ff2c', 'network_id': '4040462e-b723-4d52-9a9a-c7b1a7d509e8', 'ip_version': 4, 'cidr': '28.113.124.128/26', 'allocation_pools': [{'start': '28.113.124.130', 'end': '28.113.124.190'}], 'gateway_ip': '28.113.124.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.113.124.130', 'tags': [], 'project_id': 'cc0462c85d7f4c489f6a9c3d4308ff2c'}} 2025-12-29 11:29:02,276 - INFO - Created VN ctest-vn1-60746449 2025-12-29 11:29:02,327 - DEBUG - VN ctest-vn1-60746449 UUID is 4040462e-b723-4d52-9a9a-c7b1a7d509e8 2025-12-29 11:29:02,643 - DEBUG - Response for create_port : {'port': {'name': '839be665-73a4-4427-946f-d1eb79b42771', 'id': '839be665-73a4-4427-946f-d1eb79b42771', 'tenant_id': 'cc0462c85d7f4c489f6a9c3d4308ff2c', 'network_id': '4040462e-b723-4d52-9a9a-c7b1a7d509e8', 'mac_address': '02:83:9b:e6:65:73', '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': '32.77.220.133', 'subnet_id': 'd3e9ab58-02f1-4231-ab2f-3b4ece06dc06'}], 'security_groups': ['25e3b9c1-5cf9-4aa6-b630-4be32d22e6c5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cc0462c85d7f4c489f6a9c3d4308ff2c'}} 2025-12-29 11:29:02,837 - DEBUG - Response for create_port : {'port': {'name': 'bcdc41b3-dd6e-41d1-966c-19e2938a0c99', 'id': 'bcdc41b3-dd6e-41d1-966c-19e2938a0c99', 'tenant_id': 'cc0462c85d7f4c489f6a9c3d4308ff2c', 'network_id': '4040462e-b723-4d52-9a9a-c7b1a7d509e8', 'mac_address': '02:bc:dc:41:b3:dd', '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': '28.113.124.133', 'subnet_id': '64e1f863-b4ec-45ba-a972-a6b28c86576f'}], 'security_groups': ['25e3b9c1-5cf9-4aa6-b630-4be32d22e6c5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cc0462c85d7f4c489f6a9c3d4308ff2c'}} 2025-12-29 11:29:02,903 - DEBUG - Services list from nova: [, , ] 2025-12-29 11:29:03,279 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4936-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4936-1) 2025-12-29 11:29:03,736 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4936-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4936-1) 2025-12-29 11:29:03,736 - INFO - Waiting for VM ctest-vn1-vm1-78246826 to be up.. 2025-12-29 11:29:03,782 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-29 11:29:08,871 - DEBUG - VM is in ACTIVE state now 2025-12-29 11:29:08,871 - INFO - VM name : ctest-vn1-vm1-78246826 2025-12-29 11:29:08,962 - DEBUG - VM ctest-vn1-vm1-78246826 ID is 9e97caf0-7a1c-452d-9e99-73d1b7a9c53a 2025-12-29 11:29:08,984 - DEBUG - VM ctest-vn1-vm1-78246826 launched on Node cn-jenkins-deploy-platform-ansible-os-4936-1 2025-12-29 11:29:09,066 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9e97caf0-7a1c-452d-9e99-73d1b7a9c53a 2025-12-29 11:29:09,077 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/839be665-73a4-4427-946f-d1eb79b42771 2025-12-29 11:29:12,326 - 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 1015ms') 2025-12-29 11:29:12,326 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78246826 failed! 2025-12-29 11:29:12,383 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-21404649:ctest-vn1-60746449 is 32.77.220.129 and allocation pool is NOT set 2025-12-29 11:29:12,384 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-21404649:ctest-vn1-60746449 is 28.113.124.129 and allocation pool is NOT set 2025-12-29 11:29:16,460 - 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=12.1 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 12.100/12.100/12.100/0.000 ms') 2025-12-29 11:29:16,460 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78246826 passed 2025-12-29 11:29:16,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 11:29:16,616 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-78246826, IP 32.77.220.133, Port 22 2025-12-29 11:29:16,782 - DEBUG - VM ctest-vn1-vm1-78246826 is ready for SSH connections 2025-12-29 11:29:16,782 - INFO - Waiting for VM ctest-vn1-vm2-41535275 to be up.. 2025-12-29 11:29:16,876 - DEBUG - VM is in ACTIVE state now 2025-12-29 11:29:16,876 - INFO - VM name : ctest-vn1-vm2-41535275 2025-12-29 11:29:16,979 - DEBUG - VM ctest-vn1-vm2-41535275 ID is 603ef121-1637-4de2-9a32-7681665a1cd6 2025-12-29 11:29:16,979 - DEBUG - VM ctest-vn1-vm2-41535275 launched on Node cn-jenkins-deploy-platform-ansible-os-4936-1 2025-12-29 11:29:17,063 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/603ef121-1637-4de2-9a32-7681665a1cd6 2025-12-29 11:29:17,072 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bcdc41b3-dd6e-41d1-966c-19e2938a0c99 2025-12-29 11:29:18,313 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.479 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.479/1.696/2.913/1.217 ms') 2025-12-29 11:29:18,313 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-41535275 passed 2025-12-29 11:29:18,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 11:29:18,464 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-41535275, IP 28.113.124.133, Port 22 2025-12-29 11:29:18,630 - DEBUG - VM ctest-vn1-vm2-41535275 is ready for SSH connections 2025-12-29 11:29:18,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 11:29:18,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 11:29:18,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 11:29:18,630 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.77.220.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-29 11:29:18,630 - DEBUG - ping -s 56 -c 3 -W 1 32.77.220.133 2025-12-29 11:29:21,344 - DEBUG - PING 32.77.220.133 (32.77.220.133): 56 data bytes 64 bytes from 32.77.220.133: seq=0 ttl=63 time=3.999 ms 64 bytes from 32.77.220.133: seq=1 ttl=63 time=1.221 ms 64 bytes from 32.77.220.133: seq=2 ttl=63 time=0.901 ms --- 32.77.220.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.901/2.040/3.999 ms 2025-12-29 11:29:21,344 - INFO - Ping to IP 32.77.220.133 from VM ctest-vn1-vm2-41535275 passed 2025-12-29 11:29:21,344 - INFO - Detaching port bcdc41b3-dd6e-41d1-966c-19e2938a0c99 from VM ctest-vn1-vm2-41535275 2025-12-29 11:29:21,396 - INFO - Deleting VM ctest-vn1-vm2-41535275 2025-12-29 11:29:21,473 - INFO - Detaching port 839be665-73a4-4427-946f-d1eb79b42771 from VM ctest-vn1-vm1-78246826 2025-12-29 11:29:21,510 - INFO - Deleting VM ctest-vn1-vm1-78246826 2025-12-29 11:29:21,769 - DEBUG - Response for delete_port : () 2025-12-29 11:29:21,951 - DEBUG - Response for delete_port : () 2025-12-29 11:29:21,951 - INFO - Deleting VN ctest-vn1-60746449 2025-12-29 11:29:22,095 - DEBUG - Response for deleting network () 2025-12-29 11:29:22,357 - DEBUG - No XMPP flaps were noticed during the test 2025-12-29 11:29:22,357 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-12-29 11:29:22,357 - INFO - -------------------------------------------------------------------------------- 2025-12-29 11:29:23,060 - INFO - Deleted project: ctest-TestPorts-21404649, ID : cc0462c8-5d7f-4c48-9f6a-9c3d4308ff2c