2025-10-31 02:30:55,432 - INFO - Domain Default found not creating 2025-10-31 02:30:55,614 - INFO - Project ctest-TestPorts-06829614 not found, creating it 2025-10-31 02:30:56,071 - INFO - Created Project:ctest-TestPorts-06829614, ID : 886159b3-3f30-4429-8b4f-59aed9fcc2cb 2025-10-31 02:30:57,608 - INFO - ================================================================================ 2025-10-31 02:30:57,608 - INFO - STARTING TEST : test_ports_bindings 2025-10-31 02:30:57,608 - 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-31 02:30:57,864 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.14': '0'}} with 2025-10-31 02:30:57,864 - INFO - Initial checks done. Running the testcase now 2025-10-31 02:30:57,864 - INFO - 2025-10-31 02:30:58,430 - DEBUG - Response for create_network : {'network': {'id': '1ad8f83e-a8b3-4a19-ae06-6bb78df2dc15', 'name': 'ctest-vn-68004197', 'tenant_id': '886159b33f3044298b4f59aed9fcc2cb', 'project_id': '886159b33f3044298b4f59aed9fcc2cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-06829614', 'ctest-vn-68004197'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 02:30:58,585 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b81612ad-92af-4acb-a36c-d54cae8d5936', 'name': '', 'tenant_id': '886159b33f3044298b4f59aed9fcc2cb', 'network_id': '1ad8f83e-a8b3-4a19-ae06-6bb78df2dc15', 'ip_version': 4, 'cidr': '82.253.141.192/26', 'allocation_pools': [{'start': '82.253.141.194', 'end': '82.253.141.254'}], 'gateway_ip': '82.253.141.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.253.141.194', 'tags': [], 'project_id': '886159b33f3044298b4f59aed9fcc2cb'}} 2025-10-31 02:30:58,602 - INFO - Created VN ctest-vn-68004197 2025-10-31 02:30:58,655 - DEBUG - VN ctest-vn-68004197 UUID is 1ad8f83e-a8b3-4a19-ae06-6bb78df2dc15 2025-10-31 02:30:58,766 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-06829614', 'ctest-vmi-53397557']} 2025-10-31 02:30:59,034 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-53397557', 'id': '789ddb80-e35c-46bf-829e-56075090a0a0', 'tenant_id': '886159b33f3044298b4f59aed9fcc2cb', 'network_id': '1ad8f83e-a8b3-4a19-ae06-6bb78df2dc15', 'mac_address': '02:78:9d:db:80:e3', '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': '82.253.141.195', 'subnet_id': 'b81612ad-92af-4acb-a36c-d54cae8d5936'}], 'security_groups': ['2019a8f2-8e1a-4b3d-b10e-1c6240ed429d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '886159b33f3044298b4f59aed9fcc2cb'}} 2025-10-31 02:30:59,035 - DEBUG - Created port 789ddb80-e35c-46bf-829e-56075090a0a0 2025-10-31 02:30:59,138 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/789ddb80-e35c-46bf-829e-56075090a0a0 2025-10-31 02:30:59,446 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/789ddb80-e35c-46bf-829e-56075090a0a0 2025-10-31 02:30:59,483 - INFO - VMI 789ddb80-e35c-46bf-829e-56075090a0a0 verification in API Server passed 2025-10-31 02:30:59,580 - DEBUG - Response for delete_port : () 2025-10-31 02:30:59,580 - INFO - Deleted port 789ddb80-e35c-46bf-829e-56075090a0a0 2025-10-31 02:30:59,580 - INFO - Deleting VN ctest-vn-68004197 2025-10-31 02:30:59,685 - DEBUG - Response for deleting network () 2025-10-31 02:30:59,940 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 02:30:59,940 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-31 02:30:59,940 - INFO - -------------------------------------------------------------------------------- 2025-10-31 02:30:59,942 - INFO - ================================================================================ 2025-10-31 02:30:59,942 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-31 02:30:59,942 - 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-31 02:31:00,232 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.14': '0'}} with 2025-10-31 02:31:00,233 - INFO - Initial checks done. Running the testcase now 2025-10-31 02:31:00,233 - INFO - 2025-10-31 02:31:00,420 - DEBUG - Response for create_network : {'network': {'id': '3fb22fab-273f-4577-86f0-abca046d48df', 'name': 'ctest-vn1-74653791', 'tenant_id': '886159b33f3044298b4f59aed9fcc2cb', 'project_id': '886159b33f3044298b4f59aed9fcc2cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-06829614', 'ctest-vn1-74653791'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 02:31:00,656 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cfc38e47-28c0-4dba-b825-5afee96f3ebd', 'name': '', 'tenant_id': '886159b33f3044298b4f59aed9fcc2cb', 'network_id': '3fb22fab-273f-4577-86f0-abca046d48df', 'ip_version': 4, 'cidr': '204.232.87.0/26', 'allocation_pools': [{'start': '204.232.87.2', 'end': '204.232.87.62'}], 'gateway_ip': '204.232.87.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.232.87.2', 'tags': [], 'project_id': '886159b33f3044298b4f59aed9fcc2cb'}} 2025-10-31 02:31:00,845 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dda00c73-bd9b-4075-ae89-5a4c435f1ca1', 'name': '', 'tenant_id': '886159b33f3044298b4f59aed9fcc2cb', 'network_id': '3fb22fab-273f-4577-86f0-abca046d48df', 'ip_version': 4, 'cidr': '131.150.13.192/26', 'allocation_pools': [{'start': '131.150.13.194', 'end': '131.150.13.254'}], 'gateway_ip': '131.150.13.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.150.13.194', 'tags': [], 'project_id': '886159b33f3044298b4f59aed9fcc2cb'}} 2025-10-31 02:31:00,870 - INFO - Created VN ctest-vn1-74653791 2025-10-31 02:31:00,927 - DEBUG - VN ctest-vn1-74653791 UUID is 3fb22fab-273f-4577-86f0-abca046d48df 2025-10-31 02:31:01,246 - DEBUG - Response for create_port : {'port': {'name': 'f827ee0d-3828-40aa-9c1e-f677f8313c77', 'id': 'f827ee0d-3828-40aa-9c1e-f677f8313c77', 'tenant_id': '886159b33f3044298b4f59aed9fcc2cb', 'network_id': '3fb22fab-273f-4577-86f0-abca046d48df', 'mac_address': '02:f8:27:ee:0d: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': '204.232.87.5', 'subnet_id': 'cfc38e47-28c0-4dba-b825-5afee96f3ebd'}], 'security_groups': ['2019a8f2-8e1a-4b3d-b10e-1c6240ed429d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '886159b33f3044298b4f59aed9fcc2cb'}} 2025-10-31 02:31:01,433 - DEBUG - Response for create_port : {'port': {'name': '389336b3-628c-40b2-be9f-370d29621ecc', 'id': '389336b3-628c-40b2-be9f-370d29621ecc', 'tenant_id': '886159b33f3044298b4f59aed9fcc2cb', 'network_id': '3fb22fab-273f-4577-86f0-abca046d48df', 'mac_address': '02:38:93:36:b3: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': '131.150.13.197', 'subnet_id': 'dda00c73-bd9b-4075-ae89-5a4c435f1ca1'}], 'security_groups': ['2019a8f2-8e1a-4b3d-b10e-1c6240ed429d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '886159b33f3044298b4f59aed9fcc2cb'}} 2025-10-31 02:31:01,498 - DEBUG - Services list from nova: [, , ] 2025-10-31 02:31:01,870 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4567-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4567-1) 2025-10-31 02:31:02,346 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4567-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4567-1) 2025-10-31 02:31:02,346 - INFO - Waiting for VM ctest-vn1-vm1-88914869 to be up.. 2025-10-31 02:31:02,394 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 02:31:07,481 - DEBUG - VM is in ACTIVE state now 2025-10-31 02:31:07,481 - INFO - VM name : ctest-vn1-vm1-88914869 2025-10-31 02:31:07,571 - DEBUG - VM ctest-vn1-vm1-88914869 ID is 26eee3c3-2098-45d1-910c-521007382ab5 2025-10-31 02:31:07,596 - DEBUG - VM ctest-vn1-vm1-88914869 launched on Node cn-jenkins-deploy-platform-ansible-os-4567-1 2025-10-31 02:31:07,672 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/26eee3c3-2098-45d1-910c-521007382ab5 2025-10-31 02:31:07,680 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/f827ee0d-3828-40aa-9c1e-f677f8313c77 2025-10-31 02:31:10,928 - 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 1002ms') 2025-10-31 02:31:10,928 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-88914869 failed! 2025-10-31 02:31:10,982 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-06829614:ctest-vn1-74653791 is 204.232.87.1 and allocation pool is NOT set 2025-10-31 02:31:10,983 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-06829614:ctest-vn1-74653791 is 131.150.13.193 and allocation pool is NOT set 2025-10-31 02:31:15,059 - 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=3.77 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 3.766/3.766/3.766/0.000 ms') 2025-10-31 02:31:15,059 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-88914869 passed 2025-10-31 02:31:15,218 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 02:31:15,219 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-88914869, IP 204.232.87.5, Port 22 2025-10-31 02:31:15,398 - DEBUG - VM ctest-vn1-vm1-88914869 is ready for SSH connections 2025-10-31 02:31:15,398 - INFO - Waiting for VM ctest-vn1-vm2-77373512 to be up.. 2025-10-31 02:31:15,483 - DEBUG - VM is in ACTIVE state now 2025-10-31 02:31:15,483 - INFO - VM name : ctest-vn1-vm2-77373512 2025-10-31 02:31:15,570 - DEBUG - VM ctest-vn1-vm2-77373512 ID is dbf08bc7-8633-4a5c-b2fc-63161351f7cc 2025-10-31 02:31:15,570 - DEBUG - VM ctest-vn1-vm2-77373512 launched on Node cn-jenkins-deploy-platform-ansible-os-4567-1 2025-10-31 02:31:15,647 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/dbf08bc7-8633-4a5c-b2fc-63161351f7cc 2025-10-31 02:31:15,656 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/389336b3-628c-40b2-be9f-370d29621ecc 2025-10-31 02:31:16,901 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.648 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.648/1.907/3.166/1.259 ms') 2025-10-31 02:31:16,902 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-77373512 passed 2025-10-31 02:31:17,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 02:31:17,059 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-77373512, IP 131.150.13.197, Port 22 2025-10-31 02:31:17,214 - DEBUG - VM ctest-vn1-vm2-77373512 is ready for SSH connections 2025-10-31 02:31:17,214 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 02:31:17,214 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 02:31:17,214 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 02:31:17,214 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.232.87.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-31 02:31:17,214 - DEBUG - ping -s 56 -c 3 -W 1 204.232.87.5 2025-10-31 02:31:19,892 - DEBUG - PING 204.232.87.5 (204.232.87.5): 56 data bytes 64 bytes from 204.232.87.5: seq=0 ttl=63 time=3.955 ms 64 bytes from 204.232.87.5: seq=1 ttl=63 time=1.272 ms 64 bytes from 204.232.87.5: seq=2 ttl=63 time=1.204 ms --- 204.232.87.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.204/2.143/3.955 ms 2025-10-31 02:31:19,893 - INFO - Ping to IP 204.232.87.5 from VM ctest-vn1-vm2-77373512 passed 2025-10-31 02:31:19,893 - INFO - Detaching port 389336b3-628c-40b2-be9f-370d29621ecc from VM ctest-vn1-vm2-77373512 2025-10-31 02:31:19,955 - INFO - Deleting VM ctest-vn1-vm2-77373512 2025-10-31 02:31:20,033 - INFO - Detaching port f827ee0d-3828-40aa-9c1e-f677f8313c77 from VM ctest-vn1-vm1-88914869 2025-10-31 02:31:20,068 - INFO - Deleting VM ctest-vn1-vm1-88914869 2025-10-31 02:31:20,349 - DEBUG - Response for delete_port : () 2025-10-31 02:31:20,505 - DEBUG - Response for delete_port : () 2025-10-31 02:31:20,505 - INFO - Deleting VN ctest-vn1-74653791 2025-10-31 02:31:20,645 - DEBUG - Response for deleting network () 2025-10-31 02:31:20,912 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 02:31:20,912 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-10-31 02:31:20,912 - INFO - -------------------------------------------------------------------------------- 2025-10-31 02:31:21,629 - INFO - Deleted project: ctest-TestPorts-06829614, ID : 886159b3-3f30-4429-8b4f-59aed9fcc2cb