2025-11-10 16:11:03,609 - INFO - Domain Default found not creating 2025-11-10 16:11:03,818 - INFO - Project ctest-TestPorts-78489713 not found, creating it 2025-11-10 16:11:04,437 - INFO - Created Project:ctest-TestPorts-78489713, ID : bbcab8a3-5f25-4c6d-92cc-209b5636cd27 2025-11-10 16:11:06,311 - INFO - ================================================================================ 2025-11-10 16:11:06,311 - INFO - STARTING TEST : test_ports_bindings 2025-11-10 16:11:06,311 - 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-10 16:11:06,603 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-11-10 16:11:06,603 - INFO - Initial checks done. Running the testcase now 2025-11-10 16:11:06,603 - INFO - 2025-11-10 16:11:07,280 - DEBUG - Response for create_network : {'network': {'id': 'b1a8afb7-361a-4378-a8bc-fa8cd2631034', 'name': 'ctest-vn-13479810', 'tenant_id': 'bbcab8a35f254c6d92cc209b5636cd27', 'project_id': 'bbcab8a35f254c6d92cc209b5636cd27', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-78489713', 'ctest-vn-13479810'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 16:11:07,449 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c698254e-cf87-477a-afd0-a7e9e12437ec', 'name': '', 'tenant_id': 'bbcab8a35f254c6d92cc209b5636cd27', 'network_id': 'b1a8afb7-361a-4378-a8bc-fa8cd2631034', 'ip_version': 4, 'cidr': '187.197.32.0/26', 'allocation_pools': [{'start': '187.197.32.2', 'end': '187.197.32.62'}], 'gateway_ip': '187.197.32.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.197.32.2', 'tags': [], 'project_id': 'bbcab8a35f254c6d92cc209b5636cd27'}} 2025-11-10 16:11:07,470 - INFO - Created VN ctest-vn-13479810 2025-11-10 16:11:07,526 - DEBUG - VN ctest-vn-13479810 UUID is b1a8afb7-361a-4378-a8bc-fa8cd2631034 2025-11-10 16:11:07,667 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-78489713', 'ctest-vmi-57761706']} 2025-11-10 16:11:08,051 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-57761706', 'id': '92e9d960-da77-4841-8739-8be9b818989b', 'tenant_id': 'bbcab8a35f254c6d92cc209b5636cd27', 'network_id': 'b1a8afb7-361a-4378-a8bc-fa8cd2631034', 'mac_address': '02:92:e9:d9:60:da', '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': '187.197.32.3', 'subnet_id': 'c698254e-cf87-477a-afd0-a7e9e12437ec'}], 'security_groups': ['4a8ecd0a-ed2e-46cc-8f3f-89b35259c9ac'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bbcab8a35f254c6d92cc209b5636cd27'}} 2025-11-10 16:11:08,051 - DEBUG - Created port 92e9d960-da77-4841-8739-8be9b818989b 2025-11-10 16:11:08,158 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/92e9d960-da77-4841-8739-8be9b818989b 2025-11-10 16:11:08,497 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/92e9d960-da77-4841-8739-8be9b818989b 2025-11-10 16:11:08,551 - INFO - VMI 92e9d960-da77-4841-8739-8be9b818989b verification in API Server passed 2025-11-10 16:11:08,734 - DEBUG - Response for delete_port : () 2025-11-10 16:11:08,734 - INFO - Deleted port 92e9d960-da77-4841-8739-8be9b818989b 2025-11-10 16:11:08,734 - INFO - Deleting VN ctest-vn-13479810 2025-11-10 16:11:08,865 - DEBUG - Response for deleting network () 2025-11-10 16:11:09,175 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 16:11:09,175 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-10 16:11:09,175 - INFO - -------------------------------------------------------------------------------- 2025-11-10 16:11:09,182 - INFO - ================================================================================ 2025-11-10 16:11:09,183 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-10 16:11:09,183 - 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-10 16:11:09,506 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-11-10 16:11:09,506 - INFO - Initial checks done. Running the testcase now 2025-11-10 16:11:09,506 - INFO - 2025-11-10 16:11:09,767 - DEBUG - Response for create_network : {'network': {'id': '372c0c56-6585-44c7-a96f-75b4c19ade21', 'name': 'ctest-vn1-81424997', 'tenant_id': 'bbcab8a35f254c6d92cc209b5636cd27', 'project_id': 'bbcab8a35f254c6d92cc209b5636cd27', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-78489713', 'ctest-vn1-81424997'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 16:11:09,959 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e29ac89-d5bd-423a-94d0-1914c051eb08', 'name': '', 'tenant_id': 'bbcab8a35f254c6d92cc209b5636cd27', 'network_id': '372c0c56-6585-44c7-a96f-75b4c19ade21', 'ip_version': 4, 'cidr': '210.143.66.0/26', 'allocation_pools': [{'start': '210.143.66.2', 'end': '210.143.66.62'}], 'gateway_ip': '210.143.66.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.143.66.2', 'tags': [], 'project_id': 'bbcab8a35f254c6d92cc209b5636cd27'}} 2025-11-10 16:11:10,136 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c024619-21b1-482d-8db9-9536f3451d9a', 'name': '', 'tenant_id': 'bbcab8a35f254c6d92cc209b5636cd27', 'network_id': '372c0c56-6585-44c7-a96f-75b4c19ade21', 'ip_version': 4, 'cidr': '146.138.162.0/26', 'allocation_pools': [{'start': '146.138.162.2', 'end': '146.138.162.62'}], 'gateway_ip': '146.138.162.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.138.162.2', 'tags': [], 'project_id': 'bbcab8a35f254c6d92cc209b5636cd27'}} 2025-11-10 16:11:10,158 - INFO - Created VN ctest-vn1-81424997 2025-11-10 16:11:10,215 - DEBUG - VN ctest-vn1-81424997 UUID is 372c0c56-6585-44c7-a96f-75b4c19ade21 2025-11-10 16:11:10,561 - DEBUG - Response for create_port : {'port': {'name': '0b5ade32-cd04-4fc2-9278-64c201250d46', 'id': '0b5ade32-cd04-4fc2-9278-64c201250d46', 'tenant_id': 'bbcab8a35f254c6d92cc209b5636cd27', 'network_id': '372c0c56-6585-44c7-a96f-75b4c19ade21', 'mac_address': '02:0b:5a:de:32:cd', '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': '210.143.66.5', 'subnet_id': '7e29ac89-d5bd-423a-94d0-1914c051eb08'}], 'security_groups': ['4a8ecd0a-ed2e-46cc-8f3f-89b35259c9ac'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bbcab8a35f254c6d92cc209b5636cd27'}} 2025-11-10 16:11:10,771 - DEBUG - Response for create_port : {'port': {'name': '8d1f7e3b-cf7b-4698-b413-6d26980707f2', 'id': '8d1f7e3b-cf7b-4698-b413-6d26980707f2', 'tenant_id': 'bbcab8a35f254c6d92cc209b5636cd27', 'network_id': '372c0c56-6585-44c7-a96f-75b4c19ade21', 'mac_address': '02:8d:1f:7e:3b:cf', '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': '146.138.162.5', 'subnet_id': '6c024619-21b1-482d-8db9-9536f3451d9a'}], 'security_groups': ['4a8ecd0a-ed2e-46cc-8f3f-89b35259c9ac'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bbcab8a35f254c6d92cc209b5636cd27'}} 2025-11-10 16:11:10,845 - DEBUG - Services list from nova: [, , ] 2025-11-10 16:11:11,340 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4681-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4681-1) 2025-11-10 16:11:11,894 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4681-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4681-1) 2025-11-10 16:11:11,895 - INFO - Waiting for VM ctest-vn1-vm1-95861656 to be up.. 2025-11-10 16:11:11,943 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 16:11:17,103 - DEBUG - VM is in ACTIVE state now 2025-11-10 16:11:17,103 - INFO - VM name : ctest-vn1-vm1-95861656 2025-11-10 16:11:17,242 - DEBUG - VM ctest-vn1-vm1-95861656 ID is 59063828-9d30-4c9d-a8fe-870bc5e9de24 2025-11-10 16:11:17,275 - DEBUG - VM ctest-vn1-vm1-95861656 launched on Node cn-jenkins-deploy-platform-ansible-os-4681-1 2025-11-10 16:11:17,408 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/59063828-9d30-4c9d-a8fe-870bc5e9de24 2025-11-10 16:11:17,416 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/0b5ade32-cd04-4fc2-9278-64c201250d46 2025-11-10 16:11:20,695 - 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 1009ms') 2025-11-10 16:11:20,695 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95861656 failed! 2025-11-10 16:11:20,755 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-78489713:ctest-vn1-81424997 is 210.143.66.1 and allocation pool is NOT set 2025-11-10 16:11:20,755 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-78489713:ctest-vn1-81424997 is 146.138.162.1 and allocation pool is NOT set 2025-11-10 16:11:24,856 - 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=9.69 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1023ms\r\nrtt min/avg/max/mdev = 9.694/9.694/9.694/0.000 ms') 2025-11-10 16:11:24,856 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95861656 passed 2025-11-10 16:11:25,011 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 16:11:25,011 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-95861656, IP 210.143.66.5, Port 22 2025-11-10 16:11:25,197 - DEBUG - VM ctest-vn1-vm1-95861656 is ready for SSH connections 2025-11-10 16:11:25,197 - INFO - Waiting for VM ctest-vn1-vm2-19377520 to be up.. 2025-11-10 16:11:25,355 - DEBUG - VM is in ACTIVE state now 2025-11-10 16:11:25,355 - INFO - VM name : ctest-vn1-vm2-19377520 2025-11-10 16:11:25,499 - DEBUG - VM ctest-vn1-vm2-19377520 ID is a9cd4ec2-04ff-4965-8887-e373d6fae664 2025-11-10 16:11:25,500 - DEBUG - VM ctest-vn1-vm2-19377520 launched on Node cn-jenkins-deploy-platform-ansible-os-4681-1 2025-11-10 16:11:25,652 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/a9cd4ec2-04ff-4965-8887-e373d6fae664 2025-11-10 16:11:25,668 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/8d1f7e3b-cf7b-4698-b413-6d26980707f2 2025-11-10 16:11:26,969 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.663 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.663/2.261/3.860/1.598 ms') 2025-11-10 16:11:26,969 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-19377520 passed 2025-11-10 16:11:27,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 16:11:27,142 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-19377520, IP 146.138.162.5, Port 22 2025-11-10 16:11:27,321 - DEBUG - VM ctest-vn1-vm2-19377520 is ready for SSH connections 2025-11-10 16:11:27,321 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 16:11:27,321 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 16:11:27,321 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 16:11:27,321 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.143.66.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-10 16:11:27,321 - DEBUG - ping -s 56 -c 3 -W 1 210.143.66.5 2025-11-10 16:11:30,247 - DEBUG - PING 210.143.66.5 (210.143.66.5): 56 data bytes 64 bytes from 210.143.66.5: seq=0 ttl=63 time=5.045 ms 64 bytes from 210.143.66.5: seq=1 ttl=63 time=1.596 ms 64 bytes from 210.143.66.5: seq=2 ttl=63 time=1.478 ms --- 210.143.66.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.478/2.706/5.045 ms 2025-11-10 16:11:30,247 - INFO - Ping to IP 210.143.66.5 from VM ctest-vn1-vm2-19377520 passed 2025-11-10 16:11:30,248 - INFO - Detaching port 8d1f7e3b-cf7b-4698-b413-6d26980707f2 from VM ctest-vn1-vm2-19377520 2025-11-10 16:11:30,328 - INFO - Deleting VM ctest-vn1-vm2-19377520 2025-11-10 16:11:30,436 - INFO - Detaching port 0b5ade32-cd04-4fc2-9278-64c201250d46 from VM ctest-vn1-vm1-95861656 2025-11-10 16:11:30,483 - INFO - Deleting VM ctest-vn1-vm1-95861656 2025-11-10 16:11:30,824 - DEBUG - Response for delete_port : () 2025-11-10 16:11:31,005 - DEBUG - Response for delete_port : () 2025-11-10 16:11:31,005 - INFO - Deleting VN ctest-vn1-81424997 2025-11-10 16:11:31,149 - DEBUG - Response for deleting network () 2025-11-10 16:11:31,441 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 16:11:31,441 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22]
2025-11-10 16:11:31,442 - INFO - -------------------------------------------------------------------------------- 2025-11-10 16:11:32,220 - INFO - Deleted project: ctest-TestPorts-78489713, ID : bbcab8a3-5f25-4c6d-92cc-209b5636cd27