2025-12-19 17:06:37,709 - INFO - Domain Default found not creating 2025-12-19 17:06:37,931 - INFO - Project ctest-TestPorts-06805573 not found, creating it 2025-12-19 17:06:38,501 - INFO - Created Project:ctest-TestPorts-06805573, ID : db9bdb27-1899-40e5-a730-be7259e4e577 2025-12-19 17:06:40,512 - INFO - ================================================================================ 2025-12-19 17:06:40,512 - INFO - STARTING TEST : test_ports_bindings 2025-12-19 17:06:40,512 - 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-19 17:06:40,777 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-12-19 17:06:40,777 - INFO - Initial checks done. Running the testcase now 2025-12-19 17:06:40,777 - INFO - 2025-12-19 17:06:41,436 - DEBUG - Response for create_network : {'network': {'id': '40b11e3a-136f-4da1-98f0-4522ef30a1c0', 'name': 'ctest-vn-24499094', 'tenant_id': 'db9bdb27189940e5a730be7259e4e577', 'project_id': 'db9bdb27189940e5a730be7259e4e577', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-06805573', 'ctest-vn-24499094'], 'port_security_enabled': True, 'description': ''}} 2025-12-19 17:06:41,696 - DEBUG - Response for create_subnet : {'subnet': {'id': '087a4dff-6544-486f-9264-052fbcaf1e36', 'name': '', 'tenant_id': 'db9bdb27189940e5a730be7259e4e577', 'network_id': '40b11e3a-136f-4da1-98f0-4522ef30a1c0', 'ip_version': 4, 'cidr': '221.182.184.0/26', 'allocation_pools': [{'start': '221.182.184.2', 'end': '221.182.184.62'}], 'gateway_ip': '221.182.184.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.182.184.2', 'tags': [], 'project_id': 'db9bdb27189940e5a730be7259e4e577'}} 2025-12-19 17:06:41,715 - INFO - Created VN ctest-vn-24499094 2025-12-19 17:06:41,767 - DEBUG - VN ctest-vn-24499094 UUID is 40b11e3a-136f-4da1-98f0-4522ef30a1c0 2025-12-19 17:06:41,883 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-06805573', 'ctest-vmi-41923332']} 2025-12-19 17:06:42,145 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-41923332', 'id': '61bdce8f-4f43-4b2a-aa4c-725e466a974b', 'tenant_id': 'db9bdb27189940e5a730be7259e4e577', 'network_id': '40b11e3a-136f-4da1-98f0-4522ef30a1c0', 'mac_address': '02:61:bd:ce:8f:4f', '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': '221.182.184.3', 'subnet_id': '087a4dff-6544-486f-9264-052fbcaf1e36'}], 'security_groups': ['128d641f-124e-4a3a-a1f6-846fcda89374'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'db9bdb27189940e5a730be7259e4e577'}} 2025-12-19 17:06:42,145 - DEBUG - Created port 61bdce8f-4f43-4b2a-aa4c-725e466a974b 2025-12-19 17:06:42,255 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/61bdce8f-4f43-4b2a-aa4c-725e466a974b 2025-12-19 17:06:42,599 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/61bdce8f-4f43-4b2a-aa4c-725e466a974b 2025-12-19 17:06:42,961 - INFO - VMI 61bdce8f-4f43-4b2a-aa4c-725e466a974b verification in API Server passed 2025-12-19 17:06:43,093 - DEBUG - Response for delete_port : () 2025-12-19 17:06:43,094 - INFO - Deleted port 61bdce8f-4f43-4b2a-aa4c-725e466a974b 2025-12-19 17:06:43,094 - INFO - Deleting VN ctest-vn-24499094 2025-12-19 17:06:43,235 - DEBUG - Response for deleting network () 2025-12-19 17:06:43,512 - DEBUG - No XMPP flaps were noticed during the test 2025-12-19 17:06:43,512 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-12-19 17:06:43,513 - INFO - -------------------------------------------------------------------------------- 2025-12-19 17:06:43,515 - INFO - ================================================================================ 2025-12-19 17:06:43,515 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-19 17:06:43,515 - 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-19 17:06:43,818 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-12-19 17:06:43,818 - INFO - Initial checks done. Running the testcase now 2025-12-19 17:06:43,818 - INFO - 2025-12-19 17:06:44,052 - DEBUG - Response for create_network : {'network': {'id': 'dea03178-917b-4a0a-bfe0-4940cc1cb34a', 'name': 'ctest-vn1-41131533', 'tenant_id': 'db9bdb27189940e5a730be7259e4e577', 'project_id': 'db9bdb27189940e5a730be7259e4e577', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-06805573', 'ctest-vn1-41131533'], 'port_security_enabled': True, 'description': ''}} 2025-12-19 17:06:44,308 - DEBUG - Response for create_subnet : {'subnet': {'id': '36cf5b4b-7429-4427-ba50-90191ef35072', 'name': '', 'tenant_id': 'db9bdb27189940e5a730be7259e4e577', 'network_id': 'dea03178-917b-4a0a-bfe0-4940cc1cb34a', 'ip_version': 4, 'cidr': '186.37.82.0/26', 'allocation_pools': [{'start': '186.37.82.2', 'end': '186.37.82.62'}], 'gateway_ip': '186.37.82.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.37.82.2', 'tags': [], 'project_id': 'db9bdb27189940e5a730be7259e4e577'}} 2025-12-19 17:06:44,473 - DEBUG - Response for create_subnet : {'subnet': {'id': '861a4ff4-5a40-48ab-bb2d-6bf739eac61a', 'name': '', 'tenant_id': 'db9bdb27189940e5a730be7259e4e577', 'network_id': 'dea03178-917b-4a0a-bfe0-4940cc1cb34a', 'ip_version': 4, 'cidr': '145.143.167.192/26', 'allocation_pools': [{'start': '145.143.167.194', 'end': '145.143.167.254'}], 'gateway_ip': '145.143.167.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.143.167.194', 'tags': [], 'project_id': 'db9bdb27189940e5a730be7259e4e577'}} 2025-12-19 17:06:44,503 - INFO - Created VN ctest-vn1-41131533 2025-12-19 17:06:44,559 - DEBUG - VN ctest-vn1-41131533 UUID is dea03178-917b-4a0a-bfe0-4940cc1cb34a 2025-12-19 17:06:44,911 - DEBUG - Response for create_port : {'port': {'name': '6ce92f59-b86f-4e7d-8dc6-d84733abf4e3', 'id': '6ce92f59-b86f-4e7d-8dc6-d84733abf4e3', 'tenant_id': 'db9bdb27189940e5a730be7259e4e577', 'network_id': 'dea03178-917b-4a0a-bfe0-4940cc1cb34a', 'mac_address': '02:6c:e9:2f:59:b8', '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': '186.37.82.5', 'subnet_id': '36cf5b4b-7429-4427-ba50-90191ef35072'}], 'security_groups': ['128d641f-124e-4a3a-a1f6-846fcda89374'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'db9bdb27189940e5a730be7259e4e577'}} 2025-12-19 17:06:45,092 - DEBUG - Response for create_port : {'port': {'name': '6f589648-36ea-47ed-9cd0-542a2fdf3590', 'id': '6f589648-36ea-47ed-9cd0-542a2fdf3590', 'tenant_id': 'db9bdb27189940e5a730be7259e4e577', 'network_id': 'dea03178-917b-4a0a-bfe0-4940cc1cb34a', 'mac_address': '02:6f:58:96:48:36', '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': '145.143.167.197', 'subnet_id': '861a4ff4-5a40-48ab-bb2d-6bf739eac61a'}], 'security_groups': ['128d641f-124e-4a3a-a1f6-846fcda89374'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'db9bdb27189940e5a730be7259e4e577'}} 2025-12-19 17:06:45,162 - DEBUG - Services list from nova: [, , ] 2025-12-19 17:06:45,515 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4911-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4911-1) 2025-12-19 17:06:45,939 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4911-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4911-1) 2025-12-19 17:06:45,939 - INFO - Waiting for VM ctest-vn1-vm1-60580571 to be up.. 2025-12-19 17:06:45,988 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-19 17:06:51,067 - DEBUG - VM is in ACTIVE state now 2025-12-19 17:06:51,068 - INFO - VM name : ctest-vn1-vm1-60580571 2025-12-19 17:06:51,148 - DEBUG - VM ctest-vn1-vm1-60580571 ID is 59e43c1a-ee72-423c-b579-631b84acf85d 2025-12-19 17:06:51,167 - DEBUG - VM ctest-vn1-vm1-60580571 launched on Node cn-jenkins-deploy-platform-ansible-os-4911-1 2025-12-19 17:06:51,244 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/59e43c1a-ee72-423c-b579-631b84acf85d 2025-12-19 17:06:51,252 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6ce92f59-b86f-4e7d-8dc6-d84733abf4e3 2025-12-19 17:06:54,522 - 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 1035ms') 2025-12-19 17:06:54,523 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-60580571 failed! 2025-12-19 17:06:54,579 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-06805573:ctest-vn1-41131533 is 186.37.82.1 and allocation pool is NOT set 2025-12-19 17:06:54,579 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-06805573:ctest-vn1-41131533 is 145.143.167.193 and allocation pool is NOT set 2025-12-19 17:06:58,653 - 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=11.6 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 = 11.579/11.579/11.579/0.000 ms') 2025-12-19 17:06:58,653 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-60580571 passed 2025-12-19 17:06:58,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:06:58,807 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-60580571, IP 186.37.82.5, Port 22 2025-12-19 17:06:58,873 - 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-19 17:06:58,960 - DEBUG - VM ctest-vn1-vm1-60580571 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-19 17:07:03,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:07:03,961 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-60580571, IP 186.37.82.5, Port 22 2025-12-19 17:07:04,118 - DEBUG - VM ctest-vn1-vm1-60580571 is ready for SSH connections 2025-12-19 17:07:04,119 - INFO - Waiting for VM ctest-vn1-vm2-74363787 to be up.. 2025-12-19 17:07:04,197 - DEBUG - VM is in ACTIVE state now 2025-12-19 17:07:04,197 - INFO - VM name : ctest-vn1-vm2-74363787 2025-12-19 17:07:04,279 - DEBUG - VM ctest-vn1-vm2-74363787 ID is 21782783-6038-4f9f-bedc-b412fa220091 2025-12-19 17:07:04,279 - DEBUG - VM ctest-vn1-vm2-74363787 launched on Node cn-jenkins-deploy-platform-ansible-os-4911-1 2025-12-19 17:07:04,360 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/21782783-6038-4f9f-bedc-b412fa220091 2025-12-19 17:07:04,368 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6f589648-36ea-47ed-9cd0-542a2fdf3590 2025-12-19 17:07:05,608 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.425 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.425/1.849/3.274/1.424 ms') 2025-12-19 17:07:05,608 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-74363787 passed 2025-12-19 17:07:05,755 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:07:05,755 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-74363787, IP 145.143.167.197, Port 22 2025-12-19 17:07:05,910 - DEBUG - VM ctest-vn1-vm2-74363787 is ready for SSH connections 2025-12-19 17:07:05,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:07:05,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:07:05,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:07:05,910 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.37.82.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-12-19 17:07:05,910 - DEBUG - ping -s 56 -c 3 -W 1 186.37.82.5 2025-12-19 17:07:08,624 - DEBUG - PING 186.37.82.5 (186.37.82.5): 56 data bytes 64 bytes from 186.37.82.5: seq=0 ttl=63 time=4.129 ms 64 bytes from 186.37.82.5: seq=1 ttl=63 time=1.265 ms 64 bytes from 186.37.82.5: seq=2 ttl=63 time=0.966 ms --- 186.37.82.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.966/2.120/4.129 ms 2025-12-19 17:07:08,624 - INFO - Ping to IP 186.37.82.5 from VM ctest-vn1-vm2-74363787 passed 2025-12-19 17:07:08,624 - INFO - Detaching port 6f589648-36ea-47ed-9cd0-542a2fdf3590 from VM ctest-vn1-vm2-74363787 2025-12-19 17:07:08,677 - INFO - Deleting VM ctest-vn1-vm2-74363787 2025-12-19 17:07:08,765 - INFO - Detaching port 6ce92f59-b86f-4e7d-8dc6-d84733abf4e3 from VM ctest-vn1-vm1-60580571 2025-12-19 17:07:08,809 - INFO - Deleting VM ctest-vn1-vm1-60580571 2025-12-19 17:07:09,083 - DEBUG - Response for delete_port : () 2025-12-19 17:07:09,249 - DEBUG - Response for delete_port : () 2025-12-19 17:07:09,249 - INFO - Deleting VN ctest-vn1-41131533 2025-12-19 17:07:09,366 - DEBUG - Response for deleting network () 2025-12-19 17:07:09,633 - DEBUG - No XMPP flaps were noticed during the test 2025-12-19 17:07:09,633 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26] 2025-12-19 17:07:09,634 - INFO - -------------------------------------------------------------------------------- 2025-12-19 17:07:10,398 - INFO - Deleted project: ctest-TestPorts-06805573, ID : db9bdb27-1899-40e5-a730-be7259e4e577