2025-10-07 15:47:07,461 - INFO - Domain Default found not creating 2025-10-07 15:47:07,619 - INFO - Project ctest-TestPorts-37667643 not found, creating it 2025-10-07 15:47:08,079 - INFO - Created Project:ctest-TestPorts-37667643, ID : ae32aac1-0840-4049-b688-6d7c0f772336 2025-10-07 15:47:09,639 - INFO - ================================================================================ 2025-10-07 15:47:09,639 - INFO - STARTING TEST : test_ports_bindings 2025-10-07 15:47:09,639 - 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-07 15:47:09,895 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-07 15:47:09,895 - INFO - Initial checks done. Running the testcase now 2025-10-07 15:47:09,895 - INFO - 2025-10-07 15:47:10,483 - DEBUG - Response for create_network : {'network': {'id': 'b3e0674e-1e21-4911-8207-9a2503c8ec77', 'name': 'ctest-vn-82321377', 'tenant_id': 'ae32aac108404049b6886d7c0f772336', 'project_id': 'ae32aac108404049b6886d7c0f772336', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-37667643', 'ctest-vn-82321377'], 'port_security_enabled': True, 'description': ''}} 2025-10-07 15:47:10,701 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a7dc2aa-f4b6-49c9-aae9-73e064773901', 'name': '', 'tenant_id': 'ae32aac108404049b6886d7c0f772336', 'network_id': 'b3e0674e-1e21-4911-8207-9a2503c8ec77', 'ip_version': 4, 'cidr': '35.227.241.192/26', 'allocation_pools': [{'start': '35.227.241.194', 'end': '35.227.241.254'}], 'gateway_ip': '35.227.241.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.227.241.194', 'tags': [], 'project_id': 'ae32aac108404049b6886d7c0f772336'}} 2025-10-07 15:47:10,719 - INFO - Created VN ctest-vn-82321377 2025-10-07 15:47:10,773 - DEBUG - VN ctest-vn-82321377 UUID is b3e0674e-1e21-4911-8207-9a2503c8ec77 2025-10-07 15:47:10,880 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-37667643', 'ctest-vmi-50295969']} 2025-10-07 15:47:11,150 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-50295969', 'id': '944523ec-7c65-40d1-92fb-9274beef22cc', 'tenant_id': 'ae32aac108404049b6886d7c0f772336', 'network_id': 'b3e0674e-1e21-4911-8207-9a2503c8ec77', 'mac_address': '02:94:45:23:ec:7c', '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': '35.227.241.195', 'subnet_id': '1a7dc2aa-f4b6-49c9-aae9-73e064773901'}], 'security_groups': ['0b700f63-0d95-4e89-970b-a4663f732779'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ae32aac108404049b6886d7c0f772336'}} 2025-10-07 15:47:11,150 - DEBUG - Created port 944523ec-7c65-40d1-92fb-9274beef22cc 2025-10-07 15:47:11,253 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/944523ec-7c65-40d1-92fb-9274beef22cc 2025-10-07 15:47:11,586 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/944523ec-7c65-40d1-92fb-9274beef22cc 2025-10-07 15:47:11,618 - INFO - VMI 944523ec-7c65-40d1-92fb-9274beef22cc verification in API Server passed 2025-10-07 15:47:11,712 - DEBUG - Response for delete_port : () 2025-10-07 15:47:11,712 - INFO - Deleted port 944523ec-7c65-40d1-92fb-9274beef22cc 2025-10-07 15:47:11,712 - INFO - Deleting VN ctest-vn-82321377 2025-10-07 15:47:11,853 - DEBUG - Response for deleting network () 2025-10-07 15:47:12,114 - DEBUG - No XMPP flaps were noticed during the test 2025-10-07 15:47:12,114 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-07 15:47:12,115 - INFO - -------------------------------------------------------------------------------- 2025-10-07 15:47:12,117 - INFO - ================================================================================ 2025-10-07 15:47:12,117 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-07 15:47:12,117 - 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-07 15:47:12,412 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-07 15:47:12,412 - INFO - Initial checks done. Running the testcase now 2025-10-07 15:47:12,412 - INFO - 2025-10-07 15:47:12,591 - DEBUG - Response for create_network : {'network': {'id': '2cd27e14-1598-4e3c-8d63-6db89ec7a884', 'name': 'ctest-vn1-76766905', 'tenant_id': 'ae32aac108404049b6886d7c0f772336', 'project_id': 'ae32aac108404049b6886d7c0f772336', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-37667643', 'ctest-vn1-76766905'], 'port_security_enabled': True, 'description': ''}} 2025-10-07 15:47:12,783 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a4411ade-5428-483d-873f-6a9f96c5c938', 'name': '', 'tenant_id': 'ae32aac108404049b6886d7c0f772336', 'network_id': '2cd27e14-1598-4e3c-8d63-6db89ec7a884', 'ip_version': 4, 'cidr': '20.120.131.128/26', 'allocation_pools': [{'start': '20.120.131.130', 'end': '20.120.131.190'}], 'gateway_ip': '20.120.131.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.120.131.130', 'tags': [], 'project_id': 'ae32aac108404049b6886d7c0f772336'}} 2025-10-07 15:47:12,996 - DEBUG - Response for create_subnet : {'subnet': {'id': '15ab6d78-5b56-4790-80da-b60df583893f', 'name': '', 'tenant_id': 'ae32aac108404049b6886d7c0f772336', 'network_id': '2cd27e14-1598-4e3c-8d63-6db89ec7a884', 'ip_version': 4, 'cidr': '109.44.141.64/26', 'allocation_pools': [{'start': '109.44.141.66', 'end': '109.44.141.126'}], 'gateway_ip': '109.44.141.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.44.141.66', 'tags': [], 'project_id': 'ae32aac108404049b6886d7c0f772336'}} 2025-10-07 15:47:13,019 - INFO - Created VN ctest-vn1-76766905 2025-10-07 15:47:13,073 - DEBUG - VN ctest-vn1-76766905 UUID is 2cd27e14-1598-4e3c-8d63-6db89ec7a884 2025-10-07 15:47:13,393 - DEBUG - Response for create_port : {'port': {'name': '3fd8f09a-6559-46c5-806a-180247cd926c', 'id': '3fd8f09a-6559-46c5-806a-180247cd926c', 'tenant_id': 'ae32aac108404049b6886d7c0f772336', 'network_id': '2cd27e14-1598-4e3c-8d63-6db89ec7a884', 'mac_address': '02:3f:d8:f0:9a:65', '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': '20.120.131.133', 'subnet_id': 'a4411ade-5428-483d-873f-6a9f96c5c938'}], 'security_groups': ['0b700f63-0d95-4e89-970b-a4663f732779'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ae32aac108404049b6886d7c0f772336'}} 2025-10-07 15:47:13,569 - DEBUG - Response for create_port : {'port': {'name': '860aa987-9dc0-40f6-9d68-0c9d1234cf1e', 'id': '860aa987-9dc0-40f6-9d68-0c9d1234cf1e', 'tenant_id': 'ae32aac108404049b6886d7c0f772336', 'network_id': '2cd27e14-1598-4e3c-8d63-6db89ec7a884', 'mac_address': '02:86:0a:a9:87:9d', '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': '109.44.141.69', 'subnet_id': '15ab6d78-5b56-4790-80da-b60df583893f'}], 'security_groups': ['0b700f63-0d95-4e89-970b-a4663f732779'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ae32aac108404049b6886d7c0f772336'}} 2025-10-07 15:47:13,633 - DEBUG - Services list from nova: [, , ] 2025-10-07 15:47:13,990 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4229-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4229-1) 2025-10-07 15:47:14,400 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4229-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4229-1) 2025-10-07 15:47:14,400 - INFO - Waiting for VM ctest-vn1-vm1-61751490 to be up.. 2025-10-07 15:47:14,440 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-07 15:47:19,522 - DEBUG - VM is in ACTIVE state now 2025-10-07 15:47:19,523 - INFO - VM name : ctest-vn1-vm1-61751490 2025-10-07 15:47:19,598 - DEBUG - VM ctest-vn1-vm1-61751490 ID is 0a5e94d3-3c89-42fb-a595-3b4a8dba1537 2025-10-07 15:47:19,618 - DEBUG - VM ctest-vn1-vm1-61751490 launched on Node cn-jenkins-deploy-platform-ansible-os-4229-1 2025-10-07 15:47:19,694 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0a5e94d3-3c89-42fb-a595-3b4a8dba1537 2025-10-07 15:47:19,703 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3fd8f09a-6559-46c5-806a-180247cd926c 2025-10-07 15:47:22,957 - 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-10-07 15:47:22,957 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61751490 failed! 2025-10-07 15:47:23,013 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-37667643:ctest-vn1-76766905 is 20.120.131.129 and allocation pool is NOT set 2025-10-07 15:47:23,013 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-37667643:ctest-vn1-76766905 is 109.44.141.65 and allocation pool is NOT set 2025-10-07 15:47:27,084 - 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=10.9 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 10.935/10.935/10.935/0.000 ms') 2025-10-07 15:47:27,084 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61751490 passed 2025-10-07 15:47:27,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 15:47:27,237 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-61751490, IP 20.120.131.133, Port 22 2025-10-07 15:47:27,406 - DEBUG - VM ctest-vn1-vm1-61751490 is ready for SSH connections 2025-10-07 15:47:27,406 - INFO - Waiting for VM ctest-vn1-vm2-86821959 to be up.. 2025-10-07 15:47:27,492 - DEBUG - VM is in ACTIVE state now 2025-10-07 15:47:27,492 - INFO - VM name : ctest-vn1-vm2-86821959 2025-10-07 15:47:27,573 - DEBUG - VM ctest-vn1-vm2-86821959 ID is 2fb2edcc-546b-4eb7-983d-880fdd02978d 2025-10-07 15:47:27,574 - DEBUG - VM ctest-vn1-vm2-86821959 launched on Node cn-jenkins-deploy-platform-ansible-os-4229-1 2025-10-07 15:47:27,652 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2fb2edcc-546b-4eb7-983d-880fdd02978d 2025-10-07 15:47:27,662 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/860aa987-9dc0-40f6-9d68-0c9d1234cf1e 2025-10-07 15:47:28,915 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.475 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.475/2.094/3.713/1.619 ms') 2025-10-07 15:47:28,915 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-86821959 passed 2025-10-07 15:47:29,069 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 15:47:29,069 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-86821959, IP 109.44.141.69, Port 22 2025-10-07 15:47:29,240 - DEBUG - VM ctest-vn1-vm2-86821959 is ready for SSH connections 2025-10-07 15:47:29,240 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 15:47:29,240 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 15:47:29,240 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 15:47:29,240 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.120.131.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-07 15:47:29,241 - DEBUG - ping -s 56 -c 3 -W 1 20.120.131.133 2025-10-07 15:47:31,955 - DEBUG - PING 20.120.131.133 (20.120.131.133): 56 data bytes 64 bytes from 20.120.131.133: seq=0 ttl=63 time=4.042 ms 64 bytes from 20.120.131.133: seq=1 ttl=63 time=0.858 ms 64 bytes from 20.120.131.133: seq=2 ttl=63 time=0.905 ms --- 20.120.131.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.858/1.935/4.042 ms 2025-10-07 15:47:31,955 - INFO - Ping to IP 20.120.131.133 from VM ctest-vn1-vm2-86821959 passed 2025-10-07 15:47:31,955 - INFO - Detaching port 860aa987-9dc0-40f6-9d68-0c9d1234cf1e from VM ctest-vn1-vm2-86821959 2025-10-07 15:47:32,010 - INFO - Deleting VM ctest-vn1-vm2-86821959 2025-10-07 15:47:32,085 - INFO - Detaching port 3fd8f09a-6559-46c5-806a-180247cd926c from VM ctest-vn1-vm1-61751490 2025-10-07 15:47:32,129 - INFO - Deleting VM ctest-vn1-vm1-61751490 2025-10-07 15:47:32,432 - DEBUG - Response for delete_port : () 2025-10-07 15:47:32,626 - DEBUG - Response for delete_port : () 2025-10-07 15:47:32,626 - INFO - Deleting VN ctest-vn1-76766905 2025-10-07 15:47:32,776 - DEBUG - Response for deleting network () 2025-10-07 15:47:33,045 - DEBUG - No XMPP flaps were noticed during the test 2025-10-07 15:47:33,045 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-10-07 15:47:33,046 - INFO - -------------------------------------------------------------------------------- 2025-10-07 15:47:33,761 - INFO - Deleted project: ctest-TestPorts-37667643, ID : ae32aac1-0840-4049-b688-6d7c0f772336