2025-10-11 19:26:45,132 - INFO - Domain Default found not creating 2025-10-11 19:26:45,340 - INFO - Project ctest-TestPorts-28559110 not found, creating it 2025-10-11 19:26:46,033 - INFO - Created Project:ctest-TestPorts-28559110, ID : e9f983de-38af-469a-b6ed-9ae5a064597a 2025-10-11 19:26:48,185 - INFO - ================================================================================ 2025-10-11 19:26:48,185 - INFO - STARTING TEST : test_ports_bindings 2025-10-11 19:26:48,185 - 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-10-11 19:26:48,514 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-11 19:26:48,514 - INFO - Initial checks done. Running the testcase now 2025-10-11 19:26:48,514 - INFO - 2025-10-11 19:26:49,315 - DEBUG - Response for create_network : {'network': {'id': '590ad3b7-9e3c-49e1-b930-fcd8e43aeb3f', 'name': 'ctest-vn-08466732', 'tenant_id': 'e9f983de38af469ab6ed9ae5a064597a', 'project_id': 'e9f983de38af469ab6ed9ae5a064597a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-28559110', 'ctest-vn-08466732'], 'port_security_enabled': True, 'description': ''}} 2025-10-11 19:26:49,508 - DEBUG - Response for create_subnet : {'subnet': {'id': '263dae85-06ad-4629-a74a-ae73a90d900b', 'name': '', 'tenant_id': 'e9f983de38af469ab6ed9ae5a064597a', 'network_id': '590ad3b7-9e3c-49e1-b930-fcd8e43aeb3f', 'ip_version': 4, 'cidr': '46.89.122.128/26', 'allocation_pools': [{'start': '46.89.122.130', 'end': '46.89.122.190'}], 'gateway_ip': '46.89.122.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.89.122.130', 'tags': [], 'project_id': 'e9f983de38af469ab6ed9ae5a064597a'}} 2025-10-11 19:26:49,530 - INFO - Created VN ctest-vn-08466732 2025-10-11 19:26:49,589 - DEBUG - VN ctest-vn-08466732 UUID is 590ad3b7-9e3c-49e1-b930-fcd8e43aeb3f 2025-10-11 19:26:49,740 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-28559110', 'ctest-vmi-98961014']} 2025-10-11 19:26:50,116 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-98961014', 'id': 'c51f6b9f-c0a5-4d30-b039-70a3dc449548', 'tenant_id': 'e9f983de38af469ab6ed9ae5a064597a', 'network_id': '590ad3b7-9e3c-49e1-b930-fcd8e43aeb3f', 'mac_address': '02:c5:1f:6b:9f:c0', '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': '46.89.122.131', 'subnet_id': '263dae85-06ad-4629-a74a-ae73a90d900b'}], 'security_groups': ['c5dfbfd6-d27d-4d71-bc3c-287c858f6b85'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e9f983de38af469ab6ed9ae5a064597a'}} 2025-10-11 19:26:50,116 - DEBUG - Created port c51f6b9f-c0a5-4d30-b039-70a3dc449548 2025-10-11 19:26:50,229 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c51f6b9f-c0a5-4d30-b039-70a3dc449548 2025-10-11 19:26:50,571 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c51f6b9f-c0a5-4d30-b039-70a3dc449548 2025-10-11 19:26:50,624 - INFO - VMI c51f6b9f-c0a5-4d30-b039-70a3dc449548 verification in API Server passed 2025-10-11 19:26:50,793 - DEBUG - Response for delete_port : () 2025-10-11 19:26:50,793 - INFO - Deleted port c51f6b9f-c0a5-4d30-b039-70a3dc449548 2025-10-11 19:26:50,794 - INFO - Deleting VN ctest-vn-08466732 2025-10-11 19:26:50,966 - DEBUG - Response for deleting network () 2025-10-11 19:26:51,280 - DEBUG - No XMPP flaps were noticed during the test 2025-10-11 19:26:51,280 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-11 19:26:51,281 - INFO - -------------------------------------------------------------------------------- 2025-10-11 19:26:51,289 - INFO - ================================================================================ 2025-10-11 19:26:51,289 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-11 19:26:51,289 - 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-10-11 19:26:51,626 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-11 19:26:51,626 - INFO - Initial checks done. Running the testcase now 2025-10-11 19:26:51,626 - INFO - 2025-10-11 19:26:51,984 - DEBUG - Response for create_network : {'network': {'id': '9815cc79-103e-4bbb-a314-c06f204ac3d1', 'name': 'ctest-vn1-64189866', 'tenant_id': 'e9f983de38af469ab6ed9ae5a064597a', 'project_id': 'e9f983de38af469ab6ed9ae5a064597a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-28559110', 'ctest-vn1-64189866'], 'port_security_enabled': True, 'description': ''}} 2025-10-11 19:26:52,228 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e8621001-d2e8-4586-8adf-3c87e5c74d65', 'name': '', 'tenant_id': 'e9f983de38af469ab6ed9ae5a064597a', 'network_id': '9815cc79-103e-4bbb-a314-c06f204ac3d1', 'ip_version': 4, 'cidr': '29.30.209.64/26', 'allocation_pools': [{'start': '29.30.209.66', 'end': '29.30.209.126'}], 'gateway_ip': '29.30.209.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.30.209.66', 'tags': [], 'project_id': 'e9f983de38af469ab6ed9ae5a064597a'}} 2025-10-11 19:26:52,501 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab6bd014-ffd8-4029-a8cc-40dd2168b5aa', 'name': '', 'tenant_id': 'e9f983de38af469ab6ed9ae5a064597a', 'network_id': '9815cc79-103e-4bbb-a314-c06f204ac3d1', 'ip_version': 4, 'cidr': '1.14.85.128/26', 'allocation_pools': [{'start': '1.14.85.130', 'end': '1.14.85.190'}], 'gateway_ip': '1.14.85.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.14.85.130', 'tags': [], 'project_id': 'e9f983de38af469ab6ed9ae5a064597a'}} 2025-10-11 19:26:52,545 - INFO - Created VN ctest-vn1-64189866 2025-10-11 19:26:52,617 - DEBUG - VN ctest-vn1-64189866 UUID is 9815cc79-103e-4bbb-a314-c06f204ac3d1 2025-10-11 19:26:53,118 - DEBUG - Response for create_port : {'port': {'name': '49f185f9-9ba2-40a1-8410-5437a7411596', 'id': '49f185f9-9ba2-40a1-8410-5437a7411596', 'tenant_id': 'e9f983de38af469ab6ed9ae5a064597a', 'network_id': '9815cc79-103e-4bbb-a314-c06f204ac3d1', 'mac_address': '02:49:f1:85:f9:9b', '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': '29.30.209.69', 'subnet_id': 'e8621001-d2e8-4586-8adf-3c87e5c74d65'}], 'security_groups': ['c5dfbfd6-d27d-4d71-bc3c-287c858f6b85'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e9f983de38af469ab6ed9ae5a064597a'}} 2025-10-11 19:26:53,405 - DEBUG - Response for create_port : {'port': {'name': '6b41f8fb-3e0c-4878-b6a1-ba3a1fe6217e', 'id': '6b41f8fb-3e0c-4878-b6a1-ba3a1fe6217e', 'tenant_id': 'e9f983de38af469ab6ed9ae5a064597a', 'network_id': '9815cc79-103e-4bbb-a314-c06f204ac3d1', 'mac_address': '02:6b:41:f8:fb:3e', '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': '1.14.85.133', 'subnet_id': 'ab6bd014-ffd8-4029-a8cc-40dd2168b5aa'}], 'security_groups': ['c5dfbfd6-d27d-4d71-bc3c-287c858f6b85'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e9f983de38af469ab6ed9ae5a064597a'}} 2025-10-11 19:26:53,490 - DEBUG - Services list from nova: [, , ] 2025-10-11 19:26:54,369 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4288-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4288-1) 2025-10-11 19:26:55,255 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4288-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4288-1) 2025-10-11 19:26:55,255 - INFO - Waiting for VM ctest-vn1-vm1-81625531 to be up.. 2025-10-11 19:26:55,338 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-11 19:27:00,460 - DEBUG - VM is in ACTIVE state now 2025-10-11 19:27:00,460 - INFO - VM name : ctest-vn1-vm1-81625531 2025-10-11 19:27:00,565 - DEBUG - VM ctest-vn1-vm1-81625531 ID is cd837599-1bdc-41ca-8e83-c01d09682c3d 2025-10-11 19:27:00,587 - DEBUG - VM ctest-vn1-vm1-81625531 launched on Node cn-jenkins-deploy-platform-ansible-os-4288-1 2025-10-11 19:27:00,688 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cd837599-1bdc-41ca-8e83-c01d09682c3d 2025-10-11 19:27:00,697 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/49f185f9-9ba2-40a1-8410-5437a7411596 2025-10-11 19:27:03,946 - 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 1013ms') 2025-10-11 19:27:03,946 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81625531 failed! 2025-10-11 19:27:04,014 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-28559110:ctest-vn1-64189866 is 29.30.209.65 and allocation pool is NOT set 2025-10-11 19:27:04,014 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-28559110:ctest-vn1-64189866 is 1.14.85.129 and allocation pool is NOT set 2025-10-11 19:27:08,106 - 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=13.8 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 13.800/13.800/13.800/0.000 ms') 2025-10-11 19:27:08,106 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81625531 passed 2025-10-11 19:27:08,290 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 19:27:08,290 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-81625531, IP 29.30.209.69, Port 22 2025-10-11 19:27:08,372 - 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-10-11 19:27:08,564 - DEBUG - VM ctest-vn1-vm1-81625531 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-11 19:27:13,565 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 19:27:13,565 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-81625531, IP 29.30.209.69, Port 22 2025-10-11 19:27:13,758 - DEBUG - VM ctest-vn1-vm1-81625531 is ready for SSH connections 2025-10-11 19:27:13,758 - INFO - Waiting for VM ctest-vn1-vm2-37451027 to be up.. 2025-10-11 19:27:13,930 - DEBUG - VM is in ACTIVE state now 2025-10-11 19:27:13,930 - INFO - VM name : ctest-vn1-vm2-37451027 2025-10-11 19:27:14,079 - DEBUG - VM ctest-vn1-vm2-37451027 ID is 59fb9888-616e-4975-b214-c6b31c194019 2025-10-11 19:27:14,079 - DEBUG - VM ctest-vn1-vm2-37451027 launched on Node cn-jenkins-deploy-platform-ansible-os-4288-1 2025-10-11 19:27:14,259 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/59fb9888-616e-4975-b214-c6b31c194019 2025-10-11 19:27:14,283 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6b41f8fb-3e0c-4878-b6a1-ba3a1fe6217e 2025-10-11 19:27:15,601 - 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=5.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.606 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.606/2.887/5.169/2.281 ms') 2025-10-11 19:27:15,601 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-37451027 passed 2025-10-11 19:27:15,777 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 19:27:15,777 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-37451027, IP 1.14.85.133, Port 22 2025-10-11 19:27:15,941 - DEBUG - VM ctest-vn1-vm2-37451027 is ready for SSH connections 2025-10-11 19:27:15,942 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 19:27:15,942 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 19:27:15,943 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 19:27:15,943 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.30.209.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-11 19:27:15,943 - DEBUG - ping -s 56 -c 3 -W 1 29.30.209.69 2025-10-11 19:27:18,950 - DEBUG - PING 29.30.209.69 (29.30.209.69): 56 data bytes 64 bytes from 29.30.209.69: seq=0 ttl=63 time=9.168 ms 64 bytes from 29.30.209.69: seq=1 ttl=63 time=2.313 ms 64 bytes from 29.30.209.69: seq=2 ttl=63 time=1.997 ms --- 29.30.209.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.997/4.492/9.168 ms 2025-10-11 19:27:18,950 - INFO - Ping to IP 29.30.209.69 from VM ctest-vn1-vm2-37451027 passed 2025-10-11 19:27:18,950 - INFO - Detaching port 6b41f8fb-3e0c-4878-b6a1-ba3a1fe6217e from VM ctest-vn1-vm2-37451027 2025-10-11 19:27:19,083 - INFO - Deleting VM ctest-vn1-vm2-37451027 2025-10-11 19:27:19,158 - INFO - Detaching port 49f185f9-9ba2-40a1-8410-5437a7411596 from VM ctest-vn1-vm1-81625531 2025-10-11 19:27:19,215 - INFO - Deleting VM ctest-vn1-vm1-81625531 2025-10-11 19:27:19,577 - DEBUG - Response for delete_port : () 2025-10-11 19:27:19,763 - DEBUG - Response for delete_port : () 2025-10-11 19:27:19,763 - INFO - Deleting VN ctest-vn1-64189866 2025-10-11 19:27:19,887 - DEBUG - Response for deleting network () 2025-10-11 19:27:20,179 - DEBUG - No XMPP flaps were noticed during the test 2025-10-11 19:27:20,179 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:29] 2025-10-11 19:27:20,179 - INFO - -------------------------------------------------------------------------------- 2025-10-11 19:27:21,079 - INFO - Deleted project: ctest-TestPorts-28559110, ID : e9f983de-38af-469a-b6ed-9ae5a064597a