2025-11-04 17:59:56,962 - INFO - Domain Default found not creating 2025-11-04 17:59:57,139 - INFO - Project ctest-TestPorts-22243239 not found, creating it 2025-11-04 17:59:57,625 - INFO - Created Project:ctest-TestPorts-22243239, ID : 277a9a64-64c2-4770-924b-9a11c1480c48 2025-11-04 17:59:59,210 - INFO - ================================================================================ 2025-11-04 17:59:59,210 - INFO - STARTING TEST : test_ports_bindings 2025-11-04 17:59:59,210 - 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-04 17:59:59,476 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-04 17:59:59,476 - INFO - Initial checks done. Running the testcase now 2025-11-04 17:59:59,476 - INFO - 2025-11-04 18:00:00,084 - DEBUG - Response for create_network : {'network': {'id': '0a7f6804-04d9-42ad-927f-59677153ec5d', 'name': 'ctest-vn-03770809', 'tenant_id': '277a9a6464c24770924b9a11c1480c48', 'project_id': '277a9a6464c24770924b9a11c1480c48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-22243239', 'ctest-vn-03770809'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 18:00:00,287 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f970441-700a-4a0f-8ea7-8ee3b7b68855', 'name': '', 'tenant_id': '277a9a6464c24770924b9a11c1480c48', 'network_id': '0a7f6804-04d9-42ad-927f-59677153ec5d', 'ip_version': 4, 'cidr': '66.166.140.0/26', 'allocation_pools': [{'start': '66.166.140.2', 'end': '66.166.140.62'}], 'gateway_ip': '66.166.140.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.166.140.2', 'tags': [], 'project_id': '277a9a6464c24770924b9a11c1480c48'}} 2025-11-04 18:00:00,311 - INFO - Created VN ctest-vn-03770809 2025-11-04 18:00:00,367 - DEBUG - VN ctest-vn-03770809 UUID is 0a7f6804-04d9-42ad-927f-59677153ec5d 2025-11-04 18:00:00,481 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-22243239', 'ctest-vmi-12926673']} 2025-11-04 18:00:00,742 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-12926673', 'id': '015288a8-2cca-4f27-a349-19f18bd6cb74', 'tenant_id': '277a9a6464c24770924b9a11c1480c48', 'network_id': '0a7f6804-04d9-42ad-927f-59677153ec5d', 'mac_address': '02:01:52:88:a8:2c', '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': '66.166.140.3', 'subnet_id': '1f970441-700a-4a0f-8ea7-8ee3b7b68855'}], 'security_groups': ['19e5a05d-6693-453a-b2eb-e9e44624f7da'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '277a9a6464c24770924b9a11c1480c48'}} 2025-11-04 18:00:00,742 - DEBUG - Created port 015288a8-2cca-4f27-a349-19f18bd6cb74 2025-11-04 18:00:00,854 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/015288a8-2cca-4f27-a349-19f18bd6cb74 2025-11-04 18:00:01,196 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/015288a8-2cca-4f27-a349-19f18bd6cb74 2025-11-04 18:00:01,232 - INFO - VMI 015288a8-2cca-4f27-a349-19f18bd6cb74 verification in API Server passed 2025-11-04 18:00:01,336 - DEBUG - Response for delete_port : () 2025-11-04 18:00:01,337 - INFO - Deleted port 015288a8-2cca-4f27-a349-19f18bd6cb74 2025-11-04 18:00:01,337 - INFO - Deleting VN ctest-vn-03770809 2025-11-04 18:00:01,460 - DEBUG - Response for deleting network () 2025-11-04 18:00:01,721 - DEBUG - No XMPP flaps were noticed during the test 2025-11-04 18:00:01,721 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-04 18:00:01,721 - INFO - -------------------------------------------------------------------------------- 2025-11-04 18:00:01,724 - INFO - ================================================================================ 2025-11-04 18:00:01,724 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-04 18:00:01,724 - 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-04 18:00:02,016 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-04 18:00:02,016 - INFO - Initial checks done. Running the testcase now 2025-11-04 18:00:02,016 - INFO - 2025-11-04 18:00:02,215 - DEBUG - Response for create_network : {'network': {'id': 'dfc72c58-67b1-4428-91e8-b13ab10f9a7a', 'name': 'ctest-vn1-62133919', 'tenant_id': '277a9a6464c24770924b9a11c1480c48', 'project_id': '277a9a6464c24770924b9a11c1480c48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-22243239', 'ctest-vn1-62133919'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 18:00:02,427 - DEBUG - Response for create_subnet : {'subnet': {'id': '457b8257-a36e-44ac-bace-83bb07cb3084', 'name': '', 'tenant_id': '277a9a6464c24770924b9a11c1480c48', 'network_id': 'dfc72c58-67b1-4428-91e8-b13ab10f9a7a', 'ip_version': 4, 'cidr': '147.79.216.64/26', 'allocation_pools': [{'start': '147.79.216.66', 'end': '147.79.216.126'}], 'gateway_ip': '147.79.216.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.79.216.66', 'tags': [], 'project_id': '277a9a6464c24770924b9a11c1480c48'}} 2025-11-04 18:00:02,623 - DEBUG - Response for create_subnet : {'subnet': {'id': '1940bc6b-cd22-4a73-9253-8aac07e202f4', 'name': '', 'tenant_id': '277a9a6464c24770924b9a11c1480c48', 'network_id': 'dfc72c58-67b1-4428-91e8-b13ab10f9a7a', 'ip_version': 4, 'cidr': '122.230.145.64/26', 'allocation_pools': [{'start': '122.230.145.66', 'end': '122.230.145.126'}], 'gateway_ip': '122.230.145.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.230.145.66', 'tags': [], 'project_id': '277a9a6464c24770924b9a11c1480c48'}} 2025-11-04 18:00:02,644 - INFO - Created VN ctest-vn1-62133919 2025-11-04 18:00:02,699 - DEBUG - VN ctest-vn1-62133919 UUID is dfc72c58-67b1-4428-91e8-b13ab10f9a7a 2025-11-04 18:00:03,071 - DEBUG - Response for create_port : {'port': {'name': '48be5810-3499-475d-b89d-e86d3362eadf', 'id': '48be5810-3499-475d-b89d-e86d3362eadf', 'tenant_id': '277a9a6464c24770924b9a11c1480c48', 'network_id': 'dfc72c58-67b1-4428-91e8-b13ab10f9a7a', 'mac_address': '02:48:be:58:10:34', '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': '147.79.216.69', 'subnet_id': '457b8257-a36e-44ac-bace-83bb07cb3084'}], 'security_groups': ['19e5a05d-6693-453a-b2eb-e9e44624f7da'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '277a9a6464c24770924b9a11c1480c48'}} 2025-11-04 18:00:03,277 - DEBUG - Response for create_port : {'port': {'name': 'c315a136-cd0e-4947-b4de-a11cab83b0d6', 'id': 'c315a136-cd0e-4947-b4de-a11cab83b0d6', 'tenant_id': '277a9a6464c24770924b9a11c1480c48', 'network_id': 'dfc72c58-67b1-4428-91e8-b13ab10f9a7a', 'mac_address': '02:c3:15:a1:36: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': '122.230.145.69', 'subnet_id': '1940bc6b-cd22-4a73-9253-8aac07e202f4'}], 'security_groups': ['19e5a05d-6693-453a-b2eb-e9e44624f7da'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '277a9a6464c24770924b9a11c1480c48'}} 2025-11-04 18:00:03,352 - DEBUG - Services list from nova: [, , ] 2025-11-04 18:00:03,764 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4620-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4620-1) 2025-11-04 18:00:04,242 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4620-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4620-1) 2025-11-04 18:00:04,242 - INFO - Waiting for VM ctest-vn1-vm1-90139538 to be up.. 2025-11-04 18:00:04,289 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-04 18:00:09,382 - DEBUG - VM is in ACTIVE state now 2025-11-04 18:00:09,382 - INFO - VM name : ctest-vn1-vm1-90139538 2025-11-04 18:00:09,482 - DEBUG - VM ctest-vn1-vm1-90139538 ID is 279b39d9-715d-4f31-8f9f-e00fc0a2a8f2 2025-11-04 18:00:09,504 - DEBUG - VM ctest-vn1-vm1-90139538 launched on Node cn-jenkins-deploy-platform-ansible-os-4620-1 2025-11-04 18:00:09,600 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/279b39d9-715d-4f31-8f9f-e00fc0a2a8f2 2025-11-04 18:00:09,612 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/48be5810-3499-475d-b89d-e86d3362eadf 2025-11-04 18:00:12,888 - 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 1010ms') 2025-11-04 18:00:12,889 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-90139538 failed! 2025-11-04 18:00:12,942 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-22243239:ctest-vn1-62133919 is 147.79.216.65 and allocation pool is NOT set 2025-11-04 18:00:12,943 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-22243239:ctest-vn1-62133919 is 122.230.145.65 and allocation pool is NOT set 2025-11-04 18:00:17,015 - 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 1014ms') 2025-11-04 18:00:17,015 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-90139538 failed! 2025-11-04 18:00:17,070 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-22243239:ctest-vn1-62133919 is 147.79.216.65 and allocation pool is NOT set 2025-11-04 18:00:17,070 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-22243239:ctest-vn1-62133919 is 122.230.145.65 and allocation pool is NOT set 2025-11-04 18:00:19,135 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.464 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.464/2.078/3.692/1.614 ms') 2025-11-04 18:00:19,136 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-90139538 passed 2025-11-04 18:00:19,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 18:00:19,287 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-90139538, IP 147.79.216.69, Port 22 2025-11-04 18:00:19,457 - DEBUG - VM ctest-vn1-vm1-90139538 is ready for SSH connections 2025-11-04 18:00:19,457 - INFO - Waiting for VM ctest-vn1-vm2-51571419 to be up.. 2025-11-04 18:00:19,546 - DEBUG - VM is in ACTIVE state now 2025-11-04 18:00:19,546 - INFO - VM name : ctest-vn1-vm2-51571419 2025-11-04 18:00:19,631 - DEBUG - VM ctest-vn1-vm2-51571419 ID is f220f3eb-2ec5-4b52-9e01-9612236053c4 2025-11-04 18:00:19,631 - DEBUG - VM ctest-vn1-vm2-51571419 launched on Node cn-jenkins-deploy-platform-ansible-os-4620-1 2025-11-04 18:00:19,720 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f220f3eb-2ec5-4b52-9e01-9612236053c4 2025-11-04 18:00:19,731 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c315a136-cd0e-4947-b4de-a11cab83b0d6 2025-11-04 18:00:20,983 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.531 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.531/1.865/3.199/1.334 ms') 2025-11-04 18:00:20,984 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-51571419 passed 2025-11-04 18:00:21,138 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 18:00:21,138 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-51571419, IP 122.230.145.69, Port 22 2025-11-04 18:00:21,304 - DEBUG - VM ctest-vn1-vm2-51571419 is ready for SSH connections 2025-11-04 18:00:21,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 18:00:21,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 18:00:21,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 18:00:21,304 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.79.216.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-04 18:00:21,304 - DEBUG - ping -s 56 -c 3 -W 1 147.79.216.69 2025-11-04 18:00:24,069 - DEBUG - PING 147.79.216.69 (147.79.216.69): 56 data bytes 64 bytes from 147.79.216.69: seq=0 ttl=63 time=5.666 ms 64 bytes from 147.79.216.69: seq=1 ttl=63 time=1.045 ms 64 bytes from 147.79.216.69: seq=2 ttl=63 time=1.149 ms --- 147.79.216.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.045/2.620/5.666 ms 2025-11-04 18:00:24,070 - INFO - Ping to IP 147.79.216.69 from VM ctest-vn1-vm2-51571419 passed 2025-11-04 18:00:24,070 - INFO - Detaching port c315a136-cd0e-4947-b4de-a11cab83b0d6 from VM ctest-vn1-vm2-51571419 2025-11-04 18:00:24,126 - INFO - Deleting VM ctest-vn1-vm2-51571419 2025-11-04 18:00:24,222 - INFO - Detaching port 48be5810-3499-475d-b89d-e86d3362eadf from VM ctest-vn1-vm1-90139538 2025-11-04 18:00:24,263 - INFO - Deleting VM ctest-vn1-vm1-90139538 2025-11-04 18:00:24,549 - DEBUG - Response for delete_port : () 2025-11-04 18:00:24,756 - DEBUG - Response for delete_port : () 2025-11-04 18:00:24,756 - INFO - Deleting VN ctest-vn1-62133919 2025-11-04 18:00:24,923 - DEBUG - Response for deleting network () 2025-11-04 18:00:25,196 - DEBUG - No XMPP flaps were noticed during the test 2025-11-04 18:00:25,196 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-11-04 18:00:25,196 - INFO - -------------------------------------------------------------------------------- 2025-11-04 18:00:25,904 - INFO - Deleted project: ctest-TestPorts-22243239, ID : 277a9a64-64c2-4770-924b-9a11c1480c48