2025-12-09 13:25:51,205 - INFO - Domain Default found not creating
2025-12-09 13:25:51,392 - INFO - Project ctest-TestPorts-89743418 not found, creating it
2025-12-09 13:25:51,876 - INFO - Created Project:ctest-TestPorts-89743418, ID : 62202d2f-1769-4073-9712-37c534d67ea3
2025-12-09 13:25:53,458 - INFO - ================================================================================
2025-12-09 13:25:53,458 - INFO - STARTING TEST : test_ports_bindings
2025-12-09 13:25:53,458 - 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-12-09 13:25:53,725 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-12-09 13:25:53,725 - INFO - Initial checks done. Running the testcase now
2025-12-09 13:25:53,725 - INFO -
2025-12-09 13:25:54,317 - DEBUG - Response for create_network : {'network': {'id': '2d609ca4-5ac6-4148-8d9a-79d401167401', 'name': 'ctest-vn-13370996', 'tenant_id': '62202d2f17694073971237c534d67ea3', 'project_id': '62202d2f17694073971237c534d67ea3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-89743418', 'ctest-vn-13370996'], 'port_security_enabled': True, 'description': ''}}
2025-12-09 13:25:54,528 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e2d8a067-6cc1-4f22-9d39-e3435e075454', 'name': '', 'tenant_id': '62202d2f17694073971237c534d67ea3', 'network_id': '2d609ca4-5ac6-4148-8d9a-79d401167401', 'ip_version': 4, 'cidr': '26.203.154.64/26', 'allocation_pools': [{'start': '26.203.154.66', 'end': '26.203.154.126'}], 'gateway_ip': '26.203.154.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.203.154.66', 'tags': [], 'project_id': '62202d2f17694073971237c534d67ea3'}}
2025-12-09 13:25:54,548 - INFO - Created VN ctest-vn-13370996
2025-12-09 13:25:54,601 - DEBUG - VN ctest-vn-13370996 UUID is 2d609ca4-5ac6-4148-8d9a-79d401167401
2025-12-09 13:25:54,720 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-89743418', 'ctest-vmi-18282733']}
2025-12-09 13:25:54,974 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-18282733', 'id': 'd1455fbc-f95f-4d65-80c4-a7923c02a1ab', 'tenant_id': '62202d2f17694073971237c534d67ea3', 'network_id': '2d609ca4-5ac6-4148-8d9a-79d401167401', 'mac_address': '02:d1:45:5f:bc:f9', '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': '26.203.154.67', 'subnet_id': 'e2d8a067-6cc1-4f22-9d39-e3435e075454'}], 'security_groups': ['931b948b-85cd-4973-8504-49ab9d681017'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '62202d2f17694073971237c534d67ea3'}}
2025-12-09 13:25:54,974 - DEBUG - Created port d1455fbc-f95f-4d65-80c4-a7923c02a1ab
2025-12-09 13:25:55,085 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d1455fbc-f95f-4d65-80c4-a7923c02a1ab
2025-12-09 13:25:55,384 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d1455fbc-f95f-4d65-80c4-a7923c02a1ab
2025-12-09 13:25:55,421 - INFO - VMI d1455fbc-f95f-4d65-80c4-a7923c02a1ab verification in API Server passed
2025-12-09 13:25:55,525 - DEBUG - Response for delete_port : ()
2025-12-09 13:25:55,525 - INFO - Deleted port d1455fbc-f95f-4d65-80c4-a7923c02a1ab
2025-12-09 13:25:55,525 - INFO - Deleting VN ctest-vn-13370996
2025-12-09 13:25:55,632 - DEBUG - Response for deleting network ()
2025-12-09 13:25:55,886 - DEBUG - No XMPP flaps were noticed during the test
2025-12-09 13:25:55,886 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-09 13:25:55,886 - INFO - --------------------------------------------------------------------------------
2025-12-09 13:25:55,888 - INFO - ================================================================================
2025-12-09 13:25:55,888 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-09 13:25:55,888 - 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-12-09 13:25:56,178 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-12-09 13:25:56,178 - INFO - Initial checks done. Running the testcase now
2025-12-09 13:25:56,178 - INFO -
2025-12-09 13:25:56,362 - DEBUG - Response for create_network : {'network': {'id': 'e09013ec-75e5-4fa4-b20f-6b12df9f0768', 'name': 'ctest-vn1-54891523', 'tenant_id': '62202d2f17694073971237c534d67ea3', 'project_id': '62202d2f17694073971237c534d67ea3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-89743418', 'ctest-vn1-54891523'], 'port_security_enabled': True, 'description': ''}}
2025-12-09 13:25:56,573 - DEBUG - Response for create_subnet : {'subnet': {'id': '1fa35cb4-4170-44ea-a7e5-0532dbdc7945', 'name': '', 'tenant_id': '62202d2f17694073971237c534d67ea3', 'network_id': 'e09013ec-75e5-4fa4-b20f-6b12df9f0768', 'ip_version': 4, 'cidr': '66.15.89.0/26', 'allocation_pools': [{'start': '66.15.89.2', 'end': '66.15.89.62'}], 'gateway_ip': '66.15.89.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.15.89.2', 'tags': [], 'project_id': '62202d2f17694073971237c534d67ea3'}}
2025-12-09 13:25:56,741 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cab7c0e0-4725-4b97-8543-cf814764d035', 'name': '', 'tenant_id': '62202d2f17694073971237c534d67ea3', 'network_id': 'e09013ec-75e5-4fa4-b20f-6b12df9f0768', 'ip_version': 4, 'cidr': '104.160.5.128/26', 'allocation_pools': [{'start': '104.160.5.130', 'end': '104.160.5.190'}], 'gateway_ip': '104.160.5.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.160.5.130', 'tags': [], 'project_id': '62202d2f17694073971237c534d67ea3'}}
2025-12-09 13:25:56,762 - INFO - Created VN ctest-vn1-54891523
2025-12-09 13:25:56,817 - DEBUG - VN ctest-vn1-54891523 UUID is e09013ec-75e5-4fa4-b20f-6b12df9f0768
2025-12-09 13:25:57,148 - DEBUG - Response for create_port : {'port': {'name': 'aa5ad8c3-47ea-4b19-bbf9-c890f42b8a02', 'id': 'aa5ad8c3-47ea-4b19-bbf9-c890f42b8a02', 'tenant_id': '62202d2f17694073971237c534d67ea3', 'network_id': 'e09013ec-75e5-4fa4-b20f-6b12df9f0768', 'mac_address': '02:aa:5a:d8:c3:47', '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.15.89.5', 'subnet_id': '1fa35cb4-4170-44ea-a7e5-0532dbdc7945'}], 'security_groups': ['931b948b-85cd-4973-8504-49ab9d681017'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '62202d2f17694073971237c534d67ea3'}}
2025-12-09 13:25:57,338 - DEBUG - Response for create_port : {'port': {'name': '8bd032a6-7d73-416e-bd14-315c6b36b9cd', 'id': '8bd032a6-7d73-416e-bd14-315c6b36b9cd', 'tenant_id': '62202d2f17694073971237c534d67ea3', 'network_id': 'e09013ec-75e5-4fa4-b20f-6b12df9f0768', 'mac_address': '02:8b:d0:32:a6:7d', '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': '104.160.5.133', 'subnet_id': 'cab7c0e0-4725-4b97-8543-cf814764d035'}], 'security_groups': ['931b948b-85cd-4973-8504-49ab9d681017'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '62202d2f17694073971237c534d67ea3'}}
2025-12-09 13:25:57,404 - DEBUG - Services list from nova: [, , ]
2025-12-09 13:25:57,801 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4870-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4870-1)
2025-12-09 13:25:58,253 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4870-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4870-1)
2025-12-09 13:25:58,254 - INFO - Waiting for VM ctest-vn1-vm1-66225802 to be up..
2025-12-09 13:25:58,300 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-09 13:26:03,383 - DEBUG - VM is in ACTIVE state now
2025-12-09 13:26:03,383 - INFO - VM name : ctest-vn1-vm1-66225802
2025-12-09 13:26:03,476 - DEBUG - VM ctest-vn1-vm1-66225802 ID is ee808e66-3f44-42d6-ae8e-9e0900653813
2025-12-09 13:26:03,504 - DEBUG - VM ctest-vn1-vm1-66225802 launched on Node cn-jenkins-deploy-platform-ansible-os-4870-1
2025-12-09 13:26:03,594 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ee808e66-3f44-42d6-ae8e-9e0900653813
2025-12-09 13:26:03,603 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/aa5ad8c3-47ea-4b19-bbf9-c890f42b8a02
2025-12-09 13:26:06,877 - 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 1030ms')
2025-12-09 13:26:06,877 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66225802 failed!
2025-12-09 13:26:06,933 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-89743418:ctest-vn1-54891523 is 66.15.89.1 and allocation pool is NOT set
2025-12-09 13:26:06,933 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-89743418:ctest-vn1-54891523 is 104.160.5.129 and allocation pool is NOT set
2025-12-09 13:26:10,995 - 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=6.61 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 6.609/6.609/6.609/0.000 ms')
2025-12-09 13:26:10,995 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66225802 passed
2025-12-09 13:26:11,153 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-09 13:26:11,153 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-66225802, IP 66.15.89.5, Port 22
2025-12-09 13:26:11,326 - DEBUG - VM ctest-vn1-vm1-66225802 is ready for SSH connections
2025-12-09 13:26:11,327 - INFO - Waiting for VM ctest-vn1-vm2-25618713 to be up..
2025-12-09 13:26:11,407 - DEBUG - VM is in ACTIVE state now
2025-12-09 13:26:11,407 - INFO - VM name : ctest-vn1-vm2-25618713
2025-12-09 13:26:11,496 - DEBUG - VM ctest-vn1-vm2-25618713 ID is 668ee5c5-6ba1-4305-a703-987547451b21
2025-12-09 13:26:11,497 - DEBUG - VM ctest-vn1-vm2-25618713 launched on Node cn-jenkins-deploy-platform-ansible-os-4870-1
2025-12-09 13:26:11,582 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/668ee5c5-6ba1-4305-a703-987547451b21
2025-12-09 13:26:11,593 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8bd032a6-7d73-416e-bd14-315c6b36b9cd
2025-12-09 13:26:12,834 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.393 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.393/1.588/2.784/1.195 ms')
2025-12-09 13:26:12,834 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-25618713 passed
2025-12-09 13:26:12,981 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-09 13:26:12,981 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-25618713, IP 104.160.5.133, Port 22
2025-12-09 13:26:13,146 - DEBUG - VM ctest-vn1-vm2-25618713 is ready for SSH connections
2025-12-09 13:26:13,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-09 13:26:13,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-09 13:26:13,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-09 13:26:13,146 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.15.89.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-12-09 13:26:13,147 - DEBUG - ping -s 56 -c 3 -W 1 66.15.89.5
2025-12-09 13:26:15,829 - DEBUG - PING 66.15.89.5 (66.15.89.5): 56 data bytes
64 bytes from 66.15.89.5: seq=0 ttl=63 time=3.890 ms
64 bytes from 66.15.89.5: seq=1 ttl=63 time=1.168 ms
64 bytes from 66.15.89.5: seq=2 ttl=63 time=1.179 ms
--- 66.15.89.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.168/2.079/3.890 ms
2025-12-09 13:26:15,829 - INFO - Ping to IP 66.15.89.5 from VM ctest-vn1-vm2-25618713 passed
2025-12-09 13:26:15,829 - INFO - Detaching port 8bd032a6-7d73-416e-bd14-315c6b36b9cd from VM ctest-vn1-vm2-25618713
2025-12-09 13:26:15,893 - INFO - Deleting VM ctest-vn1-vm2-25618713
2025-12-09 13:26:15,971 - INFO - Detaching port aa5ad8c3-47ea-4b19-bbf9-c890f42b8a02 from VM ctest-vn1-vm1-66225802
2025-12-09 13:26:16,008 - INFO - Deleting VM ctest-vn1-vm1-66225802
2025-12-09 13:26:16,277 - DEBUG - Response for delete_port : ()
2025-12-09 13:26:16,448 - DEBUG - Response for delete_port : ()
2025-12-09 13:26:16,449 - INFO - Deleting VN ctest-vn1-54891523
2025-12-09 13:26:16,621 - DEBUG - Response for deleting network ()
2025-12-09 13:26:16,888 - DEBUG - No XMPP flaps were noticed during the test
2025-12-09 13:26:16,889 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-12-09 13:26:16,890 - INFO - --------------------------------------------------------------------------------
2025-12-09 13:26:17,763 - INFO - Deleted project: ctest-TestPorts-89743418, ID : 62202d2f-1769-4073-9712-37c534d67ea3