2025-10-27 01:52:38,936 - INFO - Reading existing Domain with UUID 15e0ce75-9595-48f6-b10e-49e8c56bef44
2025-10-27 01:52:38,947 - INFO - Using existing domain ['admin_domain'](15e0ce75-9595-48f6-b10e-49e8c56bef44)
2025-10-27 01:52:39,165 - INFO - Project ctest-TestPorts-44713792 not found, creating it
2025-10-27 01:52:39,705 - INFO - Created Project:ctest-TestPorts-44713792, ID : baf7ffa3-eacf-49ca-9a8f-f1dd0887bcdd
2025-10-27 01:52:41,487 - INFO - ================================================================================
2025-10-27 01:52:41,488 - INFO - STARTING TEST : test_ports_bindings
2025-10-27 01:52:41,488 - 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-27 01:52:41,870 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.0.0.27': '0'}} with
2025-10-27 01:52:41,870 - INFO - Initial checks done. Running the testcase now
2025-10-27 01:52:41,870 - INFO -
2025-10-27 01:52:42,998 - DEBUG - Response for create_network : {'network': {'id': '8de71d69-fd89-468a-9c5b-f3aeb09029b8', 'name': 'ctest-vn-94307878', 'tenant_id': 'baf7ffa3eacf49ca9a8ff1dd0887bcdd', 'project_id': 'baf7ffa3eacf49ca9a8ff1dd0887bcdd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-44713792', 'ctest-vn-94307878'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-10-27 01:52:43,466 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd925a713-bb85-4933-bb71-de1383305e8c', 'name': '', 'tenant_id': 'baf7ffa3eacf49ca9a8ff1dd0887bcdd', 'network_id': '8de71d69-fd89-468a-9c5b-f3aeb09029b8', 'ip_version': 4, 'cidr': '181.245.20.192/26', 'allocation_pools': [{'start': '181.245.20.194', 'end': '181.245.20.254'}], 'gateway_ip': '181.245.20.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-27T01:52:43.256194', 'updated_at': '2025-10-27T01:52:43.256194', 'dns_server_address': '181.245.20.194', 'tags': [], 'project_id': 'baf7ffa3eacf49ca9a8ff1dd0887bcdd'}}
2025-10-27 01:52:43,539 - INFO - Created VN ctest-vn-94307878
2025-10-27 01:52:43,596 - DEBUG - VN ctest-vn-94307878 UUID is 8de71d69-fd89-468a-9c5b-f3aeb09029b8
2025-10-27 01:52:43,842 - DEBUG - Read virtual machine interface {'fq_name': ['admin_domain', 'ctest-TestPorts-44713792', 'ctest-vmi-15728329']}
2025-10-27 01:52:44,174 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-15728329', 'id': '5d14f3db-5379-4248-a3c5-8fbbbba52b70', 'tenant_id': 'baf7ffa3eacf49ca9a8ff1dd0887bcdd', 'network_id': '8de71d69-fd89-468a-9c5b-f3aeb09029b8', 'mac_address': '02:5d:14:f3:db:53', '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': '181.245.20.195', 'subnet_id': 'd925a713-bb85-4933-bb71-de1383305e8c'}], 'security_groups': ['f9890a97-5e15-4d4b-9f73-8b644aa31916'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-27T01:52:43.965373', 'updated_at': '2025-10-27T01:52:44.039123', 'project_id': 'baf7ffa3eacf49ca9a8ff1dd0887bcdd'}}
2025-10-27 01:52:44,174 - DEBUG - Created port 5d14f3db-5379-4248-a3c5-8fbbbba52b70
2025-10-27 01:52:44,284 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine-interface/5d14f3db-5379-4248-a3c5-8fbbbba52b70
2025-10-27 01:52:44,657 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine-interface/5d14f3db-5379-4248-a3c5-8fbbbba52b70
2025-10-27 01:52:44,749 - INFO - VMI 5d14f3db-5379-4248-a3c5-8fbbbba52b70 verification in API Server passed
2025-10-27 01:52:44,928 - DEBUG - Response for delete_port : ()
2025-10-27 01:52:44,928 - INFO - Deleted port 5d14f3db-5379-4248-a3c5-8fbbbba52b70
2025-10-27 01:52:44,928 - INFO - Deleting VN ctest-vn-94307878
2025-10-27 01:52:45,116 - DEBUG - Response for deleting network ()
2025-10-27 01:52:45,513 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 01:52:45,513 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04]
2025-10-27 01:52:45,513 - INFO - --------------------------------------------------------------------------------
2025-10-27 01:52:45,517 - INFO - ================================================================================
2025-10-27 01:52:45,517 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-27 01:52:45,517 - 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-27 01:52:45,913 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.0.0.27': '0'}} with
2025-10-27 01:52:45,913 - INFO - Initial checks done. Running the testcase now
2025-10-27 01:52:45,913 - INFO -
2025-10-27 01:52:46,209 - DEBUG - Response for create_network : {'network': {'id': '687cff4c-0bf0-4763-803d-dcf05dfcffb5', 'name': 'ctest-vn1-78692339', 'tenant_id': 'baf7ffa3eacf49ca9a8ff1dd0887bcdd', 'project_id': 'baf7ffa3eacf49ca9a8ff1dd0887bcdd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-44713792', 'ctest-vn1-78692339'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-10-27 01:52:46,481 - DEBUG - Response for create_subnet : {'subnet': {'id': '223aca5e-b431-43e6-ba2b-9432478c0f46', 'name': '', 'tenant_id': 'baf7ffa3eacf49ca9a8ff1dd0887bcdd', 'network_id': '687cff4c-0bf0-4763-803d-dcf05dfcffb5', 'ip_version': 4, 'cidr': '173.94.60.64/26', 'allocation_pools': [{'start': '173.94.60.66', 'end': '173.94.60.126'}], 'gateway_ip': '173.94.60.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-27T01:52:46.364015', 'updated_at': '2025-10-27T01:52:46.364015', 'dns_server_address': '173.94.60.66', 'tags': [], 'project_id': 'baf7ffa3eacf49ca9a8ff1dd0887bcdd'}}
2025-10-27 01:52:46,701 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eea7892d-7bb9-49d3-87fe-b49507fd5bf3', 'name': '', 'tenant_id': 'baf7ffa3eacf49ca9a8ff1dd0887bcdd', 'network_id': '687cff4c-0bf0-4763-803d-dcf05dfcffb5', 'ip_version': 4, 'cidr': '34.62.1.128/26', 'allocation_pools': [{'start': '34.62.1.130', 'end': '34.62.1.190'}], 'gateway_ip': '34.62.1.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-27T01:52:46.598231', 'updated_at': '2025-10-27T01:52:46.598231', 'dns_server_address': '34.62.1.130', 'tags': [], 'project_id': 'baf7ffa3eacf49ca9a8ff1dd0887bcdd'}}
2025-10-27 01:52:46,771 - INFO - Created VN ctest-vn1-78692339
2025-10-27 01:52:46,828 - DEBUG - VN ctest-vn1-78692339 UUID is 687cff4c-0bf0-4763-803d-dcf05dfcffb5
2025-10-27 01:52:47,385 - DEBUG - Response for create_port : {'port': {'name': '8460b598-b3a3-401f-8035-99b0ef68a220', 'id': '8460b598-b3a3-401f-8035-99b0ef68a220', 'tenant_id': 'baf7ffa3eacf49ca9a8ff1dd0887bcdd', 'network_id': '687cff4c-0bf0-4763-803d-dcf05dfcffb5', 'mac_address': '02:84:60:b5:98:b3', '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': '173.94.60.69', 'subnet_id': '223aca5e-b431-43e6-ba2b-9432478c0f46'}], 'security_groups': ['f9890a97-5e15-4d4b-9f73-8b644aa31916'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-27T01:52:47.178441', 'updated_at': '2025-10-27T01:52:47.244550', 'project_id': 'baf7ffa3eacf49ca9a8ff1dd0887bcdd'}}
2025-10-27 01:52:47,640 - DEBUG - Response for create_port : {'port': {'name': '764707a7-5519-42f6-9cf5-2975005adb57', 'id': '764707a7-5519-42f6-9cf5-2975005adb57', 'tenant_id': 'baf7ffa3eacf49ca9a8ff1dd0887bcdd', 'network_id': '687cff4c-0bf0-4763-803d-dcf05dfcffb5', 'mac_address': '02:76:47:07:a7:55', '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': '34.62.1.133', 'subnet_id': 'eea7892d-7bb9-49d3-87fe-b49507fd5bf3'}], 'security_groups': ['f9890a97-5e15-4d4b-9f73-8b644aa31916'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-27T01:52:47.452305', 'updated_at': '2025-10-27T01:52:47.518869', 'project_id': 'baf7ffa3eacf49ca9a8ff1dd0887bcdd'}}
2025-10-27 01:52:47,757 - DEBUG - Services list from nova: [, , ]
2025-10-27 01:52:48,575 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-607-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-607-1)
2025-10-27 01:52:49,434 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-607-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-607-1)
2025-10-27 01:52:49,435 - INFO - Waiting for VM ctest-vn1-vm1-86587917 to be up..
2025-10-27 01:52:49,535 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-27 01:52:54,682 - DEBUG - VM is in ACTIVE state now
2025-10-27 01:52:54,682 - INFO - VM name : ctest-vn1-vm1-86587917
2025-10-27 01:52:54,821 - DEBUG - VM ctest-vn1-vm1-86587917 ID is 6d263e62-bb13-49da-a6a3-49ae494e33db
2025-10-27 01:52:54,858 - DEBUG - VM ctest-vn1-vm1-86587917 launched on Node cn-jenkins-deploy-platform-juju-os-607-1
2025-10-27 01:52:55,013 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine/6d263e62-bb13-49da-a6a3-49ae494e33db
2025-10-27 01:52:55,070 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine-interface/8460b598-b3a3-401f-8035-99b0ef68a220
2025-10-27 01:52:58,578 - 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 1028ms')
2025-10-27 01:52:58,579 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86587917 failed!
2025-10-27 01:52:58,640 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-44713792:ctest-vn1-78692339 is 173.94.60.65 and allocation pool is NOT set
2025-10-27 01:52:58,640 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-44713792:ctest-vn1-78692339 is 34.62.1.129 and allocation pool is NOT set
2025-10-27 01:53:02,740 - 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 1006ms')
2025-10-27 01:53:02,740 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86587917 failed!
2025-10-27 01:53:02,796 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-44713792:ctest-vn1-78692339 is 173.94.60.65 and allocation pool is NOT set
2025-10-27 01:53:02,796 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-44713792:ctest-vn1-78692339 is 34.62.1.129 and allocation pool is NOT set
2025-10-27 01:53:04,895 - 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=2.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.736 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.736/1.799/2.863/1.063 ms')
2025-10-27 01:53:04,895 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86587917 passed
2025-10-27 01:53:05,048 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 01:53:05,048 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-86587917, IP 173.94.60.69, Port 22
2025-10-27 01:53:05,268 - DEBUG - VM ctest-vn1-vm1-86587917 is ready for SSH connections
2025-10-27 01:53:05,268 - INFO - Waiting for VM ctest-vn1-vm2-10570671 to be up..
2025-10-27 01:53:05,421 - DEBUG - VM is in ACTIVE state now
2025-10-27 01:53:05,421 - INFO - VM name : ctest-vn1-vm2-10570671
2025-10-27 01:53:05,567 - DEBUG - VM ctest-vn1-vm2-10570671 ID is f118c475-a855-4649-9aac-283539095c6c
2025-10-27 01:53:05,567 - DEBUG - VM ctest-vn1-vm2-10570671 launched on Node cn-jenkins-deploy-platform-juju-os-607-1
2025-10-27 01:53:05,717 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine/f118c475-a855-4649-9aac-283539095c6c
2025-10-27 01:53:05,780 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine-interface/764707a7-5519-42f6-9cf5-2975005adb57
2025-10-27 01:53:07,233 - 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=2.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.402 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.402/1.679/2.956/1.277 ms')
2025-10-27 01:53:07,234 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-10570671 passed
2025-10-27 01:53:07,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 01:53:07,396 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-10570671, IP 34.62.1.133, Port 22
2025-10-27 01:53:07,606 - DEBUG - VM ctest-vn1-vm2-10570671 is ready for SSH connections
2025-10-27 01:53:07,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 01:53:07,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 01:53:07,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 01:53:07,606 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.94.60.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-10-27 01:53:07,606 - DEBUG - ping -s 56 -c 3 -W 1 173.94.60.69
2025-10-27 01:53:10,682 - DEBUG - PING 173.94.60.69 (173.94.60.69): 56 data bytes
64 bytes from 173.94.60.69: seq=0 ttl=63 time=3.863 ms
64 bytes from 173.94.60.69: seq=1 ttl=63 time=1.157 ms
64 bytes from 173.94.60.69: seq=2 ttl=63 time=0.906 ms
--- 173.94.60.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.906/1.975/3.863 ms
2025-10-27 01:53:10,682 - INFO - Ping to IP 173.94.60.69 from VM ctest-vn1-vm2-10570671 passed
2025-10-27 01:53:10,682 - INFO - Detaching port 764707a7-5519-42f6-9cf5-2975005adb57 from VM ctest-vn1-vm2-10570671
2025-10-27 01:53:10,920 - INFO - Deleting VM ctest-vn1-vm2-10570671
2025-10-27 01:53:11,082 - INFO - Detaching port 8460b598-b3a3-401f-8035-99b0ef68a220 from VM ctest-vn1-vm1-86587917
2025-10-27 01:53:11,151 - INFO - Deleting VM ctest-vn1-vm1-86587917
2025-10-27 01:53:11,548 - DEBUG - Response for delete_port : ()
2025-10-27 01:53:11,841 - DEBUG - Response for delete_port : ()
2025-10-27 01:53:11,841 - INFO - Deleting VN ctest-vn1-78692339
2025-10-27 01:53:12,045 - DEBUG - Response for deleting network ()
2025-10-27 01:53:12,425 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 01:53:12,425 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2025-10-27 01:53:12,425 - INFO - --------------------------------------------------------------------------------
2025-10-27 01:53:13,250 - INFO - Deleted project: ctest-TestPorts-44713792, ID : baf7ffa3-eacf-49ca-9a8f-f1dd0887bcdd