2025-11-07 22:35:23,486 - INFO - Domain Default found not creating
2025-11-07 22:35:23,628 - INFO - Project ctest-TestPorts-81171167 not found, creating it
2025-11-07 22:35:24,041 - INFO - Created Project:ctest-TestPorts-81171167, ID : 503b0c55-ae53-4c20-a87f-2e25c545fc08
2025-11-07 22:35:25,468 - INFO - ================================================================================
2025-11-07 22:35:25,468 - INFO - STARTING TEST : test_ports_bindings
2025-11-07 22:35:25,468 - 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-07 22:35:25,721 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-11-07 22:35:25,722 - INFO - Initial checks done. Running the testcase now
2025-11-07 22:35:25,722 - INFO -
2025-11-07 22:35:26,709 - DEBUG - Response for create_network : {'network': {'id': '671451ca-0f6f-46be-bb78-23880aef9045', 'name': 'ctest-vn-00923767', 'tenant_id': '503b0c55ae534c20a87f2e25c545fc08', 'project_id': '503b0c55ae534c20a87f2e25c545fc08', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-81171167', 'ctest-vn-00923767'], 'port_security_enabled': True, 'description': ''}}
2025-11-07 22:35:26,842 - DEBUG - Response for create_subnet : {'subnet': {'id': '4803cc9b-90e5-4919-a802-2589bdc14787', 'name': '', 'tenant_id': '503b0c55ae534c20a87f2e25c545fc08', 'network_id': '671451ca-0f6f-46be-bb78-23880aef9045', 'ip_version': 4, 'cidr': '87.174.174.64/26', 'allocation_pools': [{'start': '87.174.174.66', 'end': '87.174.174.126'}], 'gateway_ip': '87.174.174.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.174.174.66', 'tags': [], 'project_id': '503b0c55ae534c20a87f2e25c545fc08'}}
2025-11-07 22:35:26,858 - INFO - Created VN ctest-vn-00923767
2025-11-07 22:35:26,908 - DEBUG - VN ctest-vn-00923767 UUID is 671451ca-0f6f-46be-bb78-23880aef9045
2025-11-07 22:35:27,009 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-81171167', 'ctest-vmi-46816342']}
2025-11-07 22:35:27,270 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-46816342', 'id': '6deee9b4-9d87-46f3-8dff-e0dae9a26700', 'tenant_id': '503b0c55ae534c20a87f2e25c545fc08', 'network_id': '671451ca-0f6f-46be-bb78-23880aef9045', 'mac_address': '02:6d:ee:e9:b4:9d', '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': '87.174.174.67', 'subnet_id': '4803cc9b-90e5-4919-a802-2589bdc14787'}], 'security_groups': ['ba4ca9c4-f12f-4334-8b3f-4e91f4805355'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '503b0c55ae534c20a87f2e25c545fc08'}}
2025-11-07 22:35:27,270 - DEBUG - Created port 6deee9b4-9d87-46f3-8dff-e0dae9a26700
2025-11-07 22:35:27,372 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6deee9b4-9d87-46f3-8dff-e0dae9a26700
2025-11-07 22:35:27,663 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6deee9b4-9d87-46f3-8dff-e0dae9a26700
2025-11-07 22:35:27,693 - INFO - VMI 6deee9b4-9d87-46f3-8dff-e0dae9a26700 verification in API Server passed
2025-11-07 22:35:27,776 - DEBUG - Response for delete_port : ()
2025-11-07 22:35:27,776 - INFO - Deleted port 6deee9b4-9d87-46f3-8dff-e0dae9a26700
2025-11-07 22:35:27,777 - INFO - Deleting VN ctest-vn-00923767
2025-11-07 22:35:27,882 - DEBUG - Response for deleting network ()
2025-11-07 22:35:28,148 - DEBUG - No XMPP flaps were noticed during the test
2025-11-07 22:35:28,148 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-07 22:35:28,149 - INFO - --------------------------------------------------------------------------------
2025-11-07 22:35:28,151 - INFO - ================================================================================
2025-11-07 22:35:28,152 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-07 22:35:28,152 - 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-07 22:35:28,440 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-11-07 22:35:28,440 - INFO - Initial checks done. Running the testcase now
2025-11-07 22:35:28,440 - INFO -
2025-11-07 22:35:28,606 - DEBUG - Response for create_network : {'network': {'id': '95da667f-a7fb-4ad4-a545-7f5d943aae76', 'name': 'ctest-vn1-93095961', 'tenant_id': '503b0c55ae534c20a87f2e25c545fc08', 'project_id': '503b0c55ae534c20a87f2e25c545fc08', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-81171167', 'ctest-vn1-93095961'], 'port_security_enabled': True, 'description': ''}}
2025-11-07 22:35:28,753 - DEBUG - Response for create_subnet : {'subnet': {'id': '0fc61807-dc3d-4936-8ad4-29e52a189b66', 'name': '', 'tenant_id': '503b0c55ae534c20a87f2e25c545fc08', 'network_id': '95da667f-a7fb-4ad4-a545-7f5d943aae76', 'ip_version': 4, 'cidr': '198.223.229.128/26', 'allocation_pools': [{'start': '198.223.229.130', 'end': '198.223.229.190'}], 'gateway_ip': '198.223.229.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.223.229.130', 'tags': [], 'project_id': '503b0c55ae534c20a87f2e25c545fc08'}}
2025-11-07 22:35:28,905 - DEBUG - Response for create_subnet : {'subnet': {'id': '905f535b-13bf-40e5-98d9-9562c6f6ae47', 'name': '', 'tenant_id': '503b0c55ae534c20a87f2e25c545fc08', 'network_id': '95da667f-a7fb-4ad4-a545-7f5d943aae76', 'ip_version': 4, 'cidr': '102.84.195.64/26', 'allocation_pools': [{'start': '102.84.195.66', 'end': '102.84.195.126'}], 'gateway_ip': '102.84.195.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.84.195.66', 'tags': [], 'project_id': '503b0c55ae534c20a87f2e25c545fc08'}}
2025-11-07 22:35:28,922 - INFO - Created VN ctest-vn1-93095961
2025-11-07 22:35:28,972 - DEBUG - VN ctest-vn1-93095961 UUID is 95da667f-a7fb-4ad4-a545-7f5d943aae76
2025-11-07 22:35:29,262 - DEBUG - Response for create_port : {'port': {'name': '2e02eb95-c768-412f-9357-3372520c2cd8', 'id': '2e02eb95-c768-412f-9357-3372520c2cd8', 'tenant_id': '503b0c55ae534c20a87f2e25c545fc08', 'network_id': '95da667f-a7fb-4ad4-a545-7f5d943aae76', 'mac_address': '02:2e:02:eb:95:c7', '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': '198.223.229.133', 'subnet_id': '0fc61807-dc3d-4936-8ad4-29e52a189b66'}], 'security_groups': ['ba4ca9c4-f12f-4334-8b3f-4e91f4805355'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '503b0c55ae534c20a87f2e25c545fc08'}}
2025-11-07 22:35:29,430 - DEBUG - Response for create_port : {'port': {'name': 'cf9c93cf-4e49-44ec-8c25-c5a67c3b992e', 'id': 'cf9c93cf-4e49-44ec-8c25-c5a67c3b992e', 'tenant_id': '503b0c55ae534c20a87f2e25c545fc08', 'network_id': '95da667f-a7fb-4ad4-a545-7f5d943aae76', 'mac_address': '02:cf:9c:93:cf:4e', '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': '102.84.195.69', 'subnet_id': '905f535b-13bf-40e5-98d9-9562c6f6ae47'}], 'security_groups': ['ba4ca9c4-f12f-4334-8b3f-4e91f4805355'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '503b0c55ae534c20a87f2e25c545fc08'}}
2025-11-07 22:35:29,490 - DEBUG - Services list from nova: [, , ]
2025-11-07 22:35:29,813 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4673-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4673-1)
2025-11-07 22:35:30,169 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4673-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4673-1)
2025-11-07 22:35:30,169 - INFO - Waiting for VM ctest-vn1-vm1-24470159 to be up..
2025-11-07 22:35:30,205 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-07 22:35:35,275 - DEBUG - VM is in ACTIVE state now
2025-11-07 22:35:35,276 - INFO - VM name : ctest-vn1-vm1-24470159
2025-11-07 22:35:35,343 - DEBUG - VM ctest-vn1-vm1-24470159 ID is f0191233-6ec9-42b7-ad49-4fbd0f4a6634
2025-11-07 22:35:35,361 - DEBUG - VM ctest-vn1-vm1-24470159 launched on Node cn-jenkins-deploy-platform-ansible-os-4673-1
2025-11-07 22:35:35,429 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f0191233-6ec9-42b7-ad49-4fbd0f4a6634
2025-11-07 22:35:35,437 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2e02eb95-c768-412f-9357-3372520c2cd8
2025-11-07 22:35:38,684 - 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 1015ms')
2025-11-07 22:35:38,684 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-24470159 failed!
2025-11-07 22:35:38,740 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-81171167:ctest-vn1-93095961 is 198.223.229.129 and allocation pool is NOT set
2025-11-07 22:35:38,740 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-81171167:ctest-vn1-93095961 is 102.84.195.65 and allocation pool is NOT set
2025-11-07 22:35:40,801 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.824 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.824/1.892/2.960/1.068 ms')
2025-11-07 22:35:40,801 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-24470159 passed
2025-11-07 22:35:40,956 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 22:35:40,956 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-24470159, IP 198.223.229.133, Port 22
2025-11-07 22:35:41,115 - DEBUG - VM ctest-vn1-vm1-24470159 is ready for SSH connections
2025-11-07 22:35:41,116 - INFO - Waiting for VM ctest-vn1-vm2-11739752 to be up..
2025-11-07 22:35:41,188 - DEBUG - VM is in ACTIVE state now
2025-11-07 22:35:41,188 - INFO - VM name : ctest-vn1-vm2-11739752
2025-11-07 22:35:41,252 - DEBUG - VM ctest-vn1-vm2-11739752 ID is 6eca2ba5-cb51-4a1f-b357-c59fed55c409
2025-11-07 22:35:41,253 - DEBUG - VM ctest-vn1-vm2-11739752 launched on Node cn-jenkins-deploy-platform-ansible-os-4673-1
2025-11-07 22:35:41,321 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/6eca2ba5-cb51-4a1f-b357-c59fed55c409
2025-11-07 22:35:41,329 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/cf9c93cf-4e49-44ec-8c25-c5a67c3b992e
2025-11-07 22:35:42,565 - 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=6.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.481 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.481/3.633/6.786/3.152 ms')
2025-11-07 22:35:42,565 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-11739752 passed
2025-11-07 22:35:42,716 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 22:35:42,716 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-11739752, IP 102.84.195.69, Port 22
2025-11-07 22:35:42,871 - DEBUG - VM ctest-vn1-vm2-11739752 is ready for SSH connections
2025-11-07 22:35:42,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 22:35:42,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 22:35:42,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-07 22:35:42,872 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.223.229.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-11-07 22:35:42,872 - DEBUG - ping -s 56 -c 3 -W 1 198.223.229.133
2025-11-07 22:35:45,501 - DEBUG - PING 198.223.229.133 (198.223.229.133): 56 data bytes
64 bytes from 198.223.229.133: seq=0 ttl=63 time=3.228 ms
64 bytes from 198.223.229.133: seq=1 ttl=63 time=0.732 ms
64 bytes from 198.223.229.133: seq=2 ttl=63 time=0.843 ms
--- 198.223.229.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.732/1.601/3.228 ms
2025-11-07 22:35:45,502 - INFO - Ping to IP 198.223.229.133 from VM ctest-vn1-vm2-11739752 passed
2025-11-07 22:35:45,502 - INFO - Detaching port cf9c93cf-4e49-44ec-8c25-c5a67c3b992e from VM ctest-vn1-vm2-11739752
2025-11-07 22:35:45,551 - INFO - Deleting VM ctest-vn1-vm2-11739752
2025-11-07 22:35:45,627 - INFO - Detaching port 2e02eb95-c768-412f-9357-3372520c2cd8 from VM ctest-vn1-vm1-24470159
2025-11-07 22:35:45,661 - INFO - Deleting VM ctest-vn1-vm1-24470159
2025-11-07 22:35:45,864 - DEBUG - Response for delete_port : ()
2025-11-07 22:35:46,007 - DEBUG - Response for delete_port : ()
2025-11-07 22:35:46,007 - INFO - Deleting VN ctest-vn1-93095961
2025-11-07 22:35:46,112 - DEBUG - Response for deleting network ()
2025-11-07 22:35:46,364 - DEBUG - No XMPP flaps were noticed during the test
2025-11-07 22:35:46,365 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-11-07 22:35:46,365 - INFO - --------------------------------------------------------------------------------
2025-11-07 22:35:47,017 - INFO - Deleted project: ctest-TestPorts-81171167, ID : 503b0c55-ae53-4c20-a87f-2e25c545fc08