2025-08-28 02:20:30,164 - INFO - Domain Default found not creating 2025-08-28 02:20:30,319 - INFO - Project ctest-TestPorts-28903696 not found, creating it 2025-08-28 02:20:30,887 - INFO - Created Project:ctest-TestPorts-28903696, ID : 9021cfa6-d6b7-4f30-94b0-cceacb4f2b57 2025-08-28 02:20:32,337 - INFO - ================================================================================ 2025-08-28 02:20:32,337 - INFO - STARTING TEST : test_ports_bindings 2025-08-28 02:20:32,337 - 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 02:20:33,582 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0', '10.20.0.254': '0'}, '10.0.0.27': {'10.20.0.17': '0', '10.20.0.25': '0'}} with 2025-08-28 02:20:33,582 - INFO - Initial checks done. Running the testcase now 2025-08-28 02:20:33,582 - INFO - 2025-08-28 02:20:34,198 - DEBUG - Response for create_network : {'network': {'id': '646dc88b-425e-482f-ad6f-161d7abc8f17', 'name': 'ctest-vn-64482669', 'tenant_id': '9021cfa6d6b74f3094b0cceacb4f2b57', 'project_id': '9021cfa6d6b74f3094b0cceacb4f2b57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-28903696', 'ctest-vn-64482669'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 02:20:34,436 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee84cfde-a02b-4433-b42d-09bf66eb8b11', 'name': '', 'tenant_id': '9021cfa6d6b74f3094b0cceacb4f2b57', 'network_id': '646dc88b-425e-482f-ad6f-161d7abc8f17', 'ip_version': 4, 'cidr': '222.212.203.128/26', 'allocation_pools': [{'start': '222.212.203.130', 'end': '222.212.203.190'}], 'gateway_ip': '222.212.203.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.212.203.130', 'tags': [], 'project_id': '9021cfa6d6b74f3094b0cceacb4f2b57'}} 2025-08-28 02:20:34,469 - INFO - Created VN ctest-vn-64482669 2025-08-28 02:20:34,479 - DEBUG - VN ctest-vn-64482669 UUID is 646dc88b-425e-482f-ad6f-161d7abc8f17 2025-08-28 02:20:34,547 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-28903696', 'ctest-vmi-73646060']} 2025-08-28 02:20:34,897 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-73646060', 'id': 'e9c2996b-1622-4624-8918-dff838e09be8', 'tenant_id': '9021cfa6d6b74f3094b0cceacb4f2b57', 'network_id': '646dc88b-425e-482f-ad6f-161d7abc8f17', 'mac_address': '02:e9:c2:99:6b:16', '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': '222.212.203.131', 'subnet_id': 'ee84cfde-a02b-4433-b42d-09bf66eb8b11'}], 'security_groups': ['2fc1f490-b672-4719-a89e-01d7f38cd6cf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9021cfa6d6b74f3094b0cceacb4f2b57'}} 2025-08-28 02:20:34,898 - DEBUG - Created port e9c2996b-1622-4624-8918-dff838e09be8 2025-08-28 02:20:34,967 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/e9c2996b-1622-4624-8918-dff838e09be8 2025-08-28 02:20:35,260 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/e9c2996b-1622-4624-8918-dff838e09be8 2025-08-28 02:20:35,295 - INFO - VMI e9c2996b-1622-4624-8918-dff838e09be8 verification in API Server passed 2025-08-28 02:20:35,483 - DEBUG - Response for delete_port : () 2025-08-28 02:20:35,483 - INFO - Deleted port e9c2996b-1622-4624-8918-dff838e09be8 2025-08-28 02:20:35,483 - INFO - Deleting VN ctest-vn-64482669 2025-08-28 02:20:35,662 - DEBUG - Response for deleting network () 2025-08-28 02:20:36,921 - DEBUG - No XMPP flaps were noticed during the test
2025-08-28 02:20:36,921 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04]
2025-08-28 02:20:36,921 - INFO - -------------------------------------------------------------------------------- 2025-08-28 02:20:36,923 - INFO - ================================================================================ 2025-08-28 02:20:36,925 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-28 02:20:36,925 - 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 02:20:38,185 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0', '10.20.0.254': '0'}, '10.0.0.27': {'10.20.0.17': '0', '10.20.0.25': '0'}} with 2025-08-28 02:20:38,185 - INFO - Initial checks done. Running the testcase now 2025-08-28 02:20:38,186 - INFO - 2025-08-28 02:20:38,477 - DEBUG - Response for create_network : {'network': {'id': 'dc267c07-08c0-405d-b0ec-3f456d7ac9a3', 'name': 'ctest-vn1-30148623', 'tenant_id': '9021cfa6d6b74f3094b0cceacb4f2b57', 'project_id': '9021cfa6d6b74f3094b0cceacb4f2b57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-28903696', 'ctest-vn1-30148623'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 02:20:38,707 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c235afc9-6e4b-468c-8ebf-561276048408', 'name': '', 'tenant_id': '9021cfa6d6b74f3094b0cceacb4f2b57', 'network_id': 'dc267c07-08c0-405d-b0ec-3f456d7ac9a3', 'ip_version': 4, 'cidr': '71.72.43.64/26', 'allocation_pools': [{'start': '71.72.43.66', 'end': '71.72.43.126'}], 'gateway_ip': '71.72.43.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.72.43.66', 'tags': [], 'project_id': '9021cfa6d6b74f3094b0cceacb4f2b57'}} 2025-08-28 02:20:38,945 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc6bc8b3-c360-4a7f-9920-6e181999d13d', 'name': '', 'tenant_id': '9021cfa6d6b74f3094b0cceacb4f2b57', 'network_id': 'dc267c07-08c0-405d-b0ec-3f456d7ac9a3', 'ip_version': 4, 'cidr': '33.125.16.64/26', 'allocation_pools': [{'start': '33.125.16.66', 'end': '33.125.16.126'}], 'gateway_ip': '33.125.16.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.125.16.66', 'tags': [], 'project_id': '9021cfa6d6b74f3094b0cceacb4f2b57'}} 2025-08-28 02:20:38,967 - INFO - Created VN ctest-vn1-30148623 2025-08-28 02:20:38,977 - DEBUG - VN ctest-vn1-30148623 UUID is dc267c07-08c0-405d-b0ec-3f456d7ac9a3 2025-08-28 02:20:39,368 - DEBUG - Response for create_port : {'port': {'name': '71a61f91-1664-4f07-9953-17cb020581bc', 'id': '71a61f91-1664-4f07-9953-17cb020581bc', 'tenant_id': '9021cfa6d6b74f3094b0cceacb4f2b57', 'network_id': 'dc267c07-08c0-405d-b0ec-3f456d7ac9a3', 'mac_address': '02:71:a6:1f:91:16', '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': '71.72.43.69', 'subnet_id': 'c235afc9-6e4b-468c-8ebf-561276048408'}], 'security_groups': ['2fc1f490-b672-4719-a89e-01d7f38cd6cf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9021cfa6d6b74f3094b0cceacb4f2b57'}} 2025-08-28 02:20:39,629 - DEBUG - Response for create_port : {'port': {'name': '92dcb126-f8ac-49d2-b203-b233ef62e612', 'id': '92dcb126-f8ac-49d2-b203-b233ef62e612', 'tenant_id': '9021cfa6d6b74f3094b0cceacb4f2b57', 'network_id': 'dc267c07-08c0-405d-b0ec-3f456d7ac9a3', 'mac_address': '02:92:dc:b1:26:f8', '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': '33.125.16.69', 'subnet_id': 'fc6bc8b3-c360-4a7f-9920-6e181999d13d'}], 'security_groups': ['2fc1f490-b672-4719-a89e-01d7f38cd6cf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9021cfa6d6b74f3094b0cceacb4f2b57'}} 2025-08-28 02:20:39,689 - DEBUG - Services list from nova: [, , , ] 2025-08-28 02:20:40,141 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3956-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3956-1) 2025-08-28 02:20:40,628 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3956-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3956-2) 2025-08-28 02:20:40,628 - INFO - Waiting for VM ctest-vn1-vm1-92567522 to be up.. 2025-08-28 02:20:40,671 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 02:20:45,760 - DEBUG - VM is in ACTIVE state now 2025-08-28 02:20:45,760 - INFO - VM name : ctest-vn1-vm1-92567522 2025-08-28 02:20:45,839 - DEBUG - VM ctest-vn1-vm1-92567522 ID is 34c21feb-dae5-48b8-ae56-e961f205083a 2025-08-28 02:20:45,957 - DEBUG - VM ctest-vn1-vm1-92567522 launched on Node an-jenkins-deploy-platform-ansible-os-3956-1 2025-08-28 02:20:46,048 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/34c21feb-dae5-48b8-ae56-e961f205083a 2025-08-28 02:20:46,340 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/34c21feb-dae5-48b8-ae56-e961f205083a 2025-08-28 02:20:46,369 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/71a61f91-1664-4f07-9953-17cb020581bc 2025-08-28 02:20:49,554 - 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 1030ms') 2025-08-28 02:20:49,554 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92567522 failed! 2025-08-28 02:20:49,567 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-28903696:ctest-vn1-30148623 is 71.72.43.65 and allocation pool is NOT set 2025-08-28 02:20:49,567 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-28903696:ctest-vn1-30148623 is 33.125.16.65 and allocation pool is NOT set 2025-08-28 02:20:51,626 - 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=3.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.354 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.354/2.137/3.920/1.783 ms') 2025-08-28 02:20:51,627 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92567522 passed 2025-08-28 02:20:51,695 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:20:51,699 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-92567522, IP 71.72.43.69, Port 22 2025-08-28 02:20:51,754 - 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-28 02:20:51,840 - DEBUG - VM ctest-vn1-vm1-92567522 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-28 02:20:56,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:20:56,842 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-92567522, IP 71.72.43.69, Port 22 2025-08-28 02:20:57,013 - DEBUG - VM ctest-vn1-vm1-92567522 is ready for SSH connections 2025-08-28 02:20:57,013 - INFO - Waiting for VM ctest-vn1-vm2-08341546 to be up.. 2025-08-28 02:20:57,103 - DEBUG - VM is in ACTIVE state now 2025-08-28 02:20:57,104 - INFO - VM name : ctest-vn1-vm2-08341546 2025-08-28 02:20:57,189 - DEBUG - VM ctest-vn1-vm2-08341546 ID is e8313bd2-8271-4393-b5d9-f1ac0b423d26 2025-08-28 02:20:57,189 - DEBUG - VM ctest-vn1-vm2-08341546 launched on Node an-jenkins-deploy-platform-ansible-os-3956-2 2025-08-28 02:20:57,270 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/e8313bd2-8271-4393-b5d9-f1ac0b423d26 2025-08-28 02:20:57,280 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/92dcb126-f8ac-49d2-b203-b233ef62e612 2025-08-28 02:20:58,430 - 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=3.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.523 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.523/1.975/3.427/1.452 ms') 2025-08-28 02:20:58,430 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-08341546 passed 2025-08-28 02:20:58,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:20:58,497 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-08341546, IP 33.125.16.69, Port 22 2025-08-28 02:20:58,672 - DEBUG - VM ctest-vn1-vm2-08341546 is ready for SSH connections 2025-08-28 02:20:58,672 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:20:58,672 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:20:58,672 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:20:58,672 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.72.43.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-28 02:20:58,672 - DEBUG - ping -s 56 -c 3 -W 1 71.72.43.69 2025-08-28 02:21:01,532 - DEBUG - PING 71.72.43.69 (71.72.43.69): 56 data bytes 64 bytes from 71.72.43.69: seq=0 ttl=63 time=4.759 ms 64 bytes from 71.72.43.69: seq=1 ttl=63 time=1.299 ms 64 bytes from 71.72.43.69: seq=2 ttl=63 time=1.237 ms --- 71.72.43.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.237/2.431/4.759 ms 2025-08-28 02:21:01,532 - INFO - Ping to IP 71.72.43.69 from VM ctest-vn1-vm2-08341546 passed 2025-08-28 02:21:01,532 - INFO - Detaching port 92dcb126-f8ac-49d2-b203-b233ef62e612 from VM ctest-vn1-vm2-08341546 2025-08-28 02:21:01,608 - INFO - Deleting VM ctest-vn1-vm2-08341546 2025-08-28 02:21:01,786 - INFO - Detaching port 71a61f91-1664-4f07-9953-17cb020581bc from VM ctest-vn1-vm1-92567522 2025-08-28 02:21:01,894 - INFO - Deleting VM ctest-vn1-vm1-92567522 2025-08-28 02:21:02,648 - DEBUG - Response for delete_port : () 2025-08-28 02:21:02,940 - DEBUG - Response for delete_port : () 2025-08-28 02:21:02,940 - INFO - Deleting VN ctest-vn1-30148623 2025-08-28 02:21:03,394 - DEBUG - Response for deleting network () 2025-08-28 02:21:04,657 - DEBUG - No XMPP flaps were noticed during the test
2025-08-28 02:21:04,657 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:28]
2025-08-28 02:21:04,657 - INFO - -------------------------------------------------------------------------------- 2025-08-28 02:21:05,335 - INFO - Deleted project: ctest-TestPorts-28903696, ID : 9021cfa6-d6b7-4f30-94b0-cceacb4f2b57