2025-08-28 18:38:29,796 - INFO - Domain Default found not creating 2025-08-28 18:38:29,957 - INFO - Project ctest-TestPorts-32778876 not found, creating it 2025-08-28 18:38:30,427 - INFO - Created Project:ctest-TestPorts-32778876, ID : e06ea246-825b-443e-9349-bbd949509d74 2025-08-28 18:38:32,193 - INFO - ================================================================================ 2025-08-28 18:38:32,194 - INFO - STARTING TEST : test_ports_bindings 2025-08-28 18:38:32,194 - 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-28 18:38:32,450 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-28 18:38:32,450 - INFO - Initial checks done. Running the testcase now 2025-08-28 18:38:32,450 - INFO - 2025-08-28 18:38:33,041 - DEBUG - Response for create_network : {'network': {'id': '07eb1ed7-b96d-4a73-a595-25e0698b7d77', 'name': 'ctest-vn-72638101', 'tenant_id': 'e06ea246825b443e9349bbd949509d74', 'project_id': 'e06ea246825b443e9349bbd949509d74', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-32778876', 'ctest-vn-72638101'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 18:38:33,242 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd8b84798-f56e-42bb-971a-06c3236be5f2', 'name': '', 'tenant_id': 'e06ea246825b443e9349bbd949509d74', 'network_id': '07eb1ed7-b96d-4a73-a595-25e0698b7d77', 'ip_version': 4, 'cidr': '188.29.209.192/26', 'allocation_pools': [{'start': '188.29.209.194', 'end': '188.29.209.254'}], 'gateway_ip': '188.29.209.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.29.209.194', 'tags': [], 'project_id': 'e06ea246825b443e9349bbd949509d74'}} 2025-08-28 18:38:33,264 - INFO - Created VN ctest-vn-72638101 2025-08-28 18:38:33,317 - DEBUG - VN ctest-vn-72638101 UUID is 07eb1ed7-b96d-4a73-a595-25e0698b7d77 2025-08-28 18:38:33,431 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-32778876', 'ctest-vmi-42336548']} 2025-08-28 18:38:33,675 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-42336548', 'id': 'ca45e8e4-eb12-4e15-a2e2-846c49e6e241', 'tenant_id': 'e06ea246825b443e9349bbd949509d74', 'network_id': '07eb1ed7-b96d-4a73-a595-25e0698b7d77', 'mac_address': '02:ca:45:e8:e4:eb', '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.29.209.195', 'subnet_id': 'd8b84798-f56e-42bb-971a-06c3236be5f2'}], 'security_groups': ['5ec4d1e9-92ee-434f-90d4-732c57553c09'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e06ea246825b443e9349bbd949509d74'}} 2025-08-28 18:38:33,675 - DEBUG - Created port ca45e8e4-eb12-4e15-a2e2-846c49e6e241 2025-08-28 18:38:33,781 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ca45e8e4-eb12-4e15-a2e2-846c49e6e241 2025-08-28 18:38:34,080 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ca45e8e4-eb12-4e15-a2e2-846c49e6e241 2025-08-28 18:38:34,113 - INFO - VMI ca45e8e4-eb12-4e15-a2e2-846c49e6e241 verification in API Server passed 2025-08-28 18:38:34,199 - DEBUG - Response for delete_port : () 2025-08-28 18:38:34,199 - INFO - Deleted port ca45e8e4-eb12-4e15-a2e2-846c49e6e241 2025-08-28 18:38:34,200 - INFO - Deleting VN ctest-vn-72638101 2025-08-28 18:38:34,307 - DEBUG - Response for deleting network () 2025-08-28 18:38:34,572 - DEBUG - No XMPP flaps were noticed during the test 2025-08-28 18:38:34,572 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-28 18:38:34,572 - INFO - -------------------------------------------------------------------------------- 2025-08-28 18:38:34,575 - INFO - ================================================================================ 2025-08-28 18:38:34,575 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-28 18:38:34,575 - 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-28 18:38:34,858 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-28 18:38:34,859 - INFO - Initial checks done. Running the testcase now 2025-08-28 18:38:34,859 - INFO - 2025-08-28 18:38:35,066 - DEBUG - Response for create_network : {'network': {'id': 'b0adc6ed-626c-4791-ab6a-548ed4a1c77a', 'name': 'ctest-vn1-97556166', 'tenant_id': 'e06ea246825b443e9349bbd949509d74', 'project_id': 'e06ea246825b443e9349bbd949509d74', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-32778876', 'ctest-vn1-97556166'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 18:38:35,226 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e8552ed-bdfe-4be7-b9a7-d024ec300007', 'name': '', 'tenant_id': 'e06ea246825b443e9349bbd949509d74', 'network_id': 'b0adc6ed-626c-4791-ab6a-548ed4a1c77a', 'ip_version': 4, 'cidr': '122.19.95.64/26', 'allocation_pools': [{'start': '122.19.95.66', 'end': '122.19.95.126'}], 'gateway_ip': '122.19.95.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.19.95.66', 'tags': [], 'project_id': 'e06ea246825b443e9349bbd949509d74'}} 2025-08-28 18:38:35,412 - DEBUG - Response for create_subnet : {'subnet': {'id': '56737a5f-a35a-4c69-864f-354da0364f2f', 'name': '', 'tenant_id': 'e06ea246825b443e9349bbd949509d74', 'network_id': 'b0adc6ed-626c-4791-ab6a-548ed4a1c77a', 'ip_version': 4, 'cidr': '183.12.239.64/26', 'allocation_pools': [{'start': '183.12.239.66', 'end': '183.12.239.126'}], 'gateway_ip': '183.12.239.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.12.239.66', 'tags': [], 'project_id': 'e06ea246825b443e9349bbd949509d74'}} 2025-08-28 18:38:35,432 - INFO - Created VN ctest-vn1-97556166 2025-08-28 18:38:35,485 - DEBUG - VN ctest-vn1-97556166 UUID is b0adc6ed-626c-4791-ab6a-548ed4a1c77a 2025-08-28 18:38:35,791 - DEBUG - Response for create_port : {'port': {'name': '25cdd714-70d9-4c94-9641-7895070f8b2a', 'id': '25cdd714-70d9-4c94-9641-7895070f8b2a', 'tenant_id': 'e06ea246825b443e9349bbd949509d74', 'network_id': 'b0adc6ed-626c-4791-ab6a-548ed4a1c77a', 'mac_address': '02:25:cd:d7:14: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': '122.19.95.69', 'subnet_id': '2e8552ed-bdfe-4be7-b9a7-d024ec300007'}], 'security_groups': ['5ec4d1e9-92ee-434f-90d4-732c57553c09'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e06ea246825b443e9349bbd949509d74'}} 2025-08-28 18:38:35,961 - DEBUG - Response for create_port : {'port': {'name': '18f43443-b8cf-4d1d-9e66-748e8ba742ec', 'id': '18f43443-b8cf-4d1d-9e66-748e8ba742ec', 'tenant_id': 'e06ea246825b443e9349bbd949509d74', 'network_id': 'b0adc6ed-626c-4791-ab6a-548ed4a1c77a', 'mac_address': '02:18:f4:34:43: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': '183.12.239.69', 'subnet_id': '56737a5f-a35a-4c69-864f-354da0364f2f'}], 'security_groups': ['5ec4d1e9-92ee-434f-90d4-732c57553c09'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e06ea246825b443e9349bbd949509d74'}} 2025-08-28 18:38:36,019 - DEBUG - Services list from nova: [, , ] 2025-08-28 18:38:36,364 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3965-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3965-1) 2025-08-28 18:38:36,783 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3965-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3965-1) 2025-08-28 18:38:36,783 - INFO - Waiting for VM ctest-vn1-vm1-14644413 to be up.. 2025-08-28 18:38:36,826 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 18:38:41,920 - DEBUG - VM is in ACTIVE state now 2025-08-28 18:38:41,920 - INFO - VM name : ctest-vn1-vm1-14644413 2025-08-28 18:38:41,998 - DEBUG - VM ctest-vn1-vm1-14644413 ID is 9dedacc4-6c9b-44fc-8009-9744f2090459 2025-08-28 18:38:42,018 - DEBUG - VM ctest-vn1-vm1-14644413 launched on Node cn-jenkins-deploy-platform-ansible-os-3965-1 2025-08-28 18:38:42,107 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9dedacc4-6c9b-44fc-8009-9744f2090459 2025-08-28 18:38:42,116 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/25cdd714-70d9-4c94-9641-7895070f8b2a 2025-08-28 18:38:45,360 - 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 1002ms') 2025-08-28 18:38:45,360 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-14644413 failed! 2025-08-28 18:38:45,417 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-32778876:ctest-vn1-97556166 is 122.19.95.65 and allocation pool is NOT set 2025-08-28 18:38:45,417 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-32778876:ctest-vn1-97556166 is 183.12.239.65 and allocation pool is NOT set 2025-08-28 18:38:49,488 - 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=7.34 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 7.344/7.344/7.344/0.000 ms') 2025-08-28 18:38:49,488 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-14644413 passed 2025-08-28 18:38:49,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 18:38:49,646 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-14644413, IP 122.19.95.69, Port 22 2025-08-28 18:38:49,812 - DEBUG - VM ctest-vn1-vm1-14644413 is ready for SSH connections 2025-08-28 18:38:49,812 - INFO - Waiting for VM ctest-vn1-vm2-95628285 to be up.. 2025-08-28 18:38:49,893 - DEBUG - VM is in ACTIVE state now 2025-08-28 18:38:49,893 - INFO - VM name : ctest-vn1-vm2-95628285 2025-08-28 18:38:49,985 - DEBUG - VM ctest-vn1-vm2-95628285 ID is f40eef12-6d5a-4392-b323-b38bfcc3336c 2025-08-28 18:38:49,985 - DEBUG - VM ctest-vn1-vm2-95628285 launched on Node cn-jenkins-deploy-platform-ansible-os-3965-1 2025-08-28 18:38:50,066 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f40eef12-6d5a-4392-b323-b38bfcc3336c 2025-08-28 18:38:50,075 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/18f43443-b8cf-4d1d-9e66-748e8ba742ec 2025-08-28 18:38:51,327 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.576 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.576/2.127/3.679/1.551 ms') 2025-08-28 18:38:51,328 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-95628285 passed 2025-08-28 18:38:51,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 18:38:51,477 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-95628285, IP 183.12.239.69, Port 22 2025-08-28 18:38:51,645 - DEBUG - VM ctest-vn1-vm2-95628285 is ready for SSH connections 2025-08-28 18:38:51,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 18:38:51,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 18:38:51,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 18:38:51,646 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.19.95.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-28 18:38:51,646 - DEBUG - ping -s 56 -c 3 -W 1 122.19.95.69 2025-08-28 18:38:54,322 - DEBUG - PING 122.19.95.69 (122.19.95.69): 56 data bytes 64 bytes from 122.19.95.69: seq=0 ttl=63 time=3.714 ms 64 bytes from 122.19.95.69: seq=1 ttl=63 time=1.049 ms 64 bytes from 122.19.95.69: seq=2 ttl=63 time=1.317 ms --- 122.19.95.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.049/2.026/3.714 ms 2025-08-28 18:38:54,322 - INFO - Ping to IP 122.19.95.69 from VM ctest-vn1-vm2-95628285 passed 2025-08-28 18:38:54,322 - INFO - Detaching port 18f43443-b8cf-4d1d-9e66-748e8ba742ec from VM ctest-vn1-vm2-95628285 2025-08-28 18:38:54,384 - INFO - Deleting VM ctest-vn1-vm2-95628285 2025-08-28 18:38:54,464 - INFO - Detaching port 25cdd714-70d9-4c94-9641-7895070f8b2a from VM ctest-vn1-vm1-14644413 2025-08-28 18:38:54,505 - INFO - Deleting VM ctest-vn1-vm1-14644413 2025-08-28 18:38:54,776 - DEBUG - Response for delete_port : () 2025-08-28 18:38:54,978 - DEBUG - Response for delete_port : () 2025-08-28 18:38:54,978 - INFO - Deleting VN ctest-vn1-97556166 2025-08-28 18:38:55,155 - DEBUG - Response for deleting network () 2025-08-28 18:38:55,438 - DEBUG - No XMPP flaps were noticed during the test 2025-08-28 18:38:55,438 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-08-28 18:38:55,438 - INFO - -------------------------------------------------------------------------------- 2025-08-28 18:38:56,148 - INFO - Deleted project: ctest-TestPorts-32778876, ID : e06ea246-825b-443e-9349-bbd949509d74