2025-10-17 14:49:54,569 - INFO - Domain Default found not creating 2025-10-17 14:49:54,788 - INFO - Project ctest-TestPorts-86159728 not found, creating it 2025-10-17 14:49:55,453 - INFO - Created Project:ctest-TestPorts-86159728, ID : 4c567ca1-ff6a-4cd1-9a0d-b38f80482943 2025-10-17 14:49:57,048 - INFO - ================================================================================ 2025-10-17 14:49:57,049 - INFO - STARTING TEST : test_ports_bindings 2025-10-17 14:49:57,049 - 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-17 14:49:57,320 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-10-17 14:49:57,320 - INFO - Initial checks done. Running the testcase now 2025-10-17 14:49:57,320 - INFO - 2025-10-17 14:49:57,925 - DEBUG - Response for create_network : {'network': {'id': '8edfce7c-5ab2-4dda-93e9-0a5338247fbe', 'name': 'ctest-vn-66987905', 'tenant_id': '4c567ca1ff6a4cd19a0db38f80482943', 'project_id': '4c567ca1ff6a4cd19a0db38f80482943', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86159728', 'ctest-vn-66987905'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 14:49:58,114 - DEBUG - Response for create_subnet : {'subnet': {'id': '488a7c90-1d06-47e6-a015-49a9300c8862', 'name': '', 'tenant_id': '4c567ca1ff6a4cd19a0db38f80482943', 'network_id': '8edfce7c-5ab2-4dda-93e9-0a5338247fbe', 'ip_version': 4, 'cidr': '95.83.232.192/26', 'allocation_pools': [{'start': '95.83.232.194', 'end': '95.83.232.254'}], 'gateway_ip': '95.83.232.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.83.232.194', 'tags': [], 'project_id': '4c567ca1ff6a4cd19a0db38f80482943'}} 2025-10-17 14:49:58,142 - INFO - Created VN ctest-vn-66987905 2025-10-17 14:49:58,201 - DEBUG - VN ctest-vn-66987905 UUID is 8edfce7c-5ab2-4dda-93e9-0a5338247fbe 2025-10-17 14:49:58,319 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-86159728', 'ctest-vmi-68881907']} 2025-10-17 14:49:58,598 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-68881907', 'id': 'a9fe4701-a644-4084-a8d5-4a5e0871ed04', 'tenant_id': '4c567ca1ff6a4cd19a0db38f80482943', 'network_id': '8edfce7c-5ab2-4dda-93e9-0a5338247fbe', 'mac_address': '02:a9:fe:47:01:a6', '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': '95.83.232.195', 'subnet_id': '488a7c90-1d06-47e6-a015-49a9300c8862'}], 'security_groups': ['ee0d6f11-ac40-4b9a-a79a-66e19f2ec256'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4c567ca1ff6a4cd19a0db38f80482943'}} 2025-10-17 14:49:58,598 - DEBUG - Created port a9fe4701-a644-4084-a8d5-4a5e0871ed04 2025-10-17 14:49:58,709 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/a9fe4701-a644-4084-a8d5-4a5e0871ed04 2025-10-17 14:49:59,007 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/a9fe4701-a644-4084-a8d5-4a5e0871ed04 2025-10-17 14:49:59,044 - INFO - VMI a9fe4701-a644-4084-a8d5-4a5e0871ed04 verification in API Server passed 2025-10-17 14:49:59,152 - DEBUG - Response for delete_port : () 2025-10-17 14:49:59,152 - INFO - Deleted port a9fe4701-a644-4084-a8d5-4a5e0871ed04 2025-10-17 14:49:59,153 - INFO - Deleting VN ctest-vn-66987905 2025-10-17 14:49:59,268 - DEBUG - Response for deleting network () 2025-10-17 14:49:59,532 - DEBUG - No XMPP flaps were noticed during the test
2025-10-17 14:49:59,532 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-17 14:49:59,532 - INFO - -------------------------------------------------------------------------------- 2025-10-17 14:49:59,535 - INFO - ================================================================================ 2025-10-17 14:49:59,536 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-17 14:49:59,536 - 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-17 14:49:59,818 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-10-17 14:49:59,819 - INFO - Initial checks done. Running the testcase now 2025-10-17 14:49:59,819 - INFO - 2025-10-17 14:50:00,049 - DEBUG - Response for create_network : {'network': {'id': '819c1aeb-9420-48dd-8661-d6ed43581a40', 'name': 'ctest-vn1-17476309', 'tenant_id': '4c567ca1ff6a4cd19a0db38f80482943', 'project_id': '4c567ca1ff6a4cd19a0db38f80482943', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86159728', 'ctest-vn1-17476309'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 14:50:00,258 - DEBUG - Response for create_subnet : {'subnet': {'id': '16903b61-e418-4e91-bda0-f68dd81145f2', 'name': '', 'tenant_id': '4c567ca1ff6a4cd19a0db38f80482943', 'network_id': '819c1aeb-9420-48dd-8661-d6ed43581a40', 'ip_version': 4, 'cidr': '210.49.44.64/26', 'allocation_pools': [{'start': '210.49.44.66', 'end': '210.49.44.126'}], 'gateway_ip': '210.49.44.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.49.44.66', 'tags': [], 'project_id': '4c567ca1ff6a4cd19a0db38f80482943'}} 2025-10-17 14:50:00,431 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba23d795-b892-4e55-8b33-ad9870b09a4d', 'name': '', 'tenant_id': '4c567ca1ff6a4cd19a0db38f80482943', 'network_id': '819c1aeb-9420-48dd-8661-d6ed43581a40', 'ip_version': 4, 'cidr': '15.203.214.128/26', 'allocation_pools': [{'start': '15.203.214.130', 'end': '15.203.214.190'}], 'gateway_ip': '15.203.214.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.203.214.130', 'tags': [], 'project_id': '4c567ca1ff6a4cd19a0db38f80482943'}} 2025-10-17 14:50:00,454 - INFO - Created VN ctest-vn1-17476309 2025-10-17 14:50:00,509 - DEBUG - VN ctest-vn1-17476309 UUID is 819c1aeb-9420-48dd-8661-d6ed43581a40 2025-10-17 14:50:00,867 - DEBUG - Response for create_port : {'port': {'name': 'e25024fb-48b7-4743-b920-de0cb97aad27', 'id': 'e25024fb-48b7-4743-b920-de0cb97aad27', 'tenant_id': '4c567ca1ff6a4cd19a0db38f80482943', 'network_id': '819c1aeb-9420-48dd-8661-d6ed43581a40', 'mac_address': '02:e2:50:24:fb:48', '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': '210.49.44.69', 'subnet_id': '16903b61-e418-4e91-bda0-f68dd81145f2'}], 'security_groups': ['ee0d6f11-ac40-4b9a-a79a-66e19f2ec256'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4c567ca1ff6a4cd19a0db38f80482943'}} 2025-10-17 14:50:01,079 - DEBUG - Response for create_port : {'port': {'name': 'b9118a37-1cb0-4ba7-a92c-7bf57d84c35c', 'id': 'b9118a37-1cb0-4ba7-a92c-7bf57d84c35c', 'tenant_id': '4c567ca1ff6a4cd19a0db38f80482943', 'network_id': '819c1aeb-9420-48dd-8661-d6ed43581a40', 'mac_address': '02:b9:11:8a:37:1c', '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': '15.203.214.133', 'subnet_id': 'ba23d795-b892-4e55-8b33-ad9870b09a4d'}], 'security_groups': ['ee0d6f11-ac40-4b9a-a79a-66e19f2ec256'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4c567ca1ff6a4cd19a0db38f80482943'}} 2025-10-17 14:50:01,152 - DEBUG - Services list from nova: [, , ] 2025-10-17 14:50:01,596 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4355-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4355-1) 2025-10-17 14:50:02,111 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4355-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4355-1) 2025-10-17 14:50:02,111 - INFO - Waiting for VM ctest-vn1-vm1-85745136 to be up.. 2025-10-17 14:50:02,167 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-17 14:50:07,283 - DEBUG - VM is in ACTIVE state now 2025-10-17 14:50:07,283 - INFO - VM name : ctest-vn1-vm1-85745136 2025-10-17 14:50:07,380 - DEBUG - VM ctest-vn1-vm1-85745136 ID is e4dc0a59-740b-4e91-a32e-b8a04bdd8951 2025-10-17 14:50:07,409 - DEBUG - VM ctest-vn1-vm1-85745136 launched on Node cn-jenkins-deploy-platform-ansible-os-4355-1 2025-10-17 14:50:07,505 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/e4dc0a59-740b-4e91-a32e-b8a04bdd8951 2025-10-17 14:50:07,517 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/e25024fb-48b7-4743-b920-de0cb97aad27 2025-10-17 14:50:10,801 - 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 1029ms') 2025-10-17 14:50:10,801 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85745136 failed! 2025-10-17 14:50:10,861 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86159728:ctest-vn1-17476309 is 210.49.44.65 and allocation pool is NOT set 2025-10-17 14:50:10,862 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86159728:ctest-vn1-17476309 is 15.203.214.129 and allocation pool is NOT set 2025-10-17 14:50:14,927 - 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 1004ms') 2025-10-17 14:50:14,927 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85745136 failed! 2025-10-17 14:50:14,989 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86159728:ctest-vn1-17476309 is 210.49.44.65 and allocation pool is NOT set 2025-10-17 14:50:14,990 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86159728:ctest-vn1-17476309 is 15.203.214.129 and allocation pool is NOT set 2025-10-17 14:50:17,061 - 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=8.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.497 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.497/4.676/8.855/4.179 ms') 2025-10-17 14:50:17,061 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85745136 passed 2025-10-17 14:50:17,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 14:50:17,217 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-85745136, IP 210.49.44.69, Port 22 2025-10-17 14:50:17,408 - DEBUG - VM ctest-vn1-vm1-85745136 is ready for SSH connections 2025-10-17 14:50:17,409 - INFO - Waiting for VM ctest-vn1-vm2-90624935 to be up.. 2025-10-17 14:50:17,506 - DEBUG - VM is in ACTIVE state now 2025-10-17 14:50:17,506 - INFO - VM name : ctest-vn1-vm2-90624935 2025-10-17 14:50:17,595 - DEBUG - VM ctest-vn1-vm2-90624935 ID is 5723bb9b-018c-4ff4-91ce-f65d29fcba06 2025-10-17 14:50:17,595 - DEBUG - VM ctest-vn1-vm2-90624935 launched on Node cn-jenkins-deploy-platform-ansible-os-4355-1 2025-10-17 14:50:17,686 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/5723bb9b-018c-4ff4-91ce-f65d29fcba06 2025-10-17 14:50:17,697 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/b9118a37-1cb0-4ba7-a92c-7bf57d84c35c 2025-10-17 14:50:18,954 - 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.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.513 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 = 0.513/1.991/3.469/1.478 ms') 2025-10-17 14:50:18,955 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-90624935 passed 2025-10-17 14:50:19,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 14:50:19,110 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-90624935, IP 15.203.214.133, Port 22 2025-10-17 14:50:19,274 - DEBUG - VM ctest-vn1-vm2-90624935 is ready for SSH connections 2025-10-17 14:50:19,274 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 14:50:19,274 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 14:50:19,274 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 14:50:19,274 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.49.44.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-17 14:50:19,274 - DEBUG - ping -s 56 -c 3 -W 1 210.49.44.69 2025-10-17 14:50:21,983 - DEBUG - PING 210.49.44.69 (210.49.44.69): 56 data bytes 64 bytes from 210.49.44.69: seq=0 ttl=63 time=4.168 ms 64 bytes from 210.49.44.69: seq=1 ttl=63 time=1.041 ms 64 bytes from 210.49.44.69: seq=2 ttl=63 time=1.351 ms --- 210.49.44.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.041/2.186/4.168 ms 2025-10-17 14:50:21,984 - INFO - Ping to IP 210.49.44.69 from VM ctest-vn1-vm2-90624935 passed 2025-10-17 14:50:21,984 - INFO - Detaching port b9118a37-1cb0-4ba7-a92c-7bf57d84c35c from VM ctest-vn1-vm2-90624935 2025-10-17 14:50:22,040 - INFO - Deleting VM ctest-vn1-vm2-90624935 2025-10-17 14:50:22,150 - INFO - Detaching port e25024fb-48b7-4743-b920-de0cb97aad27 from VM ctest-vn1-vm1-85745136 2025-10-17 14:50:22,189 - INFO - Deleting VM ctest-vn1-vm1-85745136 2025-10-17 14:50:22,472 - DEBUG - Response for delete_port : () 2025-10-17 14:50:22,657 - DEBUG - Response for delete_port : () 2025-10-17 14:50:22,658 - INFO - Deleting VN ctest-vn1-17476309 2025-10-17 14:50:22,810 - DEBUG - Response for deleting network () 2025-10-17 14:50:23,082 - DEBUG - No XMPP flaps were noticed during the test
2025-10-17 14:50:23,082 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-10-17 14:50:23,082 - INFO - -------------------------------------------------------------------------------- 2025-10-17 14:50:23,818 - INFO - Deleted project: ctest-TestPorts-86159728, ID : 4c567ca1-ff6a-4cd1-9a0d-b38f80482943