2025-10-30 17:11:39,149 - INFO - Domain Default found not creating 2025-10-30 17:11:39,540 - INFO - Project ctest-TestPorts-89452111 not found, creating it 2025-10-30 17:11:40,231 - INFO - Created Project:ctest-TestPorts-89452111, ID : 41845aa3-379c-4c47-9497-e313625f8e75 2025-10-30 17:11:42,421 - INFO - ================================================================================ 2025-10-30 17:11:42,421 - INFO - STARTING TEST : test_ports_bindings 2025-10-30 17:11:42,421 - 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-30 17:11:42,742 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-10-30 17:11:42,742 - INFO - Initial checks done. Running the testcase now 2025-10-30 17:11:42,742 - INFO - 2025-10-30 17:11:43,443 - DEBUG - Response for create_network : {'network': {'id': '342c3c31-6c94-4b35-b0ee-13e75b32c936', 'name': 'ctest-vn-10606889', 'tenant_id': '41845aa3379c4c479497e313625f8e75', 'project_id': '41845aa3379c4c479497e313625f8e75', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-89452111', 'ctest-vn-10606889'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 17:11:43,624 - DEBUG - Response for create_subnet : {'subnet': {'id': '9432309a-cd6b-489f-9b1c-519532911b1f', 'name': '', 'tenant_id': '41845aa3379c4c479497e313625f8e75', 'network_id': '342c3c31-6c94-4b35-b0ee-13e75b32c936', 'ip_version': 4, 'cidr': '89.0.110.0/26', 'allocation_pools': [{'start': '89.0.110.2', 'end': '89.0.110.62'}], 'gateway_ip': '89.0.110.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.0.110.2', 'tags': [], 'project_id': '41845aa3379c4c479497e313625f8e75'}} 2025-10-30 17:11:43,641 - INFO - Created VN ctest-vn-10606889 2025-10-30 17:11:43,694 - DEBUG - VN ctest-vn-10606889 UUID is 342c3c31-6c94-4b35-b0ee-13e75b32c936 2025-10-30 17:11:43,836 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-89452111', 'ctest-vmi-96381094']} 2025-10-30 17:11:44,181 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-96381094', 'id': '9a8f3d5e-8ed2-425a-bcbf-16997150ca88', 'tenant_id': '41845aa3379c4c479497e313625f8e75', 'network_id': '342c3c31-6c94-4b35-b0ee-13e75b32c936', 'mac_address': '02:9a:8f:3d:5e:8e', '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': '89.0.110.3', 'subnet_id': '9432309a-cd6b-489f-9b1c-519532911b1f'}], 'security_groups': ['05451988-36b9-4715-afc0-2431853bdc81'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '41845aa3379c4c479497e313625f8e75'}} 2025-10-30 17:11:44,181 - DEBUG - Created port 9a8f3d5e-8ed2-425a-bcbf-16997150ca88 2025-10-30 17:11:44,298 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9a8f3d5e-8ed2-425a-bcbf-16997150ca88 2025-10-30 17:11:44,638 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9a8f3d5e-8ed2-425a-bcbf-16997150ca88 2025-10-30 17:11:44,698 - INFO - VMI 9a8f3d5e-8ed2-425a-bcbf-16997150ca88 verification in API Server passed 2025-10-30 17:11:44,826 - DEBUG - Response for delete_port : () 2025-10-30 17:11:44,826 - INFO - Deleted port 9a8f3d5e-8ed2-425a-bcbf-16997150ca88 2025-10-30 17:11:44,826 - INFO - Deleting VN ctest-vn-10606889 2025-10-30 17:11:44,946 - DEBUG - Response for deleting network () 2025-10-30 17:11:45,259 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 17:11:45,260 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-30 17:11:45,260 - INFO - -------------------------------------------------------------------------------- 2025-10-30 17:11:45,267 - INFO - ================================================================================ 2025-10-30 17:11:45,267 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-30 17:11:45,268 - 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-30 17:11:45,592 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-10-30 17:11:45,592 - INFO - Initial checks done. Running the testcase now 2025-10-30 17:11:45,592 - INFO - 2025-10-30 17:11:45,941 - DEBUG - Response for create_network : {'network': {'id': 'a3f16f4e-751d-42f7-8359-1e4cffbf3004', 'name': 'ctest-vn1-39674035', 'tenant_id': '41845aa3379c4c479497e313625f8e75', 'project_id': '41845aa3379c4c479497e313625f8e75', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-89452111', 'ctest-vn1-39674035'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 17:11:46,200 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ce7103e7-504e-41e7-9c1c-5832724b025b', 'name': '', 'tenant_id': '41845aa3379c4c479497e313625f8e75', 'network_id': 'a3f16f4e-751d-42f7-8359-1e4cffbf3004', 'ip_version': 4, 'cidr': '38.77.119.128/26', 'allocation_pools': [{'start': '38.77.119.130', 'end': '38.77.119.190'}], 'gateway_ip': '38.77.119.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.77.119.130', 'tags': [], 'project_id': '41845aa3379c4c479497e313625f8e75'}} 2025-10-30 17:11:46,396 - DEBUG - Response for create_subnet : {'subnet': {'id': '12b85e95-82a9-4d5c-b2e5-659592746e8f', 'name': '', 'tenant_id': '41845aa3379c4c479497e313625f8e75', 'network_id': 'a3f16f4e-751d-42f7-8359-1e4cffbf3004', 'ip_version': 4, 'cidr': '16.6.145.128/26', 'allocation_pools': [{'start': '16.6.145.130', 'end': '16.6.145.190'}], 'gateway_ip': '16.6.145.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.6.145.130', 'tags': [], 'project_id': '41845aa3379c4c479497e313625f8e75'}} 2025-10-30 17:11:46,430 - INFO - Created VN ctest-vn1-39674035 2025-10-30 17:11:46,498 - DEBUG - VN ctest-vn1-39674035 UUID is a3f16f4e-751d-42f7-8359-1e4cffbf3004 2025-10-30 17:11:47,031 - DEBUG - Response for create_port : {'port': {'name': 'cb0bb28b-294c-4868-b9a8-ec30d2c94d05', 'id': 'cb0bb28b-294c-4868-b9a8-ec30d2c94d05', 'tenant_id': '41845aa3379c4c479497e313625f8e75', 'network_id': 'a3f16f4e-751d-42f7-8359-1e4cffbf3004', 'mac_address': '02:cb:0b:b2:8b:29', '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': '38.77.119.133', 'subnet_id': 'ce7103e7-504e-41e7-9c1c-5832724b025b'}], 'security_groups': ['05451988-36b9-4715-afc0-2431853bdc81'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '41845aa3379c4c479497e313625f8e75'}} 2025-10-30 17:11:47,256 - DEBUG - Response for create_port : {'port': {'name': '00cf7f0e-49c8-4abf-9c00-c0e57f628f05', 'id': '00cf7f0e-49c8-4abf-9c00-c0e57f628f05', 'tenant_id': '41845aa3379c4c479497e313625f8e75', 'network_id': 'a3f16f4e-751d-42f7-8359-1e4cffbf3004', 'mac_address': '02:00:cf:7f:0e:49', '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': '16.6.145.133', 'subnet_id': '12b85e95-82a9-4d5c-b2e5-659592746e8f'}], 'security_groups': ['05451988-36b9-4715-afc0-2431853bdc81'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '41845aa3379c4c479497e313625f8e75'}} 2025-10-30 17:11:47,314 - DEBUG - Services list from nova: [, , ] 2025-10-30 17:11:48,026 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4549-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4549-1) 2025-10-30 17:11:48,766 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4549-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4549-1) 2025-10-30 17:11:48,766 - INFO - Waiting for VM ctest-vn1-vm1-42545892 to be up.. 2025-10-30 17:11:48,883 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 17:11:54,030 - DEBUG - VM is in ACTIVE state now 2025-10-30 17:11:54,031 - INFO - VM name : ctest-vn1-vm1-42545892 2025-10-30 17:11:54,148 - DEBUG - VM ctest-vn1-vm1-42545892 ID is 46d57ec7-b3a8-459f-804d-08da4dff61af 2025-10-30 17:11:54,189 - DEBUG - VM ctest-vn1-vm1-42545892 launched on Node cn-jenkins-deploy-platform-ansible-os-4549-1 2025-10-30 17:11:54,307 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/46d57ec7-b3a8-459f-804d-08da4dff61af 2025-10-30 17:11:54,318 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cb0bb28b-294c-4868-b9a8-ec30d2c94d05 2025-10-30 17:11:57,598 - 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 1007ms') 2025-10-30 17:11:57,598 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42545892 failed! 2025-10-30 17:11:57,662 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-89452111:ctest-vn1-39674035 is 38.77.119.129 and allocation pool is NOT set 2025-10-30 17:11:57,662 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-89452111:ctest-vn1-39674035 is 16.6.145.129 and allocation pool is NOT set 2025-10-30 17:12:01,759 - 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=34.0 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1030ms\r\nrtt min/avg/max/mdev = 34.032/34.032/34.032/0.000 ms') 2025-10-30 17:12:01,760 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42545892 passed 2025-10-30 17:12:01,918 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 17:12:01,918 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-42545892, IP 38.77.119.133, Port 22 2025-10-30 17:12:01,984 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-30 17:12:02,100 - DEBUG - VM ctest-vn1-vm1-42545892 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 17:12:07,100 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 17:12:07,101 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-42545892, IP 38.77.119.133, Port 22 2025-10-30 17:12:07,303 - DEBUG - VM ctest-vn1-vm1-42545892 is ready for SSH connections 2025-10-30 17:12:07,303 - INFO - Waiting for VM ctest-vn1-vm2-45231456 to be up.. 2025-10-30 17:12:07,458 - DEBUG - VM is in ACTIVE state now 2025-10-30 17:12:07,459 - INFO - VM name : ctest-vn1-vm2-45231456 2025-10-30 17:12:07,601 - DEBUG - VM ctest-vn1-vm2-45231456 ID is 60e2dfe2-607c-4b84-8132-a0f324a5fee1 2025-10-30 17:12:07,601 - DEBUG - VM ctest-vn1-vm2-45231456 launched on Node cn-jenkins-deploy-platform-ansible-os-4549-1 2025-10-30 17:12:07,813 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/60e2dfe2-607c-4b84-8132-a0f324a5fee1 2025-10-30 17:12:07,837 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/00cf7f0e-49c8-4abf-9c00-c0e57f628f05 2025-10-30 17:12:09,173 - 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=8.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.715 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.715/4.743/8.771/4.028 ms') 2025-10-30 17:12:09,173 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-45231456 passed 2025-10-30 17:12:09,362 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 17:12:09,362 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-45231456, IP 16.6.145.133, Port 22 2025-10-30 17:12:09,568 - DEBUG - VM ctest-vn1-vm2-45231456 is ready for SSH connections 2025-10-30 17:12:09,568 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 17:12:09,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 17:12:09,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 17:12:09,569 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.77.119.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 17:12:09,569 - DEBUG - ping -s 56 -c 3 -W 1 38.77.119.133 2025-10-30 17:12:12,863 - DEBUG - PING 38.77.119.133 (38.77.119.133): 56 data bytes 64 bytes from 38.77.119.133: seq=0 ttl=63 time=4.415 ms 64 bytes from 38.77.119.133: seq=1 ttl=63 time=1.489 ms 64 bytes from 38.77.119.133: seq=2 ttl=63 time=1.949 ms --- 38.77.119.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.489/2.617/4.415 ms 2025-10-30 17:12:12,863 - INFO - Ping to IP 38.77.119.133 from VM ctest-vn1-vm2-45231456 passed 2025-10-30 17:12:12,864 - INFO - Detaching port 00cf7f0e-49c8-4abf-9c00-c0e57f628f05 from VM ctest-vn1-vm2-45231456 2025-10-30 17:12:12,995 - INFO - Deleting VM ctest-vn1-vm2-45231456 2025-10-30 17:12:13,126 - INFO - Detaching port cb0bb28b-294c-4868-b9a8-ec30d2c94d05 from VM ctest-vn1-vm1-42545892 2025-10-30 17:12:13,221 - INFO - Deleting VM ctest-vn1-vm1-42545892 2025-10-30 17:12:13,573 - DEBUG - Response for delete_port : () 2025-10-30 17:12:13,739 - DEBUG - Response for delete_port : () 2025-10-30 17:12:13,739 - INFO - Deleting VN ctest-vn1-39674035 2025-10-30 17:12:13,885 - DEBUG - Response for deleting network () 2025-10-30 17:12:14,169 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 17:12:14,169 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:29]
2025-10-30 17:12:14,170 - INFO - -------------------------------------------------------------------------------- 2025-10-30 17:12:14,907 - INFO - Deleted project: ctest-TestPorts-89452111, ID : 41845aa3-379c-4c47-9497-e313625f8e75