2025-08-13 14:51:13,358 - INFO - Domain Default found not creating 2025-08-13 14:51:13,497 - INFO - Project ctest-TestPorts-82423751 not found, creating it 2025-08-13 14:51:13,958 - INFO - Created Project:ctest-TestPorts-82423751, ID : ea890d1a-9e37-48b6-899f-6deb178fcc5c 2025-08-13 14:51:15,479 - INFO - ================================================================================ 2025-08-13 14:51:15,480 - INFO - STARTING TEST : test_ports_bindings 2025-08-13 14:51:15,480 - 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-08-13 14:51:15,605 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-08-13 14:51:15,606 - INFO - Initial checks done. Running the testcase now 2025-08-13 14:51:15,606 - INFO - 2025-08-13 14:51:16,162 - DEBUG - Response for create_network : {'network': {'id': '74f374f6-a3da-4d3c-952b-91e422e349c7', 'name': 'ctest-vn-58656374', 'tenant_id': 'ea890d1a9e3748b6899f6deb178fcc5c', 'project_id': 'ea890d1a9e3748b6899f6deb178fcc5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-82423751', 'ctest-vn-58656374'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 14:51:16,329 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a070f5a3-4aa2-45e6-9837-a699937b98b1', 'name': '', 'tenant_id': 'ea890d1a9e3748b6899f6deb178fcc5c', 'network_id': '74f374f6-a3da-4d3c-952b-91e422e349c7', 'ip_version': 4, 'cidr': '161.89.24.64/26', 'allocation_pools': [{'start': '161.89.24.66', 'end': '161.89.24.126'}], 'gateway_ip': '161.89.24.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.89.24.66', 'tags': [], 'project_id': 'ea890d1a9e3748b6899f6deb178fcc5c'}} 2025-08-13 14:51:16,348 - INFO - Created VN ctest-vn-58656374 2025-08-13 14:51:16,402 - DEBUG - VN ctest-vn-58656374 UUID is 74f374f6-a3da-4d3c-952b-91e422e349c7 2025-08-13 14:51:16,512 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-82423751', 'ctest-vmi-85406500']} 2025-08-13 14:51:16,753 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-85406500', 'id': 'b6394000-e5ba-48d3-80fd-2fe33412f6c8', 'tenant_id': 'ea890d1a9e3748b6899f6deb178fcc5c', 'network_id': '74f374f6-a3da-4d3c-952b-91e422e349c7', 'mac_address': '02:b6:39:40:00:e5', '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': '161.89.24.67', 'subnet_id': 'a070f5a3-4aa2-45e6-9837-a699937b98b1'}], 'security_groups': ['0e9cd872-16fe-4316-a625-b2bbe34070fa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ea890d1a9e3748b6899f6deb178fcc5c'}} 2025-08-13 14:51:16,753 - DEBUG - Created port b6394000-e5ba-48d3-80fd-2fe33412f6c8 2025-08-13 14:51:16,858 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/b6394000-e5ba-48d3-80fd-2fe33412f6c8 2025-08-13 14:51:17,150 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/b6394000-e5ba-48d3-80fd-2fe33412f6c8 2025-08-13 14:51:17,181 - INFO - VMI b6394000-e5ba-48d3-80fd-2fe33412f6c8 verification in API Server passed 2025-08-13 14:51:17,269 - DEBUG - Response for delete_port : () 2025-08-13 14:51:17,269 - INFO - Deleted port b6394000-e5ba-48d3-80fd-2fe33412f6c8 2025-08-13 14:51:17,270 - INFO - Deleting VN ctest-vn-58656374 2025-08-13 14:51:17,370 - DEBUG - Response for deleting network () 2025-08-13 14:51:17,501 - DEBUG - No XMPP flaps were noticed during the test 2025-08-13 14:51:17,501 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-13 14:51:17,501 - INFO - -------------------------------------------------------------------------------- 2025-08-13 14:51:17,504 - INFO - ================================================================================ 2025-08-13 14:51:17,504 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-13 14:51:17,504 - 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-08-13 14:51:17,663 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-08-13 14:51:17,663 - INFO - Initial checks done. Running the testcase now 2025-08-13 14:51:17,663 - INFO - 2025-08-13 14:51:17,917 - DEBUG - Response for create_network : {'network': {'id': '5f667814-eb35-4e20-999f-907f988fb969', 'name': 'ctest-vn1-69766019', 'tenant_id': 'ea890d1a9e3748b6899f6deb178fcc5c', 'project_id': 'ea890d1a9e3748b6899f6deb178fcc5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-82423751', 'ctest-vn1-69766019'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 14:51:18,123 - DEBUG - Response for create_subnet : {'subnet': {'id': '38024b28-c878-4722-88b9-92148f9f8c5a', 'name': '', 'tenant_id': 'ea890d1a9e3748b6899f6deb178fcc5c', 'network_id': '5f667814-eb35-4e20-999f-907f988fb969', 'ip_version': 4, 'cidr': '6.7.211.64/26', 'allocation_pools': [{'start': '6.7.211.66', 'end': '6.7.211.126'}], 'gateway_ip': '6.7.211.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.7.211.66', 'tags': [], 'project_id': 'ea890d1a9e3748b6899f6deb178fcc5c'}} 2025-08-13 14:51:18,297 - DEBUG - Response for create_subnet : {'subnet': {'id': '876d6df2-4250-4ad3-ad5e-231f4e424ea4', 'name': '', 'tenant_id': 'ea890d1a9e3748b6899f6deb178fcc5c', 'network_id': '5f667814-eb35-4e20-999f-907f988fb969', 'ip_version': 4, 'cidr': '193.151.76.128/26', 'allocation_pools': [{'start': '193.151.76.130', 'end': '193.151.76.190'}], 'gateway_ip': '193.151.76.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.151.76.130', 'tags': [], 'project_id': 'ea890d1a9e3748b6899f6deb178fcc5c'}} 2025-08-13 14:51:18,317 - INFO - Created VN ctest-vn1-69766019 2025-08-13 14:51:18,370 - DEBUG - VN ctest-vn1-69766019 UUID is 5f667814-eb35-4e20-999f-907f988fb969 2025-08-13 14:51:18,689 - DEBUG - Response for create_port : {'port': {'name': '85928f72-6020-451b-b123-419304f21d18', 'id': '85928f72-6020-451b-b123-419304f21d18', 'tenant_id': 'ea890d1a9e3748b6899f6deb178fcc5c', 'network_id': '5f667814-eb35-4e20-999f-907f988fb969', 'mac_address': '02:85:92:8f:72:60', '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': '6.7.211.69', 'subnet_id': '38024b28-c878-4722-88b9-92148f9f8c5a'}], 'security_groups': ['0e9cd872-16fe-4316-a625-b2bbe34070fa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ea890d1a9e3748b6899f6deb178fcc5c'}} 2025-08-13 14:51:18,878 - DEBUG - Response for create_port : {'port': {'name': 'aea07e6f-3160-4ace-bcd0-a032d557d414', 'id': 'aea07e6f-3160-4ace-bcd0-a032d557d414', 'tenant_id': 'ea890d1a9e3748b6899f6deb178fcc5c', 'network_id': '5f667814-eb35-4e20-999f-907f988fb969', 'mac_address': '02:ae:a0:7e:6f: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': '193.151.76.133', 'subnet_id': '876d6df2-4250-4ad3-ad5e-231f4e424ea4'}], 'security_groups': ['0e9cd872-16fe-4316-a625-b2bbe34070fa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ea890d1a9e3748b6899f6deb178fcc5c'}} 2025-08-13 14:51:18,935 - DEBUG - Services list from nova: [, , ] 2025-08-13 14:51:19,254 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3839-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3839-1) 2025-08-13 14:51:19,643 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3839-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3839-1) 2025-08-13 14:51:19,643 - INFO - Waiting for VM ctest-vn1-vm1-32914796 to be up.. 2025-08-13 14:51:19,688 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-13 14:51:24,770 - DEBUG - VM is in ACTIVE state now 2025-08-13 14:51:24,770 - INFO - VM name : ctest-vn1-vm1-32914796 2025-08-13 14:51:24,845 - DEBUG - VM ctest-vn1-vm1-32914796 ID is a4854e02-4ce4-44c6-a006-9edeb539eecf 2025-08-13 14:51:24,865 - DEBUG - VM ctest-vn1-vm1-32914796 launched on Node cn-jenkins-deploy-platform-ansible-os-3839-1 2025-08-13 14:51:24,949 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/a4854e02-4ce4-44c6-a006-9edeb539eecf 2025-08-13 14:51:24,958 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/85928f72-6020-451b-b123-419304f21d18 2025-08-13 14:51:28,172 - 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 1007ms') 2025-08-13 14:51:28,173 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-32914796 failed! 2025-08-13 14:51:28,230 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-82423751:ctest-vn1-69766019 is 6.7.211.65 and allocation pool is NOT set 2025-08-13 14:51:28,230 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-82423751:ctest-vn1-69766019 is 193.151.76.129 and allocation pool is NOT set 2025-08-13 14:51:30,252 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.402 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.402/5.026/9.650/4.624 ms') 2025-08-13 14:51:30,252 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-32914796 passed 2025-08-13 14:51:30,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 14:51:30,407 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-32914796, IP 6.7.211.69, Port 22 2025-08-13 14:51:30,432 - 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-08-13 14:51:30,515 - DEBUG - VM ctest-vn1-vm1-32914796 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-13 14:51:35,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 14:51:35,516 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-32914796, IP 6.7.211.69, Port 22 2025-08-13 14:51:35,587 - DEBUG - VM ctest-vn1-vm1-32914796 is ready for SSH connections 2025-08-13 14:51:35,587 - INFO - Waiting for VM ctest-vn1-vm2-11746514 to be up.. 2025-08-13 14:51:35,659 - DEBUG - VM is in ACTIVE state now 2025-08-13 14:51:35,659 - INFO - VM name : ctest-vn1-vm2-11746514 2025-08-13 14:51:35,732 - DEBUG - VM ctest-vn1-vm2-11746514 ID is b6b00585-2f06-4043-8b36-5eb697fdf495 2025-08-13 14:51:35,732 - DEBUG - VM ctest-vn1-vm2-11746514 launched on Node cn-jenkins-deploy-platform-ansible-os-3839-1 2025-08-13 14:51:35,805 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/b6b00585-2f06-4043-8b36-5eb697fdf495 2025-08-13 14:51:35,814 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/aea07e6f-3160-4ace-bcd0-a032d557d414 2025-08-13 14:51:37,025 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.445 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.445/1.584/2.723/1.139 ms') 2025-08-13 14:51:37,025 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-11746514 passed 2025-08-13 14:51:37,178 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 14:51:37,178 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-11746514, IP 193.151.76.133, Port 22 2025-08-13 14:51:37,250 - DEBUG - VM ctest-vn1-vm2-11746514 is ready for SSH connections 2025-08-13 14:51:37,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 14:51:37,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 14:51:37,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 14:51:37,251 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.7.211.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-13 14:51:37,251 - DEBUG - ping -s 56 -c 3 -W 1 6.7.211.69 2025-08-13 14:51:40,194 - DEBUG - PING 6.7.211.69 (6.7.211.69): 56 data bytes 64 bytes from 6.7.211.69: seq=0 ttl=63 time=3.495 ms 64 bytes from 6.7.211.69: seq=1 ttl=63 time=0.923 ms 64 bytes from 6.7.211.69: seq=2 ttl=63 time=0.742 ms --- 6.7.211.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.742/1.720/3.495 ms 2025-08-13 14:51:40,194 - INFO - Ping to IP 6.7.211.69 from VM ctest-vn1-vm2-11746514 passed 2025-08-13 14:51:40,195 - INFO - Detaching port aea07e6f-3160-4ace-bcd0-a032d557d414 from VM ctest-vn1-vm2-11746514 2025-08-13 14:51:40,239 - INFO - Deleting VM ctest-vn1-vm2-11746514 2025-08-13 14:51:40,304 - INFO - Detaching port 85928f72-6020-451b-b123-419304f21d18 from VM ctest-vn1-vm1-32914796 2025-08-13 14:51:40,338 - INFO - Deleting VM ctest-vn1-vm1-32914796 2025-08-13 14:51:40,600 - DEBUG - Response for delete_port : () 2025-08-13 14:51:40,764 - DEBUG - Response for delete_port : () 2025-08-13 14:51:40,765 - INFO - Deleting VN ctest-vn1-69766019 2025-08-13 14:51:40,880 - DEBUG - Response for deleting network () 2025-08-13 14:51:41,136 - DEBUG - No XMPP flaps were noticed during the test 2025-08-13 14:51:41,136 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-08-13 14:51:41,136 - INFO - -------------------------------------------------------------------------------- 2025-08-13 14:51:41,836 - INFO - Deleted project: ctest-TestPorts-82423751, ID : ea890d1a-9e37-48b6-899f-6deb178fcc5c