2025-10-22 11:06:22,676 - INFO - Domain Default found not creating 2025-10-22 11:06:22,810 - INFO - Project ctest-TestPorts-83064679 not found, creating it 2025-10-22 11:06:23,259 - INFO - Created Project:ctest-TestPorts-83064679, ID : 0f765723-fc97-4500-9aa3-cf3a014793af 2025-10-22 11:06:24,621 - INFO - ================================================================================ 2025-10-22 11:06:24,622 - INFO - STARTING TEST : test_ports_bindings 2025-10-22 11:06:24,622 - 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-22 11:06:24,877 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.25': '0'}} with 2025-10-22 11:06:24,877 - INFO - Initial checks done. Running the testcase now 2025-10-22 11:06:24,877 - INFO - 2025-10-22 11:06:25,470 - DEBUG - Response for create_network : {'network': {'id': '84482a00-1da5-4005-9a8f-db7af936d46d', 'name': 'ctest-vn-75175720', 'tenant_id': '0f765723fc9745009aa3cf3a014793af', 'project_id': '0f765723fc9745009aa3cf3a014793af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-83064679', 'ctest-vn-75175720'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 11:06:25,687 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a05c0f08-0d5b-4e99-bfbf-d672e43f34ad', 'name': '', 'tenant_id': '0f765723fc9745009aa3cf3a014793af', 'network_id': '84482a00-1da5-4005-9a8f-db7af936d46d', 'ip_version': 4, 'cidr': '173.168.222.128/26', 'allocation_pools': [{'start': '173.168.222.130', 'end': '173.168.222.190'}], 'gateway_ip': '173.168.222.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.168.222.130', 'tags': [], 'project_id': '0f765723fc9745009aa3cf3a014793af'}} 2025-10-22 11:06:25,701 - INFO - Created VN ctest-vn-75175720 2025-10-22 11:06:25,752 - DEBUG - VN ctest-vn-75175720 UUID is 84482a00-1da5-4005-9a8f-db7af936d46d 2025-10-22 11:06:25,847 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-83064679', 'ctest-vmi-21342150']} 2025-10-22 11:06:26,103 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-21342150', 'id': 'b7cda4b9-376a-40d8-8c52-4eeaf846c802', 'tenant_id': '0f765723fc9745009aa3cf3a014793af', 'network_id': '84482a00-1da5-4005-9a8f-db7af936d46d', 'mac_address': '02:b7:cd:a4:b9:37', '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': '173.168.222.131', 'subnet_id': 'a05c0f08-0d5b-4e99-bfbf-d672e43f34ad'}], 'security_groups': ['835fcec0-6cb2-474a-9030-7baeed9e1da1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0f765723fc9745009aa3cf3a014793af'}} 2025-10-22 11:06:26,104 - DEBUG - Created port b7cda4b9-376a-40d8-8c52-4eeaf846c802 2025-10-22 11:06:26,208 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/b7cda4b9-376a-40d8-8c52-4eeaf846c802 2025-10-22 11:06:26,495 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/b7cda4b9-376a-40d8-8c52-4eeaf846c802 2025-10-22 11:06:26,521 - INFO - VMI b7cda4b9-376a-40d8-8c52-4eeaf846c802 verification in API Server passed 2025-10-22 11:06:26,593 - DEBUG - Response for delete_port : () 2025-10-22 11:06:26,593 - INFO - Deleted port b7cda4b9-376a-40d8-8c52-4eeaf846c802 2025-10-22 11:06:26,593 - INFO - Deleting VN ctest-vn-75175720 2025-10-22 11:06:26,673 - DEBUG - Response for deleting network () 2025-10-22 11:06:26,929 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 11:06:26,929 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-22 11:06:26,929 - INFO - -------------------------------------------------------------------------------- 2025-10-22 11:06:26,931 - INFO - ================================================================================ 2025-10-22 11:06:26,931 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-22 11:06:26,931 - 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-22 11:06:27,216 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.25': '0'}} with 2025-10-22 11:06:27,216 - INFO - Initial checks done. Running the testcase now 2025-10-22 11:06:27,216 - INFO - 2025-10-22 11:06:27,371 - DEBUG - Response for create_network : {'network': {'id': '263501f5-bf60-41d6-99f6-db51b46226e0', 'name': 'ctest-vn1-61372443', 'tenant_id': '0f765723fc9745009aa3cf3a014793af', 'project_id': '0f765723fc9745009aa3cf3a014793af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-83064679', 'ctest-vn1-61372443'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 11:06:27,547 - DEBUG - Response for create_subnet : {'subnet': {'id': '01f27a25-90a3-46d2-8431-a09961a74400', 'name': '', 'tenant_id': '0f765723fc9745009aa3cf3a014793af', 'network_id': '263501f5-bf60-41d6-99f6-db51b46226e0', 'ip_version': 4, 'cidr': '196.106.103.128/26', 'allocation_pools': [{'start': '196.106.103.130', 'end': '196.106.103.190'}], 'gateway_ip': '196.106.103.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.106.103.130', 'tags': [], 'project_id': '0f765723fc9745009aa3cf3a014793af'}} 2025-10-22 11:06:27,716 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cfb1ea16-488c-469e-97d4-ff9fa2108d48', 'name': '', 'tenant_id': '0f765723fc9745009aa3cf3a014793af', 'network_id': '263501f5-bf60-41d6-99f6-db51b46226e0', 'ip_version': 4, 'cidr': '93.100.189.0/26', 'allocation_pools': [{'start': '93.100.189.2', 'end': '93.100.189.62'}], 'gateway_ip': '93.100.189.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.100.189.2', 'tags': [], 'project_id': '0f765723fc9745009aa3cf3a014793af'}} 2025-10-22 11:06:27,734 - INFO - Created VN ctest-vn1-61372443 2025-10-22 11:06:27,784 - DEBUG - VN ctest-vn1-61372443 UUID is 263501f5-bf60-41d6-99f6-db51b46226e0 2025-10-22 11:06:28,049 - DEBUG - Response for create_port : {'port': {'name': 'c37111b1-ef95-439e-86fa-3c47761440eb', 'id': 'c37111b1-ef95-439e-86fa-3c47761440eb', 'tenant_id': '0f765723fc9745009aa3cf3a014793af', 'network_id': '263501f5-bf60-41d6-99f6-db51b46226e0', 'mac_address': '02:c3:71:11:b1:ef', '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': '196.106.103.133', 'subnet_id': '01f27a25-90a3-46d2-8431-a09961a74400'}], 'security_groups': ['835fcec0-6cb2-474a-9030-7baeed9e1da1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0f765723fc9745009aa3cf3a014793af'}} 2025-10-22 11:06:28,214 - DEBUG - Response for create_port : {'port': {'name': 'ea7562cc-31d9-482d-9143-caa9b781ad52', 'id': 'ea7562cc-31d9-482d-9143-caa9b781ad52', 'tenant_id': '0f765723fc9745009aa3cf3a014793af', 'network_id': '263501f5-bf60-41d6-99f6-db51b46226e0', 'mac_address': '02:ea:75:62:cc:31', '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': '93.100.189.5', 'subnet_id': 'cfb1ea16-488c-469e-97d4-ff9fa2108d48'}], 'security_groups': ['835fcec0-6cb2-474a-9030-7baeed9e1da1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0f765723fc9745009aa3cf3a014793af'}} 2025-10-22 11:06:28,271 - DEBUG - Services list from nova: [, , ] 2025-10-22 11:06:28,562 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4422-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4422-1) 2025-10-22 11:06:28,918 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4422-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4422-1) 2025-10-22 11:06:28,918 - INFO - Waiting for VM ctest-vn1-vm1-53390615 to be up.. 2025-10-22 11:06:28,953 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 11:06:34,023 - DEBUG - VM is in ACTIVE state now 2025-10-22 11:06:34,023 - INFO - VM name : ctest-vn1-vm1-53390615 2025-10-22 11:06:34,086 - DEBUG - VM ctest-vn1-vm1-53390615 ID is ea33fcae-2383-4b77-a49f-668559bfd4e6 2025-10-22 11:06:34,103 - DEBUG - VM ctest-vn1-vm1-53390615 launched on Node cn-jenkins-deploy-platform-ansible-os-4422-1 2025-10-22 11:06:34,164 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/ea33fcae-2383-4b77-a49f-668559bfd4e6 2025-10-22 11:06:34,171 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/c37111b1-ef95-439e-86fa-3c47761440eb 2025-10-22 11:06:37,429 - 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 1022ms') 2025-10-22 11:06:37,429 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-53390615 failed! 2025-10-22 11:06:37,488 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-83064679:ctest-vn1-61372443 is 196.106.103.129 and allocation pool is NOT set 2025-10-22 11:06:37,489 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-83064679:ctest-vn1-61372443 is 93.100.189.1 and allocation pool is NOT set 2025-10-22 11:06:39,548 - 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.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.576 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.576/1.943/3.310/1.367 ms') 2025-10-22 11:06:39,548 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-53390615 passed 2025-10-22 11:06:39,696 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:06:39,696 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-53390615, IP 196.106.103.133, Port 22 2025-10-22 11:06:39,763 - 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-10-22 11:06:39,833 - DEBUG - VM ctest-vn1-vm1-53390615 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-22 11:06:44,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:06:44,834 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-53390615, IP 196.106.103.133, Port 22 2025-10-22 11:06:44,987 - DEBUG - VM ctest-vn1-vm1-53390615 is ready for SSH connections 2025-10-22 11:06:44,988 - INFO - Waiting for VM ctest-vn1-vm2-29316746 to be up.. 2025-10-22 11:06:45,067 - DEBUG - VM is in ACTIVE state now 2025-10-22 11:06:45,067 - INFO - VM name : ctest-vn1-vm2-29316746 2025-10-22 11:06:45,138 - DEBUG - VM ctest-vn1-vm2-29316746 ID is d298c83f-ad3e-4f02-af3c-0b02202a8972 2025-10-22 11:06:45,138 - DEBUG - VM ctest-vn1-vm2-29316746 launched on Node cn-jenkins-deploy-platform-ansible-os-4422-1 2025-10-22 11:06:45,201 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/d298c83f-ad3e-4f02-af3c-0b02202a8972 2025-10-22 11:06:45,208 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/ea7562cc-31d9-482d-9143-caa9b781ad52 2025-10-22 11:06:46,437 - 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=2.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.362 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.362/1.596/2.831/1.234 ms') 2025-10-22 11:06:46,437 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-29316746 passed 2025-10-22 11:06:46,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:06:46,585 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-29316746, IP 93.100.189.5, Port 22 2025-10-22 11:06:46,736 - DEBUG - VM ctest-vn1-vm2-29316746 is ready for SSH connections 2025-10-22 11:06:46,736 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:06:46,736 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:06:46,736 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:06:46,736 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.106.103.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-22 11:06:46,736 - DEBUG - ping -s 56 -c 3 -W 1 196.106.103.133 2025-10-22 11:06:49,373 - DEBUG - PING 196.106.103.133 (196.106.103.133): 56 data bytes 64 bytes from 196.106.103.133: seq=0 ttl=63 time=4.155 ms 64 bytes from 196.106.103.133: seq=1 ttl=63 time=0.767 ms 64 bytes from 196.106.103.133: seq=2 ttl=63 time=0.871 ms --- 196.106.103.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.767/1.931/4.155 ms 2025-10-22 11:06:49,373 - INFO - Ping to IP 196.106.103.133 from VM ctest-vn1-vm2-29316746 passed 2025-10-22 11:06:49,373 - INFO - Detaching port ea7562cc-31d9-482d-9143-caa9b781ad52 from VM ctest-vn1-vm2-29316746 2025-10-22 11:06:49,417 - INFO - Deleting VM ctest-vn1-vm2-29316746 2025-10-22 11:06:49,477 - INFO - Detaching port c37111b1-ef95-439e-86fa-3c47761440eb from VM ctest-vn1-vm1-53390615 2025-10-22 11:06:49,507 - INFO - Deleting VM ctest-vn1-vm1-53390615 2025-10-22 11:06:49,701 - DEBUG - Response for delete_port : () 2025-10-22 11:06:49,872 - DEBUG - Response for delete_port : () 2025-10-22 11:06:49,872 - INFO - Deleting VN ctest-vn1-61372443 2025-10-22 11:06:49,997 - DEBUG - Response for deleting network () 2025-10-22 11:06:50,248 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 11:06:50,248 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-10-22 11:06:50,248 - INFO - -------------------------------------------------------------------------------- 2025-10-22 11:06:50,908 - INFO - Deleted project: ctest-TestPorts-83064679, ID : 0f765723-fc97-4500-9aa3-cf3a014793af