2025-09-29 02:03:31,575 - INFO - Domain Default found not creating 2025-09-29 02:03:31,745 - INFO - Project ctest-TestPorts-94002250 not found, creating it 2025-09-29 02:03:32,338 - INFO - Created Project:ctest-TestPorts-94002250, ID : a3992512-5c78-4fe8-8521-8bdf7bf7b180 2025-09-29 02:03:33,870 - INFO - ================================================================================ 2025-09-29 02:03:33,870 - INFO - STARTING TEST : test_ports_bindings 2025-09-29 02:03:33,870 - 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-29 02:03:35,220 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.129': '0', '10.20.0.17': '0'}, '10.0.0.131': {'10.20.0.129': '0', '10.20.0.17': '0'}} with 2025-09-29 02:03:35,220 - INFO - Initial checks done. Running the testcase now 2025-09-29 02:03:35,220 - INFO - 2025-09-29 02:03:35,949 - DEBUG - Response for create_network : {'network': {'id': '16da21ac-a075-4b89-8d1d-5d13e4225822', 'name': 'ctest-vn-47070772', 'tenant_id': 'a39925125c784fe885218bdf7bf7b180', 'project_id': 'a39925125c784fe885218bdf7bf7b180', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94002250', 'ctest-vn-47070772'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 02:03:36,259 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fa6c82d-b852-4203-b888-2cc51a4204e6', 'name': '', 'tenant_id': 'a39925125c784fe885218bdf7bf7b180', 'network_id': '16da21ac-a075-4b89-8d1d-5d13e4225822', 'ip_version': 4, 'cidr': '41.110.221.128/26', 'allocation_pools': [{'start': '41.110.221.130', 'end': '41.110.221.190'}], 'gateway_ip': '41.110.221.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.110.221.130', 'tags': [], 'project_id': 'a39925125c784fe885218bdf7bf7b180'}} 2025-09-29 02:03:36,280 - INFO - Created VN ctest-vn-47070772 2025-09-29 02:03:36,296 - DEBUG - VN ctest-vn-47070772 UUID is 16da21ac-a075-4b89-8d1d-5d13e4225822 2025-09-29 02:03:36,369 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-94002250', 'ctest-vmi-97876162']} 2025-09-29 02:03:36,810 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-97876162', 'id': '14fad885-2b1c-459d-9716-6a09db016d26', 'tenant_id': 'a39925125c784fe885218bdf7bf7b180', 'network_id': '16da21ac-a075-4b89-8d1d-5d13e4225822', 'mac_address': '02:14:fa:d8:85:2b', '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': '41.110.221.131', 'subnet_id': '4fa6c82d-b852-4203-b888-2cc51a4204e6'}], 'security_groups': ['cc6496c3-db8d-4d54-9fd5-78cbc70c4232'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a39925125c784fe885218bdf7bf7b180'}} 2025-09-29 02:03:36,810 - DEBUG - Created port 14fad885-2b1c-459d-9716-6a09db016d26 2025-09-29 02:03:36,896 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/14fad885-2b1c-459d-9716-6a09db016d26 2025-09-29 02:03:37,189 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/14fad885-2b1c-459d-9716-6a09db016d26 2025-09-29 02:03:37,230 - INFO - VMI 14fad885-2b1c-459d-9716-6a09db016d26 verification in API Server passed 2025-09-29 02:03:37,376 - DEBUG - Response for delete_port : () 2025-09-29 02:03:37,376 - INFO - Deleted port 14fad885-2b1c-459d-9716-6a09db016d26 2025-09-29 02:03:37,376 - INFO - Deleting VN ctest-vn-47070772 2025-09-29 02:03:37,574 - DEBUG - Response for deleting network () 2025-09-29 02:03:38,902 - DEBUG - No XMPP flaps were noticed during the test 2025-09-29 02:03:38,903 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05] 2025-09-29 02:03:38,903 - INFO - -------------------------------------------------------------------------------- 2025-09-29 02:03:38,907 - INFO - ================================================================================ 2025-09-29 02:03:38,907 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-29 02:03:38,907 - 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-29 02:03:40,218 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.129': '0', '10.20.0.17': '0'}, '10.0.0.131': {'10.20.0.129': '0', '10.20.0.17': '0'}} with 2025-09-29 02:03:40,218 - INFO - Initial checks done. Running the testcase now 2025-09-29 02:03:40,218 - INFO - 2025-09-29 02:03:40,577 - DEBUG - Response for create_network : {'network': {'id': '52f7ff4b-db30-4433-b28a-ed1079f92dde', 'name': 'ctest-vn1-60197644', 'tenant_id': 'a39925125c784fe885218bdf7bf7b180', 'project_id': 'a39925125c784fe885218bdf7bf7b180', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94002250', 'ctest-vn1-60197644'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 02:03:40,891 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d10b2de-b69b-4c58-b606-8f99deb03f4c', 'name': '', 'tenant_id': 'a39925125c784fe885218bdf7bf7b180', 'network_id': '52f7ff4b-db30-4433-b28a-ed1079f92dde', 'ip_version': 4, 'cidr': '12.244.210.0/26', 'allocation_pools': [{'start': '12.244.210.2', 'end': '12.244.210.62'}], 'gateway_ip': '12.244.210.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.244.210.2', 'tags': [], 'project_id': 'a39925125c784fe885218bdf7bf7b180'}} 2025-09-29 02:03:41,092 - DEBUG - Response for create_subnet : {'subnet': {'id': '4f6ff44a-bddc-4564-9184-8bff29ac0eb3', 'name': '', 'tenant_id': 'a39925125c784fe885218bdf7bf7b180', 'network_id': '52f7ff4b-db30-4433-b28a-ed1079f92dde', 'ip_version': 4, 'cidr': '102.213.47.64/26', 'allocation_pools': [{'start': '102.213.47.66', 'end': '102.213.47.126'}], 'gateway_ip': '102.213.47.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.213.47.66', 'tags': [], 'project_id': 'a39925125c784fe885218bdf7bf7b180'}} 2025-09-29 02:03:41,117 - INFO - Created VN ctest-vn1-60197644 2025-09-29 02:03:41,128 - DEBUG - VN ctest-vn1-60197644 UUID is 52f7ff4b-db30-4433-b28a-ed1079f92dde 2025-09-29 02:03:41,507 - DEBUG - Response for create_port : {'port': {'name': 'c67a8d1d-f71b-4f12-98f9-b9e41663d701', 'id': 'c67a8d1d-f71b-4f12-98f9-b9e41663d701', 'tenant_id': 'a39925125c784fe885218bdf7bf7b180', 'network_id': '52f7ff4b-db30-4433-b28a-ed1079f92dde', 'mac_address': '02:c6:7a:8d:1d:f7', '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': '12.244.210.5', 'subnet_id': '4d10b2de-b69b-4c58-b606-8f99deb03f4c'}], 'security_groups': ['cc6496c3-db8d-4d54-9fd5-78cbc70c4232'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a39925125c784fe885218bdf7bf7b180'}} 2025-09-29 02:03:41,782 - DEBUG - Response for create_port : {'port': {'name': '0a2d6bf6-92c3-4734-b0ff-3597d9374b98', 'id': '0a2d6bf6-92c3-4734-b0ff-3597d9374b98', 'tenant_id': 'a39925125c784fe885218bdf7bf7b180', 'network_id': '52f7ff4b-db30-4433-b28a-ed1079f92dde', 'mac_address': '02:0a:2d:6b:f6:92', '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': '102.213.47.69', 'subnet_id': '4f6ff44a-bddc-4564-9184-8bff29ac0eb3'}], 'security_groups': ['cc6496c3-db8d-4d54-9fd5-78cbc70c4232'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a39925125c784fe885218bdf7bf7b180'}} 2025-09-29 02:03:41,847 - DEBUG - Services list from nova: [, , , ] 2025-09-29 02:03:42,357 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4203-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4203-2) 2025-09-29 02:03:42,886 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4203-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4203-1) 2025-09-29 02:03:42,886 - INFO - Waiting for VM ctest-vn1-vm1-23950891 to be up.. 2025-09-29 02:03:42,934 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-29 02:03:48,021 - DEBUG - VM is in ACTIVE state now 2025-09-29 02:03:48,021 - INFO - VM name : ctest-vn1-vm1-23950891 2025-09-29 02:03:48,107 - DEBUG - VM ctest-vn1-vm1-23950891 ID is 3851bb9a-ce8c-4806-bb20-c21540f3dc3b 2025-09-29 02:03:48,138 - DEBUG - VM ctest-vn1-vm1-23950891 launched on Node an-jenkins-deploy-platform-ansible-os-4203-2 2025-09-29 02:03:48,235 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/3851bb9a-ce8c-4806-bb20-c21540f3dc3b 2025-09-29 02:03:48,529 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/3851bb9a-ce8c-4806-bb20-c21540f3dc3b 2025-09-29 02:03:48,566 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/c67a8d1d-f71b-4f12-98f9-b9e41663d701 2025-09-29 02:03:51,746 - 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 1011ms') 2025-09-29 02:03:51,746 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23950891 failed! 2025-09-29 02:03:51,772 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94002250:ctest-vn1-60197644 is 12.244.210.1 and allocation pool is NOT set 2025-09-29 02:03:51,772 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94002250:ctest-vn1-60197644 is 102.213.47.65 and allocation pool is NOT set 2025-09-29 02:03:53,836 - 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.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.575 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.575/4.961/9.348/4.386 ms') 2025-09-29 02:03:53,836 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23950891 passed 2025-09-29 02:03:53,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 02:03:53,931 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-23950891, IP 12.244.210.5, Port 22 2025-09-29 02:03:54,088 - DEBUG - VM ctest-vn1-vm1-23950891 is ready for SSH connections 2025-09-29 02:03:54,088 - INFO - Waiting for VM ctest-vn1-vm2-62082613 to be up.. 2025-09-29 02:03:54,187 - DEBUG - VM is in ACTIVE state now 2025-09-29 02:03:54,187 - INFO - VM name : ctest-vn1-vm2-62082613 2025-09-29 02:03:54,310 - DEBUG - VM ctest-vn1-vm2-62082613 ID is 13638bd4-c9f3-4125-949c-2a85595cc037 2025-09-29 02:03:54,310 - DEBUG - VM ctest-vn1-vm2-62082613 launched on Node an-jenkins-deploy-platform-ansible-os-4203-1 2025-09-29 02:03:54,435 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/13638bd4-c9f3-4125-949c-2a85595cc037 2025-09-29 02:03:54,452 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/0a2d6bf6-92c3-4734-b0ff-3597d9374b98 2025-09-29 02:03:55,666 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.608 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.608/1.657/2.706/1.049 ms') 2025-09-29 02:03:55,666 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-62082613 passed 2025-09-29 02:03:55,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 02:03:55,765 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-62082613, IP 102.213.47.69, Port 22 2025-09-29 02:03:55,922 - DEBUG - VM ctest-vn1-vm2-62082613 is ready for SSH connections 2025-09-29 02:03:55,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 02:03:55,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 02:03:55,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 02:03:55,922 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.244.210.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-09-29 02:03:55,922 - DEBUG - ping -s 56 -c 3 -W 1 12.244.210.5 2025-09-29 02:03:58,845 - DEBUG - PING 12.244.210.5 (12.244.210.5): 56 data bytes 64 bytes from 12.244.210.5: seq=0 ttl=63 time=5.829 ms 64 bytes from 12.244.210.5: seq=1 ttl=63 time=1.289 ms 64 bytes from 12.244.210.5: seq=2 ttl=63 time=1.349 ms --- 12.244.210.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.289/2.822/5.829 ms 2025-09-29 02:03:58,845 - INFO - Ping to IP 12.244.210.5 from VM ctest-vn1-vm2-62082613 passed 2025-09-29 02:03:58,845 - INFO - Detaching port 0a2d6bf6-92c3-4734-b0ff-3597d9374b98 from VM ctest-vn1-vm2-62082613 2025-09-29 02:03:58,990 - INFO - Deleting VM ctest-vn1-vm2-62082613 2025-09-29 02:03:59,063 - INFO - Detaching port c67a8d1d-f71b-4f12-98f9-b9e41663d701 from VM ctest-vn1-vm1-23950891 2025-09-29 02:03:59,093 - INFO - Deleting VM ctest-vn1-vm1-23950891 2025-09-29 02:03:59,465 - DEBUG - Response for delete_port : () 2025-09-29 02:03:59,727 - DEBUG - Response for delete_port : () 2025-09-29 02:03:59,727 - INFO - Deleting VN ctest-vn1-60197644 2025-09-29 02:03:59,936 - DEBUG - Response for deleting network () 2025-09-29 02:04:01,287 - DEBUG - No XMPP flaps were noticed during the test 2025-09-29 02:04:01,288 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2025-09-29 02:04:01,288 - INFO - -------------------------------------------------------------------------------- 2025-09-29 02:04:02,160 - INFO - Deleted project: ctest-TestPorts-94002250, ID : a3992512-5c78-4fe8-8521-8bdf7bf7b180