2025-11-01 05:20:22,424 - INFO - Domain Default found not creating 2025-11-01 05:20:22,605 - INFO - Project ctest-TestPorts-44719993 not found, creating it 2025-11-01 05:20:23,088 - INFO - Created Project:ctest-TestPorts-44719993, ID : 8711714c-a780-430a-88a6-bdc1c8479437 2025-11-01 05:20:24,715 - INFO - ================================================================================ 2025-11-01 05:20:24,715 - INFO - STARTING TEST : test_ports_bindings 2025-11-01 05:20:24,715 - 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-01 05:20:24,974 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-11-01 05:20:24,974 - INFO - Initial checks done. Running the testcase now 2025-11-01 05:20:24,974 - INFO - 2025-11-01 05:20:25,580 - DEBUG - Response for create_network : {'network': {'id': '1fadd543-731b-4f6e-a2d2-b5709500f10a', 'name': 'ctest-vn-66398234', 'tenant_id': '8711714ca780430a88a6bdc1c8479437', 'project_id': '8711714ca780430a88a6bdc1c8479437', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-44719993', 'ctest-vn-66398234'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 05:20:25,790 - DEBUG - Response for create_subnet : {'subnet': {'id': '65f7ba97-9036-4e60-9ec0-59368fd0788f', 'name': '', 'tenant_id': '8711714ca780430a88a6bdc1c8479437', 'network_id': '1fadd543-731b-4f6e-a2d2-b5709500f10a', 'ip_version': 4, 'cidr': '150.70.169.64/26', 'allocation_pools': [{'start': '150.70.169.66', 'end': '150.70.169.126'}], 'gateway_ip': '150.70.169.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.70.169.66', 'tags': [], 'project_id': '8711714ca780430a88a6bdc1c8479437'}} 2025-11-01 05:20:25,808 - INFO - Created VN ctest-vn-66398234 2025-11-01 05:20:25,860 - DEBUG - VN ctest-vn-66398234 UUID is 1fadd543-731b-4f6e-a2d2-b5709500f10a 2025-11-01 05:20:25,971 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-44719993', 'ctest-vmi-03658612']} 2025-11-01 05:20:26,222 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-03658612', 'id': 'bec492f1-60c0-45fa-9d21-100a63716524', 'tenant_id': '8711714ca780430a88a6bdc1c8479437', 'network_id': '1fadd543-731b-4f6e-a2d2-b5709500f10a', 'mac_address': '02:be:c4:92:f1:60', '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': '150.70.169.67', 'subnet_id': '65f7ba97-9036-4e60-9ec0-59368fd0788f'}], 'security_groups': ['62542996-a12f-4a36-8a5e-ef0fddd25470'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8711714ca780430a88a6bdc1c8479437'}} 2025-11-01 05:20:26,222 - DEBUG - Created port bec492f1-60c0-45fa-9d21-100a63716524 2025-11-01 05:20:26,328 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bec492f1-60c0-45fa-9d21-100a63716524 2025-11-01 05:20:26,668 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bec492f1-60c0-45fa-9d21-100a63716524 2025-11-01 05:20:26,701 - INFO - VMI bec492f1-60c0-45fa-9d21-100a63716524 verification in API Server passed 2025-11-01 05:20:26,811 - DEBUG - Response for delete_port : () 2025-11-01 05:20:26,811 - INFO - Deleted port bec492f1-60c0-45fa-9d21-100a63716524 2025-11-01 05:20:26,811 - INFO - Deleting VN ctest-vn-66398234 2025-11-01 05:20:26,926 - DEBUG - Response for deleting network () 2025-11-01 05:20:27,197 - DEBUG - No XMPP flaps were noticed during the test 2025-11-01 05:20:27,197 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-11-01 05:20:27,197 - INFO - -------------------------------------------------------------------------------- 2025-11-01 05:20:27,199 - INFO - ================================================================================ 2025-11-01 05:20:27,200 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-01 05:20:27,200 - 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-01 05:20:27,487 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-11-01 05:20:27,487 - INFO - Initial checks done. Running the testcase now 2025-11-01 05:20:27,488 - INFO - 2025-11-01 05:20:27,708 - DEBUG - Response for create_network : {'network': {'id': '5d05d760-89b5-4067-ac8e-2d91f2e2462c', 'name': 'ctest-vn1-31297143', 'tenant_id': '8711714ca780430a88a6bdc1c8479437', 'project_id': '8711714ca780430a88a6bdc1c8479437', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-44719993', 'ctest-vn1-31297143'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 05:20:27,912 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee351d8a-7506-4fb3-b5d7-7668ec0d23ca', 'name': '', 'tenant_id': '8711714ca780430a88a6bdc1c8479437', 'network_id': '5d05d760-89b5-4067-ac8e-2d91f2e2462c', 'ip_version': 4, 'cidr': '147.34.222.64/26', 'allocation_pools': [{'start': '147.34.222.66', 'end': '147.34.222.126'}], 'gateway_ip': '147.34.222.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.34.222.66', 'tags': [], 'project_id': '8711714ca780430a88a6bdc1c8479437'}} 2025-11-01 05:20:28,069 - DEBUG - Response for create_subnet : {'subnet': {'id': '55cd529a-5613-42c4-ae78-215382eb3a32', 'name': '', 'tenant_id': '8711714ca780430a88a6bdc1c8479437', 'network_id': '5d05d760-89b5-4067-ac8e-2d91f2e2462c', 'ip_version': 4, 'cidr': '86.159.102.64/26', 'allocation_pools': [{'start': '86.159.102.66', 'end': '86.159.102.126'}], 'gateway_ip': '86.159.102.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.159.102.66', 'tags': [], 'project_id': '8711714ca780430a88a6bdc1c8479437'}} 2025-11-01 05:20:28,090 - INFO - Created VN ctest-vn1-31297143 2025-11-01 05:20:28,144 - DEBUG - VN ctest-vn1-31297143 UUID is 5d05d760-89b5-4067-ac8e-2d91f2e2462c 2025-11-01 05:20:28,487 - DEBUG - Response for create_port : {'port': {'name': 'b8bc8f20-33c9-4709-9edb-107c30ca9c19', 'id': 'b8bc8f20-33c9-4709-9edb-107c30ca9c19', 'tenant_id': '8711714ca780430a88a6bdc1c8479437', 'network_id': '5d05d760-89b5-4067-ac8e-2d91f2e2462c', 'mac_address': '02:b8:bc:8f:20:33', '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': '147.34.222.69', 'subnet_id': 'ee351d8a-7506-4fb3-b5d7-7668ec0d23ca'}], 'security_groups': ['62542996-a12f-4a36-8a5e-ef0fddd25470'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8711714ca780430a88a6bdc1c8479437'}} 2025-11-01 05:20:28,677 - DEBUG - Response for create_port : {'port': {'name': 'd8dd092e-bb94-4183-9e29-2b55ce13f289', 'id': 'd8dd092e-bb94-4183-9e29-2b55ce13f289', 'tenant_id': '8711714ca780430a88a6bdc1c8479437', 'network_id': '5d05d760-89b5-4067-ac8e-2d91f2e2462c', 'mac_address': '02:d8:dd:09:2e:bb', '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': '86.159.102.69', 'subnet_id': '55cd529a-5613-42c4-ae78-215382eb3a32'}], 'security_groups': ['62542996-a12f-4a36-8a5e-ef0fddd25470'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8711714ca780430a88a6bdc1c8479437'}} 2025-11-01 05:20:28,740 - DEBUG - Services list from nova: [, , ] 2025-11-01 05:20:29,107 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4585-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4585-1) 2025-11-01 05:20:29,557 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4585-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4585-1) 2025-11-01 05:20:29,558 - INFO - Waiting for VM ctest-vn1-vm1-54956495 to be up.. 2025-11-01 05:20:29,604 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-01 05:20:34,684 - DEBUG - VM is in ACTIVE state now 2025-11-01 05:20:34,684 - INFO - VM name : ctest-vn1-vm1-54956495 2025-11-01 05:20:34,763 - DEBUG - VM ctest-vn1-vm1-54956495 ID is 8556ff9f-6abc-4cca-a207-7ff2cf5a86ac 2025-11-01 05:20:34,782 - DEBUG - VM ctest-vn1-vm1-54956495 launched on Node cn-jenkins-deploy-platform-ansible-os-4585-1 2025-11-01 05:20:34,856 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8556ff9f-6abc-4cca-a207-7ff2cf5a86ac 2025-11-01 05:20:34,866 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b8bc8f20-33c9-4709-9edb-107c30ca9c19 2025-11-01 05:20:38,133 - 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 1022ms') 2025-11-01 05:20:38,133 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54956495 failed! 2025-11-01 05:20:38,188 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-44719993:ctest-vn1-31297143 is 147.34.222.65 and allocation pool is NOT set 2025-11-01 05:20:38,189 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-44719993:ctest-vn1-31297143 is 86.159.102.65 and allocation pool is NOT set 2025-11-01 05:20:42,257 - 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 1009ms') 2025-11-01 05:20:42,257 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54956495 failed! 2025-11-01 05:20:42,312 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-44719993:ctest-vn1-31297143 is 147.34.222.65 and allocation pool is NOT set 2025-11-01 05:20:42,312 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-44719993:ctest-vn1-31297143 is 86.159.102.65 and allocation pool is NOT set 2025-11-01 05:20:44,369 - 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=4.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.441 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.441/2.411/4.381/1.970 ms') 2025-11-01 05:20:44,369 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54956495 passed 2025-11-01 05:20:44,520 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 05:20:44,520 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-54956495, IP 147.34.222.69, Port 22 2025-11-01 05:20:44,687 - DEBUG - VM ctest-vn1-vm1-54956495 is ready for SSH connections 2025-11-01 05:20:44,688 - INFO - Waiting for VM ctest-vn1-vm2-76030657 to be up.. 2025-11-01 05:20:44,780 - DEBUG - VM is in ACTIVE state now 2025-11-01 05:20:44,780 - INFO - VM name : ctest-vn1-vm2-76030657 2025-11-01 05:20:44,870 - DEBUG - VM ctest-vn1-vm2-76030657 ID is bf122c2b-ffa8-485a-9e5a-9760ea84b932 2025-11-01 05:20:44,870 - DEBUG - VM ctest-vn1-vm2-76030657 launched on Node cn-jenkins-deploy-platform-ansible-os-4585-1 2025-11-01 05:20:44,952 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bf122c2b-ffa8-485a-9e5a-9760ea84b932 2025-11-01 05:20:44,961 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d8dd092e-bb94-4183-9e29-2b55ce13f289 2025-11-01 05:20:46,207 - 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=3.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.404 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.404/2.019/3.635/1.615 ms') 2025-11-01 05:20:46,207 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-76030657 passed 2025-11-01 05:20:46,364 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 05:20:46,364 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-76030657, IP 86.159.102.69, Port 22 2025-11-01 05:20:46,530 - DEBUG - VM ctest-vn1-vm2-76030657 is ready for SSH connections 2025-11-01 05:20:46,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 05:20:46,531 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 05:20:46,531 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 05:20:46,531 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.34.222.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-01 05:20:46,531 - DEBUG - ping -s 56 -c 3 -W 1 147.34.222.69 2025-11-01 05:20:49,246 - DEBUG - PING 147.34.222.69 (147.34.222.69): 56 data bytes 64 bytes from 147.34.222.69: seq=0 ttl=63 time=3.757 ms 64 bytes from 147.34.222.69: seq=1 ttl=63 time=1.073 ms 64 bytes from 147.34.222.69: seq=2 ttl=63 time=0.943 ms --- 147.34.222.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.943/1.924/3.757 ms 2025-11-01 05:20:49,246 - INFO - Ping to IP 147.34.222.69 from VM ctest-vn1-vm2-76030657 passed 2025-11-01 05:20:49,246 - INFO - Detaching port d8dd092e-bb94-4183-9e29-2b55ce13f289 from VM ctest-vn1-vm2-76030657 2025-11-01 05:20:49,305 - INFO - Deleting VM ctest-vn1-vm2-76030657 2025-11-01 05:20:49,387 - INFO - Detaching port b8bc8f20-33c9-4709-9edb-107c30ca9c19 from VM ctest-vn1-vm1-54956495 2025-11-01 05:20:49,429 - INFO - Deleting VM ctest-vn1-vm1-54956495 2025-11-01 05:20:49,689 - DEBUG - Response for delete_port : () 2025-11-01 05:20:49,861 - DEBUG - Response for delete_port : () 2025-11-01 05:20:49,861 - INFO - Deleting VN ctest-vn1-31297143 2025-11-01 05:20:50,006 - DEBUG - Response for deleting network () 2025-11-01 05:20:50,280 - DEBUG - No XMPP flaps were noticed during the test 2025-11-01 05:20:50,280 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2025-11-01 05:20:50,280 - INFO - -------------------------------------------------------------------------------- 2025-11-01 05:20:51,047 - INFO - Deleted project: ctest-TestPorts-44719993, ID : 8711714c-a780-430a-88a6-bdc1c8479437