2025-10-22 18:13:49,807 - INFO - Reading existing Domain with UUID 76186d71-3699-4707-98f1-3afabb9db250 2025-10-22 18:13:49,827 - INFO - Using existing domain ['admin_domain'](76186d71-3699-4707-98f1-3afabb9db250) 2025-10-22 18:13:50,134 - INFO - Project ctest-TestPorts-00539019 not found, creating it 2025-10-22 18:13:50,819 - INFO - Created Project:ctest-TestPorts-00539019, ID : 03ce2464-613b-41c9-b1dd-560c8930211d 2025-10-22 18:13:53,270 - INFO - ================================================================================ 2025-10-22 18:13:53,270 - INFO - STARTING TEST : test_ports_bindings 2025-10-22 18:13:53,270 - 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-22 18:13:53,718 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.0.0.240': '0'}} with 2025-10-22 18:13:53,718 - INFO - Initial checks done. Running the testcase now 2025-10-22 18:13:53,718 - INFO - 2025-10-22 18:13:54,847 - DEBUG - Response for create_network : {'network': {'id': '71972ff3-d4d6-4ad8-af8a-dc631205c013', 'name': 'ctest-vn-85031676', 'tenant_id': '03ce2464613b41c9b1dd560c8930211d', 'project_id': '03ce2464613b41c9b1dd560c8930211d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-00539019', 'ctest-vn-85031676'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-22 18:13:55,108 - DEBUG - Response for create_subnet : {'subnet': {'id': 'acd2ba2d-23ae-4ab7-a481-3aca4b21995a', 'name': '', 'tenant_id': '03ce2464613b41c9b1dd560c8930211d', 'network_id': '71972ff3-d4d6-4ad8-af8a-dc631205c013', 'ip_version': 4, 'cidr': '151.11.205.0/26', 'allocation_pools': [{'start': '151.11.205.2', 'end': '151.11.205.62'}], 'gateway_ip': '151.11.205.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-22T18:13:54.970618', 'updated_at': '2025-10-22T18:13:54.970618', 'dns_server_address': '151.11.205.2', 'tags': [], 'project_id': '03ce2464613b41c9b1dd560c8930211d'}} 2025-10-22 18:13:55,178 - INFO - Created VN ctest-vn-85031676 2025-10-22 18:13:55,242 - DEBUG - VN ctest-vn-85031676 UUID is 71972ff3-d4d6-4ad8-af8a-dc631205c013 2025-10-22 18:13:55,521 - DEBUG - Read virtual machine interface {'fq_name': ['admin_domain', 'ctest-TestPorts-00539019', 'ctest-vmi-12823420']} 2025-10-22 18:13:55,948 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-12823420', 'id': 'c93a28e5-fce1-4f09-8f91-0d5099fba361', 'tenant_id': '03ce2464613b41c9b1dd560c8930211d', 'network_id': '71972ff3-d4d6-4ad8-af8a-dc631205c013', 'mac_address': '02:c9:3a:28:e5:fc', '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': '151.11.205.3', 'subnet_id': 'acd2ba2d-23ae-4ab7-a481-3aca4b21995a'}], 'security_groups': ['93d07a5f-13c2-42cf-b0dc-b4cea718ce88'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-22T18:13:55.708294', 'updated_at': '2025-10-22T18:13:55.790876', 'project_id': '03ce2464613b41c9b1dd560c8930211d'}} 2025-10-22 18:13:55,949 - DEBUG - Created port c93a28e5-fce1-4f09-8f91-0d5099fba361 2025-10-22 18:13:56,063 - DEBUG - Requesting: https://10.0.0.240:8082/virtual-machine-interface/c93a28e5-fce1-4f09-8f91-0d5099fba361 2025-10-22 18:13:56,484 - DEBUG - Requesting: https://10.0.0.240:8082/virtual-machine-interface/c93a28e5-fce1-4f09-8f91-0d5099fba361 2025-10-22 18:13:56,635 - INFO - VMI c93a28e5-fce1-4f09-8f91-0d5099fba361 verification in API Server passed 2025-10-22 18:13:56,905 - DEBUG - Response for delete_port : () 2025-10-22 18:13:56,905 - INFO - Deleted port c93a28e5-fce1-4f09-8f91-0d5099fba361 2025-10-22 18:13:56,905 - INFO - Deleting VN ctest-vn-85031676 2025-10-22 18:13:57,114 - DEBUG - Response for deleting network () 2025-10-22 18:13:57,542 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 18:13:57,542 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04] 2025-10-22 18:13:57,543 - INFO - -------------------------------------------------------------------------------- 2025-10-22 18:13:57,550 - INFO - ================================================================================ 2025-10-22 18:13:57,552 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-22 18:13:57,552 - 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-22 18:13:58,091 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.0.0.240': '0'}} with 2025-10-22 18:13:58,092 - INFO - Initial checks done. Running the testcase now 2025-10-22 18:13:58,092 - INFO - 2025-10-22 18:13:58,560 - DEBUG - Response for create_network : {'network': {'id': '1e197e02-85f8-422a-9dd6-f18fc2df2b82', 'name': 'ctest-vn1-39709764', 'tenant_id': '03ce2464613b41c9b1dd560c8930211d', 'project_id': '03ce2464613b41c9b1dd560c8930211d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-00539019', 'ctest-vn1-39709764'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-22 18:13:58,821 - DEBUG - Response for create_subnet : {'subnet': {'id': '93a3d9c2-99ab-477e-8d76-e1e80aa8caba', 'name': '', 'tenant_id': '03ce2464613b41c9b1dd560c8930211d', 'network_id': '1e197e02-85f8-422a-9dd6-f18fc2df2b82', 'ip_version': 4, 'cidr': '148.124.236.192/26', 'allocation_pools': [{'start': '148.124.236.194', 'end': '148.124.236.254'}], 'gateway_ip': '148.124.236.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-22T18:13:58.710945', 'updated_at': '2025-10-22T18:13:58.710945', 'dns_server_address': '148.124.236.194', 'tags': [], 'project_id': '03ce2464613b41c9b1dd560c8930211d'}} 2025-10-22 18:13:59,056 - DEBUG - Response for create_subnet : {'subnet': {'id': '60cc8f60-f98f-468f-8860-571458797394', 'name': '', 'tenant_id': '03ce2464613b41c9b1dd560c8930211d', 'network_id': '1e197e02-85f8-422a-9dd6-f18fc2df2b82', 'ip_version': 4, 'cidr': '83.123.67.0/26', 'allocation_pools': [{'start': '83.123.67.2', 'end': '83.123.67.62'}], 'gateway_ip': '83.123.67.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-22T18:13:58.930517', 'updated_at': '2025-10-22T18:13:58.930517', 'dns_server_address': '83.123.67.2', 'tags': [], 'project_id': '03ce2464613b41c9b1dd560c8930211d'}} 2025-10-22 18:13:59,139 - INFO - Created VN ctest-vn1-39709764 2025-10-22 18:13:59,198 - DEBUG - VN ctest-vn1-39709764 UUID is 1e197e02-85f8-422a-9dd6-f18fc2df2b82 2025-10-22 18:13:59,911 - DEBUG - Response for create_port : {'port': {'name': '312fe8d7-bcb1-4600-aa0d-3857ea5d2fb1', 'id': '312fe8d7-bcb1-4600-aa0d-3857ea5d2fb1', 'tenant_id': '03ce2464613b41c9b1dd560c8930211d', 'network_id': '1e197e02-85f8-422a-9dd6-f18fc2df2b82', 'mac_address': '02:31:2f:e8:d7:bc', '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': '148.124.236.197', 'subnet_id': '93a3d9c2-99ab-477e-8d76-e1e80aa8caba'}], 'security_groups': ['93d07a5f-13c2-42cf-b0dc-b4cea718ce88'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-22T18:13:59.692942', 'updated_at': '2025-10-22T18:13:59.778874', 'project_id': '03ce2464613b41c9b1dd560c8930211d'}} 2025-10-22 18:14:00,219 - DEBUG - Response for create_port : {'port': {'name': '440aedf9-9bc0-41db-8fc9-97ee59238a0d', 'id': '440aedf9-9bc0-41db-8fc9-97ee59238a0d', 'tenant_id': '03ce2464613b41c9b1dd560c8930211d', 'network_id': '1e197e02-85f8-422a-9dd6-f18fc2df2b82', 'mac_address': '02:44:0a:ed: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': '83.123.67.5', 'subnet_id': '60cc8f60-f98f-468f-8860-571458797394'}], 'security_groups': ['93d07a5f-13c2-42cf-b0dc-b4cea718ce88'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-22T18:13:59.995822', 'updated_at': '2025-10-22T18:14:00.078642', 'project_id': '03ce2464613b41c9b1dd560c8930211d'}} 2025-10-22 18:14:00,374 - DEBUG - Services list from nova: [, , ] 2025-10-22 18:14:01,980 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-604-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-604-1) 2025-10-22 18:14:03,044 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-604-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-604-1) 2025-10-22 18:14:03,044 - INFO - Waiting for VM ctest-vn1-vm1-47622268 to be up.. 2025-10-22 18:14:03,154 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 18:14:08,383 - DEBUG - VM is in ACTIVE state now 2025-10-22 18:14:08,384 - INFO - VM name : ctest-vn1-vm1-47622268 2025-10-22 18:14:08,589 - DEBUG - VM ctest-vn1-vm1-47622268 ID is d3d95888-d7f9-4a93-b824-4aed7740be35 2025-10-22 18:14:08,647 - DEBUG - VM ctest-vn1-vm1-47622268 launched on Node cn-jenkins-deploy-platform-juju-os-604-1 2025-10-22 18:14:08,827 - DEBUG - Requesting: https://10.0.0.240:8082/virtual-machine/d3d95888-d7f9-4a93-b824-4aed7740be35 2025-10-22 18:14:08,883 - DEBUG - Requesting: https://10.0.0.240:8082/virtual-machine-interface/312fe8d7-bcb1-4600-aa0d-3857ea5d2fb1 2025-10-22 18:14:12,417 - 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 1012ms') 2025-10-22 18:14:12,417 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47622268 failed! 2025-10-22 18:14:12,482 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-00539019:ctest-vn1-39709764 is 148.124.236.193 and allocation pool is NOT set 2025-10-22 18:14:12,483 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-00539019:ctest-vn1-39709764 is 83.123.67.1 and allocation pool is NOT set 2025-10-22 18:14:16,649 - 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 1025ms') 2025-10-22 18:14:16,649 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47622268 failed! 2025-10-22 18:14:16,706 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-00539019:ctest-vn1-39709764 is 148.124.236.193 and allocation pool is NOT set 2025-10-22 18:14:16,706 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-00539019:ctest-vn1-39709764 is 83.123.67.1 and allocation pool is NOT set 2025-10-22 18:14:18,820 - 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.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.15 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 = 1.148/2.090/3.033/0.942 ms') 2025-10-22 18:14:18,820 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47622268 passed 2025-10-22 18:14:18,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 18:14:18,999 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-47622268, IP 148.124.236.197, Port 22 2025-10-22 18:14:19,281 - DEBUG - VM ctest-vn1-vm1-47622268 is ready for SSH connections 2025-10-22 18:14:19,281 - INFO - Waiting for VM ctest-vn1-vm2-91643635 to be up.. 2025-10-22 18:14:19,457 - DEBUG - VM is in ACTIVE state now 2025-10-22 18:14:19,457 - INFO - VM name : ctest-vn1-vm2-91643635 2025-10-22 18:14:19,645 - DEBUG - VM ctest-vn1-vm2-91643635 ID is cc8c0b62-8570-484d-b2ec-4d5e891afc05 2025-10-22 18:14:19,645 - DEBUG - VM ctest-vn1-vm2-91643635 launched on Node cn-jenkins-deploy-platform-juju-os-604-1 2025-10-22 18:14:19,858 - DEBUG - Requesting: https://10.0.0.240:8082/virtual-machine/cc8c0b62-8570-484d-b2ec-4d5e891afc05 2025-10-22 18:14:19,931 - DEBUG - Requesting: https://10.0.0.240:8082/virtual-machine-interface/440aedf9-9bc0-41db-8fc9-97ee59238a0d 2025-10-22 18:14:21,481 - 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.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.506 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.506/1.871/3.236/1.365 ms') 2025-10-22 18:14:21,481 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-91643635 passed 2025-10-22 18:14:21,671 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 18:14:21,671 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-91643635, IP 83.123.67.5, Port 22 2025-10-22 18:14:21,970 - DEBUG - VM ctest-vn1-vm2-91643635 is ready for SSH connections 2025-10-22 18:14:21,971 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 18:14:21,971 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 18:14:21,971 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 18:14:21,971 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.124.236.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2025-10-22 18:14:21,972 - DEBUG - ping -s 56 -c 3 -W 1 148.124.236.197 2025-10-22 18:14:25,241 - DEBUG - PING 148.124.236.197 (148.124.236.197): 56 data bytes 64 bytes from 148.124.236.197: seq=0 ttl=63 time=4.304 ms 64 bytes from 148.124.236.197: seq=1 ttl=63 time=1.723 ms 64 bytes from 148.124.236.197: seq=2 ttl=63 time=1.321 ms --- 148.124.236.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.321/2.449/4.304 ms 2025-10-22 18:14:25,241 - INFO - Ping to IP 148.124.236.197 from VM ctest-vn1-vm2-91643635 passed 2025-10-22 18:14:25,241 - INFO - Detaching port 440aedf9-9bc0-41db-8fc9-97ee59238a0d from VM ctest-vn1-vm2-91643635 2025-10-22 18:14:25,337 - INFO - Deleting VM ctest-vn1-vm2-91643635 2025-10-22 18:14:25,620 - INFO - Detaching port 312fe8d7-bcb1-4600-aa0d-3857ea5d2fb1 from VM ctest-vn1-vm1-47622268 2025-10-22 18:14:25,724 - INFO - Deleting VM ctest-vn1-vm1-47622268 2025-10-22 18:14:26,246 - DEBUG - Response for delete_port : () 2025-10-22 18:14:26,558 - DEBUG - Response for delete_port : () 2025-10-22 18:14:26,558 - INFO - Deleting VN ctest-vn1-39709764 2025-10-22 18:14:26,814 - DEBUG - Response for deleting network () 2025-10-22 18:14:27,272 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 18:14:27,273 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:30] 2025-10-22 18:14:27,273 - INFO - -------------------------------------------------------------------------------- 2025-10-22 18:14:28,107 - INFO - Deleted project: ctest-TestPorts-00539019, ID : 03ce2464-613b-41c9-b1dd-560c8930211d