2025-10-30 18:28:54,643 - INFO - Domain Default found not creating 2025-10-30 18:28:54,920 - INFO - Project ctest-TestPorts-55934854 not found, creating it 2025-10-30 18:28:55,536 - INFO - Created Project:ctest-TestPorts-55934854, ID : f5a25ec1-ec23-4988-8f85-75f44d90d65c 2025-10-30 18:28:57,656 - INFO - ================================================================================ 2025-10-30 18:28:57,656 - INFO - STARTING TEST : test_ports_bindings 2025-10-30 18:28:57,657 - 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-30 18:28:57,974 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with 2025-10-30 18:28:57,975 - INFO - Initial checks done. Running the testcase now 2025-10-30 18:28:57,975 - INFO - 2025-10-30 18:28:58,710 - DEBUG - Response for create_network : {'network': {'id': 'fd9a1f8a-18d3-4b40-859c-d84dc4691a47', 'name': 'ctest-vn-51619670', 'tenant_id': 'f5a25ec1ec2349888f8575f44d90d65c', 'project_id': 'f5a25ec1ec2349888f8575f44d90d65c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-55934854', 'ctest-vn-51619670'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 18:28:58,949 - DEBUG - Response for create_subnet : {'subnet': {'id': '078ab91a-adbf-4767-aeb9-06a5d1babe28', 'name': '', 'tenant_id': 'f5a25ec1ec2349888f8575f44d90d65c', 'network_id': 'fd9a1f8a-18d3-4b40-859c-d84dc4691a47', 'ip_version': 4, 'cidr': '26.80.45.64/26', 'allocation_pools': [{'start': '26.80.45.66', 'end': '26.80.45.126'}], 'gateway_ip': '26.80.45.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.80.45.66', 'tags': [], 'project_id': 'f5a25ec1ec2349888f8575f44d90d65c'}} 2025-10-30 18:28:58,974 - INFO - Created VN ctest-vn-51619670 2025-10-30 18:28:59,029 - DEBUG - VN ctest-vn-51619670 UUID is fd9a1f8a-18d3-4b40-859c-d84dc4691a47 2025-10-30 18:28:59,218 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-55934854', 'ctest-vmi-21123733']} 2025-10-30 18:28:59,576 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-21123733', 'id': 'cfa09fb1-a8a2-4ef0-b5f6-c5d0b4059468', 'tenant_id': 'f5a25ec1ec2349888f8575f44d90d65c', 'network_id': 'fd9a1f8a-18d3-4b40-859c-d84dc4691a47', 'mac_address': '02:cf:a0:9f:b1:a8', '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.80.45.67', 'subnet_id': '078ab91a-adbf-4767-aeb9-06a5d1babe28'}], 'security_groups': ['75578d9b-ea83-4e69-9c52-bf14e01bafc9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f5a25ec1ec2349888f8575f44d90d65c'}} 2025-10-30 18:28:59,576 - DEBUG - Created port cfa09fb1-a8a2-4ef0-b5f6-c5d0b4059468 2025-10-30 18:28:59,685 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/cfa09fb1-a8a2-4ef0-b5f6-c5d0b4059468 2025-10-30 18:28:59,995 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/cfa09fb1-a8a2-4ef0-b5f6-c5d0b4059468 2025-10-30 18:29:00,063 - INFO - VMI cfa09fb1-a8a2-4ef0-b5f6-c5d0b4059468 verification in API Server passed 2025-10-30 18:29:00,220 - DEBUG - Response for delete_port : () 2025-10-30 18:29:00,220 - INFO - Deleted port cfa09fb1-a8a2-4ef0-b5f6-c5d0b4059468 2025-10-30 18:29:00,221 - INFO - Deleting VN ctest-vn-51619670 2025-10-30 18:29:00,339 - DEBUG - Response for deleting network () 2025-10-30 18:29:00,623 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 18:29:00,623 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-30 18:29:00,623 - INFO - -------------------------------------------------------------------------------- 2025-10-30 18:29:00,627 - INFO - ================================================================================ 2025-10-30 18:29:00,628 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-30 18:29:00,628 - 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-30 18:29:00,938 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with 2025-10-30 18:29:00,938 - INFO - Initial checks done. Running the testcase now 2025-10-30 18:29:00,938 - INFO - 2025-10-30 18:29:01,260 - DEBUG - Response for create_network : {'network': {'id': '9a092f74-9f3a-4161-8968-b4c245b8926a', 'name': 'ctest-vn1-43066768', 'tenant_id': 'f5a25ec1ec2349888f8575f44d90d65c', 'project_id': 'f5a25ec1ec2349888f8575f44d90d65c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-55934854', 'ctest-vn1-43066768'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 18:29:01,465 - DEBUG - Response for create_subnet : {'subnet': {'id': '21db8087-2657-4067-8292-0159657a6ab2', 'name': '', 'tenant_id': 'f5a25ec1ec2349888f8575f44d90d65c', 'network_id': '9a092f74-9f3a-4161-8968-b4c245b8926a', 'ip_version': 4, 'cidr': '11.66.55.128/26', 'allocation_pools': [{'start': '11.66.55.130', 'end': '11.66.55.190'}], 'gateway_ip': '11.66.55.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.66.55.130', 'tags': [], 'project_id': 'f5a25ec1ec2349888f8575f44d90d65c'}} 2025-10-30 18:29:01,642 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d15df1c-6481-4c0c-8736-3ef1057bef03', 'name': '', 'tenant_id': 'f5a25ec1ec2349888f8575f44d90d65c', 'network_id': '9a092f74-9f3a-4161-8968-b4c245b8926a', 'ip_version': 4, 'cidr': '107.52.59.0/26', 'allocation_pools': [{'start': '107.52.59.2', 'end': '107.52.59.62'}], 'gateway_ip': '107.52.59.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.52.59.2', 'tags': [], 'project_id': 'f5a25ec1ec2349888f8575f44d90d65c'}} 2025-10-30 18:29:01,664 - INFO - Created VN ctest-vn1-43066768 2025-10-30 18:29:01,725 - DEBUG - VN ctest-vn1-43066768 UUID is 9a092f74-9f3a-4161-8968-b4c245b8926a 2025-10-30 18:29:02,099 - DEBUG - Response for create_port : {'port': {'name': 'afc5b192-3874-4d47-8bc9-0fdcc78865f8', 'id': 'afc5b192-3874-4d47-8bc9-0fdcc78865f8', 'tenant_id': 'f5a25ec1ec2349888f8575f44d90d65c', 'network_id': '9a092f74-9f3a-4161-8968-b4c245b8926a', 'mac_address': '02:af:c5:b1:92:38', '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': '11.66.55.133', 'subnet_id': '21db8087-2657-4067-8292-0159657a6ab2'}], 'security_groups': ['75578d9b-ea83-4e69-9c52-bf14e01bafc9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f5a25ec1ec2349888f8575f44d90d65c'}} 2025-10-30 18:29:02,284 - DEBUG - Response for create_port : {'port': {'name': 'a4d48443-baef-4790-8714-9c0bea8dcec5', 'id': 'a4d48443-baef-4790-8714-9c0bea8dcec5', 'tenant_id': 'f5a25ec1ec2349888f8575f44d90d65c', 'network_id': '9a092f74-9f3a-4161-8968-b4c245b8926a', 'mac_address': '02:a4:d4:84:43:ba', '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': '107.52.59.5', 'subnet_id': '6d15df1c-6481-4c0c-8736-3ef1057bef03'}], 'security_groups': ['75578d9b-ea83-4e69-9c52-bf14e01bafc9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f5a25ec1ec2349888f8575f44d90d65c'}} 2025-10-30 18:29:02,343 - DEBUG - Services list from nova: [, , ] 2025-10-30 18:29:02,861 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4551-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4551-1) 2025-10-30 18:29:03,532 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4551-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4551-1) 2025-10-30 18:29:03,532 - INFO - Waiting for VM ctest-vn1-vm1-21687089 to be up.. 2025-10-30 18:29:03,586 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 18:29:08,717 - DEBUG - VM is in ACTIVE state now 2025-10-30 18:29:08,718 - INFO - VM name : ctest-vn1-vm1-21687089 2025-10-30 18:29:08,840 - DEBUG - VM ctest-vn1-vm1-21687089 ID is de3ec7ed-2be9-4ea6-bd06-6c167d2356a9 2025-10-30 18:29:08,870 - DEBUG - VM ctest-vn1-vm1-21687089 launched on Node cn-jenkins-deploy-platform-ansible-os-4551-1 2025-10-30 18:29:09,015 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/de3ec7ed-2be9-4ea6-bd06-6c167d2356a9 2025-10-30 18:29:09,027 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/afc5b192-3874-4d47-8bc9-0fdcc78865f8 2025-10-30 18:29:12,312 - 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 1012ms') 2025-10-30 18:29:12,312 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-21687089 failed! 2025-10-30 18:29:12,373 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-55934854:ctest-vn1-43066768 is 11.66.55.129 and allocation pool is NOT set 2025-10-30 18:29:12,373 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-55934854:ctest-vn1-43066768 is 107.52.59.1 and allocation pool is NOT set 2025-10-30 18:29:16,471 - 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=9.22 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 9.223/9.223/9.223/0.000 ms') 2025-10-30 18:29:16,471 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-21687089 passed 2025-10-30 18:29:16,629 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:29:16,629 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-21687089, IP 11.66.55.133, Port 22 2025-10-30 18:29:16,795 - DEBUG - VM ctest-vn1-vm1-21687089 is ready for SSH connections 2025-10-30 18:29:16,796 - INFO - Waiting for VM ctest-vn1-vm2-80490692 to be up.. 2025-10-30 18:29:16,940 - DEBUG - VM is in ACTIVE state now 2025-10-30 18:29:16,940 - INFO - VM name : ctest-vn1-vm2-80490692 2025-10-30 18:29:17,054 - DEBUG - VM ctest-vn1-vm2-80490692 ID is 58d0a25f-035c-488e-95cc-335e5c5fcf7f 2025-10-30 18:29:17,054 - DEBUG - VM ctest-vn1-vm2-80490692 launched on Node cn-jenkins-deploy-platform-ansible-os-4551-1 2025-10-30 18:29:17,190 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/58d0a25f-035c-488e-95cc-335e5c5fcf7f 2025-10-30 18:29:17,209 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/a4d48443-baef-4790-8714-9c0bea8dcec5 2025-10-30 18:29:18,514 - 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=5.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.33 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.329/3.774/5.219/1.445 ms') 2025-10-30 18:29:18,514 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-80490692 passed 2025-10-30 18:29:18,698 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:29:18,698 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-80490692, IP 107.52.59.5, Port 22 2025-10-30 18:29:18,882 - DEBUG - VM ctest-vn1-vm2-80490692 is ready for SSH connections 2025-10-30 18:29:18,883 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:29:18,883 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:29:18,883 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:29:18,883 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.66.55.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-30 18:29:18,883 - DEBUG - ping -s 56 -c 3 -W 1 11.66.55.133 2025-10-30 18:29:21,869 - DEBUG - PING 11.66.55.133 (11.66.55.133): 56 data bytes 64 bytes from 11.66.55.133: seq=0 ttl=63 time=4.303 ms 64 bytes from 11.66.55.133: seq=1 ttl=63 time=1.568 ms 64 bytes from 11.66.55.133: seq=2 ttl=63 time=1.999 ms --- 11.66.55.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.568/2.623/4.303 ms 2025-10-30 18:29:21,869 - INFO - Ping to IP 11.66.55.133 from VM ctest-vn1-vm2-80490692 passed 2025-10-30 18:29:21,870 - INFO - Detaching port a4d48443-baef-4790-8714-9c0bea8dcec5 from VM ctest-vn1-vm2-80490692 2025-10-30 18:29:21,969 - INFO - Deleting VM ctest-vn1-vm2-80490692 2025-10-30 18:29:22,093 - INFO - Detaching port afc5b192-3874-4d47-8bc9-0fdcc78865f8 from VM ctest-vn1-vm1-21687089 2025-10-30 18:29:22,156 - INFO - Deleting VM ctest-vn1-vm1-21687089 2025-10-30 18:29:22,517 - DEBUG - Response for delete_port : () 2025-10-30 18:29:22,727 - DEBUG - Response for delete_port : () 2025-10-30 18:29:22,727 - INFO - Deleting VN ctest-vn1-43066768 2025-10-30 18:29:22,900 - DEBUG - Response for deleting network () 2025-10-30 18:29:23,195 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 18:29:23,195 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-10-30 18:29:23,196 - INFO - -------------------------------------------------------------------------------- 2025-10-30 18:29:24,105 - INFO - Deleted project: ctest-TestPorts-55934854, ID : f5a25ec1-ec23-4988-8f85-75f44d90d65c