2026-01-22 22:04:32,132 - INFO - Domain Default found not creating 2026-01-22 22:04:32,375 - INFO - Project ctest-TestPorts-79835482 not found, creating it 2026-01-22 22:04:32,933 - INFO - Created Project:ctest-TestPorts-79835482, ID : f0f66067-8d1d-44df-bfed-3f0d83b77f00 2026-01-22 22:04:34,883 - INFO - ================================================================================ 2026-01-22 22:04:34,883 - INFO - STARTING TEST : test_ports_bindings 2026-01-22 22:04:34,883 - 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 2026-01-22 22:04:35,195 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.193': '0'}} with 2026-01-22 22:04:35,195 - INFO - Initial checks done. Running the testcase now 2026-01-22 22:04:35,196 - INFO - 2026-01-22 22:04:35,912 - DEBUG - Response for create_network : {'network': {'id': '3acf044f-ad3d-4958-9367-1faa8a0f6bae', 'name': 'ctest-vn-63321983', 'tenant_id': 'f0f660678d1d44dfbfed3f0d83b77f00', 'project_id': 'f0f660678d1d44dfbfed3f0d83b77f00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-79835482', 'ctest-vn-63321983'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 22:04:36,163 - DEBUG - Response for create_subnet : {'subnet': {'id': '7835daec-8422-4426-b935-10dccb92c8e9', 'name': '', 'tenant_id': 'f0f660678d1d44dfbfed3f0d83b77f00', 'network_id': '3acf044f-ad3d-4958-9367-1faa8a0f6bae', 'ip_version': 4, 'cidr': '122.28.84.128/26', 'allocation_pools': [{'start': '122.28.84.130', 'end': '122.28.84.190'}], 'gateway_ip': '122.28.84.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.28.84.130', 'tags': [], 'project_id': 'f0f660678d1d44dfbfed3f0d83b77f00'}} 2026-01-22 22:04:36,185 - INFO - Created VN ctest-vn-63321983 2026-01-22 22:04:36,245 - DEBUG - VN ctest-vn-63321983 UUID is 3acf044f-ad3d-4958-9367-1faa8a0f6bae 2026-01-22 22:04:36,401 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-79835482', 'ctest-vmi-59544468']} 2026-01-22 22:04:36,802 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-59544468', 'id': '8ec4e784-9747-426f-a361-8ea9c18694d9', 'tenant_id': 'f0f660678d1d44dfbfed3f0d83b77f00', 'network_id': '3acf044f-ad3d-4958-9367-1faa8a0f6bae', 'mac_address': '02:8e:c4:e7:84:97', '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': '122.28.84.131', 'subnet_id': '7835daec-8422-4426-b935-10dccb92c8e9'}], 'security_groups': ['879dcd8a-4520-4698-9b73-9268daab37eb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f0f660678d1d44dfbfed3f0d83b77f00'}} 2026-01-22 22:04:36,802 - DEBUG - Created port 8ec4e784-9747-426f-a361-8ea9c18694d9 2026-01-22 22:04:36,938 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8ec4e784-9747-426f-a361-8ea9c18694d9 2026-01-22 22:04:37,317 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8ec4e784-9747-426f-a361-8ea9c18694d9 2026-01-22 22:04:37,397 - INFO - VMI 8ec4e784-9747-426f-a361-8ea9c18694d9 verification in API Server passed 2026-01-22 22:04:37,599 - DEBUG - Response for delete_port : () 2026-01-22 22:04:37,599 - INFO - Deleted port 8ec4e784-9747-426f-a361-8ea9c18694d9 2026-01-22 22:04:37,600 - INFO - Deleting VN ctest-vn-63321983 2026-01-22 22:04:37,735 - DEBUG - Response for deleting network () 2026-01-22 22:04:38,024 - DEBUG - No XMPP flaps were noticed during the test 2026-01-22 22:04:38,025 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04] 2026-01-22 22:04:38,025 - INFO - -------------------------------------------------------------------------------- 2026-01-22 22:04:38,034 - INFO - ================================================================================ 2026-01-22 22:04:38,035 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-01-22 22:04:38,035 - 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 2026-01-22 22:04:38,366 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.193': '0'}} with 2026-01-22 22:04:38,367 - INFO - Initial checks done. Running the testcase now 2026-01-22 22:04:38,367 - INFO - 2026-01-22 22:04:38,730 - DEBUG - Response for create_network : {'network': {'id': 'b54f0bb3-20dd-4b37-ac79-70b8e052e8c0', 'name': 'ctest-vn1-85223711', 'tenant_id': 'f0f660678d1d44dfbfed3f0d83b77f00', 'project_id': 'f0f660678d1d44dfbfed3f0d83b77f00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-79835482', 'ctest-vn1-85223711'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 22:04:38,936 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f098106b-f7d1-46fb-aece-57765c5704c9', 'name': '', 'tenant_id': 'f0f660678d1d44dfbfed3f0d83b77f00', 'network_id': 'b54f0bb3-20dd-4b37-ac79-70b8e052e8c0', 'ip_version': 4, 'cidr': '38.218.122.0/26', 'allocation_pools': [{'start': '38.218.122.2', 'end': '38.218.122.62'}], 'gateway_ip': '38.218.122.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.218.122.2', 'tags': [], 'project_id': 'f0f660678d1d44dfbfed3f0d83b77f00'}} 2026-01-22 22:04:39,110 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a9a4c58-688d-438f-a684-dc41f35bf4c6', 'name': '', 'tenant_id': 'f0f660678d1d44dfbfed3f0d83b77f00', 'network_id': 'b54f0bb3-20dd-4b37-ac79-70b8e052e8c0', 'ip_version': 4, 'cidr': '29.209.4.64/26', 'allocation_pools': [{'start': '29.209.4.66', 'end': '29.209.4.126'}], 'gateway_ip': '29.209.4.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.209.4.66', 'tags': [], 'project_id': 'f0f660678d1d44dfbfed3f0d83b77f00'}} 2026-01-22 22:04:39,142 - INFO - Created VN ctest-vn1-85223711 2026-01-22 22:04:39,205 - DEBUG - VN ctest-vn1-85223711 UUID is b54f0bb3-20dd-4b37-ac79-70b8e052e8c0 2026-01-22 22:04:39,688 - DEBUG - Response for create_port : {'port': {'name': '576c59e4-1cfc-4332-bcc6-51ebe05c5409', 'id': '576c59e4-1cfc-4332-bcc6-51ebe05c5409', 'tenant_id': 'f0f660678d1d44dfbfed3f0d83b77f00', 'network_id': 'b54f0bb3-20dd-4b37-ac79-70b8e052e8c0', 'mac_address': '02:57:6c:59:e4:1c', '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.218.122.5', 'subnet_id': 'f098106b-f7d1-46fb-aece-57765c5704c9'}], 'security_groups': ['879dcd8a-4520-4698-9b73-9268daab37eb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f0f660678d1d44dfbfed3f0d83b77f00'}} 2026-01-22 22:04:39,880 - DEBUG - Response for create_port : {'port': {'name': 'a01252be-1ee2-4999-a44f-08566cca0aff', 'id': 'a01252be-1ee2-4999-a44f-08566cca0aff', 'tenant_id': 'f0f660678d1d44dfbfed3f0d83b77f00', 'network_id': 'b54f0bb3-20dd-4b37-ac79-70b8e052e8c0', 'mac_address': '02:a0:12:52:be:1e', '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': '29.209.4.69', 'subnet_id': '2a9a4c58-688d-438f-a684-dc41f35bf4c6'}], 'security_groups': ['879dcd8a-4520-4698-9b73-9268daab37eb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f0f660678d1d44dfbfed3f0d83b77f00'}} 2026-01-22 22:04:39,934 - DEBUG - Services list from nova: [, , ] 2026-01-22 22:04:40,639 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5066-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5066-1) 2026-01-22 22:04:41,326 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5066-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5066-1) 2026-01-22 22:04:41,326 - INFO - Waiting for VM ctest-vn1-vm1-17206420 to be up.. 2026-01-22 22:04:41,409 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-22 22:04:46,571 - DEBUG - VM is in ACTIVE state now 2026-01-22 22:04:46,571 - INFO - VM name : ctest-vn1-vm1-17206420 2026-01-22 22:04:46,661 - DEBUG - VM ctest-vn1-vm1-17206420 ID is a5d70a1d-3f9e-4384-a532-54679cc88bb8 2026-01-22 22:04:46,699 - DEBUG - VM ctest-vn1-vm1-17206420 launched on Node cn-jenkins-deploy-platform-ansible-os-5066-1 2026-01-22 22:04:46,829 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a5d70a1d-3f9e-4384-a532-54679cc88bb8 2026-01-22 22:04:46,840 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/576c59e4-1cfc-4332-bcc6-51ebe05c5409 2026-01-22 22:04:50,137 - 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 1024ms') 2026-01-22 22:04:50,138 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17206420 failed! 2026-01-22 22:04:50,218 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-79835482:ctest-vn1-85223711 is 38.218.122.1 and allocation pool is NOT set 2026-01-22 22:04:50,218 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-79835482:ctest-vn1-85223711 is 29.209.4.65 and allocation pool is NOT set 2026-01-22 22:04:54,294 - 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=28.3 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 28.334/28.334/28.334/0.000 ms') 2026-01-22 22:04:54,294 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17206420 passed 2026-01-22 22:04:54,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 22:04:54,477 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17206420, IP 38.218.122.5, Port 22 2026-01-22 22:04:54,545 - 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': ''} 2026-01-22 22:04:54,667 - DEBUG - VM ctest-vn1-vm1-17206420 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-22 22:04:59,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 22:04:59,669 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17206420, IP 38.218.122.5, Port 22 2026-01-22 22:04:59,878 - DEBUG - VM ctest-vn1-vm1-17206420 is ready for SSH connections 2026-01-22 22:04:59,878 - INFO - Waiting for VM ctest-vn1-vm2-66141789 to be up.. 2026-01-22 22:05:00,030 - DEBUG - VM is in ACTIVE state now 2026-01-22 22:05:00,030 - INFO - VM name : ctest-vn1-vm2-66141789 2026-01-22 22:05:00,153 - DEBUG - VM ctest-vn1-vm2-66141789 ID is e019acde-36f0-4540-9271-213a3f239d56 2026-01-22 22:05:00,154 - DEBUG - VM ctest-vn1-vm2-66141789 launched on Node cn-jenkins-deploy-platform-ansible-os-5066-1 2026-01-22 22:05:00,278 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e019acde-36f0-4540-9271-213a3f239d56 2026-01-22 22:05:00,293 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a01252be-1ee2-4999-a44f-08566cca0aff 2026-01-22 22:05:01,598 - 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=10.3 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.682 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.682/5.474/10.266/4.792 ms') 2026-01-22 22:05:01,599 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-66141789 passed 2026-01-22 22:05:01,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 22:05:01,765 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-66141789, IP 29.209.4.69, Port 22 2026-01-22 22:05:01,921 - DEBUG - VM ctest-vn1-vm2-66141789 is ready for SSH connections 2026-01-22 22:05:01,921 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 22:05:01,921 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 22:05:01,921 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 22:05:01,921 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.218.122.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-22 22:05:01,922 - DEBUG - ping -s 56 -c 3 -W 1 38.218.122.5 2026-01-22 22:05:04,794 - DEBUG - PING 38.218.122.5 (38.218.122.5): 56 data bytes 64 bytes from 38.218.122.5: seq=0 ttl=63 time=4.505 ms 64 bytes from 38.218.122.5: seq=1 ttl=63 time=0.960 ms 64 bytes from 38.218.122.5: seq=2 ttl=63 time=0.928 ms --- 38.218.122.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.928/2.131/4.505 ms 2026-01-22 22:05:04,794 - INFO - Ping to IP 38.218.122.5 from VM ctest-vn1-vm2-66141789 passed 2026-01-22 22:05:04,795 - INFO - Detaching port a01252be-1ee2-4999-a44f-08566cca0aff from VM ctest-vn1-vm2-66141789 2026-01-22 22:05:04,853 - INFO - Deleting VM ctest-vn1-vm2-66141789 2026-01-22 22:05:04,926 - INFO - Detaching port 576c59e4-1cfc-4332-bcc6-51ebe05c5409 from VM ctest-vn1-vm1-17206420 2026-01-22 22:05:04,966 - INFO - Deleting VM ctest-vn1-vm1-17206420 2026-01-22 22:05:05,212 - DEBUG - Response for delete_port : () 2026-01-22 22:05:05,375 - DEBUG - Response for delete_port : () 2026-01-22 22:05:05,375 - INFO - Deleting VN ctest-vn1-85223711 2026-01-22 22:05:05,503 - DEBUG - Response for deleting network () 2026-01-22 22:05:05,782 - DEBUG - No XMPP flaps were noticed during the test 2026-01-22 22:05:05,782 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27] 2026-01-22 22:05:05,782 - INFO - -------------------------------------------------------------------------------- 2026-01-22 22:05:06,552 - INFO - Deleted project: ctest-TestPorts-79835482, ID : f0f66067-8d1d-44df-bfed-3f0d83b77f00