2025-09-04 02:21:40,669 - INFO - Domain Default found not creating 2025-09-04 02:21:40,817 - INFO - Project ctest-TestPorts-86598491 not found, creating it 2025-09-04 02:21:41,371 - INFO - Created Project:ctest-TestPorts-86598491, ID : e74377b8-ea6a-4827-9989-2e312b84808f 2025-09-04 02:21:42,856 - INFO - ================================================================================ 2025-09-04 02:21:42,856 - INFO - STARTING TEST : test_ports_bindings 2025-09-04 02:21:42,856 - 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-09-04 02:21:44,118 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.25': '0', '10.20.0.254': '0'}, '10.0.0.242': {'10.20.0.25': '0', '10.20.0.254': '0'}} with 2025-09-04 02:21:44,118 - INFO - Initial checks done. Running the testcase now 2025-09-04 02:21:44,118 - INFO - 2025-09-04 02:21:44,790 - DEBUG - Response for create_network : {'network': {'id': '9bbb2386-baf0-45b0-a456-fcbb9d57e165', 'name': 'ctest-vn-54911665', 'tenant_id': 'e74377b8ea6a482799892e312b84808f', 'project_id': 'e74377b8ea6a482799892e312b84808f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86598491', 'ctest-vn-54911665'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 02:21:45,038 - DEBUG - Response for create_subnet : {'subnet': {'id': '79971866-20fd-4b23-be78-c345f56b3f25', 'name': '', 'tenant_id': 'e74377b8ea6a482799892e312b84808f', 'network_id': '9bbb2386-baf0-45b0-a456-fcbb9d57e165', 'ip_version': 4, 'cidr': '188.13.42.64/26', 'allocation_pools': [{'start': '188.13.42.66', 'end': '188.13.42.126'}], 'gateway_ip': '188.13.42.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.13.42.66', 'tags': [], 'project_id': 'e74377b8ea6a482799892e312b84808f'}} 2025-09-04 02:21:45,059 - INFO - Created VN ctest-vn-54911665 2025-09-04 02:21:45,071 - DEBUG - VN ctest-vn-54911665 UUID is 9bbb2386-baf0-45b0-a456-fcbb9d57e165 2025-09-04 02:21:45,155 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-86598491', 'ctest-vmi-16193540']} 2025-09-04 02:21:45,427 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-16193540', 'id': '4fb034e3-98d0-4794-849a-cf11b6c78c45', 'tenant_id': 'e74377b8ea6a482799892e312b84808f', 'network_id': '9bbb2386-baf0-45b0-a456-fcbb9d57e165', 'mac_address': '02:4f:b0:34:e3:98', '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': '188.13.42.67', 'subnet_id': '79971866-20fd-4b23-be78-c345f56b3f25'}], 'security_groups': ['3848778e-62d1-44a3-bf77-fe11e66e4784'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e74377b8ea6a482799892e312b84808f'}} 2025-09-04 02:21:45,427 - DEBUG - Created port 4fb034e3-98d0-4794-849a-cf11b6c78c45 2025-09-04 02:21:45,500 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/4fb034e3-98d0-4794-849a-cf11b6c78c45 2025-09-04 02:21:45,801 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/4fb034e3-98d0-4794-849a-cf11b6c78c45 2025-09-04 02:21:45,836 - INFO - VMI 4fb034e3-98d0-4794-849a-cf11b6c78c45 verification in API Server passed 2025-09-04 02:21:45,984 - DEBUG - Response for delete_port : () 2025-09-04 02:21:45,984 - INFO - Deleted port 4fb034e3-98d0-4794-849a-cf11b6c78c45 2025-09-04 02:21:45,985 - INFO - Deleting VN ctest-vn-54911665 2025-09-04 02:21:46,158 - DEBUG - Response for deleting network () 2025-09-04 02:21:47,423 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 02:21:47,423 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2025-09-04 02:21:47,423 - INFO - -------------------------------------------------------------------------------- 2025-09-04 02:21:47,427 - INFO - ================================================================================ 2025-09-04 02:21:47,427 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-04 02:21:47,428 - 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-09-04 02:21:48,706 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.25': '0', '10.20.0.254': '0'}, '10.0.0.242': {'10.20.0.25': '0', '10.20.0.254': '0'}} with 2025-09-04 02:21:48,706 - INFO - Initial checks done. Running the testcase now 2025-09-04 02:21:48,706 - INFO - 2025-09-04 02:21:48,952 - DEBUG - Response for create_network : {'network': {'id': 'c80ee3f0-bc36-426f-b97d-e278b44ac591', 'name': 'ctest-vn1-92525151', 'tenant_id': 'e74377b8ea6a482799892e312b84808f', 'project_id': 'e74377b8ea6a482799892e312b84808f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86598491', 'ctest-vn1-92525151'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 02:21:49,212 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e5ee8b0-d6a8-4d12-a078-d16ae5686abe', 'name': '', 'tenant_id': 'e74377b8ea6a482799892e312b84808f', 'network_id': 'c80ee3f0-bc36-426f-b97d-e278b44ac591', 'ip_version': 4, 'cidr': '89.63.131.128/26', 'allocation_pools': [{'start': '89.63.131.130', 'end': '89.63.131.190'}], 'gateway_ip': '89.63.131.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.63.131.130', 'tags': [], 'project_id': 'e74377b8ea6a482799892e312b84808f'}} 2025-09-04 02:21:49,474 - DEBUG - Response for create_subnet : {'subnet': {'id': '2692a4cf-1746-4e9a-a630-7c65eb650dba', 'name': '', 'tenant_id': 'e74377b8ea6a482799892e312b84808f', 'network_id': 'c80ee3f0-bc36-426f-b97d-e278b44ac591', 'ip_version': 4, 'cidr': '90.100.200.128/26', 'allocation_pools': [{'start': '90.100.200.130', 'end': '90.100.200.190'}], 'gateway_ip': '90.100.200.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.100.200.130', 'tags': [], 'project_id': 'e74377b8ea6a482799892e312b84808f'}} 2025-09-04 02:21:49,501 - INFO - Created VN ctest-vn1-92525151 2025-09-04 02:21:49,515 - DEBUG - VN ctest-vn1-92525151 UUID is c80ee3f0-bc36-426f-b97d-e278b44ac591 2025-09-04 02:21:49,869 - DEBUG - Response for create_port : {'port': {'name': 'ded50645-7042-4a35-8d25-ded1a9597c38', 'id': 'ded50645-7042-4a35-8d25-ded1a9597c38', 'tenant_id': 'e74377b8ea6a482799892e312b84808f', 'network_id': 'c80ee3f0-bc36-426f-b97d-e278b44ac591', 'mac_address': '02:de:d5:06:45:70', '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': '89.63.131.133', 'subnet_id': '8e5ee8b0-d6a8-4d12-a078-d16ae5686abe'}], 'security_groups': ['3848778e-62d1-44a3-bf77-fe11e66e4784'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e74377b8ea6a482799892e312b84808f'}} 2025-09-04 02:21:50,160 - DEBUG - Response for create_port : {'port': {'name': 'fa6b9bc5-21e7-4def-88f2-6fb16e0d292f', 'id': 'fa6b9bc5-21e7-4def-88f2-6fb16e0d292f', 'tenant_id': 'e74377b8ea6a482799892e312b84808f', 'network_id': 'c80ee3f0-bc36-426f-b97d-e278b44ac591', 'mac_address': '02:fa:6b:9b:c5:21', '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': '90.100.200.133', 'subnet_id': '2692a4cf-1746-4e9a-a630-7c65eb650dba'}], 'security_groups': ['3848778e-62d1-44a3-bf77-fe11e66e4784'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e74377b8ea6a482799892e312b84808f'}} 2025-09-04 02:21:50,233 - DEBUG - Services list from nova: [, , , ] 2025-09-04 02:21:50,746 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4012-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4012-1) 2025-09-04 02:21:51,255 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4012-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4012-2) 2025-09-04 02:21:51,255 - INFO - Waiting for VM ctest-vn1-vm1-28475123 to be up.. 2025-09-04 02:21:51,302 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 02:21:56,384 - DEBUG - VM is in ACTIVE state now 2025-09-04 02:21:56,384 - INFO - VM name : ctest-vn1-vm1-28475123 2025-09-04 02:21:56,470 - DEBUG - VM ctest-vn1-vm1-28475123 ID is 95f9d6bf-18c4-4e30-abf6-7609b965eb3d 2025-09-04 02:21:56,617 - DEBUG - VM ctest-vn1-vm1-28475123 launched on Node an-jenkins-deploy-platform-ansible-os-4012-1 2025-09-04 02:21:56,710 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/95f9d6bf-18c4-4e30-abf6-7609b965eb3d 2025-09-04 02:21:57,017 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/95f9d6bf-18c4-4e30-abf6-7609b965eb3d 2025-09-04 02:21:57,051 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/ded50645-7042-4a35-8d25-ded1a9597c38 2025-09-04 02:22:00,232 - 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 1017ms') 2025-09-04 02:22:00,232 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28475123 failed! 2025-09-04 02:22:00,249 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86598491:ctest-vn1-92525151 is 89.63.131.129 and allocation pool is NOT set 2025-09-04 02:22:00,249 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86598491:ctest-vn1-92525151 is 90.100.200.129 and allocation pool is NOT set 2025-09-04 02:22:02,310 - 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.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.486 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.486/2.419/4.353/1.933 ms') 2025-09-04 02:22:02,310 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28475123 passed 2025-09-04 02:22:02,378 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:22:02,378 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-28475123, IP 89.63.131.133, Port 22 2025-09-04 02:22:02,550 - DEBUG - VM ctest-vn1-vm1-28475123 is ready for SSH connections 2025-09-04 02:22:02,551 - INFO - Waiting for VM ctest-vn1-vm2-57808425 to be up.. 2025-09-04 02:22:02,638 - DEBUG - VM is in ACTIVE state now 2025-09-04 02:22:02,638 - INFO - VM name : ctest-vn1-vm2-57808425 2025-09-04 02:22:02,737 - DEBUG - VM ctest-vn1-vm2-57808425 ID is b5b7eb7a-9e15-4c63-b2ea-4209879a8a56 2025-09-04 02:22:02,737 - DEBUG - VM ctest-vn1-vm2-57808425 launched on Node an-jenkins-deploy-platform-ansible-os-4012-2 2025-09-04 02:22:02,816 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/b5b7eb7a-9e15-4c63-b2ea-4209879a8a56 2025-09-04 02:22:02,827 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/fa6b9bc5-21e7-4def-88f2-6fb16e0d292f 2025-09-04 02:22:03,985 - 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.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.515 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.515/2.436/4.357/1.921 ms') 2025-09-04 02:22:03,985 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-57808425 passed 2025-09-04 02:22:04,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:22:04,054 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-57808425, IP 90.100.200.133, Port 22 2025-09-04 02:22:04,209 - DEBUG - VM ctest-vn1-vm2-57808425 is ready for SSH connections 2025-09-04 02:22:04,210 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:22:04,210 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:22:04,210 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:22:04,210 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.63.131.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-09-04 02:22:04,210 - DEBUG - ping -s 56 -c 3 -W 1 89.63.131.133 2025-09-04 02:22:07,204 - DEBUG - PING 89.63.131.133 (89.63.131.133): 56 data bytes 64 bytes from 89.63.131.133: seq=0 ttl=63 time=5.716 ms 64 bytes from 89.63.131.133: seq=1 ttl=63 time=1.304 ms 64 bytes from 89.63.131.133: seq=2 ttl=63 time=1.769 ms --- 89.63.131.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.304/2.929/5.716 ms 2025-09-04 02:22:07,205 - INFO - Ping to IP 89.63.131.133 from VM ctest-vn1-vm2-57808425 passed 2025-09-04 02:22:07,205 - INFO - Detaching port fa6b9bc5-21e7-4def-88f2-6fb16e0d292f from VM ctest-vn1-vm2-57808425 2025-09-04 02:22:07,303 - INFO - Deleting VM ctest-vn1-vm2-57808425 2025-09-04 02:22:07,417 - INFO - Detaching port ded50645-7042-4a35-8d25-ded1a9597c38 from VM ctest-vn1-vm1-28475123 2025-09-04 02:22:07,477 - INFO - Deleting VM ctest-vn1-vm1-28475123 2025-09-04 02:22:07,787 - DEBUG - Response for delete_port : () 2025-09-04 02:22:08,110 - DEBUG - Response for delete_port : () 2025-09-04 02:22:08,110 - INFO - Deleting VN ctest-vn1-92525151 2025-09-04 02:22:08,334 - DEBUG - Response for deleting network () 2025-09-04 02:22:09,669 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 02:22:09,669 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22]
2025-09-04 02:22:09,669 - INFO - -------------------------------------------------------------------------------- 2025-09-04 02:22:10,408 - INFO - Deleted project: ctest-TestPorts-86598491, ID : e74377b8-ea6a-4827-9989-2e312b84808f