2026-04-24 14:13:34,166 - INFO - Domain Default found not creating 2026-04-24 14:13:34,375 - INFO - Project ctest-TestPorts-91611361 not found, creating it 2026-04-24 14:13:34,898 - INFO - Created Project:ctest-TestPorts-91611361, ID : 8a284857-1b87-4c27-b756-bace61d7ff74 2026-04-24 14:13:36,580 - INFO - ================================================================================ 2026-04-24 14:13:36,580 - INFO - STARTING TEST : test_ports_bindings 2026-04-24 14:13:36,580 - 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-04-24 14:13:36,846 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-04-24 14:13:36,846 - INFO - Initial checks done. Running the testcase now 2026-04-24 14:13:36,846 - INFO - 2026-04-24 14:13:37,442 - DEBUG - Response for create_network : {'network': {'id': 'cf07d061-34c0-49b3-a43f-479f14ab10e7', 'name': 'ctest-vn-63654748', 'tenant_id': '8a2848571b874c27b756bace61d7ff74', 'project_id': '8a2848571b874c27b756bace61d7ff74', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-91611361', 'ctest-vn-63654748'], 'port_security_enabled': True, 'description': ''}} 2026-04-24 14:13:37,651 - DEBUG - Response for create_subnet : {'subnet': {'id': '87da2beb-fbcb-49a6-8edf-998acbb1023c', 'name': '', 'tenant_id': '8a2848571b874c27b756bace61d7ff74', 'network_id': 'cf07d061-34c0-49b3-a43f-479f14ab10e7', 'ip_version': 4, 'cidr': '66.45.125.64/26', 'allocation_pools': [{'start': '66.45.125.66', 'end': '66.45.125.126'}], 'gateway_ip': '66.45.125.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.45.125.66', 'tags': [], 'project_id': '8a2848571b874c27b756bace61d7ff74'}} 2026-04-24 14:13:37,671 - INFO - Created VN ctest-vn-63654748 2026-04-24 14:13:37,727 - DEBUG - VN ctest-vn-63654748 UUID is cf07d061-34c0-49b3-a43f-479f14ab10e7 2026-04-24 14:13:37,843 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-91611361', 'ctest-vmi-72703175']} 2026-04-24 14:13:38,110 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-72703175', 'id': '63d4955c-e241-422d-a134-52bc978b9547', 'tenant_id': '8a2848571b874c27b756bace61d7ff74', 'network_id': 'cf07d061-34c0-49b3-a43f-479f14ab10e7', 'mac_address': '02:63:d4:95:5c:e2', '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.45.125.67', 'subnet_id': '87da2beb-fbcb-49a6-8edf-998acbb1023c'}], 'security_groups': ['a5438d8e-fdf2-4646-a38d-f6f01125ea49'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8a2848571b874c27b756bace61d7ff74'}} 2026-04-24 14:13:38,110 - DEBUG - Created port 63d4955c-e241-422d-a134-52bc978b9547 2026-04-24 14:13:38,219 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/63d4955c-e241-422d-a134-52bc978b9547 2026-04-24 14:13:38,525 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/63d4955c-e241-422d-a134-52bc978b9547 2026-04-24 14:13:38,567 - INFO - VMI 63d4955c-e241-422d-a134-52bc978b9547 verification in API Server passed 2026-04-24 14:13:38,688 - DEBUG - Response for delete_port : () 2026-04-24 14:13:38,689 - INFO - Deleted port 63d4955c-e241-422d-a134-52bc978b9547 2026-04-24 14:13:38,689 - INFO - Deleting VN ctest-vn-63654748 2026-04-24 14:13:38,809 - DEBUG - Response for deleting network () 2026-04-24 14:13:39,065 - DEBUG - No XMPP flaps were noticed during the test
2026-04-24 14:13:39,065 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-04-24 14:13:39,065 - INFO - -------------------------------------------------------------------------------- 2026-04-24 14:13:39,067 - INFO - ================================================================================ 2026-04-24 14:13:39,068 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-04-24 14:13:39,068 - 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-04-24 14:13:39,356 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-04-24 14:13:39,356 - INFO - Initial checks done. Running the testcase now 2026-04-24 14:13:39,356 - INFO - 2026-04-24 14:13:39,547 - DEBUG - Response for create_network : {'network': {'id': 'fa4dee54-d013-4d60-9d2a-1b10157c9dc5', 'name': 'ctest-vn1-62555521', 'tenant_id': '8a2848571b874c27b756bace61d7ff74', 'project_id': '8a2848571b874c27b756bace61d7ff74', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-91611361', 'ctest-vn1-62555521'], 'port_security_enabled': True, 'description': ''}} 2026-04-24 14:13:39,751 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a498fe6-15de-46e3-ad82-dc47aff68118', 'name': '', 'tenant_id': '8a2848571b874c27b756bace61d7ff74', 'network_id': 'fa4dee54-d013-4d60-9d2a-1b10157c9dc5', 'ip_version': 4, 'cidr': '23.115.231.128/26', 'allocation_pools': [{'start': '23.115.231.130', 'end': '23.115.231.190'}], 'gateway_ip': '23.115.231.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.115.231.130', 'tags': [], 'project_id': '8a2848571b874c27b756bace61d7ff74'}} 2026-04-24 14:13:39,980 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b8a12e5-d164-48dc-a183-8d9f4b1dfd2a', 'name': '', 'tenant_id': '8a2848571b874c27b756bace61d7ff74', 'network_id': 'fa4dee54-d013-4d60-9d2a-1b10157c9dc5', 'ip_version': 4, 'cidr': '156.177.176.128/26', 'allocation_pools': [{'start': '156.177.176.130', 'end': '156.177.176.190'}], 'gateway_ip': '156.177.176.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.177.176.130', 'tags': [], 'project_id': '8a2848571b874c27b756bace61d7ff74'}} 2026-04-24 14:13:40,001 - INFO - Created VN ctest-vn1-62555521 2026-04-24 14:13:40,055 - DEBUG - VN ctest-vn1-62555521 UUID is fa4dee54-d013-4d60-9d2a-1b10157c9dc5 2026-04-24 14:13:40,408 - DEBUG - Response for create_port : {'port': {'name': 'f55d1535-b4f8-4f09-add0-bf3e728dcadd', 'id': 'f55d1535-b4f8-4f09-add0-bf3e728dcadd', 'tenant_id': '8a2848571b874c27b756bace61d7ff74', 'network_id': 'fa4dee54-d013-4d60-9d2a-1b10157c9dc5', 'mac_address': '02:f5:5d:15:35:b4', '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': '23.115.231.133', 'subnet_id': '2a498fe6-15de-46e3-ad82-dc47aff68118'}], 'security_groups': ['a5438d8e-fdf2-4646-a38d-f6f01125ea49'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8a2848571b874c27b756bace61d7ff74'}} 2026-04-24 14:13:40,603 - DEBUG - Response for create_port : {'port': {'name': 'fc854b43-05d3-4946-bf36-47475051c8ba', 'id': 'fc854b43-05d3-4946-bf36-47475051c8ba', 'tenant_id': '8a2848571b874c27b756bace61d7ff74', 'network_id': 'fa4dee54-d013-4d60-9d2a-1b10157c9dc5', 'mac_address': '02:fc:85:4b:43:05', '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': '156.177.176.133', 'subnet_id': '6b8a12e5-d164-48dc-a183-8d9f4b1dfd2a'}], 'security_groups': ['a5438d8e-fdf2-4646-a38d-f6f01125ea49'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8a2848571b874c27b756bace61d7ff74'}} 2026-04-24 14:13:40,672 - DEBUG - Services list from nova: [, , ] 2026-04-24 14:13:41,080 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5681-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5681-1) 2026-04-24 14:13:41,537 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5681-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5681-1) 2026-04-24 14:13:41,537 - INFO - Waiting for VM ctest-vn1-vm1-31468016 to be up.. 2026-04-24 14:13:41,580 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-24 14:13:46,663 - DEBUG - VM is in ACTIVE state now 2026-04-24 14:13:46,664 - INFO - VM name : ctest-vn1-vm1-31468016 2026-04-24 14:13:46,754 - DEBUG - VM ctest-vn1-vm1-31468016 ID is a276062c-04e7-442d-bd56-8aa2bc468362 2026-04-24 14:13:46,777 - DEBUG - VM ctest-vn1-vm1-31468016 launched on Node cn-jenkins-deploy-platform-ansible-os-5681-1 2026-04-24 14:13:46,870 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/a276062c-04e7-442d-bd56-8aa2bc468362 2026-04-24 14:13:46,879 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/f55d1535-b4f8-4f09-add0-bf3e728dcadd 2026-04-24 14:13:50,153 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1025ms') 2026-04-24 14:13:50,154 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-31468016 failed! 2026-04-24 14:13:50,211 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-91611361:ctest-vn1-62555521 is 23.115.231.129 and allocation pool is NOT set 2026-04-24 14:13:50,211 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-91611361:ctest-vn1-62555521 is 156.177.176.129 and allocation pool is NOT set 2026-04-24 14:13:54,308 - 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=2 ttl=63 time=9.17 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1029ms\r\nrtt min/avg/max/mdev = 9.167/9.167/9.167/0.000 ms') 2026-04-24 14:13:54,308 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-31468016 passed 2026-04-24 14:13:54,463 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 14:13:54,463 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-31468016, IP 23.115.231.133, Port 22 2026-04-24 14:13:54,529 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-04-24 14:13:54,615 - DEBUG - VM ctest-vn1-vm1-31468016 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-24 14:13:59,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 14:13:59,616 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-31468016, IP 23.115.231.133, Port 22 2026-04-24 14:13:59,785 - DEBUG - VM ctest-vn1-vm1-31468016 is ready for SSH connections 2026-04-24 14:13:59,785 - INFO - Waiting for VM ctest-vn1-vm2-43420025 to be up.. 2026-04-24 14:13:59,870 - DEBUG - VM is in ACTIVE state now 2026-04-24 14:13:59,870 - INFO - VM name : ctest-vn1-vm2-43420025 2026-04-24 14:13:59,951 - DEBUG - VM ctest-vn1-vm2-43420025 ID is 951c8381-7f3e-477e-9b98-994b65479528 2026-04-24 14:13:59,951 - DEBUG - VM ctest-vn1-vm2-43420025 launched on Node cn-jenkins-deploy-platform-ansible-os-5681-1 2026-04-24 14:14:00,049 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/951c8381-7f3e-477e-9b98-994b65479528 2026-04-24 14:14:00,059 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/fc854b43-05d3-4946-bf36-47475051c8ba 2026-04-24 14:14:01,308 - 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=2.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.526 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.526/1.676/2.827/1.150 ms') 2026-04-24 14:14:01,308 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-43420025 passed 2026-04-24 14:14:01,463 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 14:14:01,463 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-43420025, IP 156.177.176.133, Port 22 2026-04-24 14:14:01,640 - DEBUG - VM ctest-vn1-vm2-43420025 is ready for SSH connections 2026-04-24 14:14:01,640 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 14:14:01,640 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 14:14:01,640 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 14:14:01,640 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.115.231.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-04-24 14:14:01,640 - DEBUG - ping -s 56 -c 3 -W 1 23.115.231.133 2026-04-24 14:14:05,407 - DEBUG - PING 23.115.231.133 (23.115.231.133): 56 data bytes 64 bytes from 23.115.231.133: seq=0 ttl=63 time=4.213 ms 64 bytes from 23.115.231.133: seq=1 ttl=63 time=1.094 ms 64 bytes from 23.115.231.133: seq=2 ttl=63 time=1.139 ms --- 23.115.231.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.094/2.148/4.213 ms 2026-04-24 14:14:05,408 - INFO - Ping to IP 23.115.231.133 from VM ctest-vn1-vm2-43420025 passed 2026-04-24 14:14:05,408 - INFO - Detaching port fc854b43-05d3-4946-bf36-47475051c8ba from VM ctest-vn1-vm2-43420025 2026-04-24 14:14:05,479 - INFO - Deleting VM ctest-vn1-vm2-43420025 2026-04-24 14:14:05,586 - INFO - Detaching port f55d1535-b4f8-4f09-add0-bf3e728dcadd from VM ctest-vn1-vm1-31468016 2026-04-24 14:14:05,623 - INFO - Deleting VM ctest-vn1-vm1-31468016 2026-04-24 14:14:05,923 - DEBUG - Response for delete_port : () 2026-04-24 14:14:06,123 - DEBUG - Response for delete_port : () 2026-04-24 14:14:06,123 - INFO - Deleting VN ctest-vn1-62555521 2026-04-24 14:14:06,300 - DEBUG - Response for deleting network () 2026-04-24 14:14:06,566 - DEBUG - No XMPP flaps were noticed during the test
2026-04-24 14:14:06,566 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2026-04-24 14:14:06,568 - INFO - -------------------------------------------------------------------------------- 2026-04-24 14:14:07,295 - INFO - Deleted project: ctest-TestPorts-91611361, ID : 8a284857-1b87-4c27-b756-bace61d7ff74