2025-11-24 17:27:18,998 - INFO - Domain Default found not creating 2025-11-24 17:27:19,460 - INFO - Project ctest-TestPorts-33128870 not found, creating it 2025-11-24 17:27:20,178 - INFO - Created Project:ctest-TestPorts-33128870, ID : 157037ee-0e5e-4d8d-80a3-5618313711a4 2025-11-24 17:27:22,392 - INFO - ================================================================================ 2025-11-24 17:27:22,393 - INFO - STARTING TEST : test_ports_bindings 2025-11-24 17:27:22,393 - 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-24 17:27:22,708 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.252': '0'}} with 2025-11-24 17:27:22,709 - INFO - Initial checks done. Running the testcase now 2025-11-24 17:27:22,709 - INFO - 2025-11-24 17:27:23,427 - DEBUG - Response for create_network : {'network': {'id': '12c6eaee-52a9-4e66-8ee1-3649b5853fdc', 'name': 'ctest-vn-04150960', 'tenant_id': '157037ee0e5e4d8d80a35618313711a4', 'project_id': '157037ee0e5e4d8d80a35618313711a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-33128870', 'ctest-vn-04150960'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 17:27:23,614 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae92826f-c6b7-4ea7-b840-ba8cfd483269', 'name': '', 'tenant_id': '157037ee0e5e4d8d80a35618313711a4', 'network_id': '12c6eaee-52a9-4e66-8ee1-3649b5853fdc', 'ip_version': 4, 'cidr': '139.75.1.0/26', 'allocation_pools': [{'start': '139.75.1.2', 'end': '139.75.1.62'}], 'gateway_ip': '139.75.1.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.75.1.2', 'tags': [], 'project_id': '157037ee0e5e4d8d80a35618313711a4'}} 2025-11-24 17:27:23,637 - INFO - Created VN ctest-vn-04150960 2025-11-24 17:27:23,691 - DEBUG - VN ctest-vn-04150960 UUID is 12c6eaee-52a9-4e66-8ee1-3649b5853fdc 2025-11-24 17:27:23,813 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-33128870', 'ctest-vmi-14469908']} 2025-11-24 17:27:24,109 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-14469908', 'id': 'ba94db2c-65ce-417e-890f-4af2d4e904ae', 'tenant_id': '157037ee0e5e4d8d80a35618313711a4', 'network_id': '12c6eaee-52a9-4e66-8ee1-3649b5853fdc', 'mac_address': '02:ba:94:db:2c:65', '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': '139.75.1.3', 'subnet_id': 'ae92826f-c6b7-4ea7-b840-ba8cfd483269'}], 'security_groups': ['a248c3a8-7b5f-45a8-837f-83a00304d3e7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '157037ee0e5e4d8d80a35618313711a4'}} 2025-11-24 17:27:24,109 - DEBUG - Created port ba94db2c-65ce-417e-890f-4af2d4e904ae 2025-11-24 17:27:24,219 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ba94db2c-65ce-417e-890f-4af2d4e904ae 2025-11-24 17:27:24,545 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ba94db2c-65ce-417e-890f-4af2d4e904ae 2025-11-24 17:27:24,599 - INFO - VMI ba94db2c-65ce-417e-890f-4af2d4e904ae verification in API Server passed 2025-11-24 17:27:24,767 - DEBUG - Response for delete_port : () 2025-11-24 17:27:24,767 - INFO - Deleted port ba94db2c-65ce-417e-890f-4af2d4e904ae 2025-11-24 17:27:24,768 - INFO - Deleting VN ctest-vn-04150960 2025-11-24 17:27:24,889 - DEBUG - Response for deleting network () 2025-11-24 17:27:25,188 - DEBUG - No XMPP flaps were noticed during the test 2025-11-24 17:27:25,189 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-11-24 17:27:25,189 - INFO - -------------------------------------------------------------------------------- 2025-11-24 17:27:25,192 - INFO - ================================================================================ 2025-11-24 17:27:25,192 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-24 17:27:25,192 - 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-24 17:27:25,530 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.252': '0'}} with 2025-11-24 17:27:25,530 - INFO - Initial checks done. Running the testcase now 2025-11-24 17:27:25,530 - INFO - 2025-11-24 17:27:25,816 - DEBUG - Response for create_network : {'network': {'id': '8bd3cf4c-d44c-4e7b-9bdd-fb1a8c0aa676', 'name': 'ctest-vn1-92214430', 'tenant_id': '157037ee0e5e4d8d80a35618313711a4', 'project_id': '157037ee0e5e4d8d80a35618313711a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-33128870', 'ctest-vn1-92214430'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 17:27:26,047 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1f0ba3b-6b6f-4c1c-b242-1d0c42e9e92e', 'name': '', 'tenant_id': '157037ee0e5e4d8d80a35618313711a4', 'network_id': '8bd3cf4c-d44c-4e7b-9bdd-fb1a8c0aa676', 'ip_version': 4, 'cidr': '66.86.20.192/26', 'allocation_pools': [{'start': '66.86.20.194', 'end': '66.86.20.254'}], 'gateway_ip': '66.86.20.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.86.20.194', 'tags': [], 'project_id': '157037ee0e5e4d8d80a35618313711a4'}} 2025-11-24 17:27:26,276 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3a61534-ee4a-4ca0-b6e5-ab346944e920', 'name': '', 'tenant_id': '157037ee0e5e4d8d80a35618313711a4', 'network_id': '8bd3cf4c-d44c-4e7b-9bdd-fb1a8c0aa676', 'ip_version': 4, 'cidr': '164.219.232.128/26', 'allocation_pools': [{'start': '164.219.232.130', 'end': '164.219.232.190'}], 'gateway_ip': '164.219.232.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.219.232.130', 'tags': [], 'project_id': '157037ee0e5e4d8d80a35618313711a4'}} 2025-11-24 17:27:26,304 - INFO - Created VN ctest-vn1-92214430 2025-11-24 17:27:26,372 - DEBUG - VN ctest-vn1-92214430 UUID is 8bd3cf4c-d44c-4e7b-9bdd-fb1a8c0aa676 2025-11-24 17:27:26,884 - DEBUG - Response for create_port : {'port': {'name': '74ec2978-dcae-41de-9554-4e54433f835c', 'id': '74ec2978-dcae-41de-9554-4e54433f835c', 'tenant_id': '157037ee0e5e4d8d80a35618313711a4', 'network_id': '8bd3cf4c-d44c-4e7b-9bdd-fb1a8c0aa676', 'mac_address': '02:74:ec:29:78:dc', '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.86.20.197', 'subnet_id': 'e1f0ba3b-6b6f-4c1c-b242-1d0c42e9e92e'}], 'security_groups': ['a248c3a8-7b5f-45a8-837f-83a00304d3e7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '157037ee0e5e4d8d80a35618313711a4'}} 2025-11-24 17:27:27,103 - DEBUG - Response for create_port : {'port': {'name': '383ed0e6-35f2-4728-a164-72eb9ad1ba65', 'id': '383ed0e6-35f2-4728-a164-72eb9ad1ba65', 'tenant_id': '157037ee0e5e4d8d80a35618313711a4', 'network_id': '8bd3cf4c-d44c-4e7b-9bdd-fb1a8c0aa676', 'mac_address': '02:38:3e:d0:e6:35', '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': '164.219.232.133', 'subnet_id': 'a3a61534-ee4a-4ca0-b6e5-ab346944e920'}], 'security_groups': ['a248c3a8-7b5f-45a8-837f-83a00304d3e7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '157037ee0e5e4d8d80a35618313711a4'}} 2025-11-24 17:27:27,162 - DEBUG - Services list from nova: [, , ] 2025-11-24 17:27:27,793 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4810-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4810-1) 2025-11-24 17:27:28,423 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4810-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4810-1) 2025-11-24 17:27:28,424 - INFO - Waiting for VM ctest-vn1-vm1-12057410 to be up.. 2025-11-24 17:27:28,479 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 17:27:33,637 - DEBUG - VM is in ACTIVE state now 2025-11-24 17:27:33,637 - INFO - VM name : ctest-vn1-vm1-12057410 2025-11-24 17:27:33,767 - DEBUG - VM ctest-vn1-vm1-12057410 ID is ef02a843-1a62-4a51-a509-c0d29b2e4c99 2025-11-24 17:27:33,798 - DEBUG - VM ctest-vn1-vm1-12057410 launched on Node cn-jenkins-deploy-platform-ansible-os-4810-1 2025-11-24 17:27:33,922 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ef02a843-1a62-4a51-a509-c0d29b2e4c99 2025-11-24 17:27:33,934 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/74ec2978-dcae-41de-9554-4e54433f835c 2025-11-24 17:27:37,236 - 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 1019ms') 2025-11-24 17:27:37,236 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12057410 failed! 2025-11-24 17:27:37,295 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-33128870:ctest-vn1-92214430 is 66.86.20.193 and allocation pool is NOT set 2025-11-24 17:27:37,296 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-33128870:ctest-vn1-92214430 is 164.219.232.129 and allocation pool is NOT set 2025-11-24 17:27:41,402 - 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 1026ms') 2025-11-24 17:27:41,402 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12057410 failed! 2025-11-24 17:27:41,476 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-33128870:ctest-vn1-92214430 is 66.86.20.193 and allocation pool is NOT set 2025-11-24 17:27:41,476 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-33128870:ctest-vn1-92214430 is 164.219.232.129 and allocation pool is NOT set 2025-11-24 17:27:43,564 - 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=9.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.777 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.777/5.171/9.565/4.394 ms') 2025-11-24 17:27:43,564 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12057410 passed 2025-11-24 17:27:43,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 17:27:43,748 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-12057410, IP 66.86.20.197, Port 22 2025-11-24 17:27:43,942 - DEBUG - VM ctest-vn1-vm1-12057410 is ready for SSH connections 2025-11-24 17:27:43,942 - INFO - Waiting for VM ctest-vn1-vm2-59480707 to be up.. 2025-11-24 17:27:44,139 - DEBUG - VM is in ACTIVE state now 2025-11-24 17:27:44,139 - INFO - VM name : ctest-vn1-vm2-59480707 2025-11-24 17:27:44,326 - DEBUG - VM ctest-vn1-vm2-59480707 ID is 4cbb0fde-8363-41dc-8b08-98faf8795e55 2025-11-24 17:27:44,327 - DEBUG - VM ctest-vn1-vm2-59480707 launched on Node cn-jenkins-deploy-platform-ansible-os-4810-1 2025-11-24 17:27:44,484 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4cbb0fde-8363-41dc-8b08-98faf8795e55 2025-11-24 17:27:44,496 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/383ed0e6-35f2-4728-a164-72eb9ad1ba65 2025-11-24 17:27:45,791 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.767 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.767/4.527/8.288/3.760 ms') 2025-11-24 17:27:45,791 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-59480707 passed 2025-11-24 17:27:45,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 17:27:45,960 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-59480707, IP 164.219.232.133, Port 22 2025-11-24 17:27:46,172 - DEBUG - VM ctest-vn1-vm2-59480707 is ready for SSH connections 2025-11-24 17:27:46,172 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 17:27:46,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 17:27:46,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 17:27:46,173 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.86.20.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-24 17:27:46,173 - DEBUG - ping -s 56 -c 3 -W 1 66.86.20.197 2025-11-24 17:27:49,094 - DEBUG - PING 66.86.20.197 (66.86.20.197): 56 data bytes 64 bytes from 66.86.20.197: seq=0 ttl=63 time=6.664 ms 64 bytes from 66.86.20.197: seq=1 ttl=63 time=2.150 ms 64 bytes from 66.86.20.197: seq=2 ttl=63 time=0.824 ms --- 66.86.20.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.824/3.212/6.664 ms 2025-11-24 17:27:49,094 - INFO - Ping to IP 66.86.20.197 from VM ctest-vn1-vm2-59480707 passed 2025-11-24 17:27:49,094 - INFO - Detaching port 383ed0e6-35f2-4728-a164-72eb9ad1ba65 from VM ctest-vn1-vm2-59480707 2025-11-24 17:27:49,170 - INFO - Deleting VM ctest-vn1-vm2-59480707 2025-11-24 17:27:49,278 - INFO - Detaching port 74ec2978-dcae-41de-9554-4e54433f835c from VM ctest-vn1-vm1-12057410 2025-11-24 17:27:49,317 - INFO - Deleting VM ctest-vn1-vm1-12057410 2025-11-24 17:27:49,579 - DEBUG - Response for delete_port : () 2025-11-24 17:27:49,775 - DEBUG - Response for delete_port : () 2025-11-24 17:27:49,775 - INFO - Deleting VN ctest-vn1-92214430 2025-11-24 17:27:49,932 - DEBUG - Response for deleting network () 2025-11-24 17:27:50,194 - DEBUG - No XMPP flaps were noticed during the test 2025-11-24 17:27:50,195 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25] 2025-11-24 17:27:50,195 - INFO - -------------------------------------------------------------------------------- 2025-11-24 17:27:51,012 - INFO - Deleted project: ctest-TestPorts-33128870, ID : 157037ee-0e5e-4d8d-80a3-5618313711a4