2025-10-27 05:25:21,723 - INFO - Domain Default found not creating 2025-10-27 05:25:21,889 - INFO - Project ctest-TestPorts-53846948 not found, creating it 2025-10-27 05:25:22,618 - INFO - Created Project:ctest-TestPorts-53846948, ID : eb0aeb6a-fd21-4783-bd79-8ce0d92abab8 2025-10-27 05:25:24,331 - INFO - ================================================================================ 2025-10-27 05:25:24,331 - INFO - STARTING TEST : test_ports_bindings 2025-10-27 05:25:24,331 - 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-10-27 05:25:24,586 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-27 05:25:24,586 - INFO - Initial checks done. Running the testcase now 2025-10-27 05:25:24,586 - INFO - 2025-10-27 05:25:25,249 - DEBUG - Response for create_network : {'network': {'id': '3a6ca99c-173b-4dda-b3d6-d326703b9d78', 'name': 'ctest-vn-71704296', 'tenant_id': 'eb0aeb6afd214783bd798ce0d92abab8', 'project_id': 'eb0aeb6afd214783bd798ce0d92abab8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-53846948', 'ctest-vn-71704296'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 05:25:25,476 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee1a2135-c628-4015-8d8d-4bd3724c1843', 'name': '', 'tenant_id': 'eb0aeb6afd214783bd798ce0d92abab8', 'network_id': '3a6ca99c-173b-4dda-b3d6-d326703b9d78', 'ip_version': 4, 'cidr': '28.102.212.64/26', 'allocation_pools': [{'start': '28.102.212.66', 'end': '28.102.212.126'}], 'gateway_ip': '28.102.212.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.102.212.66', 'tags': [], 'project_id': 'eb0aeb6afd214783bd798ce0d92abab8'}} 2025-10-27 05:25:25,495 - INFO - Created VN ctest-vn-71704296 2025-10-27 05:25:25,551 - DEBUG - VN ctest-vn-71704296 UUID is 3a6ca99c-173b-4dda-b3d6-d326703b9d78 2025-10-27 05:25:25,669 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-53846948', 'ctest-vmi-07354157']} 2025-10-27 05:25:25,914 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-07354157', 'id': '46c5939b-ae00-464f-8efc-56285a424c40', 'tenant_id': 'eb0aeb6afd214783bd798ce0d92abab8', 'network_id': '3a6ca99c-173b-4dda-b3d6-d326703b9d78', 'mac_address': '02:46:c5:93:9b:ae', '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': '28.102.212.67', 'subnet_id': 'ee1a2135-c628-4015-8d8d-4bd3724c1843'}], 'security_groups': ['c2e3c313-e339-4819-9d30-6975d2163b71'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'eb0aeb6afd214783bd798ce0d92abab8'}} 2025-10-27 05:25:25,914 - DEBUG - Created port 46c5939b-ae00-464f-8efc-56285a424c40 2025-10-27 05:25:26,019 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/46c5939b-ae00-464f-8efc-56285a424c40 2025-10-27 05:25:26,359 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/46c5939b-ae00-464f-8efc-56285a424c40 2025-10-27 05:25:26,393 - INFO - VMI 46c5939b-ae00-464f-8efc-56285a424c40 verification in API Server passed 2025-10-27 05:25:26,488 - DEBUG - Response for delete_port : () 2025-10-27 05:25:26,488 - INFO - Deleted port 46c5939b-ae00-464f-8efc-56285a424c40 2025-10-27 05:25:26,488 - INFO - Deleting VN ctest-vn-71704296 2025-10-27 05:25:26,611 - DEBUG - Response for deleting network () 2025-10-27 05:25:26,884 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 05:25:26,885 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-27 05:25:26,885 - INFO - -------------------------------------------------------------------------------- 2025-10-27 05:25:26,887 - INFO - ================================================================================ 2025-10-27 05:25:26,888 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-27 05:25:26,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-10-27 05:25:27,165 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-27 05:25:27,165 - INFO - Initial checks done. Running the testcase now 2025-10-27 05:25:27,165 - INFO - 2025-10-27 05:25:27,353 - DEBUG - Response for create_network : {'network': {'id': 'ecccfbf0-337c-4e9f-9690-8fdf8b8152f1', 'name': 'ctest-vn1-00681024', 'tenant_id': 'eb0aeb6afd214783bd798ce0d92abab8', 'project_id': 'eb0aeb6afd214783bd798ce0d92abab8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-53846948', 'ctest-vn1-00681024'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 05:25:27,589 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9d71807-f011-435e-8bb3-ff3a2eb96dbf', 'name': '', 'tenant_id': 'eb0aeb6afd214783bd798ce0d92abab8', 'network_id': 'ecccfbf0-337c-4e9f-9690-8fdf8b8152f1', 'ip_version': 4, 'cidr': '78.27.109.64/26', 'allocation_pools': [{'start': '78.27.109.66', 'end': '78.27.109.126'}], 'gateway_ip': '78.27.109.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.27.109.66', 'tags': [], 'project_id': 'eb0aeb6afd214783bd798ce0d92abab8'}} 2025-10-27 05:25:27,728 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab3fdadc-bb09-4df7-9e53-d871fcc749f0', 'name': '', 'tenant_id': 'eb0aeb6afd214783bd798ce0d92abab8', 'network_id': 'ecccfbf0-337c-4e9f-9690-8fdf8b8152f1', 'ip_version': 4, 'cidr': '66.29.20.128/26', 'allocation_pools': [{'start': '66.29.20.130', 'end': '66.29.20.190'}], 'gateway_ip': '66.29.20.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.29.20.130', 'tags': [], 'project_id': 'eb0aeb6afd214783bd798ce0d92abab8'}} 2025-10-27 05:25:27,751 - INFO - Created VN ctest-vn1-00681024 2025-10-27 05:25:27,803 - DEBUG - VN ctest-vn1-00681024 UUID is ecccfbf0-337c-4e9f-9690-8fdf8b8152f1 2025-10-27 05:25:28,124 - DEBUG - Response for create_port : {'port': {'name': '7d2f0309-62b5-4a7a-af8c-e96b2897256c', 'id': '7d2f0309-62b5-4a7a-af8c-e96b2897256c', 'tenant_id': 'eb0aeb6afd214783bd798ce0d92abab8', 'network_id': 'ecccfbf0-337c-4e9f-9690-8fdf8b8152f1', 'mac_address': '02:7d:2f:03:09:62', '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': '78.27.109.69', 'subnet_id': 'e9d71807-f011-435e-8bb3-ff3a2eb96dbf'}], 'security_groups': ['c2e3c313-e339-4819-9d30-6975d2163b71'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'eb0aeb6afd214783bd798ce0d92abab8'}} 2025-10-27 05:25:28,312 - DEBUG - Response for create_port : {'port': {'name': 'd37f1019-5f2a-4001-903b-f4db3a79b2b5', 'id': 'd37f1019-5f2a-4001-903b-f4db3a79b2b5', 'tenant_id': 'eb0aeb6afd214783bd798ce0d92abab8', 'network_id': 'ecccfbf0-337c-4e9f-9690-8fdf8b8152f1', 'mac_address': '02:d3:7f:10:19:5f', '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.29.20.133', 'subnet_id': 'ab3fdadc-bb09-4df7-9e53-d871fcc749f0'}], 'security_groups': ['c2e3c313-e339-4819-9d30-6975d2163b71'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'eb0aeb6afd214783bd798ce0d92abab8'}} 2025-10-27 05:25:28,381 - DEBUG - Services list from nova: [, , ] 2025-10-27 05:25:28,766 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4492-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4492-1) 2025-10-27 05:25:29,235 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4492-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4492-1) 2025-10-27 05:25:29,235 - INFO - Waiting for VM ctest-vn1-vm1-45810162 to be up.. 2025-10-27 05:25:29,284 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 05:25:34,383 - DEBUG - VM is in ACTIVE state now 2025-10-27 05:25:34,383 - INFO - VM name : ctest-vn1-vm1-45810162 2025-10-27 05:25:34,472 - DEBUG - VM ctest-vn1-vm1-45810162 ID is a4913db9-dc12-43ae-8bea-ecae5d5b9b86 2025-10-27 05:25:34,500 - DEBUG - VM ctest-vn1-vm1-45810162 launched on Node cn-jenkins-deploy-platform-ansible-os-4492-1 2025-10-27 05:25:34,588 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a4913db9-dc12-43ae-8bea-ecae5d5b9b86 2025-10-27 05:25:34,598 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7d2f0309-62b5-4a7a-af8c-e96b2897256c 2025-10-27 05:25:37,876 - 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 1017ms') 2025-10-27 05:25:37,876 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45810162 failed! 2025-10-27 05:25:37,935 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-53846948:ctest-vn1-00681024 is 78.27.109.65 and allocation pool is NOT set 2025-10-27 05:25:37,935 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-53846948:ctest-vn1-00681024 is 66.29.20.129 and allocation pool is NOT set 2025-10-27 05:25:42,001 - 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 1005ms') 2025-10-27 05:25:42,002 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45810162 failed! 2025-10-27 05:25:42,063 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-53846948:ctest-vn1-00681024 is 78.27.109.65 and allocation pool is NOT set 2025-10-27 05:25:42,063 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-53846948:ctest-vn1-00681024 is 66.29.20.129 and allocation pool is NOT set 2025-10-27 05:25:44,132 - 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=3.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.556 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.556/1.807/3.059/1.251 ms') 2025-10-27 05:25:44,132 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45810162 passed 2025-10-27 05:25:44,291 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 05:25:44,291 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-45810162, IP 78.27.109.69, Port 22 2025-10-27 05:25:44,446 - DEBUG - VM ctest-vn1-vm1-45810162 is ready for SSH connections 2025-10-27 05:25:44,447 - INFO - Waiting for VM ctest-vn1-vm2-19360077 to be up.. 2025-10-27 05:25:44,539 - DEBUG - VM is in ACTIVE state now 2025-10-27 05:25:44,539 - INFO - VM name : ctest-vn1-vm2-19360077 2025-10-27 05:25:44,627 - DEBUG - VM ctest-vn1-vm2-19360077 ID is 2d7385b6-96e0-4d01-88df-be09f8df7dd3 2025-10-27 05:25:44,627 - DEBUG - VM ctest-vn1-vm2-19360077 launched on Node cn-jenkins-deploy-platform-ansible-os-4492-1 2025-10-27 05:25:44,718 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2d7385b6-96e0-4d01-88df-be09f8df7dd3 2025-10-27 05:25:44,727 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d37f1019-5f2a-4001-903b-f4db3a79b2b5 2025-10-27 05:25:45,970 - 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=4.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.445 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.445/2.501/4.558/2.056 ms') 2025-10-27 05:25:45,970 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-19360077 passed 2025-10-27 05:25:46,119 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 05:25:46,119 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-19360077, IP 66.29.20.133, Port 22 2025-10-27 05:25:46,293 - DEBUG - VM ctest-vn1-vm2-19360077 is ready for SSH connections 2025-10-27 05:25:46,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 05:25:46,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 05:25:46,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 05:25:46,294 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.27.109.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-27 05:25:46,294 - DEBUG - ping -s 56 -c 3 -W 1 78.27.109.69 2025-10-27 05:25:49,025 - DEBUG - PING 78.27.109.69 (78.27.109.69): 56 data bytes 64 bytes from 78.27.109.69: seq=0 ttl=63 time=5.247 ms 64 bytes from 78.27.109.69: seq=1 ttl=63 time=1.317 ms 64 bytes from 78.27.109.69: seq=2 ttl=63 time=1.196 ms --- 78.27.109.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.196/2.586/5.247 ms 2025-10-27 05:25:49,026 - INFO - Ping to IP 78.27.109.69 from VM ctest-vn1-vm2-19360077 passed 2025-10-27 05:25:49,026 - INFO - Detaching port d37f1019-5f2a-4001-903b-f4db3a79b2b5 from VM ctest-vn1-vm2-19360077 2025-10-27 05:25:49,083 - INFO - Deleting VM ctest-vn1-vm2-19360077 2025-10-27 05:25:49,170 - INFO - Detaching port 7d2f0309-62b5-4a7a-af8c-e96b2897256c from VM ctest-vn1-vm1-45810162 2025-10-27 05:25:49,219 - INFO - Deleting VM ctest-vn1-vm1-45810162 2025-10-27 05:25:49,462 - DEBUG - Response for delete_port : () 2025-10-27 05:25:49,624 - DEBUG - Response for delete_port : () 2025-10-27 05:25:49,624 - INFO - Deleting VN ctest-vn1-00681024 2025-10-27 05:25:49,761 - DEBUG - Response for deleting network () 2025-10-27 05:25:50,022 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 05:25:50,023 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-10-27 05:25:50,023 - INFO - -------------------------------------------------------------------------------- 2025-10-27 05:25:50,806 - INFO - Deleted project: ctest-TestPorts-53846948, ID : eb0aeb6a-fd21-4783-bd79-8ce0d92abab8