2025-10-14 11:23:39,880 - INFO - Domain Default found not creating 2025-10-14 11:23:40,122 - INFO - Project ctest-TestPorts-78607948 not found, creating it 2025-10-14 11:23:40,662 - INFO - Created Project:ctest-TestPorts-78607948, ID : 7a87f3bb-3c37-4f29-9907-4d2171cc4316 2025-10-14 11:23:42,160 - INFO - ================================================================================ 2025-10-14 11:23:42,161 - INFO - STARTING TEST : test_ports_bindings 2025-10-14 11:23:42,161 - 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-14 11:23:43,448 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0', '10.20.0.210': '0'}, '10.0.0.22': {'10.20.0.210': '0', '10.20.0.14': '0'}} with 2025-10-14 11:23:43,448 - INFO - Initial checks done. Running the testcase now 2025-10-14 11:23:43,448 - INFO - 2025-10-14 11:23:44,150 - DEBUG - Response for create_network : {'network': {'id': '3869ec38-9977-4036-aa1d-4929f29f87c8', 'name': 'ctest-vn-51810734', 'tenant_id': '7a87f3bb3c374f2999074d2171cc4316', 'project_id': '7a87f3bb3c374f2999074d2171cc4316', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-78607948', 'ctest-vn-51810734'], 'port_security_enabled': True, 'description': ''}} 2025-10-14 11:23:44,437 - DEBUG - Response for create_subnet : {'subnet': {'id': '25835c99-3d3a-4ed7-a576-8b6b95bfc2c2', 'name': '', 'tenant_id': '7a87f3bb3c374f2999074d2171cc4316', 'network_id': '3869ec38-9977-4036-aa1d-4929f29f87c8', 'ip_version': 4, 'cidr': '146.27.39.128/26', 'allocation_pools': [{'start': '146.27.39.130', 'end': '146.27.39.190'}], 'gateway_ip': '146.27.39.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.27.39.130', 'tags': [], 'project_id': '7a87f3bb3c374f2999074d2171cc4316'}} 2025-10-14 11:23:44,464 - INFO - Created VN ctest-vn-51810734 2025-10-14 11:23:44,479 - DEBUG - VN ctest-vn-51810734 UUID is 3869ec38-9977-4036-aa1d-4929f29f87c8 2025-10-14 11:23:44,574 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-78607948', 'ctest-vmi-78954255']} 2025-10-14 11:23:44,937 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-78954255', 'id': 'd6d4e8a7-fc71-4ff1-b789-31c20abcb33b', 'tenant_id': '7a87f3bb3c374f2999074d2171cc4316', 'network_id': '3869ec38-9977-4036-aa1d-4929f29f87c8', 'mac_address': '02:d6:d4:e8:a7:fc', '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': '146.27.39.131', 'subnet_id': '25835c99-3d3a-4ed7-a576-8b6b95bfc2c2'}], 'security_groups': ['ea5cf21b-db1e-4909-9119-7169f705a01c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7a87f3bb3c374f2999074d2171cc4316'}} 2025-10-14 11:23:44,937 - DEBUG - Created port d6d4e8a7-fc71-4ff1-b789-31c20abcb33b 2025-10-14 11:23:45,015 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d6d4e8a7-fc71-4ff1-b789-31c20abcb33b 2025-10-14 11:23:45,327 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d6d4e8a7-fc71-4ff1-b789-31c20abcb33b 2025-10-14 11:23:45,366 - INFO - VMI d6d4e8a7-fc71-4ff1-b789-31c20abcb33b verification in API Server passed 2025-10-14 11:23:45,545 - DEBUG - Response for delete_port : () 2025-10-14 11:23:45,545 - INFO - Deleted port d6d4e8a7-fc71-4ff1-b789-31c20abcb33b 2025-10-14 11:23:45,546 - INFO - Deleting VN ctest-vn-51810734 2025-10-14 11:23:45,745 - DEBUG - Response for deleting network () 2025-10-14 11:23:47,013 - DEBUG - No XMPP flaps were noticed during the test
2025-10-14 11:23:47,013 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2025-10-14 11:23:47,013 - INFO - -------------------------------------------------------------------------------- 2025-10-14 11:23:47,017 - INFO - ================================================================================ 2025-10-14 11:23:47,017 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-14 11:23:47,017 - 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-14 11:23:48,330 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0', '10.20.0.210': '0'}, '10.0.0.22': {'10.20.0.210': '0', '10.20.0.14': '0'}} with 2025-10-14 11:23:48,330 - INFO - Initial checks done. Running the testcase now 2025-10-14 11:23:48,330 - INFO - 2025-10-14 11:23:48,672 - DEBUG - Response for create_network : {'network': {'id': '0d23ed4c-5234-49ea-996e-b0f023de69aa', 'name': 'ctest-vn1-40756375', 'tenant_id': '7a87f3bb3c374f2999074d2171cc4316', 'project_id': '7a87f3bb3c374f2999074d2171cc4316', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-78607948', 'ctest-vn1-40756375'], 'port_security_enabled': True, 'description': ''}} 2025-10-14 11:23:48,991 - DEBUG - Response for create_subnet : {'subnet': {'id': '765240e5-1a1e-42d5-8cf8-0695fdc5250f', 'name': '', 'tenant_id': '7a87f3bb3c374f2999074d2171cc4316', 'network_id': '0d23ed4c-5234-49ea-996e-b0f023de69aa', 'ip_version': 4, 'cidr': '161.186.232.192/26', 'allocation_pools': [{'start': '161.186.232.194', 'end': '161.186.232.254'}], 'gateway_ip': '161.186.232.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.186.232.194', 'tags': [], 'project_id': '7a87f3bb3c374f2999074d2171cc4316'}} 2025-10-14 11:23:49,251 - DEBUG - Response for create_subnet : {'subnet': {'id': '61dfdacc-d8c5-4a03-91a9-a4efc3783c04', 'name': '', 'tenant_id': '7a87f3bb3c374f2999074d2171cc4316', 'network_id': '0d23ed4c-5234-49ea-996e-b0f023de69aa', 'ip_version': 4, 'cidr': '119.48.115.64/26', 'allocation_pools': [{'start': '119.48.115.66', 'end': '119.48.115.126'}], 'gateway_ip': '119.48.115.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.48.115.66', 'tags': [], 'project_id': '7a87f3bb3c374f2999074d2171cc4316'}} 2025-10-14 11:23:49,280 - INFO - Created VN ctest-vn1-40756375 2025-10-14 11:23:49,296 - DEBUG - VN ctest-vn1-40756375 UUID is 0d23ed4c-5234-49ea-996e-b0f023de69aa 2025-10-14 11:23:49,716 - DEBUG - Response for create_port : {'port': {'name': 'a1ca7802-d3c3-442b-bfb9-202b1b3cca2a', 'id': 'a1ca7802-d3c3-442b-bfb9-202b1b3cca2a', 'tenant_id': '7a87f3bb3c374f2999074d2171cc4316', 'network_id': '0d23ed4c-5234-49ea-996e-b0f023de69aa', 'mac_address': '02:a1:ca:78:02:d3', '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.186.232.197', 'subnet_id': '765240e5-1a1e-42d5-8cf8-0695fdc5250f'}], 'security_groups': ['ea5cf21b-db1e-4909-9119-7169f705a01c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7a87f3bb3c374f2999074d2171cc4316'}} 2025-10-14 11:23:50,067 - DEBUG - Response for create_port : {'port': {'name': '985fb3c4-d3d2-42d1-b08b-9f4f67a1405a', 'id': '985fb3c4-d3d2-42d1-b08b-9f4f67a1405a', 'tenant_id': '7a87f3bb3c374f2999074d2171cc4316', 'network_id': '0d23ed4c-5234-49ea-996e-b0f023de69aa', 'mac_address': '02:98:5f:b3:c4:d3', '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': '119.48.115.69', 'subnet_id': '61dfdacc-d8c5-4a03-91a9-a4efc3783c04'}], 'security_groups': ['ea5cf21b-db1e-4909-9119-7169f705a01c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7a87f3bb3c374f2999074d2171cc4316'}} 2025-10-14 11:23:50,136 - DEBUG - Services list from nova: [, , , ] 2025-10-14 11:23:50,702 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4312-30), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4312-30) 2025-10-14 11:23:51,309 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4312-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4312-1) 2025-10-14 11:23:51,309 - INFO - Waiting for VM ctest-vn1-vm1-21609207 to be up.. 2025-10-14 11:23:51,371 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-14 11:23:56,501 - DEBUG - VM is in ACTIVE state now 2025-10-14 11:23:56,501 - INFO - VM name : ctest-vn1-vm1-21609207 2025-10-14 11:23:56,608 - DEBUG - VM ctest-vn1-vm1-21609207 ID is df41f23f-b1e3-4394-8633-7af2484d0fe5 2025-10-14 11:23:56,644 - DEBUG - VM ctest-vn1-vm1-21609207 launched on Node an-jenkins-deploy-platform-ansible-os-4312-30 2025-10-14 11:23:56,747 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/df41f23f-b1e3-4394-8633-7af2484d0fe5 2025-10-14 11:23:57,063 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/df41f23f-b1e3-4394-8633-7af2484d0fe5 2025-10-14 11:23:57,108 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/a1ca7802-d3c3-442b-bfb9-202b1b3cca2a 2025-10-14 11:24:00,304 - 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-14 11:24:00,304 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-21609207 failed! 2025-10-14 11:24:00,323 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-78607948:ctest-vn1-40756375 is 161.186.232.193 and allocation pool is NOT set 2025-10-14 11:24:00,323 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-78607948:ctest-vn1-40756375 is 119.48.115.65 and allocation pool is NOT set 2025-10-14 11:24:02,387 - 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=4.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.874 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.874/2.672/4.471/1.798 ms') 2025-10-14 11:24:02,387 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-21609207 passed 2025-10-14 11:24:02,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 11:24:02,465 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-21609207, IP 161.186.232.197, Port 22 2025-10-14 11:24:02,630 - DEBUG - VM ctest-vn1-vm1-21609207 is ready for SSH connections 2025-10-14 11:24:02,630 - INFO - Waiting for VM ctest-vn1-vm2-89090727 to be up.. 2025-10-14 11:24:02,732 - DEBUG - VM is in ACTIVE state now 2025-10-14 11:24:02,733 - INFO - VM name : ctest-vn1-vm2-89090727 2025-10-14 11:24:02,826 - DEBUG - VM ctest-vn1-vm2-89090727 ID is c07b21a2-d019-46ae-8626-8ea1734aa281 2025-10-14 11:24:02,826 - DEBUG - VM ctest-vn1-vm2-89090727 launched on Node an-jenkins-deploy-platform-ansible-os-4312-1 2025-10-14 11:24:03,046 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/c07b21a2-d019-46ae-8626-8ea1734aa281 2025-10-14 11:24:03,067 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/985fb3c4-d3d2-42d1-b08b-9f4f67a1405a 2025-10-14 11:24:04,255 - 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=4.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.09 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 = 4.087/4.323/4.559/0.236 ms') 2025-10-14 11:24:04,256 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-89090727 passed 2025-10-14 11:24:04,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 11:24:04,330 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-89090727, IP 119.48.115.69, Port 22 2025-10-14 11:24:04,403 - 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-14 11:24:04,494 - DEBUG - VM ctest-vn1-vm2-89090727 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-14 11:24:09,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 11:24:09,495 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-89090727, IP 119.48.115.69, Port 22 2025-10-14 11:24:09,663 - DEBUG - VM ctest-vn1-vm2-89090727 is ready for SSH connections 2025-10-14 11:24:09,663 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 11:24:09,663 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 11:24:09,663 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 11:24:09,663 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.186.232.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-14 11:24:09,663 - DEBUG - ping -s 56 -c 3 -W 1 161.186.232.197 2025-10-14 11:24:12,755 - DEBUG - PING 161.186.232.197 (161.186.232.197): 56 data bytes 64 bytes from 161.186.232.197: seq=0 ttl=63 time=7.194 ms 64 bytes from 161.186.232.197: seq=1 ttl=63 time=1.163 ms 64 bytes from 161.186.232.197: seq=2 ttl=63 time=1.597 ms --- 161.186.232.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.163/3.318/7.194 ms 2025-10-14 11:24:12,755 - INFO - Ping to IP 161.186.232.197 from VM ctest-vn1-vm2-89090727 passed 2025-10-14 11:24:12,755 - INFO - Detaching port 985fb3c4-d3d2-42d1-b08b-9f4f67a1405a from VM ctest-vn1-vm2-89090727 2025-10-14 11:24:12,808 - INFO - Deleting VM ctest-vn1-vm2-89090727 2025-10-14 11:24:12,877 - INFO - Detaching port a1ca7802-d3c3-442b-bfb9-202b1b3cca2a from VM ctest-vn1-vm1-21609207 2025-10-14 11:24:12,908 - INFO - Deleting VM ctest-vn1-vm1-21609207 2025-10-14 11:24:13,257 - DEBUG - Response for delete_port : () 2025-10-14 11:24:13,563 - DEBUG - Response for delete_port : () 2025-10-14 11:24:13,563 - INFO - Deleting VN ctest-vn1-40756375 2025-10-14 11:24:13,787 - DEBUG - Response for deleting network () 2025-10-14 11:24:15,101 - DEBUG - No XMPP flaps were noticed during the test
2025-10-14 11:24:15,101 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:28]
2025-10-14 11:24:15,101 - INFO - -------------------------------------------------------------------------------- 2025-10-14 11:24:15,874 - INFO - Deleted project: ctest-TestPorts-78607948, ID : 7a87f3bb-3c37-4f29-9907-4d2171cc4316