2025-12-08 20:17:49,588 - INFO - Domain Default found not creating 2025-12-08 20:17:49,775 - INFO - Project ctest-TestPorts-95290242 not found, creating it 2025-12-08 20:17:50,356 - INFO - Created Project:ctest-TestPorts-95290242, ID : 892d563c-de50-4bc5-b3b8-4d2e69f1c0f4 2025-12-08 20:17:51,948 - INFO - ================================================================================ 2025-12-08 20:17:51,948 - INFO - STARTING TEST : test_ports_bindings 2025-12-08 20:17:51,948 - 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-08 20:17:52,207 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2025-12-08 20:17:52,207 - INFO - Initial checks done. Running the testcase now 2025-12-08 20:17:52,207 - INFO - 2025-12-08 20:17:52,796 - DEBUG - Response for create_network : {'network': {'id': '29fbbe0a-2d98-454a-bfac-709279ec45fb', 'name': 'ctest-vn-26609649', 'tenant_id': '892d563cde504bc5b3b84d2e69f1c0f4', 'project_id': '892d563cde504bc5b3b84d2e69f1c0f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-95290242', 'ctest-vn-26609649'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 20:17:52,961 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e7c0ab3-59e3-4b56-b4ac-f1769a2c611c', 'name': '', 'tenant_id': '892d563cde504bc5b3b84d2e69f1c0f4', 'network_id': '29fbbe0a-2d98-454a-bfac-709279ec45fb', 'ip_version': 4, 'cidr': '223.214.229.128/26', 'allocation_pools': [{'start': '223.214.229.130', 'end': '223.214.229.190'}], 'gateway_ip': '223.214.229.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.214.229.130', 'tags': [], 'project_id': '892d563cde504bc5b3b84d2e69f1c0f4'}} 2025-12-08 20:17:52,983 - INFO - Created VN ctest-vn-26609649 2025-12-08 20:17:53,038 - DEBUG - VN ctest-vn-26609649 UUID is 29fbbe0a-2d98-454a-bfac-709279ec45fb 2025-12-08 20:17:53,150 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-95290242', 'ctest-vmi-21483699']} 2025-12-08 20:17:53,392 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-21483699', 'id': '1ab1500f-5e5b-4f33-be9b-fa41d3caed5b', 'tenant_id': '892d563cde504bc5b3b84d2e69f1c0f4', 'network_id': '29fbbe0a-2d98-454a-bfac-709279ec45fb', 'mac_address': '02:1a:b1:50:0f:5e', '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': '223.214.229.131', 'subnet_id': '9e7c0ab3-59e3-4b56-b4ac-f1769a2c611c'}], 'security_groups': ['daab9560-6106-4198-a7f8-703768ac7b15'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '892d563cde504bc5b3b84d2e69f1c0f4'}} 2025-12-08 20:17:53,392 - DEBUG - Created port 1ab1500f-5e5b-4f33-be9b-fa41d3caed5b 2025-12-08 20:17:53,502 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1ab1500f-5e5b-4f33-be9b-fa41d3caed5b 2025-12-08 20:17:53,800 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1ab1500f-5e5b-4f33-be9b-fa41d3caed5b 2025-12-08 20:17:53,839 - INFO - VMI 1ab1500f-5e5b-4f33-be9b-fa41d3caed5b verification in API Server passed 2025-12-08 20:17:53,933 - DEBUG - Response for delete_port : () 2025-12-08 20:17:53,933 - INFO - Deleted port 1ab1500f-5e5b-4f33-be9b-fa41d3caed5b 2025-12-08 20:17:53,933 - INFO - Deleting VN ctest-vn-26609649 2025-12-08 20:17:54,043 - DEBUG - Response for deleting network () 2025-12-08 20:17:54,300 - DEBUG - No XMPP flaps were noticed during the test
2025-12-08 20:17:54,300 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-12-08 20:17:54,300 - INFO - -------------------------------------------------------------------------------- 2025-12-08 20:17:54,302 - INFO - ================================================================================ 2025-12-08 20:17:54,303 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-08 20:17:54,303 - 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-08 20:17:54,588 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2025-12-08 20:17:54,588 - INFO - Initial checks done. Running the testcase now 2025-12-08 20:17:54,588 - INFO - 2025-12-08 20:17:54,771 - DEBUG - Response for create_network : {'network': {'id': 'a4731bd4-88ad-483c-b1e0-2cb9fdee76ae', 'name': 'ctest-vn1-69620057', 'tenant_id': '892d563cde504bc5b3b84d2e69f1c0f4', 'project_id': '892d563cde504bc5b3b84d2e69f1c0f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-95290242', 'ctest-vn1-69620057'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 20:17:54,989 - DEBUG - Response for create_subnet : {'subnet': {'id': '259a5db7-8778-4f5f-ae75-4dad9861fde0', 'name': '', 'tenant_id': '892d563cde504bc5b3b84d2e69f1c0f4', 'network_id': 'a4731bd4-88ad-483c-b1e0-2cb9fdee76ae', 'ip_version': 4, 'cidr': '50.57.23.64/26', 'allocation_pools': [{'start': '50.57.23.66', 'end': '50.57.23.126'}], 'gateway_ip': '50.57.23.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.57.23.66', 'tags': [], 'project_id': '892d563cde504bc5b3b84d2e69f1c0f4'}} 2025-12-08 20:17:55,160 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4b2d06f-dd1f-49ef-81ed-ad7862f5d99d', 'name': '', 'tenant_id': '892d563cde504bc5b3b84d2e69f1c0f4', 'network_id': 'a4731bd4-88ad-483c-b1e0-2cb9fdee76ae', 'ip_version': 4, 'cidr': '218.126.158.192/26', 'allocation_pools': [{'start': '218.126.158.194', 'end': '218.126.158.254'}], 'gateway_ip': '218.126.158.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.126.158.194', 'tags': [], 'project_id': '892d563cde504bc5b3b84d2e69f1c0f4'}} 2025-12-08 20:17:55,182 - INFO - Created VN ctest-vn1-69620057 2025-12-08 20:17:55,233 - DEBUG - VN ctest-vn1-69620057 UUID is a4731bd4-88ad-483c-b1e0-2cb9fdee76ae 2025-12-08 20:17:55,541 - DEBUG - Response for create_port : {'port': {'name': '3d911efe-9e14-416b-9d06-10cd5322ba83', 'id': '3d911efe-9e14-416b-9d06-10cd5322ba83', 'tenant_id': '892d563cde504bc5b3b84d2e69f1c0f4', 'network_id': 'a4731bd4-88ad-483c-b1e0-2cb9fdee76ae', 'mac_address': '02:3d:91:1e:fe:9e', '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': '50.57.23.69', 'subnet_id': '259a5db7-8778-4f5f-ae75-4dad9861fde0'}], 'security_groups': ['daab9560-6106-4198-a7f8-703768ac7b15'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '892d563cde504bc5b3b84d2e69f1c0f4'}} 2025-12-08 20:17:55,712 - DEBUG - Response for create_port : {'port': {'name': 'bd6acb84-e686-466f-b735-b7314a5e1379', 'id': 'bd6acb84-e686-466f-b735-b7314a5e1379', 'tenant_id': '892d563cde504bc5b3b84d2e69f1c0f4', 'network_id': 'a4731bd4-88ad-483c-b1e0-2cb9fdee76ae', 'mac_address': '02:bd:6a:cb:84:e6', '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': '218.126.158.197', 'subnet_id': 'e4b2d06f-dd1f-49ef-81ed-ad7862f5d99d'}], 'security_groups': ['daab9560-6106-4198-a7f8-703768ac7b15'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '892d563cde504bc5b3b84d2e69f1c0f4'}} 2025-12-08 20:17:55,776 - DEBUG - Services list from nova: [, , ] 2025-12-08 20:17:56,161 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4860-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4860-1) 2025-12-08 20:17:56,595 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4860-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4860-1) 2025-12-08 20:17:56,595 - INFO - Waiting for VM ctest-vn1-vm1-77139987 to be up.. 2025-12-08 20:17:56,643 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-08 20:18:01,735 - DEBUG - VM is in ACTIVE state now 2025-12-08 20:18:01,735 - INFO - VM name : ctest-vn1-vm1-77139987 2025-12-08 20:18:01,829 - DEBUG - VM ctest-vn1-vm1-77139987 ID is ffbc5752-5b01-46ed-9f8e-79c791568ab0 2025-12-08 20:18:01,850 - DEBUG - VM ctest-vn1-vm1-77139987 launched on Node cn-jenkins-deploy-platform-ansible-os-4860-1 2025-12-08 20:18:01,951 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ffbc5752-5b01-46ed-9f8e-79c791568ab0 2025-12-08 20:18:01,970 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/3d911efe-9e14-416b-9d06-10cd5322ba83 2025-12-08 20:18:05,260 - 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-12-08 20:18:05,260 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77139987 failed! 2025-12-08 20:18:05,318 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-95290242:ctest-vn1-69620057 is 50.57.23.65 and allocation pool is NOT set 2025-12-08 20:18:05,318 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-95290242:ctest-vn1-69620057 is 218.126.158.193 and allocation pool is NOT set 2025-12-08 20:18:09,382 - 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 1000ms') 2025-12-08 20:18:09,382 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77139987 failed! 2025-12-08 20:18:09,442 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-95290242:ctest-vn1-69620057 is 50.57.23.65 and allocation pool is NOT set 2025-12-08 20:18:09,442 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-95290242:ctest-vn1-69620057 is 218.126.158.193 and allocation pool is NOT set 2025-12-08 20:18:11,509 - 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.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.539 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.539/1.852/3.165/1.313 ms') 2025-12-08 20:18:11,509 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77139987 passed 2025-12-08 20:18:11,666 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 20:18:11,666 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-77139987, IP 50.57.23.69, Port 22 2025-12-08 20:18:11,821 - DEBUG - VM ctest-vn1-vm1-77139987 is ready for SSH connections 2025-12-08 20:18:11,821 - INFO - Waiting for VM ctest-vn1-vm2-90899076 to be up.. 2025-12-08 20:18:11,907 - DEBUG - VM is in ACTIVE state now 2025-12-08 20:18:11,908 - INFO - VM name : ctest-vn1-vm2-90899076 2025-12-08 20:18:11,991 - DEBUG - VM ctest-vn1-vm2-90899076 ID is 654b5194-3e0d-4219-bc66-6b7287f9f393 2025-12-08 20:18:11,992 - DEBUG - VM ctest-vn1-vm2-90899076 launched on Node cn-jenkins-deploy-platform-ansible-os-4860-1 2025-12-08 20:18:12,082 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/654b5194-3e0d-4219-bc66-6b7287f9f393 2025-12-08 20:18:12,091 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/bd6acb84-e686-466f-b735-b7314a5e1379 2025-12-08 20:18:13,339 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.534 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.534/2.308/4.082/1.774 ms') 2025-12-08 20:18:13,339 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-90899076 passed 2025-12-08 20:18:13,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 20:18:13,490 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-90899076, IP 218.126.158.197, Port 22 2025-12-08 20:18:13,663 - DEBUG - VM ctest-vn1-vm2-90899076 is ready for SSH connections 2025-12-08 20:18:13,663 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 20:18:13,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 20:18:13,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 20:18:13,664 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.57.23.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-08 20:18:13,664 - DEBUG - ping -s 56 -c 3 -W 1 50.57.23.69 2025-12-08 20:18:16,422 - DEBUG - PING 50.57.23.69 (50.57.23.69): 56 data bytes 64 bytes from 50.57.23.69: seq=0 ttl=63 time=4.392 ms 64 bytes from 50.57.23.69: seq=1 ttl=63 time=0.982 ms 64 bytes from 50.57.23.69: seq=2 ttl=63 time=0.938 ms --- 50.57.23.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.938/2.104/4.392 ms 2025-12-08 20:18:16,422 - INFO - Ping to IP 50.57.23.69 from VM ctest-vn1-vm2-90899076 passed 2025-12-08 20:18:16,422 - INFO - Detaching port bd6acb84-e686-466f-b735-b7314a5e1379 from VM ctest-vn1-vm2-90899076 2025-12-08 20:18:16,481 - INFO - Deleting VM ctest-vn1-vm2-90899076 2025-12-08 20:18:16,564 - INFO - Detaching port 3d911efe-9e14-416b-9d06-10cd5322ba83 from VM ctest-vn1-vm1-77139987 2025-12-08 20:18:16,608 - INFO - Deleting VM ctest-vn1-vm1-77139987 2025-12-08 20:18:16,867 - DEBUG - Response for delete_port : () 2025-12-08 20:18:17,045 - DEBUG - Response for delete_port : () 2025-12-08 20:18:17,045 - INFO - Deleting VN ctest-vn1-69620057 2025-12-08 20:18:17,179 - DEBUG - Response for deleting network () 2025-12-08 20:18:17,443 - DEBUG - No XMPP flaps were noticed during the test
2025-12-08 20:18:17,443 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-12-08 20:18:17,443 - INFO - -------------------------------------------------------------------------------- 2025-12-08 20:18:18,133 - INFO - Deleted project: ctest-TestPorts-95290242, ID : 892d563c-de50-4bc5-b3b8-4d2e69f1c0f4