2025-11-13 08:11:14,393 - INFO - Domain Default found not creating 2025-11-13 08:11:14,554 - INFO - Project ctest-TestPorts-52616189 not found, creating it 2025-11-13 08:11:15,020 - INFO - Created Project:ctest-TestPorts-52616189, ID : 67d860b4-fbaa-4332-b0c2-773dfe21f247 2025-11-13 08:11:16,546 - INFO - ================================================================================ 2025-11-13 08:11:16,546 - INFO - STARTING TEST : test_ports_bindings 2025-11-13 08:11:16,546 - 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-11-13 08:11:16,823 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-11-13 08:11:16,823 - INFO - Initial checks done. Running the testcase now 2025-11-13 08:11:16,824 - INFO - 2025-11-13 08:11:17,411 - DEBUG - Response for create_network : {'network': {'id': '6d4a77ce-d60a-4e87-850c-887410680342', 'name': 'ctest-vn-41540333', 'tenant_id': '67d860b4fbaa4332b0c2773dfe21f247', 'project_id': '67d860b4fbaa4332b0c2773dfe21f247', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-52616189', 'ctest-vn-41540333'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 08:11:17,568 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da8f3093-901c-4e01-843a-4fefc9b08415', 'name': '', 'tenant_id': '67d860b4fbaa4332b0c2773dfe21f247', 'network_id': '6d4a77ce-d60a-4e87-850c-887410680342', 'ip_version': 4, 'cidr': '76.141.7.192/26', 'allocation_pools': [{'start': '76.141.7.194', 'end': '76.141.7.254'}], 'gateway_ip': '76.141.7.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.141.7.194', 'tags': [], 'project_id': '67d860b4fbaa4332b0c2773dfe21f247'}} 2025-11-13 08:11:17,587 - INFO - Created VN ctest-vn-41540333 2025-11-13 08:11:17,638 - DEBUG - VN ctest-vn-41540333 UUID is 6d4a77ce-d60a-4e87-850c-887410680342 2025-11-13 08:11:17,750 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-52616189', 'ctest-vmi-36272058']} 2025-11-13 08:11:17,980 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-36272058', 'id': '0bf07044-5c28-4faf-9e3b-bbac645fb853', 'tenant_id': '67d860b4fbaa4332b0c2773dfe21f247', 'network_id': '6d4a77ce-d60a-4e87-850c-887410680342', 'mac_address': '02:0b:f0:70:44:5c', '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': '76.141.7.195', 'subnet_id': 'da8f3093-901c-4e01-843a-4fefc9b08415'}], 'security_groups': ['17b44093-af5a-45d3-9ac5-994e04ccf34b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '67d860b4fbaa4332b0c2773dfe21f247'}} 2025-11-13 08:11:17,981 - DEBUG - Created port 0bf07044-5c28-4faf-9e3b-bbac645fb853 2025-11-13 08:11:18,086 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0bf07044-5c28-4faf-9e3b-bbac645fb853 2025-11-13 08:11:18,384 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0bf07044-5c28-4faf-9e3b-bbac645fb853 2025-11-13 08:11:18,419 - INFO - VMI 0bf07044-5c28-4faf-9e3b-bbac645fb853 verification in API Server passed 2025-11-13 08:11:18,513 - DEBUG - Response for delete_port : () 2025-11-13 08:11:18,513 - INFO - Deleted port 0bf07044-5c28-4faf-9e3b-bbac645fb853 2025-11-13 08:11:18,513 - INFO - Deleting VN ctest-vn-41540333 2025-11-13 08:11:18,620 - DEBUG - Response for deleting network () 2025-11-13 08:11:18,880 - DEBUG - No XMPP flaps were noticed during the test 2025-11-13 08:11:18,880 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-13 08:11:18,880 - INFO - -------------------------------------------------------------------------------- 2025-11-13 08:11:18,883 - INFO - ================================================================================ 2025-11-13 08:11:18,883 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-13 08:11:18,883 - 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-11-13 08:11:19,167 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-11-13 08:11:19,167 - INFO - Initial checks done. Running the testcase now 2025-11-13 08:11:19,167 - INFO - 2025-11-13 08:11:19,364 - DEBUG - Response for create_network : {'network': {'id': '207c69d4-4e7c-4abb-998c-6c4c43405d1b', 'name': 'ctest-vn1-95733795', 'tenant_id': '67d860b4fbaa4332b0c2773dfe21f247', 'project_id': '67d860b4fbaa4332b0c2773dfe21f247', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-52616189', 'ctest-vn1-95733795'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 08:11:19,569 - DEBUG - Response for create_subnet : {'subnet': {'id': '1da4976f-1509-4ba0-b097-4d89eee1f58b', 'name': '', 'tenant_id': '67d860b4fbaa4332b0c2773dfe21f247', 'network_id': '207c69d4-4e7c-4abb-998c-6c4c43405d1b', 'ip_version': 4, 'cidr': '57.136.97.64/26', 'allocation_pools': [{'start': '57.136.97.66', 'end': '57.136.97.126'}], 'gateway_ip': '57.136.97.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.136.97.66', 'tags': [], 'project_id': '67d860b4fbaa4332b0c2773dfe21f247'}} 2025-11-13 08:11:19,776 - DEBUG - Response for create_subnet : {'subnet': {'id': '6894edfb-dce3-4c16-a897-873958240ae4', 'name': '', 'tenant_id': '67d860b4fbaa4332b0c2773dfe21f247', 'network_id': '207c69d4-4e7c-4abb-998c-6c4c43405d1b', 'ip_version': 4, 'cidr': '108.203.99.192/26', 'allocation_pools': [{'start': '108.203.99.194', 'end': '108.203.99.254'}], 'gateway_ip': '108.203.99.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.203.99.194', 'tags': [], 'project_id': '67d860b4fbaa4332b0c2773dfe21f247'}} 2025-11-13 08:11:19,800 - INFO - Created VN ctest-vn1-95733795 2025-11-13 08:11:19,854 - DEBUG - VN ctest-vn1-95733795 UUID is 207c69d4-4e7c-4abb-998c-6c4c43405d1b 2025-11-13 08:11:20,186 - DEBUG - Response for create_port : {'port': {'name': '4ca32550-9a42-4146-a1a5-9b612171fb30', 'id': '4ca32550-9a42-4146-a1a5-9b612171fb30', 'tenant_id': '67d860b4fbaa4332b0c2773dfe21f247', 'network_id': '207c69d4-4e7c-4abb-998c-6c4c43405d1b', 'mac_address': '02:4c:a3:25:50:9a', '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': '57.136.97.69', 'subnet_id': '1da4976f-1509-4ba0-b097-4d89eee1f58b'}], 'security_groups': ['17b44093-af5a-45d3-9ac5-994e04ccf34b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '67d860b4fbaa4332b0c2773dfe21f247'}} 2025-11-13 08:11:20,366 - DEBUG - Response for create_port : {'port': {'name': '9e814be2-2ffa-472b-bc45-80803efd1a5c', 'id': '9e814be2-2ffa-472b-bc45-80803efd1a5c', 'tenant_id': '67d860b4fbaa4332b0c2773dfe21f247', 'network_id': '207c69d4-4e7c-4abb-998c-6c4c43405d1b', 'mac_address': '02:9e:81:4b:e2:2f', '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': '108.203.99.197', 'subnet_id': '6894edfb-dce3-4c16-a897-873958240ae4'}], 'security_groups': ['17b44093-af5a-45d3-9ac5-994e04ccf34b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '67d860b4fbaa4332b0c2773dfe21f247'}} 2025-11-13 08:11:20,427 - DEBUG - Services list from nova: [, , ] 2025-11-13 08:11:20,807 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4717-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4717-1) 2025-11-13 08:11:21,329 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4717-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4717-1) 2025-11-13 08:11:21,329 - INFO - Waiting for VM ctest-vn1-vm1-17202668 to be up.. 2025-11-13 08:11:21,385 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 08:11:26,462 - DEBUG - VM is in ACTIVE state now 2025-11-13 08:11:26,462 - INFO - VM name : ctest-vn1-vm1-17202668 2025-11-13 08:11:26,536 - DEBUG - VM ctest-vn1-vm1-17202668 ID is 1785174f-af85-4b86-92a1-262c1bc2f583 2025-11-13 08:11:26,555 - DEBUG - VM ctest-vn1-vm1-17202668 launched on Node cn-jenkins-deploy-platform-ansible-os-4717-1 2025-11-13 08:11:26,633 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1785174f-af85-4b86-92a1-262c1bc2f583 2025-11-13 08:11:26,641 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4ca32550-9a42-4146-a1a5-9b612171fb30 2025-11-13 08:11:29,880 - 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-11-13 08:11:29,880 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17202668 failed! 2025-11-13 08:11:29,938 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-52616189:ctest-vn1-95733795 is 57.136.97.65 and allocation pool is NOT set 2025-11-13 08:11:29,938 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-52616189:ctest-vn1-95733795 is 108.203.99.193 and allocation pool is NOT set 2025-11-13 08:11:32,005 - 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=10.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.39 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 = 3.389/7.108/10.827/3.719 ms') 2025-11-13 08:11:32,005 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17202668 passed 2025-11-13 08:11:32,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 08:11:32,162 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17202668, IP 57.136.97.69, Port 22 2025-11-13 08:11:32,228 - 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-11-13 08:11:32,309 - DEBUG - VM ctest-vn1-vm1-17202668 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-13 08:11:37,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 08:11:37,310 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17202668, IP 57.136.97.69, Port 22 2025-11-13 08:11:37,466 - DEBUG - VM ctest-vn1-vm1-17202668 is ready for SSH connections 2025-11-13 08:11:37,466 - INFO - Waiting for VM ctest-vn1-vm2-02539038 to be up.. 2025-11-13 08:11:37,539 - DEBUG - VM is in ACTIVE state now 2025-11-13 08:11:37,540 - INFO - VM name : ctest-vn1-vm2-02539038 2025-11-13 08:11:37,620 - DEBUG - VM ctest-vn1-vm2-02539038 ID is 3f6f165c-1a78-4ad2-9a32-d3880d0595d9 2025-11-13 08:11:37,620 - DEBUG - VM ctest-vn1-vm2-02539038 launched on Node cn-jenkins-deploy-platform-ansible-os-4717-1 2025-11-13 08:11:37,693 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3f6f165c-1a78-4ad2-9a32-d3880d0595d9 2025-11-13 08:11:37,702 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9e814be2-2ffa-472b-bc45-80803efd1a5c 2025-11-13 08:11:38,942 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.364 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.364/1.681/2.998/1.317 ms') 2025-11-13 08:11:38,942 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-02539038 passed 2025-11-13 08:11:39,098 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 08:11:39,098 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-02539038, IP 108.203.99.197, Port 22 2025-11-13 08:11:39,253 - DEBUG - VM ctest-vn1-vm2-02539038 is ready for SSH connections 2025-11-13 08:11:39,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 08:11:39,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 08:11:39,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 08:11:39,254 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.136.97.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-13 08:11:39,254 - DEBUG - ping -s 56 -c 3 -W 1 57.136.97.69 2025-11-13 08:11:41,943 - DEBUG - PING 57.136.97.69 (57.136.97.69): 56 data bytes 64 bytes from 57.136.97.69: seq=0 ttl=63 time=4.080 ms 64 bytes from 57.136.97.69: seq=1 ttl=63 time=0.914 ms 64 bytes from 57.136.97.69: seq=2 ttl=63 time=0.943 ms --- 57.136.97.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.914/1.979/4.080 ms 2025-11-13 08:11:41,944 - INFO - Ping to IP 57.136.97.69 from VM ctest-vn1-vm2-02539038 passed 2025-11-13 08:11:41,944 - INFO - Detaching port 9e814be2-2ffa-472b-bc45-80803efd1a5c from VM ctest-vn1-vm2-02539038 2025-11-13 08:11:41,999 - INFO - Deleting VM ctest-vn1-vm2-02539038 2025-11-13 08:11:42,072 - INFO - Detaching port 4ca32550-9a42-4146-a1a5-9b612171fb30 from VM ctest-vn1-vm1-17202668 2025-11-13 08:11:42,106 - INFO - Deleting VM ctest-vn1-vm1-17202668 2025-11-13 08:11:42,355 - DEBUG - Response for delete_port : () 2025-11-13 08:11:42,564 - DEBUG - Response for delete_port : () 2025-11-13 08:11:42,564 - INFO - Deleting VN ctest-vn1-95733795 2025-11-13 08:11:42,704 - DEBUG - Response for deleting network () 2025-11-13 08:11:42,964 - DEBUG - No XMPP flaps were noticed during the test 2025-11-13 08:11:42,964 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-11-13 08:11:42,964 - INFO - -------------------------------------------------------------------------------- 2025-11-13 08:11:43,763 - INFO - Deleted project: ctest-TestPorts-52616189, ID : 67d860b4-fbaa-4332-b0c2-773dfe21f247