2026-01-15 02:07:14,213 - INFO - Domain Default found not creating
2026-01-15 02:07:14,406 - INFO - Project ctest-TestPorts-01050366 not found, creating it
2026-01-15 02:07:14,877 - INFO - Created Project:ctest-TestPorts-01050366, ID : 0c6fc19f-b3ff-4906-aaed-905e968921f1
2026-01-15 02:07:16,455 - INFO - ================================================================================
2026-01-15 02:07:16,455 - INFO - STARTING TEST : test_ports_bindings
2026-01-15 02:07:16,455 - 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-15 02:07:16,719 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.18': '0'}} with
2026-01-15 02:07:16,719 - INFO - Initial checks done. Running the testcase now
2026-01-15 02:07:16,719 - INFO -
2026-01-15 02:07:17,292 - DEBUG - Response for create_network : {'network': {'id': 'b1b97178-a319-4dfd-bb6e-49acdefa999d', 'name': 'ctest-vn-21242090', 'tenant_id': '0c6fc19fb3ff4906aaed905e968921f1', 'project_id': '0c6fc19fb3ff4906aaed905e968921f1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-01050366', 'ctest-vn-21242090'], 'port_security_enabled': True, 'description': ''}}
2026-01-15 02:07:17,469 - DEBUG - Response for create_subnet : {'subnet': {'id': '01860007-c319-4cc2-9eac-cf4059c595aa', 'name': '', 'tenant_id': '0c6fc19fb3ff4906aaed905e968921f1', 'network_id': 'b1b97178-a319-4dfd-bb6e-49acdefa999d', 'ip_version': 4, 'cidr': '48.166.99.128/26', 'allocation_pools': [{'start': '48.166.99.130', 'end': '48.166.99.190'}], 'gateway_ip': '48.166.99.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.166.99.130', 'tags': [], 'project_id': '0c6fc19fb3ff4906aaed905e968921f1'}}
2026-01-15 02:07:17,486 - INFO - Created VN ctest-vn-21242090
2026-01-15 02:07:17,540 - DEBUG - VN ctest-vn-21242090 UUID is b1b97178-a319-4dfd-bb6e-49acdefa999d
2026-01-15 02:07:17,652 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-01050366', 'ctest-vmi-24991410']}
2026-01-15 02:07:17,898 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-24991410', 'id': '0e9bbb17-86ad-4a0b-9255-94f61a09f22a', 'tenant_id': '0c6fc19fb3ff4906aaed905e968921f1', 'network_id': 'b1b97178-a319-4dfd-bb6e-49acdefa999d', 'mac_address': '02:0e:9b:bb:17:86', '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': '48.166.99.131', 'subnet_id': '01860007-c319-4cc2-9eac-cf4059c595aa'}], 'security_groups': ['d87ff165-aaf9-4cbd-b1ff-d1782ea6987e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0c6fc19fb3ff4906aaed905e968921f1'}}
2026-01-15 02:07:17,899 - DEBUG - Created port 0e9bbb17-86ad-4a0b-9255-94f61a09f22a
2026-01-15 02:07:18,000 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/0e9bbb17-86ad-4a0b-9255-94f61a09f22a
2026-01-15 02:07:18,306 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/0e9bbb17-86ad-4a0b-9255-94f61a09f22a
2026-01-15 02:07:18,340 - INFO - VMI 0e9bbb17-86ad-4a0b-9255-94f61a09f22a verification in API Server passed
2026-01-15 02:07:18,433 - DEBUG - Response for delete_port : ()
2026-01-15 02:07:18,433 - INFO - Deleted port 0e9bbb17-86ad-4a0b-9255-94f61a09f22a
2026-01-15 02:07:18,433 - INFO - Deleting VN ctest-vn-21242090
2026-01-15 02:07:18,546 - DEBUG - Response for deleting network ()
2026-01-15 02:07:18,805 - DEBUG - No XMPP flaps were noticed during the test
2026-01-15 02:07:18,805 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-01-15 02:07:18,806 - INFO - --------------------------------------------------------------------------------
2026-01-15 02:07:18,808 - INFO - ================================================================================
2026-01-15 02:07:18,808 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-01-15 02:07:18,808 - 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-15 02:07:19,109 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.18': '0'}} with
2026-01-15 02:07:19,109 - INFO - Initial checks done. Running the testcase now
2026-01-15 02:07:19,109 - INFO -
2026-01-15 02:07:19,298 - DEBUG - Response for create_network : {'network': {'id': '89b4b7ba-214f-441f-8346-8b24a3612b86', 'name': 'ctest-vn1-88663579', 'tenant_id': '0c6fc19fb3ff4906aaed905e968921f1', 'project_id': '0c6fc19fb3ff4906aaed905e968921f1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-01050366', 'ctest-vn1-88663579'], 'port_security_enabled': True, 'description': ''}}
2026-01-15 02:07:19,515 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab5d766c-a29b-4851-90c9-d38deca30eb8', 'name': '', 'tenant_id': '0c6fc19fb3ff4906aaed905e968921f1', 'network_id': '89b4b7ba-214f-441f-8346-8b24a3612b86', 'ip_version': 4, 'cidr': '191.40.201.0/26', 'allocation_pools': [{'start': '191.40.201.2', 'end': '191.40.201.62'}], 'gateway_ip': '191.40.201.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.40.201.2', 'tags': [], 'project_id': '0c6fc19fb3ff4906aaed905e968921f1'}}
2026-01-15 02:07:19,692 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe50e37a-4c56-47aa-b740-ecef653888ba', 'name': '', 'tenant_id': '0c6fc19fb3ff4906aaed905e968921f1', 'network_id': '89b4b7ba-214f-441f-8346-8b24a3612b86', 'ip_version': 4, 'cidr': '187.45.64.64/26', 'allocation_pools': [{'start': '187.45.64.66', 'end': '187.45.64.126'}], 'gateway_ip': '187.45.64.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.45.64.66', 'tags': [], 'project_id': '0c6fc19fb3ff4906aaed905e968921f1'}}
2026-01-15 02:07:19,722 - INFO - Created VN ctest-vn1-88663579
2026-01-15 02:07:19,776 - DEBUG - VN ctest-vn1-88663579 UUID is 89b4b7ba-214f-441f-8346-8b24a3612b86
2026-01-15 02:07:20,094 - DEBUG - Response for create_port : {'port': {'name': 'a5a32740-d594-4104-a5d2-aa00845ac84c', 'id': 'a5a32740-d594-4104-a5d2-aa00845ac84c', 'tenant_id': '0c6fc19fb3ff4906aaed905e968921f1', 'network_id': '89b4b7ba-214f-441f-8346-8b24a3612b86', 'mac_address': '02:a5:a3:27:40:d5', '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': '191.40.201.5', 'subnet_id': 'ab5d766c-a29b-4851-90c9-d38deca30eb8'}], 'security_groups': ['d87ff165-aaf9-4cbd-b1ff-d1782ea6987e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0c6fc19fb3ff4906aaed905e968921f1'}}
2026-01-15 02:07:20,270 - DEBUG - Response for create_port : {'port': {'name': '968f3513-40d1-45a8-a398-c2f71e7ea130', 'id': '968f3513-40d1-45a8-a398-c2f71e7ea130', 'tenant_id': '0c6fc19fb3ff4906aaed905e968921f1', 'network_id': '89b4b7ba-214f-441f-8346-8b24a3612b86', 'mac_address': '02:96:8f:35:13:40', '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.45.64.69', 'subnet_id': 'fe50e37a-4c56-47aa-b740-ecef653888ba'}], 'security_groups': ['d87ff165-aaf9-4cbd-b1ff-d1782ea6987e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0c6fc19fb3ff4906aaed905e968921f1'}}
2026-01-15 02:07:20,336 - DEBUG - Services list from nova: [, , ]
2026-01-15 02:07:20,695 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5012-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5012-1)
2026-01-15 02:07:21,119 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5012-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5012-1)
2026-01-15 02:07:21,119 - INFO - Waiting for VM ctest-vn1-vm1-62209398 to be up..
2026-01-15 02:07:21,164 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-15 02:07:26,240 - DEBUG - VM is in ACTIVE state now
2026-01-15 02:07:26,240 - INFO - VM name : ctest-vn1-vm1-62209398
2026-01-15 02:07:26,315 - DEBUG - VM ctest-vn1-vm1-62209398 ID is da3e69a6-1cfc-494a-86a3-a51d2d5b48ca
2026-01-15 02:07:26,335 - DEBUG - VM ctest-vn1-vm1-62209398 launched on Node cn-jenkins-deploy-platform-ansible-os-5012-1
2026-01-15 02:07:26,422 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/da3e69a6-1cfc-494a-86a3-a51d2d5b48ca
2026-01-15 02:07:26,431 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/a5a32740-d594-4104-a5d2-aa00845ac84c
2026-01-15 02:07:29,680 - 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 1008ms')
2026-01-15 02:07:29,680 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-62209398 failed!
2026-01-15 02:07:29,736 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-01050366:ctest-vn1-88663579 is 191.40.201.1 and allocation pool is NOT set
2026-01-15 02:07:29,736 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-01050366:ctest-vn1-88663579 is 187.45.64.65 and allocation pool is NOT set
2026-01-15 02:07:33,815 - 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=8.38 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 8.379/8.379/8.379/0.000 ms')
2026-01-15 02:07:33,816 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-62209398 passed
2026-01-15 02:07:33,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-15 02:07:33,968 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-62209398, IP 191.40.201.5, Port 22
2026-01-15 02:07:34,024 - 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-15 02:07:34,106 - DEBUG - VM ctest-vn1-vm1-62209398 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-15 02:07:39,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-15 02:07:39,107 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-62209398, IP 191.40.201.5, Port 22
2026-01-15 02:07:39,274 - DEBUG - VM ctest-vn1-vm1-62209398 is ready for SSH connections
2026-01-15 02:07:39,274 - INFO - Waiting for VM ctest-vn1-vm2-80045795 to be up..
2026-01-15 02:07:39,351 - DEBUG - VM is in ACTIVE state now
2026-01-15 02:07:39,351 - INFO - VM name : ctest-vn1-vm2-80045795
2026-01-15 02:07:39,425 - DEBUG - VM ctest-vn1-vm2-80045795 ID is 7fef1585-e14d-43e1-8406-9309b3aaf506
2026-01-15 02:07:39,425 - DEBUG - VM ctest-vn1-vm2-80045795 launched on Node cn-jenkins-deploy-platform-ansible-os-5012-1
2026-01-15 02:07:39,501 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/7fef1585-e14d-43e1-8406-9309b3aaf506
2026-01-15 02:07:39,508 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/968f3513-40d1-45a8-a398-c2f71e7ea130
2026-01-15 02:07:40,741 - 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=2.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.576 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.576/1.748/2.920/1.172 ms')
2026-01-15 02:07:40,741 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-80045795 passed
2026-01-15 02:07:40,892 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-15 02:07:40,892 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-80045795, IP 187.45.64.69, Port 22
2026-01-15 02:07:41,058 - DEBUG - VM ctest-vn1-vm2-80045795 is ready for SSH connections
2026-01-15 02:07:41,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-15 02:07:41,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-15 02:07:41,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-15 02:07:41,058 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.40.201.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2026-01-15 02:07:41,058 - DEBUG - ping -s 56 -c 3 -W 1 191.40.201.5
2026-01-15 02:07:43,735 - DEBUG - PING 191.40.201.5 (191.40.201.5): 56 data bytes
64 bytes from 191.40.201.5: seq=0 ttl=63 time=4.240 ms
64 bytes from 191.40.201.5: seq=1 ttl=63 time=0.684 ms
64 bytes from 191.40.201.5: seq=2 ttl=63 time=1.321 ms
--- 191.40.201.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.684/2.081/4.240 ms
2026-01-15 02:07:43,736 - INFO - Ping to IP 191.40.201.5 from VM ctest-vn1-vm2-80045795 passed
2026-01-15 02:07:43,736 - INFO - Detaching port 968f3513-40d1-45a8-a398-c2f71e7ea130 from VM ctest-vn1-vm2-80045795
2026-01-15 02:07:43,789 - INFO - Deleting VM ctest-vn1-vm2-80045795
2026-01-15 02:07:43,863 - INFO - Detaching port a5a32740-d594-4104-a5d2-aa00845ac84c from VM ctest-vn1-vm1-62209398
2026-01-15 02:07:43,902 - INFO - Deleting VM ctest-vn1-vm1-62209398
2026-01-15 02:07:44,150 - DEBUG - Response for delete_port : ()
2026-01-15 02:07:44,318 - DEBUG - Response for delete_port : ()
2026-01-15 02:07:44,318 - INFO - Deleting VN ctest-vn1-88663579
2026-01-15 02:07:44,487 - DEBUG - Response for deleting network ()
2026-01-15 02:07:44,747 - DEBUG - No XMPP flaps were noticed during the test
2026-01-15 02:07:44,747 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2026-01-15 02:07:44,747 - INFO - --------------------------------------------------------------------------------
2026-01-15 02:07:45,469 - INFO - Deleted project: ctest-TestPorts-01050366, ID : 0c6fc19f-b3ff-4906-aaed-905e968921f1