2025-12-04 16:42:19,745 - INFO - Domain Default found not creating 2025-12-04 16:42:19,923 - INFO - Project ctest-TestPorts-53847173 not found, creating it 2025-12-04 16:42:20,496 - INFO - Created Project:ctest-TestPorts-53847173, ID : 16bbf8e7-9962-465f-9390-3ca5db5165c7 2025-12-04 16:42:22,214 - INFO - ================================================================================ 2025-12-04 16:42:22,214 - INFO - STARTING TEST : test_ports_bindings 2025-12-04 16:42:22,215 - 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-04 16:42:22,471 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-12-04 16:42:22,471 - INFO - Initial checks done. Running the testcase now 2025-12-04 16:42:22,471 - INFO - 2025-12-04 16:42:23,093 - DEBUG - Response for create_network : {'network': {'id': '548bd23e-a53c-42ad-9118-439b3c84a0a1', 'name': 'ctest-vn-14815017', 'tenant_id': '16bbf8e79962465f93903ca5db5165c7', 'project_id': '16bbf8e79962465f93903ca5db5165c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-53847173', 'ctest-vn-14815017'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 16:42:23,287 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ee1e248-7efe-44f8-9e07-ce14271380e8', 'name': '', 'tenant_id': '16bbf8e79962465f93903ca5db5165c7', 'network_id': '548bd23e-a53c-42ad-9118-439b3c84a0a1', 'ip_version': 4, 'cidr': '178.88.44.192/26', 'allocation_pools': [{'start': '178.88.44.194', 'end': '178.88.44.254'}], 'gateway_ip': '178.88.44.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.88.44.194', 'tags': [], 'project_id': '16bbf8e79962465f93903ca5db5165c7'}} 2025-12-04 16:42:23,304 - INFO - Created VN ctest-vn-14815017 2025-12-04 16:42:23,359 - DEBUG - VN ctest-vn-14815017 UUID is 548bd23e-a53c-42ad-9118-439b3c84a0a1 2025-12-04 16:42:23,472 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-53847173', 'ctest-vmi-11208115']} 2025-12-04 16:42:23,774 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-11208115', 'id': '194d712f-423e-4fbb-affe-0ea04659ba6d', 'tenant_id': '16bbf8e79962465f93903ca5db5165c7', 'network_id': '548bd23e-a53c-42ad-9118-439b3c84a0a1', 'mac_address': '02:19:4d:71:2f:42', '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': '178.88.44.195', 'subnet_id': '0ee1e248-7efe-44f8-9e07-ce14271380e8'}], 'security_groups': ['41647ee8-c447-40c0-86c6-1e01a9a968d4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '16bbf8e79962465f93903ca5db5165c7'}} 2025-12-04 16:42:23,774 - DEBUG - Created port 194d712f-423e-4fbb-affe-0ea04659ba6d 2025-12-04 16:42:23,879 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/194d712f-423e-4fbb-affe-0ea04659ba6d 2025-12-04 16:42:24,219 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/194d712f-423e-4fbb-affe-0ea04659ba6d 2025-12-04 16:42:24,257 - INFO - VMI 194d712f-423e-4fbb-affe-0ea04659ba6d verification in API Server passed 2025-12-04 16:42:24,346 - DEBUG - Response for delete_port : () 2025-12-04 16:42:24,346 - INFO - Deleted port 194d712f-423e-4fbb-affe-0ea04659ba6d 2025-12-04 16:42:24,346 - INFO - Deleting VN ctest-vn-14815017 2025-12-04 16:42:24,446 - DEBUG - Response for deleting network () 2025-12-04 16:42:24,704 - DEBUG - No XMPP flaps were noticed during the test
2025-12-04 16:42:24,705 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-04 16:42:24,705 - INFO - -------------------------------------------------------------------------------- 2025-12-04 16:42:24,707 - INFO - ================================================================================ 2025-12-04 16:42:24,707 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-04 16:42:24,707 - 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-04 16:42:24,998 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-12-04 16:42:24,998 - INFO - Initial checks done. Running the testcase now 2025-12-04 16:42:24,998 - INFO - 2025-12-04 16:42:25,182 - DEBUG - Response for create_network : {'network': {'id': '75427275-75a7-46fe-95ae-dd371b511eaa', 'name': 'ctest-vn1-05203307', 'tenant_id': '16bbf8e79962465f93903ca5db5165c7', 'project_id': '16bbf8e79962465f93903ca5db5165c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-53847173', 'ctest-vn1-05203307'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 16:42:25,400 - DEBUG - Response for create_subnet : {'subnet': {'id': '84683cba-f7a4-4a19-b91c-e2bb599c66c3', 'name': '', 'tenant_id': '16bbf8e79962465f93903ca5db5165c7', 'network_id': '75427275-75a7-46fe-95ae-dd371b511eaa', 'ip_version': 4, 'cidr': '168.126.133.0/26', 'allocation_pools': [{'start': '168.126.133.2', 'end': '168.126.133.62'}], 'gateway_ip': '168.126.133.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.126.133.2', 'tags': [], 'project_id': '16bbf8e79962465f93903ca5db5165c7'}} 2025-12-04 16:42:25,649 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d8b7b43-9424-4e66-bab7-5298f7de9388', 'name': '', 'tenant_id': '16bbf8e79962465f93903ca5db5165c7', 'network_id': '75427275-75a7-46fe-95ae-dd371b511eaa', 'ip_version': 4, 'cidr': '52.42.157.64/26', 'allocation_pools': [{'start': '52.42.157.66', 'end': '52.42.157.126'}], 'gateway_ip': '52.42.157.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.42.157.66', 'tags': [], 'project_id': '16bbf8e79962465f93903ca5db5165c7'}} 2025-12-04 16:42:25,671 - INFO - Created VN ctest-vn1-05203307 2025-12-04 16:42:25,723 - DEBUG - VN ctest-vn1-05203307 UUID is 75427275-75a7-46fe-95ae-dd371b511eaa 2025-12-04 16:42:26,033 - DEBUG - Response for create_port : {'port': {'name': '9a5dbbfe-372f-455f-876b-7f97e9e2f609', 'id': '9a5dbbfe-372f-455f-876b-7f97e9e2f609', 'tenant_id': '16bbf8e79962465f93903ca5db5165c7', 'network_id': '75427275-75a7-46fe-95ae-dd371b511eaa', 'mac_address': '02:9a:5d:bb:fe:37', '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': '168.126.133.5', 'subnet_id': '84683cba-f7a4-4a19-b91c-e2bb599c66c3'}], 'security_groups': ['41647ee8-c447-40c0-86c6-1e01a9a968d4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '16bbf8e79962465f93903ca5db5165c7'}} 2025-12-04 16:42:26,197 - DEBUG - Response for create_port : {'port': {'name': '1b8b929e-4b82-42a5-85ae-f8bd3298f1e2', 'id': '1b8b929e-4b82-42a5-85ae-f8bd3298f1e2', 'tenant_id': '16bbf8e79962465f93903ca5db5165c7', 'network_id': '75427275-75a7-46fe-95ae-dd371b511eaa', 'mac_address': '02:1b:8b:92:9e:4b', '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': '52.42.157.69', 'subnet_id': '7d8b7b43-9424-4e66-bab7-5298f7de9388'}], 'security_groups': ['41647ee8-c447-40c0-86c6-1e01a9a968d4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '16bbf8e79962465f93903ca5db5165c7'}} 2025-12-04 16:42:26,259 - DEBUG - Services list from nova: [, , ] 2025-12-04 16:42:26,636 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4845-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4845-1) 2025-12-04 16:42:27,051 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4845-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4845-1) 2025-12-04 16:42:27,052 - INFO - Waiting for VM ctest-vn1-vm1-06003574 to be up.. 2025-12-04 16:42:27,097 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-04 16:42:32,175 - DEBUG - VM is in ACTIVE state now 2025-12-04 16:42:32,175 - INFO - VM name : ctest-vn1-vm1-06003574 2025-12-04 16:42:32,258 - DEBUG - VM ctest-vn1-vm1-06003574 ID is 9aae55a7-ef8e-465a-b38e-72959317646c 2025-12-04 16:42:32,283 - DEBUG - VM ctest-vn1-vm1-06003574 launched on Node cn-jenkins-deploy-platform-ansible-os-4845-1 2025-12-04 16:42:32,373 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9aae55a7-ef8e-465a-b38e-72959317646c 2025-12-04 16:42:32,383 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9a5dbbfe-372f-455f-876b-7f97e9e2f609 2025-12-04 16:42:35,656 - 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 1019ms') 2025-12-04 16:42:35,657 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06003574 failed! 2025-12-04 16:42:35,711 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-53847173:ctest-vn1-05203307 is 168.126.133.1 and allocation pool is NOT set 2025-12-04 16:42:35,711 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-53847173:ctest-vn1-05203307 is 52.42.157.65 and allocation pool is NOT set 2025-12-04 16:42:39,782 - 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.72 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 9.717/9.717/9.717/0.000 ms') 2025-12-04 16:42:39,782 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06003574 passed 2025-12-04 16:42:39,931 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 16:42:39,931 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-06003574, IP 168.126.133.5, Port 22 2025-12-04 16:42:39,997 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-04 16:42:40,077 - DEBUG - VM ctest-vn1-vm1-06003574 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 16:42:45,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 16:42:45,078 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-06003574, IP 168.126.133.5, Port 22 2025-12-04 16:42:45,234 - DEBUG - VM ctest-vn1-vm1-06003574 is ready for SSH connections 2025-12-04 16:42:45,234 - INFO - Waiting for VM ctest-vn1-vm2-66755993 to be up.. 2025-12-04 16:42:45,313 - DEBUG - VM is in ACTIVE state now 2025-12-04 16:42:45,313 - INFO - VM name : ctest-vn1-vm2-66755993 2025-12-04 16:42:45,386 - DEBUG - VM ctest-vn1-vm2-66755993 ID is 6c183589-803c-4ecb-be27-beeaedd82d5e 2025-12-04 16:42:45,387 - DEBUG - VM ctest-vn1-vm2-66755993 launched on Node cn-jenkins-deploy-platform-ansible-os-4845-1 2025-12-04 16:42:45,462 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6c183589-803c-4ecb-be27-beeaedd82d5e 2025-12-04 16:42:45,472 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1b8b929e-4b82-42a5-85ae-f8bd3298f1e2 2025-12-04 16:42:46,716 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.458 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.458/2.146/3.835/1.688 ms') 2025-12-04 16:42:46,716 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-66755993 passed 2025-12-04 16:42:46,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 16:42:46,863 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-66755993, IP 52.42.157.69, Port 22 2025-12-04 16:42:47,019 - DEBUG - VM ctest-vn1-vm2-66755993 is ready for SSH connections 2025-12-04 16:42:47,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 16:42:47,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 16:42:47,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 16:42:47,019 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.126.133.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-04 16:42:47,019 - DEBUG - ping -s 56 -c 3 -W 1 168.126.133.5 2025-12-04 16:42:49,719 - DEBUG - PING 168.126.133.5 (168.126.133.5): 56 data bytes 64 bytes from 168.126.133.5: seq=0 ttl=63 time=3.707 ms 64 bytes from 168.126.133.5: seq=1 ttl=63 time=0.967 ms 64 bytes from 168.126.133.5: seq=2 ttl=63 time=0.970 ms --- 168.126.133.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.967/1.881/3.707 ms 2025-12-04 16:42:49,720 - INFO - Ping to IP 168.126.133.5 from VM ctest-vn1-vm2-66755993 passed 2025-12-04 16:42:49,720 - INFO - Detaching port 1b8b929e-4b82-42a5-85ae-f8bd3298f1e2 from VM ctest-vn1-vm2-66755993 2025-12-04 16:42:49,774 - INFO - Deleting VM ctest-vn1-vm2-66755993 2025-12-04 16:42:49,845 - INFO - Detaching port 9a5dbbfe-372f-455f-876b-7f97e9e2f609 from VM ctest-vn1-vm1-06003574 2025-12-04 16:42:49,879 - INFO - Deleting VM ctest-vn1-vm1-06003574 2025-12-04 16:42:50,126 - DEBUG - Response for delete_port : () 2025-12-04 16:42:50,278 - DEBUG - Response for delete_port : () 2025-12-04 16:42:50,278 - INFO - Deleting VN ctest-vn1-05203307 2025-12-04 16:42:50,406 - DEBUG - Response for deleting network () 2025-12-04 16:42:50,674 - DEBUG - No XMPP flaps were noticed during the test
2025-12-04 16:42:50,674 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-12-04 16:42:50,674 - INFO - -------------------------------------------------------------------------------- 2025-12-04 16:42:51,453 - INFO - Deleted project: ctest-TestPorts-53847173, ID : 16bbf8e7-9962-465f-9390-3ca5db5165c7