2025-10-15 16:02:06,995 - INFO - Domain Default found not creating 2025-10-15 16:02:07,139 - INFO - Project ctest-TestPorts-18368093 not found, creating it 2025-10-15 16:02:07,699 - INFO - Created Project:ctest-TestPorts-18368093, ID : 68d4764e-9a24-481c-8719-ced9818340c9 2025-10-15 16:02:09,102 - INFO - ================================================================================ 2025-10-15 16:02:09,102 - INFO - STARTING TEST : test_ports_bindings 2025-10-15 16:02:09,102 - 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-15 16:02:10,413 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.5': '0', '10.20.0.18': '0'}, '10.0.0.33': {'10.20.0.18': '0', '10.20.0.252': '0'}} with 2025-10-15 16:02:10,413 - INFO - Initial checks done. Running the testcase now 2025-10-15 16:02:10,413 - INFO - 2025-10-15 16:02:11,088 - DEBUG - Response for create_network : {'network': {'id': 'd1d4cddd-297b-40e2-8d7d-5d99aecc4245', 'name': 'ctest-vn-62211856', 'tenant_id': '68d4764e9a24481c8719ced9818340c9', 'project_id': '68d4764e9a24481c8719ced9818340c9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-18368093', 'ctest-vn-62211856'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 16:02:11,307 - DEBUG - Response for create_subnet : {'subnet': {'id': '60b15a94-40f6-4ed6-bfc1-4adc974697a3', 'name': '', 'tenant_id': '68d4764e9a24481c8719ced9818340c9', 'network_id': 'd1d4cddd-297b-40e2-8d7d-5d99aecc4245', 'ip_version': 4, 'cidr': '83.94.122.128/26', 'allocation_pools': [{'start': '83.94.122.130', 'end': '83.94.122.190'}], 'gateway_ip': '83.94.122.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.94.122.130', 'tags': [], 'project_id': '68d4764e9a24481c8719ced9818340c9'}} 2025-10-15 16:02:11,331 - INFO - Created VN ctest-vn-62211856 2025-10-15 16:02:11,350 - DEBUG - VN ctest-vn-62211856 UUID is d1d4cddd-297b-40e2-8d7d-5d99aecc4245 2025-10-15 16:02:11,422 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-18368093', 'ctest-vmi-90846818']} 2025-10-15 16:02:11,763 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-90846818', 'id': '67454318-99a8-4aa1-927f-20c7618f6f85', 'tenant_id': '68d4764e9a24481c8719ced9818340c9', 'network_id': 'd1d4cddd-297b-40e2-8d7d-5d99aecc4245', 'mac_address': '02:67:45:43:18:99', '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': '83.94.122.131', 'subnet_id': '60b15a94-40f6-4ed6-bfc1-4adc974697a3'}], 'security_groups': ['511875b1-a2ea-44f5-b3df-e3b7113c461d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '68d4764e9a24481c8719ced9818340c9'}} 2025-10-15 16:02:11,763 - DEBUG - Created port 67454318-99a8-4aa1-927f-20c7618f6f85 2025-10-15 16:02:11,838 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/67454318-99a8-4aa1-927f-20c7618f6f85 2025-10-15 16:02:12,135 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/67454318-99a8-4aa1-927f-20c7618f6f85 2025-10-15 16:02:12,171 - INFO - VMI 67454318-99a8-4aa1-927f-20c7618f6f85 verification in API Server passed 2025-10-15 16:02:12,321 - DEBUG - Response for delete_port : () 2025-10-15 16:02:12,321 - INFO - Deleted port 67454318-99a8-4aa1-927f-20c7618f6f85 2025-10-15 16:02:12,321 - INFO - Deleting VN ctest-vn-62211856 2025-10-15 16:02:12,478 - DEBUG - Response for deleting network () 2025-10-15 16:02:13,765 - DEBUG - No XMPP flaps were noticed during the test 2025-10-15 16:02:13,765 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04] 2025-10-15 16:02:13,766 - INFO - -------------------------------------------------------------------------------- 2025-10-15 16:02:13,768 - INFO - ================================================================================ 2025-10-15 16:02:13,768 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-15 16:02:13,768 - 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-15 16:02:15,076 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.5': '0', '10.20.0.18': '0'}, '10.0.0.33': {'10.20.0.18': '0', '10.20.0.252': '0'}} with 2025-10-15 16:02:15,076 - INFO - Initial checks done. Running the testcase now 2025-10-15 16:02:15,076 - INFO - 2025-10-15 16:02:15,330 - DEBUG - Response for create_network : {'network': {'id': 'edc4ecdc-59be-4a68-9d03-2cfa60c7feb0', 'name': 'ctest-vn1-68832604', 'tenant_id': '68d4764e9a24481c8719ced9818340c9', 'project_id': '68d4764e9a24481c8719ced9818340c9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-18368093', 'ctest-vn1-68832604'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 16:02:15,523 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aee9cc1f-ce9c-41f9-842e-a0796fcc2171', 'name': '', 'tenant_id': '68d4764e9a24481c8719ced9818340c9', 'network_id': 'edc4ecdc-59be-4a68-9d03-2cfa60c7feb0', 'ip_version': 4, 'cidr': '73.70.155.128/26', 'allocation_pools': [{'start': '73.70.155.130', 'end': '73.70.155.190'}], 'gateway_ip': '73.70.155.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.70.155.130', 'tags': [], 'project_id': '68d4764e9a24481c8719ced9818340c9'}} 2025-10-15 16:02:15,727 - DEBUG - Response for create_subnet : {'subnet': {'id': '08c5b969-8e72-4535-9451-cb6369ec9df2', 'name': '', 'tenant_id': '68d4764e9a24481c8719ced9818340c9', 'network_id': 'edc4ecdc-59be-4a68-9d03-2cfa60c7feb0', 'ip_version': 4, 'cidr': '198.195.110.0/26', 'allocation_pools': [{'start': '198.195.110.2', 'end': '198.195.110.62'}], 'gateway_ip': '198.195.110.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.195.110.2', 'tags': [], 'project_id': '68d4764e9a24481c8719ced9818340c9'}} 2025-10-15 16:02:15,757 - INFO - Created VN ctest-vn1-68832604 2025-10-15 16:02:15,772 - DEBUG - VN ctest-vn1-68832604 UUID is edc4ecdc-59be-4a68-9d03-2cfa60c7feb0 2025-10-15 16:02:16,106 - DEBUG - Response for create_port : {'port': {'name': 'd75e75ef-a4de-4482-82ab-0b3a22a2f298', 'id': 'd75e75ef-a4de-4482-82ab-0b3a22a2f298', 'tenant_id': '68d4764e9a24481c8719ced9818340c9', 'network_id': 'edc4ecdc-59be-4a68-9d03-2cfa60c7feb0', 'mac_address': '02:d7:5e:75:ef:a4', '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': '73.70.155.133', 'subnet_id': 'aee9cc1f-ce9c-41f9-842e-a0796fcc2171'}], 'security_groups': ['511875b1-a2ea-44f5-b3df-e3b7113c461d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '68d4764e9a24481c8719ced9818340c9'}} 2025-10-15 16:02:16,395 - DEBUG - Response for create_port : {'port': {'name': 'd1b17164-abbf-43c5-b1b0-137e42514cc4', 'id': 'd1b17164-abbf-43c5-b1b0-137e42514cc4', 'tenant_id': '68d4764e9a24481c8719ced9818340c9', 'network_id': 'edc4ecdc-59be-4a68-9d03-2cfa60c7feb0', 'mac_address': '02:d1:b1:71:64:ab', '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': '198.195.110.5', 'subnet_id': '08c5b969-8e72-4535-9451-cb6369ec9df2'}], 'security_groups': ['511875b1-a2ea-44f5-b3df-e3b7113c461d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '68d4764e9a24481c8719ced9818340c9'}} 2025-10-15 16:02:16,453 - DEBUG - Services list from nova: [, , , ] 2025-10-15 16:02:17,012 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4330-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4330-1) 2025-10-15 16:02:17,505 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4330-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4330-2) 2025-10-15 16:02:17,506 - INFO - Waiting for VM ctest-vn1-vm1-22684762 to be up.. 2025-10-15 16:02:17,553 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-15 16:02:22,645 - DEBUG - VM is in ACTIVE state now 2025-10-15 16:02:22,645 - INFO - VM name : ctest-vn1-vm1-22684762 2025-10-15 16:02:22,739 - DEBUG - VM ctest-vn1-vm1-22684762 ID is cbf2bbd8-8168-4be2-b5bf-6663eb9eb66b 2025-10-15 16:02:22,772 - DEBUG - VM ctest-vn1-vm1-22684762 launched on Node an-jenkins-deploy-platform-ansible-os-4330-1 2025-10-15 16:02:22,888 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/cbf2bbd8-8168-4be2-b5bf-6663eb9eb66b 2025-10-15 16:02:23,182 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/cbf2bbd8-8168-4be2-b5bf-6663eb9eb66b 2025-10-15 16:02:23,219 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/d75e75ef-a4de-4482-82ab-0b3a22a2f298 2025-10-15 16:02:26,380 - 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 1003ms') 2025-10-15 16:02:26,380 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22684762 failed! 2025-10-15 16:02:26,395 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-18368093:ctest-vn1-68832604 is 73.70.155.129 and allocation pool is NOT set 2025-10-15 16:02:26,395 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-18368093:ctest-vn1-68832604 is 198.195.110.1 and allocation pool is NOT set 2025-10-15 16:02:28,460 - 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=9.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.95 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 = 2.952/6.144/9.336/3.192 ms') 2025-10-15 16:02:28,460 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22684762 passed 2025-10-15 16:02:28,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 16:02:28,536 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-22684762, IP 73.70.155.133, Port 22 2025-10-15 16:02:28,603 - 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-15 16:02:28,697 - DEBUG - VM ctest-vn1-vm1-22684762 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-15 16:02:33,698 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 16:02:33,698 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-22684762, IP 73.70.155.133, Port 22 2025-10-15 16:02:33,871 - DEBUG - VM ctest-vn1-vm1-22684762 is ready for SSH connections 2025-10-15 16:02:33,871 - INFO - Waiting for VM ctest-vn1-vm2-33976150 to be up.. 2025-10-15 16:02:33,958 - DEBUG - VM is in ACTIVE state now 2025-10-15 16:02:33,958 - INFO - VM name : ctest-vn1-vm2-33976150 2025-10-15 16:02:34,046 - DEBUG - VM ctest-vn1-vm2-33976150 ID is 8dc2504a-d24d-4d31-8fc9-75361a2434ea 2025-10-15 16:02:34,046 - DEBUG - VM ctest-vn1-vm2-33976150 launched on Node an-jenkins-deploy-platform-ansible-os-4330-2 2025-10-15 16:02:34,129 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/8dc2504a-d24d-4d31-8fc9-75361a2434ea 2025-10-15 16:02:34,141 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/d1b17164-abbf-43c5-b1b0-137e42514cc4 2025-10-15 16:02:35,300 - 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=2.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.390 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.390/1.668/2.947/1.278 ms') 2025-10-15 16:02:35,300 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-33976150 passed 2025-10-15 16:02:35,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 16:02:35,374 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-33976150, IP 198.195.110.5, Port 22 2025-10-15 16:02:35,543 - DEBUG - VM ctest-vn1-vm2-33976150 is ready for SSH connections 2025-10-15 16:02:35,543 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 16:02:35,543 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 16:02:35,543 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 16:02:35,544 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.70.155.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-15 16:02:35,544 - DEBUG - ping -s 56 -c 3 -W 1 73.70.155.133 2025-10-15 16:02:38,495 - DEBUG - PING 73.70.155.133 (73.70.155.133): 56 data bytes 64 bytes from 73.70.155.133: seq=0 ttl=63 time=6.073 ms 64 bytes from 73.70.155.133: seq=1 ttl=63 time=1.134 ms 64 bytes from 73.70.155.133: seq=2 ttl=63 time=1.486 ms --- 73.70.155.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.134/2.897/6.073 ms 2025-10-15 16:02:38,496 - INFO - Ping to IP 73.70.155.133 from VM ctest-vn1-vm2-33976150 passed 2025-10-15 16:02:38,496 - INFO - Detaching port d1b17164-abbf-43c5-b1b0-137e42514cc4 from VM ctest-vn1-vm2-33976150 2025-10-15 16:02:38,556 - INFO - Deleting VM ctest-vn1-vm2-33976150 2025-10-15 16:02:38,636 - INFO - Detaching port d75e75ef-a4de-4482-82ab-0b3a22a2f298 from VM ctest-vn1-vm1-22684762 2025-10-15 16:02:38,675 - INFO - Deleting VM ctest-vn1-vm1-22684762 2025-10-15 16:02:39,009 - DEBUG - Response for delete_port : () 2025-10-15 16:02:39,288 - DEBUG - Response for delete_port : () 2025-10-15 16:02:39,288 - INFO - Deleting VN ctest-vn1-68832604 2025-10-15 16:02:39,469 - DEBUG - Response for deleting network () 2025-10-15 16:02:40,776 - DEBUG - No XMPP flaps were noticed during the test 2025-10-15 16:02:40,776 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27] 2025-10-15 16:02:40,776 - INFO - -------------------------------------------------------------------------------- 2025-10-15 16:02:41,469 - INFO - Deleted project: ctest-TestPorts-18368093, ID : 68d4764e-9a24-481c-8719-ced9818340c9