2025-11-20 17:07:33,498 - INFO - Domain Default found not creating 2025-11-20 17:07:33,723 - INFO - Project ctest-TestPorts-01200983 not found, creating it 2025-11-20 17:07:34,218 - INFO - Created Project:ctest-TestPorts-01200983, ID : 69550ddf-9fa7-45a1-ba60-2998d4c8eb3e 2025-11-20 17:07:35,853 - INFO - ================================================================================ 2025-11-20 17:07:35,853 - INFO - STARTING TEST : test_ports_bindings 2025-11-20 17:07:35,853 - 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-20 17:07:36,124 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.5': '0'}} with 2025-11-20 17:07:36,124 - INFO - Initial checks done. Running the testcase now 2025-11-20 17:07:36,124 - INFO - 2025-11-20 17:07:36,773 - DEBUG - Response for create_network : {'network': {'id': 'c20fabad-0294-4cc2-b3af-36bec715e227', 'name': 'ctest-vn-43405398', 'tenant_id': '69550ddf9fa745a1ba602998d4c8eb3e', 'project_id': '69550ddf9fa745a1ba602998d4c8eb3e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-01200983', 'ctest-vn-43405398'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 17:07:36,953 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd51b06cb-103f-42f8-8d2c-874d3a1fbdba', 'name': '', 'tenant_id': '69550ddf9fa745a1ba602998d4c8eb3e', 'network_id': 'c20fabad-0294-4cc2-b3af-36bec715e227', 'ip_version': 4, 'cidr': '15.149.131.192/26', 'allocation_pools': [{'start': '15.149.131.194', 'end': '15.149.131.254'}], 'gateway_ip': '15.149.131.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.149.131.194', 'tags': [], 'project_id': '69550ddf9fa745a1ba602998d4c8eb3e'}} 2025-11-20 17:07:36,972 - INFO - Created VN ctest-vn-43405398 2025-11-20 17:07:37,027 - DEBUG - VN ctest-vn-43405398 UUID is c20fabad-0294-4cc2-b3af-36bec715e227 2025-11-20 17:07:37,145 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-01200983', 'ctest-vmi-97027830']} 2025-11-20 17:07:37,424 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-97027830', 'id': '3f1fa7de-1429-41c5-b21d-3ecbcc1a20b2', 'tenant_id': '69550ddf9fa745a1ba602998d4c8eb3e', 'network_id': 'c20fabad-0294-4cc2-b3af-36bec715e227', 'mac_address': '02:3f:1f:a7:de:14', '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': '15.149.131.195', 'subnet_id': 'd51b06cb-103f-42f8-8d2c-874d3a1fbdba'}], 'security_groups': ['6329fd8e-2033-43ff-a36e-f46db048fd5c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '69550ddf9fa745a1ba602998d4c8eb3e'}} 2025-11-20 17:07:37,424 - DEBUG - Created port 3f1fa7de-1429-41c5-b21d-3ecbcc1a20b2 2025-11-20 17:07:37,531 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/3f1fa7de-1429-41c5-b21d-3ecbcc1a20b2 2025-11-20 17:07:37,830 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/3f1fa7de-1429-41c5-b21d-3ecbcc1a20b2 2025-11-20 17:07:37,866 - INFO - VMI 3f1fa7de-1429-41c5-b21d-3ecbcc1a20b2 verification in API Server passed 2025-11-20 17:07:37,965 - DEBUG - Response for delete_port : () 2025-11-20 17:07:37,965 - INFO - Deleted port 3f1fa7de-1429-41c5-b21d-3ecbcc1a20b2 2025-11-20 17:07:37,965 - INFO - Deleting VN ctest-vn-43405398 2025-11-20 17:07:38,082 - DEBUG - Response for deleting network () 2025-11-20 17:07:38,341 - DEBUG - No XMPP flaps were noticed during the test 2025-11-20 17:07:38,341 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-11-20 17:07:38,341 - INFO - -------------------------------------------------------------------------------- 2025-11-20 17:07:38,344 - INFO - ================================================================================ 2025-11-20 17:07:38,344 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-20 17:07:38,344 - 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-20 17:07:38,629 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.5': '0'}} with 2025-11-20 17:07:38,629 - INFO - Initial checks done. Running the testcase now 2025-11-20 17:07:38,630 - INFO - 2025-11-20 17:07:38,814 - DEBUG - Response for create_network : {'network': {'id': 'c44a1122-ff61-4d11-bfea-1cd783e088c5', 'name': 'ctest-vn1-45328214', 'tenant_id': '69550ddf9fa745a1ba602998d4c8eb3e', 'project_id': '69550ddf9fa745a1ba602998d4c8eb3e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-01200983', 'ctest-vn1-45328214'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 17:07:39,061 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c91d2fa-0048-44cc-89ae-dcc4c6daabb2', 'name': '', 'tenant_id': '69550ddf9fa745a1ba602998d4c8eb3e', 'network_id': 'c44a1122-ff61-4d11-bfea-1cd783e088c5', 'ip_version': 4, 'cidr': '39.49.172.64/26', 'allocation_pools': [{'start': '39.49.172.66', 'end': '39.49.172.126'}], 'gateway_ip': '39.49.172.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.49.172.66', 'tags': [], 'project_id': '69550ddf9fa745a1ba602998d4c8eb3e'}} 2025-11-20 17:07:39,234 - DEBUG - Response for create_subnet : {'subnet': {'id': '7a020a5e-4e0c-4906-b48c-c3d239586c05', 'name': '', 'tenant_id': '69550ddf9fa745a1ba602998d4c8eb3e', 'network_id': 'c44a1122-ff61-4d11-bfea-1cd783e088c5', 'ip_version': 4, 'cidr': '21.101.2.192/26', 'allocation_pools': [{'start': '21.101.2.194', 'end': '21.101.2.254'}], 'gateway_ip': '21.101.2.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.101.2.194', 'tags': [], 'project_id': '69550ddf9fa745a1ba602998d4c8eb3e'}} 2025-11-20 17:07:39,255 - INFO - Created VN ctest-vn1-45328214 2025-11-20 17:07:39,311 - DEBUG - VN ctest-vn1-45328214 UUID is c44a1122-ff61-4d11-bfea-1cd783e088c5 2025-11-20 17:07:39,639 - DEBUG - Response for create_port : {'port': {'name': '934ee1b5-6109-43e6-9080-2275f7776d23', 'id': '934ee1b5-6109-43e6-9080-2275f7776d23', 'tenant_id': '69550ddf9fa745a1ba602998d4c8eb3e', 'network_id': 'c44a1122-ff61-4d11-bfea-1cd783e088c5', 'mac_address': '02:93:4e:e1:b5:61', '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': '39.49.172.69', 'subnet_id': '9c91d2fa-0048-44cc-89ae-dcc4c6daabb2'}], 'security_groups': ['6329fd8e-2033-43ff-a36e-f46db048fd5c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '69550ddf9fa745a1ba602998d4c8eb3e'}} 2025-11-20 17:07:39,824 - DEBUG - Response for create_port : {'port': {'name': '6edda8a3-33a6-4d42-8c33-e9fcfc33cf68', 'id': '6edda8a3-33a6-4d42-8c33-e9fcfc33cf68', 'tenant_id': '69550ddf9fa745a1ba602998d4c8eb3e', 'network_id': 'c44a1122-ff61-4d11-bfea-1cd783e088c5', 'mac_address': '02:6e:dd:a8:a3:33', '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': '21.101.2.197', 'subnet_id': '7a020a5e-4e0c-4906-b48c-c3d239586c05'}], 'security_groups': ['6329fd8e-2033-43ff-a36e-f46db048fd5c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '69550ddf9fa745a1ba602998d4c8eb3e'}} 2025-11-20 17:07:39,889 - DEBUG - Services list from nova: [, , ] 2025-11-20 17:07:40,259 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4781-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4781-1) 2025-11-20 17:07:40,701 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4781-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4781-1) 2025-11-20 17:07:40,701 - INFO - Waiting for VM ctest-vn1-vm1-26482171 to be up.. 2025-11-20 17:07:40,743 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 17:07:45,830 - DEBUG - VM is in ACTIVE state now 2025-11-20 17:07:45,830 - INFO - VM name : ctest-vn1-vm1-26482171 2025-11-20 17:07:45,917 - DEBUG - VM ctest-vn1-vm1-26482171 ID is 1a03e8c1-7d78-4d60-a6cb-c0762ae0edf0 2025-11-20 17:07:45,940 - DEBUG - VM ctest-vn1-vm1-26482171 launched on Node cn-jenkins-deploy-platform-ansible-os-4781-1 2025-11-20 17:07:46,020 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/1a03e8c1-7d78-4d60-a6cb-c0762ae0edf0 2025-11-20 17:07:46,031 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/934ee1b5-6109-43e6-9080-2275f7776d23 2025-11-20 17:07:49,320 - 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-11-20 17:07:49,321 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-26482171 failed! 2025-11-20 17:07:49,375 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-01200983:ctest-vn1-45328214 is 39.49.172.65 and allocation pool is NOT set 2025-11-20 17:07:49,375 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-01200983:ctest-vn1-45328214 is 21.101.2.193 and allocation pool is NOT set 2025-11-20 17:07:53,449 - 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=8.45 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 8.449/8.449/8.449/0.000 ms') 2025-11-20 17:07:53,449 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-26482171 passed 2025-11-20 17:07:53,603 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:07:53,603 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-26482171, IP 39.49.172.69, Port 22 2025-11-20 17:07:53,669 - 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-20 17:07:53,764 - DEBUG - VM ctest-vn1-vm1-26482171 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-20 17:07:58,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:07:58,764 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-26482171, IP 39.49.172.69, Port 22 2025-11-20 17:07:58,923 - DEBUG - VM ctest-vn1-vm1-26482171 is ready for SSH connections 2025-11-20 17:07:58,923 - INFO - Waiting for VM ctest-vn1-vm2-93748259 to be up.. 2025-11-20 17:07:59,008 - DEBUG - VM is in ACTIVE state now 2025-11-20 17:07:59,008 - INFO - VM name : ctest-vn1-vm2-93748259 2025-11-20 17:07:59,102 - DEBUG - VM ctest-vn1-vm2-93748259 ID is 1efc3d51-7728-43ff-9930-57d69022d6b3 2025-11-20 17:07:59,102 - DEBUG - VM ctest-vn1-vm2-93748259 launched on Node cn-jenkins-deploy-platform-ansible-os-4781-1 2025-11-20 17:07:59,184 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/1efc3d51-7728-43ff-9930-57d69022d6b3 2025-11-20 17:07:59,194 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/6edda8a3-33a6-4d42-8c33-e9fcfc33cf68 2025-11-20 17:08:00,434 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.535 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.535/2.010/3.486/1.475 ms') 2025-11-20 17:08:00,434 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-93748259 passed 2025-11-20 17:08:00,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:08:00,583 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-93748259, IP 21.101.2.197, Port 22 2025-11-20 17:08:00,738 - DEBUG - VM ctest-vn1-vm2-93748259 is ready for SSH connections 2025-11-20 17:08:00,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:08:00,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:08:00,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:08:00,739 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.49.172.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-20 17:08:00,739 - DEBUG - ping -s 56 -c 3 -W 1 39.49.172.69 2025-11-20 17:08:03,430 - DEBUG - PING 39.49.172.69 (39.49.172.69): 56 data bytes 64 bytes from 39.49.172.69: seq=0 ttl=63 time=4.189 ms 64 bytes from 39.49.172.69: seq=1 ttl=63 time=1.076 ms 64 bytes from 39.49.172.69: seq=2 ttl=63 time=1.294 ms --- 39.49.172.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.076/2.186/4.189 ms 2025-11-20 17:08:03,430 - INFO - Ping to IP 39.49.172.69 from VM ctest-vn1-vm2-93748259 passed 2025-11-20 17:08:03,430 - INFO - Detaching port 6edda8a3-33a6-4d42-8c33-e9fcfc33cf68 from VM ctest-vn1-vm2-93748259 2025-11-20 17:08:03,523 - INFO - Deleting VM ctest-vn1-vm2-93748259 2025-11-20 17:08:03,619 - INFO - Detaching port 934ee1b5-6109-43e6-9080-2275f7776d23 from VM ctest-vn1-vm1-26482171 2025-11-20 17:08:03,678 - INFO - Deleting VM ctest-vn1-vm1-26482171 2025-11-20 17:08:03,975 - DEBUG - Response for delete_port : () 2025-11-20 17:08:04,214 - DEBUG - Response for delete_port : () 2025-11-20 17:08:04,214 - INFO - Deleting VN ctest-vn1-45328214 2025-11-20 17:08:04,465 - DEBUG - Response for deleting network () 2025-11-20 17:08:04,731 - DEBUG - No XMPP flaps were noticed during the test 2025-11-20 17:08:04,731 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26] 2025-11-20 17:08:04,732 - INFO - -------------------------------------------------------------------------------- 2025-11-20 17:08:05,482 - INFO - Deleted project: ctest-TestPorts-01200983, ID : 69550ddf-9fa7-45a1-ba60-2998d4c8eb3e