2025-10-28 18:26:14,351 - INFO - Domain Default found not creating 2025-10-28 18:26:14,536 - INFO - Project ctest-TestPorts-93448591 not found, creating it 2025-10-28 18:26:15,024 - INFO - Created Project:ctest-TestPorts-93448591, ID : a7aeba79-21a8-44c7-99b4-e9b4c7ba741b 2025-10-28 18:26:16,562 - INFO - ================================================================================ 2025-10-28 18:26:16,562 - INFO - STARTING TEST : test_ports_bindings 2025-10-28 18:26:16,562 - 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-28 18:26:16,823 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-28 18:26:16,823 - INFO - Initial checks done. Running the testcase now 2025-10-28 18:26:16,823 - INFO - 2025-10-28 18:26:17,446 - DEBUG - Response for create_network : {'network': {'id': 'b112b760-25cd-4e79-b855-f7bf18b1b307', 'name': 'ctest-vn-56504891', 'tenant_id': 'a7aeba7921a844c799b4e9b4c7ba741b', 'project_id': 'a7aeba7921a844c799b4e9b4c7ba741b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-93448591', 'ctest-vn-56504891'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 18:26:17,655 - DEBUG - Response for create_subnet : {'subnet': {'id': '6da9283c-c2d2-4afd-9744-baeb82c5eb6b', 'name': '', 'tenant_id': 'a7aeba7921a844c799b4e9b4c7ba741b', 'network_id': 'b112b760-25cd-4e79-b855-f7bf18b1b307', 'ip_version': 4, 'cidr': '56.45.141.128/26', 'allocation_pools': [{'start': '56.45.141.130', 'end': '56.45.141.190'}], 'gateway_ip': '56.45.141.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.45.141.130', 'tags': [], 'project_id': 'a7aeba7921a844c799b4e9b4c7ba741b'}} 2025-10-28 18:26:17,672 - INFO - Created VN ctest-vn-56504891 2025-10-28 18:26:17,725 - DEBUG - VN ctest-vn-56504891 UUID is b112b760-25cd-4e79-b855-f7bf18b1b307 2025-10-28 18:26:17,835 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-93448591', 'ctest-vmi-71564321']} 2025-10-28 18:26:18,137 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-71564321', 'id': 'dfca34ca-f83d-43d9-8591-781b55e88204', 'tenant_id': 'a7aeba7921a844c799b4e9b4c7ba741b', 'network_id': 'b112b760-25cd-4e79-b855-f7bf18b1b307', 'mac_address': '02:df:ca:34:ca:f8', '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': '56.45.141.131', 'subnet_id': '6da9283c-c2d2-4afd-9744-baeb82c5eb6b'}], 'security_groups': ['f43c30c4-3d2d-4c59-9bf0-0c3b9e90b037'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a7aeba7921a844c799b4e9b4c7ba741b'}} 2025-10-28 18:26:18,137 - DEBUG - Created port dfca34ca-f83d-43d9-8591-781b55e88204 2025-10-28 18:26:18,241 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/dfca34ca-f83d-43d9-8591-781b55e88204 2025-10-28 18:26:18,537 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/dfca34ca-f83d-43d9-8591-781b55e88204 2025-10-28 18:26:18,569 - INFO - VMI dfca34ca-f83d-43d9-8591-781b55e88204 verification in API Server passed 2025-10-28 18:26:18,661 - DEBUG - Response for delete_port : () 2025-10-28 18:26:18,661 - INFO - Deleted port dfca34ca-f83d-43d9-8591-781b55e88204 2025-10-28 18:26:18,661 - INFO - Deleting VN ctest-vn-56504891 2025-10-28 18:26:18,765 - DEBUG - Response for deleting network () 2025-10-28 18:26:19,027 - DEBUG - No XMPP flaps were noticed during the test 2025-10-28 18:26:19,028 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-28 18:26:19,028 - INFO - -------------------------------------------------------------------------------- 2025-10-28 18:26:19,030 - INFO - ================================================================================ 2025-10-28 18:26:19,030 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-28 18:26:19,030 - 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-28 18:26:19,334 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-28 18:26:19,334 - INFO - Initial checks done. Running the testcase now 2025-10-28 18:26:19,334 - INFO - 2025-10-28 18:26:19,500 - DEBUG - Response for create_network : {'network': {'id': '9452ba66-3651-4b08-9500-5bdc5241ecc7', 'name': 'ctest-vn1-40196071', 'tenant_id': 'a7aeba7921a844c799b4e9b4c7ba741b', 'project_id': 'a7aeba7921a844c799b4e9b4c7ba741b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-93448591', 'ctest-vn1-40196071'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 18:26:19,727 - DEBUG - Response for create_subnet : {'subnet': {'id': 'abda17ba-52f6-4f48-8f67-327353d19093', 'name': '', 'tenant_id': 'a7aeba7921a844c799b4e9b4c7ba741b', 'network_id': '9452ba66-3651-4b08-9500-5bdc5241ecc7', 'ip_version': 4, 'cidr': '200.170.109.64/26', 'allocation_pools': [{'start': '200.170.109.66', 'end': '200.170.109.126'}], 'gateway_ip': '200.170.109.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.170.109.66', 'tags': [], 'project_id': 'a7aeba7921a844c799b4e9b4c7ba741b'}} 2025-10-28 18:26:19,906 - DEBUG - Response for create_subnet : {'subnet': {'id': '066b8391-fa3e-4a5c-87e1-da78806c2cdd', 'name': '', 'tenant_id': 'a7aeba7921a844c799b4e9b4c7ba741b', 'network_id': '9452ba66-3651-4b08-9500-5bdc5241ecc7', 'ip_version': 4, 'cidr': '126.81.54.128/26', 'allocation_pools': [{'start': '126.81.54.130', 'end': '126.81.54.190'}], 'gateway_ip': '126.81.54.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.81.54.130', 'tags': [], 'project_id': 'a7aeba7921a844c799b4e9b4c7ba741b'}} 2025-10-28 18:26:19,925 - INFO - Created VN ctest-vn1-40196071 2025-10-28 18:26:19,977 - DEBUG - VN ctest-vn1-40196071 UUID is 9452ba66-3651-4b08-9500-5bdc5241ecc7 2025-10-28 18:26:20,278 - DEBUG - Response for create_port : {'port': {'name': 'ac85b2d5-3950-4c3b-8bd9-5e01930c1562', 'id': 'ac85b2d5-3950-4c3b-8bd9-5e01930c1562', 'tenant_id': 'a7aeba7921a844c799b4e9b4c7ba741b', 'network_id': '9452ba66-3651-4b08-9500-5bdc5241ecc7', 'mac_address': '02:ac:85:b2:d5:39', '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': '200.170.109.69', 'subnet_id': 'abda17ba-52f6-4f48-8f67-327353d19093'}], 'security_groups': ['f43c30c4-3d2d-4c59-9bf0-0c3b9e90b037'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a7aeba7921a844c799b4e9b4c7ba741b'}} 2025-10-28 18:26:20,443 - DEBUG - Response for create_port : {'port': {'name': '80d742ca-21c7-4662-a496-da801c6eca36', 'id': '80d742ca-21c7-4662-a496-da801c6eca36', 'tenant_id': 'a7aeba7921a844c799b4e9b4c7ba741b', 'network_id': '9452ba66-3651-4b08-9500-5bdc5241ecc7', 'mac_address': '02:80:d7:42:ca:21', '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': '126.81.54.133', 'subnet_id': '066b8391-fa3e-4a5c-87e1-da78806c2cdd'}], 'security_groups': ['f43c30c4-3d2d-4c59-9bf0-0c3b9e90b037'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a7aeba7921a844c799b4e9b4c7ba741b'}} 2025-10-28 18:26:20,498 - DEBUG - Services list from nova: [, , ] 2025-10-28 18:26:20,857 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4515-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4515-1) 2025-10-28 18:26:21,280 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4515-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4515-1) 2025-10-28 18:26:21,280 - INFO - Waiting for VM ctest-vn1-vm1-28880594 to be up.. 2025-10-28 18:26:21,326 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-28 18:26:26,400 - DEBUG - VM is in ACTIVE state now 2025-10-28 18:26:26,400 - INFO - VM name : ctest-vn1-vm1-28880594 2025-10-28 18:26:26,474 - DEBUG - VM ctest-vn1-vm1-28880594 ID is b6079940-4d75-421a-802f-d64c69b1223f 2025-10-28 18:26:26,494 - DEBUG - VM ctest-vn1-vm1-28880594 launched on Node cn-jenkins-deploy-platform-ansible-os-4515-1 2025-10-28 18:26:26,574 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/b6079940-4d75-421a-802f-d64c69b1223f 2025-10-28 18:26:26,582 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/ac85b2d5-3950-4c3b-8bd9-5e01930c1562 2025-10-28 18:26:29,822 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms') 2025-10-28 18:26:29,822 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-28880594 failed! 2025-10-28 18:26:29,877 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-93448591:ctest-vn1-40196071 is 200.170.109.65 and allocation pool is NOT set 2025-10-28 18:26:29,877 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-93448591:ctest-vn1-40196071 is 126.81.54.129 and allocation pool is NOT set 2025-10-28 18:26:33,952 - 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=2 ttl=63 time=8.81 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 8.806/8.806/8.806/0.000 ms') 2025-10-28 18:26:33,952 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-28880594 passed 2025-10-28 18:26:34,105 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 18:26:34,105 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-28880594, IP 200.170.109.69, Port 22 2025-10-28 18:26:34,270 - DEBUG - VM ctest-vn1-vm1-28880594 is ready for SSH connections 2025-10-28 18:26:34,270 - INFO - Waiting for VM ctest-vn1-vm2-14003076 to be up.. 2025-10-28 18:26:34,348 - DEBUG - VM is in ACTIVE state now 2025-10-28 18:26:34,348 - INFO - VM name : ctest-vn1-vm2-14003076 2025-10-28 18:26:34,430 - DEBUG - VM ctest-vn1-vm2-14003076 ID is 52a893e1-4428-4222-a58a-5e9485af9eea 2025-10-28 18:26:34,430 - DEBUG - VM ctest-vn1-vm2-14003076 launched on Node cn-jenkins-deploy-platform-ansible-os-4515-1 2025-10-28 18:26:34,518 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/52a893e1-4428-4222-a58a-5e9485af9eea 2025-10-28 18:26:34,532 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/80d742ca-21c7-4662-a496-da801c6eca36 2025-10-28 18:26:35,766 - 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.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.462 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.462/1.823/3.184/1.361 ms') 2025-10-28 18:26:35,766 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-14003076 passed 2025-10-28 18:26:35,921 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 18:26:35,921 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-14003076, IP 126.81.54.133, Port 22 2025-10-28 18:26:36,087 - DEBUG - VM ctest-vn1-vm2-14003076 is ready for SSH connections 2025-10-28 18:26:36,087 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 18:26:36,087 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 18:26:36,087 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 18:26:36,087 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.170.109.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-28 18:26:36,087 - DEBUG - ping -s 56 -c 3 -W 1 200.170.109.69 2025-10-28 18:26:39,806 - DEBUG - PING 200.170.109.69 (200.170.109.69): 56 data bytes 64 bytes from 200.170.109.69: seq=0 ttl=63 time=3.498 ms 64 bytes from 200.170.109.69: seq=1 ttl=63 time=0.953 ms 64 bytes from 200.170.109.69: seq=2 ttl=63 time=1.263 ms --- 200.170.109.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.953/1.904/3.498 ms 2025-10-28 18:26:39,807 - INFO - Ping to IP 200.170.109.69 from VM ctest-vn1-vm2-14003076 passed 2025-10-28 18:26:39,807 - INFO - Detaching port 80d742ca-21c7-4662-a496-da801c6eca36 from VM ctest-vn1-vm2-14003076 2025-10-28 18:26:39,857 - INFO - Deleting VM ctest-vn1-vm2-14003076 2025-10-28 18:26:39,928 - INFO - Detaching port ac85b2d5-3950-4c3b-8bd9-5e01930c1562 from VM ctest-vn1-vm1-28880594 2025-10-28 18:26:39,965 - INFO - Deleting VM ctest-vn1-vm1-28880594 2025-10-28 18:26:40,226 - DEBUG - Response for delete_port : () 2025-10-28 18:26:40,413 - DEBUG - Response for delete_port : () 2025-10-28 18:26:40,413 - INFO - Deleting VN ctest-vn1-40196071 2025-10-28 18:26:40,552 - DEBUG - Response for deleting network () 2025-10-28 18:26:40,817 - DEBUG - No XMPP flaps were noticed during the test 2025-10-28 18:26:40,817 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-10-28 18:26:40,817 - INFO - -------------------------------------------------------------------------------- 2025-10-28 18:26:42,084 - INFO - Deleted project: ctest-TestPorts-93448591, ID : a7aeba79-21a8-44c7-99b4-e9b4c7ba741b