2026-04-23 01:45:41,676 - INFO - Reading existing Domain with UUID 463c1a7f-4575-42ba-bd06-1a9f36cbf244 2026-04-23 01:45:41,689 - INFO - Using existing domain ['admin_domain'](463c1a7f-4575-42ba-bd06-1a9f36cbf244) 2026-04-23 01:45:41,907 - INFO - Project ctest-TestPorts-98849506 not found, creating it 2026-04-23 01:45:42,448 - INFO - Created Project:ctest-TestPorts-98849506, ID : 017bb5cc-016c-43a6-ae99-7e9d36f8335f 2026-04-23 01:45:44,191 - INFO - ================================================================================ 2026-04-23 01:45:44,191 - INFO - STARTING TEST : test_ports_bindings 2026-04-23 01:45:44,191 - 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 2026-04-23 01:45:44,584 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with 2026-04-23 01:45:44,584 - INFO - Initial checks done. Running the testcase now 2026-04-23 01:45:44,584 - INFO - 2026-04-23 01:45:45,359 - DEBUG - Response for create_network : {'network': {'id': 'feb43239-f263-45b9-a814-75e524a1d584', 'name': 'ctest-vn-39674058', 'tenant_id': '017bb5cc016c43a6ae997e9d36f8335f', 'project_id': '017bb5cc016c43a6ae997e9d36f8335f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-98849506', 'ctest-vn-39674058'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-04-23 01:45:45,559 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e804915e-747d-4ac9-b5d9-385b640e3ffc', 'name': '', 'tenant_id': '017bb5cc016c43a6ae997e9d36f8335f', 'network_id': 'feb43239-f263-45b9-a814-75e524a1d584', 'ip_version': 4, 'cidr': '44.162.51.192/26', 'allocation_pools': [{'start': '44.162.51.194', 'end': '44.162.51.254'}], 'gateway_ip': '44.162.51.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-04-23T01:45:45.464066', 'updated_at': '2026-04-23T01:45:45.464066', 'dns_server_address': '44.162.51.194', 'tags': [], 'project_id': '017bb5cc016c43a6ae997e9d36f8335f'}} 2026-04-23 01:45:45,633 - INFO - Created VN ctest-vn-39674058 2026-04-23 01:45:45,686 - DEBUG - VN ctest-vn-39674058 UUID is feb43239-f263-45b9-a814-75e524a1d584 2026-04-23 01:45:45,893 - DEBUG - Read virtual machine interface {'fq_name': ['admin_domain', 'ctest-TestPorts-98849506', 'ctest-vmi-44271686']} 2026-04-23 01:45:46,235 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-44271686', 'id': '197bdea0-85f3-461f-b350-42737a90f024', 'tenant_id': '017bb5cc016c43a6ae997e9d36f8335f', 'network_id': 'feb43239-f263-45b9-a814-75e524a1d584', 'mac_address': '02:19:7b:de:a0:85', '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': '44.162.51.195', 'subnet_id': 'e804915e-747d-4ac9-b5d9-385b640e3ffc'}], 'security_groups': ['bd0ac2e8-095d-4bfe-98dd-369e7067e93d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-04-23T01:45:46.017788', 'updated_at': '2026-04-23T01:45:46.094703', 'project_id': '017bb5cc016c43a6ae997e9d36f8335f'}} 2026-04-23 01:45:46,235 - DEBUG - Created port 197bdea0-85f3-461f-b350-42737a90f024 2026-04-23 01:45:46,342 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/197bdea0-85f3-461f-b350-42737a90f024 2026-04-23 01:45:46,686 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/197bdea0-85f3-461f-b350-42737a90f024 2026-04-23 01:45:46,772 - INFO - VMI 197bdea0-85f3-461f-b350-42737a90f024 verification in API Server passed 2026-04-23 01:45:46,921 - DEBUG - Response for delete_port : () 2026-04-23 01:45:46,921 - INFO - Deleted port 197bdea0-85f3-461f-b350-42737a90f024 2026-04-23 01:45:46,921 - INFO - Deleting VN ctest-vn-39674058 2026-04-23 01:45:47,090 - DEBUG - Response for deleting network () 2026-04-23 01:45:47,479 - DEBUG - No XMPP flaps were noticed during the test
2026-04-23 01:45:47,479 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-04-23 01:45:47,480 - INFO - -------------------------------------------------------------------------------- 2026-04-23 01:45:47,482 - INFO - ================================================================================ 2026-04-23 01:45:47,482 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-04-23 01:45:47,482 - 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 2026-04-23 01:45:47,875 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with 2026-04-23 01:45:47,876 - INFO - Initial checks done. Running the testcase now 2026-04-23 01:45:47,876 - INFO - 2026-04-23 01:45:48,167 - DEBUG - Response for create_network : {'network': {'id': '620ade9d-c3ed-428a-844f-d01fe6b0c4e0', 'name': 'ctest-vn1-35939566', 'tenant_id': '017bb5cc016c43a6ae997e9d36f8335f', 'project_id': '017bb5cc016c43a6ae997e9d36f8335f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-98849506', 'ctest-vn1-35939566'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-04-23 01:45:48,431 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a045da09-2f1e-4097-a00b-3c6a5340b963', 'name': '', 'tenant_id': '017bb5cc016c43a6ae997e9d36f8335f', 'network_id': '620ade9d-c3ed-428a-844f-d01fe6b0c4e0', 'ip_version': 4, 'cidr': '54.98.89.0/26', 'allocation_pools': [{'start': '54.98.89.2', 'end': '54.98.89.62'}], 'gateway_ip': '54.98.89.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-04-23T01:45:48.334407', 'updated_at': '2026-04-23T01:45:48.334407', 'dns_server_address': '54.98.89.2', 'tags': [], 'project_id': '017bb5cc016c43a6ae997e9d36f8335f'}} 2026-04-23 01:45:48,708 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a801595-b67a-4022-9031-3a27b165bf51', 'name': '', 'tenant_id': '017bb5cc016c43a6ae997e9d36f8335f', 'network_id': '620ade9d-c3ed-428a-844f-d01fe6b0c4e0', 'ip_version': 4, 'cidr': '145.82.0.128/26', 'allocation_pools': [{'start': '145.82.0.130', 'end': '145.82.0.190'}], 'gateway_ip': '145.82.0.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-04-23T01:45:48.593862', 'updated_at': '2026-04-23T01:45:48.593862', 'dns_server_address': '145.82.0.130', 'tags': [], 'project_id': '017bb5cc016c43a6ae997e9d36f8335f'}} 2026-04-23 01:45:48,777 - INFO - Created VN ctest-vn1-35939566 2026-04-23 01:45:48,830 - DEBUG - VN ctest-vn1-35939566 UUID is 620ade9d-c3ed-428a-844f-d01fe6b0c4e0 2026-04-23 01:45:49,343 - DEBUG - Response for create_port : {'port': {'name': 'd3799d00-d49a-4aaa-b3a3-f8d6c9471ac0', 'id': 'd3799d00-d49a-4aaa-b3a3-f8d6c9471ac0', 'tenant_id': '017bb5cc016c43a6ae997e9d36f8335f', 'network_id': '620ade9d-c3ed-428a-844f-d01fe6b0c4e0', 'mac_address': '02:d3:79:9d:00:d4', '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': '54.98.89.5', 'subnet_id': 'a045da09-2f1e-4097-a00b-3c6a5340b963'}], 'security_groups': ['bd0ac2e8-095d-4bfe-98dd-369e7067e93d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-04-23T01:45:49.174099', 'updated_at': '2026-04-23T01:45:49.238504', 'project_id': '017bb5cc016c43a6ae997e9d36f8335f'}} 2026-04-23 01:45:49,583 - DEBUG - Response for create_port : {'port': {'name': '75ba5bb6-19a6-41c6-a33a-caafe42a9002', 'id': '75ba5bb6-19a6-41c6-a33a-caafe42a9002', 'tenant_id': '017bb5cc016c43a6ae997e9d36f8335f', 'network_id': '620ade9d-c3ed-428a-844f-d01fe6b0c4e0', 'mac_address': '02:75:ba:5b:b6:19', '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': '145.82.0.133', 'subnet_id': '4a801595-b67a-4022-9031-3a27b165bf51'}], 'security_groups': ['bd0ac2e8-095d-4bfe-98dd-369e7067e93d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-04-23T01:45:49.402116', 'updated_at': '2026-04-23T01:45:49.470206', 'project_id': '017bb5cc016c43a6ae997e9d36f8335f'}} 2026-04-23 01:45:49,699 - DEBUG - Services list from nova: [, , ] 2026-04-23 01:45:50,472 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-697-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-697-1) 2026-04-23 01:45:51,307 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-697-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-697-1) 2026-04-23 01:45:51,307 - INFO - Waiting for VM ctest-vn1-vm1-41024341 to be up.. 2026-04-23 01:45:51,428 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-23 01:45:56,566 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-23 01:46:01,725 - DEBUG - VM is in ACTIVE state now 2026-04-23 01:46:01,725 - INFO - VM name : ctest-vn1-vm1-41024341 2026-04-23 01:46:01,864 - DEBUG - VM ctest-vn1-vm1-41024341 ID is eec22cea-a194-4deb-ac95-b5f388fa7f5b 2026-04-23 01:46:01,901 - DEBUG - VM ctest-vn1-vm1-41024341 launched on Node cn-jenkins-deploy-platform-juju-os-697-1 2026-04-23 01:46:02,049 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/eec22cea-a194-4deb-ac95-b5f388fa7f5b 2026-04-23 01:46:02,107 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/d3799d00-d49a-4aaa-b3a3-f8d6c9471ac0 2026-04-23 01:46:05,576 - 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 1018ms') 2026-04-23 01:46:05,576 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41024341 failed! 2026-04-23 01:46:05,635 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-98849506:ctest-vn1-35939566 is 54.98.89.1 and allocation pool is NOT set 2026-04-23 01:46:05,635 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-98849506:ctest-vn1-35939566 is 145.82.0.129 and allocation pool is NOT set 2026-04-23 01:46:07,731 - 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.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.477 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 = 0.477/2.186/3.896/1.709 ms') 2026-04-23 01:46:07,731 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41024341 passed 2026-04-23 01:46:07,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 01:46:07,878 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41024341, IP 54.98.89.5, Port 22 2026-04-23 01:46:08,097 - DEBUG - VM ctest-vn1-vm1-41024341 is ready for SSH connections 2026-04-23 01:46:08,097 - INFO - Waiting for VM ctest-vn1-vm2-40462024 to be up.. 2026-04-23 01:46:08,240 - DEBUG - VM is in ACTIVE state now 2026-04-23 01:46:08,240 - INFO - VM name : ctest-vn1-vm2-40462024 2026-04-23 01:46:08,372 - DEBUG - VM ctest-vn1-vm2-40462024 ID is 8e1f18a2-bca6-4f46-8ea3-92122e133fe8 2026-04-23 01:46:08,372 - DEBUG - VM ctest-vn1-vm2-40462024 launched on Node cn-jenkins-deploy-platform-juju-os-697-1 2026-04-23 01:46:08,507 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/8e1f18a2-bca6-4f46-8ea3-92122e133fe8 2026-04-23 01:46:08,563 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/75ba5bb6-19a6-41c6-a33a-caafe42a9002 2026-04-23 01:46:10,019 - 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.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.370 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.370/1.896/3.422/1.526 ms') 2026-04-23 01:46:10,019 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-40462024 passed 2026-04-23 01:46:10,170 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 01:46:10,170 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-40462024, IP 145.82.0.133, Port 22 2026-04-23 01:46:10,388 - DEBUG - VM ctest-vn1-vm2-40462024 is ready for SSH connections 2026-04-23 01:46:10,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 01:46:10,389 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 01:46:10,389 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 01:46:10,389 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.98.89.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-04-23 01:46:10,389 - DEBUG - ping -s 56 -c 3 -W 1 54.98.89.5 2026-04-23 01:46:13,064 - DEBUG - PING 54.98.89.5 (54.98.89.5): 56 data bytes 64 bytes from 54.98.89.5: seq=0 ttl=63 time=3.520 ms 64 bytes from 54.98.89.5: seq=1 ttl=63 time=1.011 ms 64 bytes from 54.98.89.5: seq=2 ttl=63 time=0.973 ms --- 54.98.89.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.973/1.834/3.520 ms 2026-04-23 01:46:13,065 - INFO - Ping to IP 54.98.89.5 from VM ctest-vn1-vm2-40462024 passed 2026-04-23 01:46:13,065 - INFO - Detaching port 75ba5bb6-19a6-41c6-a33a-caafe42a9002 from VM ctest-vn1-vm2-40462024 2026-04-23 01:46:13,147 - INFO - Deleting VM ctest-vn1-vm2-40462024 2026-04-23 01:46:13,253 - INFO - Detaching port d3799d00-d49a-4aaa-b3a3-f8d6c9471ac0 from VM ctest-vn1-vm1-41024341 2026-04-23 01:46:13,337 - INFO - Deleting VM ctest-vn1-vm1-41024341 2026-04-23 01:46:13,737 - DEBUG - Response for delete_port : () 2026-04-23 01:46:14,048 - DEBUG - Response for delete_port : () 2026-04-23 01:46:14,048 - INFO - Deleting VN ctest-vn1-35939566 2026-04-23 01:46:14,258 - DEBUG - Response for deleting network () 2026-04-23 01:46:14,673 - DEBUG - No XMPP flaps were noticed during the test
2026-04-23 01:46:14,673 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2026-04-23 01:46:14,673 - INFO - -------------------------------------------------------------------------------- 2026-04-23 01:46:15,430 - INFO - Deleted project: ctest-TestPorts-98849506, ID : 017bb5cc-016c-43a6-ae99-7e9d36f8335f