2025-10-13 16:53:45,300 - INFO - Domain Default found not creating 2025-10-13 16:53:45,475 - INFO - Project ctest-TestPorts-45573640 not found, creating it 2025-10-13 16:53:45,965 - INFO - Created Project:ctest-TestPorts-45573640, ID : 066a9597-019d-4115-bb38-639944b3cd11 2025-10-13 16:53:47,486 - INFO - ================================================================================ 2025-10-13 16:53:47,486 - INFO - STARTING TEST : test_ports_bindings 2025-10-13 16:53:47,486 - 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-13 16:53:47,745 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-13 16:53:47,745 - INFO - Initial checks done. Running the testcase now 2025-10-13 16:53:47,745 - INFO - 2025-10-13 16:53:48,339 - DEBUG - Response for create_network : {'network': {'id': '9147cee2-8e98-438f-83a6-64ea6714988f', 'name': 'ctest-vn-18895971', 'tenant_id': '066a9597019d4115bb38639944b3cd11', 'project_id': '066a9597019d4115bb38639944b3cd11', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45573640', 'ctest-vn-18895971'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 16:53:48,533 - DEBUG - Response for create_subnet : {'subnet': {'id': '21ca3f8c-d815-4339-a6d0-2a8ac1902ae4', 'name': '', 'tenant_id': '066a9597019d4115bb38639944b3cd11', 'network_id': '9147cee2-8e98-438f-83a6-64ea6714988f', 'ip_version': 4, 'cidr': '180.19.122.192/26', 'allocation_pools': [{'start': '180.19.122.194', 'end': '180.19.122.254'}], 'gateway_ip': '180.19.122.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.19.122.194', 'tags': [], 'project_id': '066a9597019d4115bb38639944b3cd11'}} 2025-10-13 16:53:48,553 - INFO - Created VN ctest-vn-18895971 2025-10-13 16:53:48,611 - DEBUG - VN ctest-vn-18895971 UUID is 9147cee2-8e98-438f-83a6-64ea6714988f 2025-10-13 16:53:48,735 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-45573640', 'ctest-vmi-43982028']} 2025-10-13 16:53:49,019 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-43982028', 'id': '3ba763e7-8d76-46ed-8b0d-780e0555a830', 'tenant_id': '066a9597019d4115bb38639944b3cd11', 'network_id': '9147cee2-8e98-438f-83a6-64ea6714988f', 'mac_address': '02:3b:a7:63:e7:8d', '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': '180.19.122.195', 'subnet_id': '21ca3f8c-d815-4339-a6d0-2a8ac1902ae4'}], 'security_groups': ['a7589356-ab1a-4813-8cd0-8935fb6c75e3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '066a9597019d4115bb38639944b3cd11'}} 2025-10-13 16:53:49,019 - DEBUG - Created port 3ba763e7-8d76-46ed-8b0d-780e0555a830 2025-10-13 16:53:49,135 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3ba763e7-8d76-46ed-8b0d-780e0555a830 2025-10-13 16:53:49,431 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3ba763e7-8d76-46ed-8b0d-780e0555a830 2025-10-13 16:53:49,513 - INFO - VMI 3ba763e7-8d76-46ed-8b0d-780e0555a830 verification in API Server passed 2025-10-13 16:53:49,655 - DEBUG - Response for delete_port : () 2025-10-13 16:53:49,655 - INFO - Deleted port 3ba763e7-8d76-46ed-8b0d-780e0555a830 2025-10-13 16:53:49,655 - INFO - Deleting VN ctest-vn-18895971 2025-10-13 16:53:49,774 - DEBUG - Response for deleting network () 2025-10-13 16:53:50,034 - DEBUG - No XMPP flaps were noticed during the test 2025-10-13 16:53:50,034 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-13 16:53:50,034 - INFO - -------------------------------------------------------------------------------- 2025-10-13 16:53:50,037 - INFO - ================================================================================ 2025-10-13 16:53:50,037 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-13 16:53:50,037 - 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-13 16:53:50,328 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-13 16:53:50,329 - INFO - Initial checks done. Running the testcase now 2025-10-13 16:53:50,329 - INFO - 2025-10-13 16:53:50,534 - DEBUG - Response for create_network : {'network': {'id': 'd9fb1a63-53ff-41d2-97d2-564361d01868', 'name': 'ctest-vn1-50003907', 'tenant_id': '066a9597019d4115bb38639944b3cd11', 'project_id': '066a9597019d4115bb38639944b3cd11', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45573640', 'ctest-vn1-50003907'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 16:53:50,726 - DEBUG - Response for create_subnet : {'subnet': {'id': '606b51e3-6cb8-490f-8832-c6158fc88005', 'name': '', 'tenant_id': '066a9597019d4115bb38639944b3cd11', 'network_id': 'd9fb1a63-53ff-41d2-97d2-564361d01868', 'ip_version': 4, 'cidr': '26.244.154.192/26', 'allocation_pools': [{'start': '26.244.154.194', 'end': '26.244.154.254'}], 'gateway_ip': '26.244.154.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.244.154.194', 'tags': [], 'project_id': '066a9597019d4115bb38639944b3cd11'}} 2025-10-13 16:53:50,928 - DEBUG - Response for create_subnet : {'subnet': {'id': '2cb90441-8fc6-4e15-ad32-aba0d3ee2e1a', 'name': '', 'tenant_id': '066a9597019d4115bb38639944b3cd11', 'network_id': 'd9fb1a63-53ff-41d2-97d2-564361d01868', 'ip_version': 4, 'cidr': '118.45.243.128/26', 'allocation_pools': [{'start': '118.45.243.130', 'end': '118.45.243.190'}], 'gateway_ip': '118.45.243.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.45.243.130', 'tags': [], 'project_id': '066a9597019d4115bb38639944b3cd11'}} 2025-10-13 16:53:50,949 - INFO - Created VN ctest-vn1-50003907 2025-10-13 16:53:51,003 - DEBUG - VN ctest-vn1-50003907 UUID is d9fb1a63-53ff-41d2-97d2-564361d01868 2025-10-13 16:53:51,351 - DEBUG - Response for create_port : {'port': {'name': '9f125b2d-ec19-45d0-a1bd-2771783abd6a', 'id': '9f125b2d-ec19-45d0-a1bd-2771783abd6a', 'tenant_id': '066a9597019d4115bb38639944b3cd11', 'network_id': 'd9fb1a63-53ff-41d2-97d2-564361d01868', 'mac_address': '02:9f:12:5b:2d:ec', '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': '26.244.154.197', 'subnet_id': '606b51e3-6cb8-490f-8832-c6158fc88005'}], 'security_groups': ['a7589356-ab1a-4813-8cd0-8935fb6c75e3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '066a9597019d4115bb38639944b3cd11'}} 2025-10-13 16:53:51,543 - DEBUG - Response for create_port : {'port': {'name': '519207ea-3272-4dcf-9c42-5fe63022c4fe', 'id': '519207ea-3272-4dcf-9c42-5fe63022c4fe', 'tenant_id': '066a9597019d4115bb38639944b3cd11', 'network_id': 'd9fb1a63-53ff-41d2-97d2-564361d01868', 'mac_address': '02:51:92:07:ea:32', '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': '118.45.243.133', 'subnet_id': '2cb90441-8fc6-4e15-ad32-aba0d3ee2e1a'}], 'security_groups': ['a7589356-ab1a-4813-8cd0-8935fb6c75e3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '066a9597019d4115bb38639944b3cd11'}} 2025-10-13 16:53:51,619 - DEBUG - Services list from nova: [, , ] 2025-10-13 16:53:52,129 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4308-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4308-1) 2025-10-13 16:53:52,707 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4308-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4308-1) 2025-10-13 16:53:52,707 - INFO - Waiting for VM ctest-vn1-vm1-81792472 to be up.. 2025-10-13 16:53:52,763 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 16:53:57,852 - DEBUG - VM is in ACTIVE state now 2025-10-13 16:53:57,852 - INFO - VM name : ctest-vn1-vm1-81792472 2025-10-13 16:53:57,929 - DEBUG - VM ctest-vn1-vm1-81792472 ID is 645c6950-928c-4710-9c46-21944756b68d 2025-10-13 16:53:57,950 - DEBUG - VM ctest-vn1-vm1-81792472 launched on Node cn-jenkins-deploy-platform-ansible-os-4308-1 2025-10-13 16:53:58,030 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/645c6950-928c-4710-9c46-21944756b68d 2025-10-13 16:53:58,040 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9f125b2d-ec19-45d0-a1bd-2771783abd6a 2025-10-13 16:54:01,303 - 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-10-13 16:54:01,303 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81792472 failed! 2025-10-13 16:54:01,363 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45573640:ctest-vn1-50003907 is 26.244.154.193 and allocation pool is NOT set 2025-10-13 16:54:01,363 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45573640:ctest-vn1-50003907 is 118.45.243.129 and allocation pool is NOT set 2025-10-13 16:54:05,423 - 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.85 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 9.848/9.848/9.848/0.000 ms') 2025-10-13 16:54:05,423 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81792472 passed 2025-10-13 16:54:05,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:54:05,579 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-81792472, IP 26.244.154.197, Port 22 2025-10-13 16:54:05,645 - 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-13 16:54:05,733 - DEBUG - VM ctest-vn1-vm1-81792472 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-13 16:54:10,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:54:10,734 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-81792472, IP 26.244.154.197, Port 22 2025-10-13 16:54:10,895 - DEBUG - VM ctest-vn1-vm1-81792472 is ready for SSH connections 2025-10-13 16:54:10,895 - INFO - Waiting for VM ctest-vn1-vm2-16765966 to be up.. 2025-10-13 16:54:10,980 - DEBUG - VM is in ACTIVE state now 2025-10-13 16:54:10,980 - INFO - VM name : ctest-vn1-vm2-16765966 2025-10-13 16:54:11,064 - DEBUG - VM ctest-vn1-vm2-16765966 ID is 7abbbbbd-039f-4bd6-9536-9620a5ed385b 2025-10-13 16:54:11,064 - DEBUG - VM ctest-vn1-vm2-16765966 launched on Node cn-jenkins-deploy-platform-ansible-os-4308-1 2025-10-13 16:54:11,158 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7abbbbbd-039f-4bd6-9536-9620a5ed385b 2025-10-13 16:54:11,173 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/519207ea-3272-4dcf-9c42-5fe63022c4fe 2025-10-13 16:54:12,425 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.528 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.528/2.180/3.833/1.652 ms') 2025-10-13 16:54:12,425 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-16765966 passed 2025-10-13 16:54:12,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:54:12,583 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-16765966, IP 118.45.243.133, Port 22 2025-10-13 16:54:12,743 - DEBUG - VM ctest-vn1-vm2-16765966 is ready for SSH connections 2025-10-13 16:54:12,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:54:12,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:54:12,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:54:12,743 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.244.154.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-13 16:54:12,743 - DEBUG - ping -s 56 -c 3 -W 1 26.244.154.197 2025-10-13 16:54:15,460 - DEBUG - PING 26.244.154.197 (26.244.154.197): 56 data bytes 64 bytes from 26.244.154.197: seq=0 ttl=63 time=4.264 ms 64 bytes from 26.244.154.197: seq=1 ttl=63 time=0.951 ms 64 bytes from 26.244.154.197: seq=2 ttl=63 time=0.905 ms --- 26.244.154.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.905/2.040/4.264 ms 2025-10-13 16:54:15,461 - INFO - Ping to IP 26.244.154.197 from VM ctest-vn1-vm2-16765966 passed 2025-10-13 16:54:15,461 - INFO - Detaching port 519207ea-3272-4dcf-9c42-5fe63022c4fe from VM ctest-vn1-vm2-16765966 2025-10-13 16:54:15,524 - INFO - Deleting VM ctest-vn1-vm2-16765966 2025-10-13 16:54:15,611 - INFO - Detaching port 9f125b2d-ec19-45d0-a1bd-2771783abd6a from VM ctest-vn1-vm1-81792472 2025-10-13 16:54:15,656 - INFO - Deleting VM ctest-vn1-vm1-81792472 2025-10-13 16:54:15,942 - DEBUG - Response for delete_port : () 2025-10-13 16:54:16,201 - DEBUG - Response for delete_port : () 2025-10-13 16:54:16,201 - INFO - Deleting VN ctest-vn1-50003907 2025-10-13 16:54:16,345 - DEBUG - Response for deleting network () 2025-10-13 16:54:16,600 - DEBUG - No XMPP flaps were noticed during the test 2025-10-13 16:54:16,601 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26] 2025-10-13 16:54:16,601 - INFO - -------------------------------------------------------------------------------- 2025-10-13 16:54:17,283 - INFO - Deleted project: ctest-TestPorts-45573640, ID : 066a9597-019d-4115-bb38-639944b3cd11