2025-08-11 11:18:32,589 - INFO - Domain Default found not creating 2025-08-11 11:18:32,719 - INFO - Project ctest-TestPorts-86834507 not found, creating it 2025-08-11 11:18:33,134 - INFO - Created Project:ctest-TestPorts-86834507, ID : e0fc4bd7-4ba7-444c-af3d-55095dc8b552 2025-08-11 11:18:34,483 - INFO - ================================================================================ 2025-08-11 11:18:34,483 - INFO - STARTING TEST : test_ports_bindings 2025-08-11 11:18:34,483 - 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-08-11 11:18:34,734 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.18': '0'}} with 2025-08-11 11:18:34,734 - INFO - Initial checks done. Running the testcase now 2025-08-11 11:18:34,734 - INFO - 2025-08-11 11:18:35,239 - DEBUG - Response for create_network : {'network': {'id': '3e31db66-2f93-46cf-9f59-9eec3c7de513', 'name': 'ctest-vn-65899652', 'tenant_id': 'e0fc4bd74ba7444caf3d55095dc8b552', 'project_id': 'e0fc4bd74ba7444caf3d55095dc8b552', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86834507', 'ctest-vn-65899652'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 11:18:35,401 - DEBUG - Response for create_subnet : {'subnet': {'id': '68f2db24-f0e2-436e-bbcd-4a37d901f90b', 'name': '', 'tenant_id': 'e0fc4bd74ba7444caf3d55095dc8b552', 'network_id': '3e31db66-2f93-46cf-9f59-9eec3c7de513', 'ip_version': 4, 'cidr': '120.7.26.64/26', 'allocation_pools': [{'start': '120.7.26.66', 'end': '120.7.26.126'}], 'gateway_ip': '120.7.26.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.7.26.66', 'tags': [], 'project_id': 'e0fc4bd74ba7444caf3d55095dc8b552'}} 2025-08-11 11:18:35,417 - INFO - Created VN ctest-vn-65899652 2025-08-11 11:18:35,469 - DEBUG - VN ctest-vn-65899652 UUID is 3e31db66-2f93-46cf-9f59-9eec3c7de513 2025-08-11 11:18:35,564 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-86834507', 'ctest-vmi-27115221']} 2025-08-11 11:18:35,825 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-27115221', 'id': '339c5c30-1c0d-432a-b1a7-8e34bdf801e5', 'tenant_id': 'e0fc4bd74ba7444caf3d55095dc8b552', 'network_id': '3e31db66-2f93-46cf-9f59-9eec3c7de513', 'mac_address': '02:33:9c:5c:30:1c', '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': '120.7.26.67', 'subnet_id': '68f2db24-f0e2-436e-bbcd-4a37d901f90b'}], 'security_groups': ['6cf0f7ff-e6b3-401f-b2d6-61d6f5b3dc2e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e0fc4bd74ba7444caf3d55095dc8b552'}} 2025-08-11 11:18:35,825 - DEBUG - Created port 339c5c30-1c0d-432a-b1a7-8e34bdf801e5 2025-08-11 11:18:35,936 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/339c5c30-1c0d-432a-b1a7-8e34bdf801e5 2025-08-11 11:18:36,227 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/339c5c30-1c0d-432a-b1a7-8e34bdf801e5 2025-08-11 11:18:36,255 - INFO - VMI 339c5c30-1c0d-432a-b1a7-8e34bdf801e5 verification in API Server passed 2025-08-11 11:18:36,330 - DEBUG - Response for delete_port : () 2025-08-11 11:18:36,330 - INFO - Deleted port 339c5c30-1c0d-432a-b1a7-8e34bdf801e5 2025-08-11 11:18:36,330 - INFO - Deleting VN ctest-vn-65899652 2025-08-11 11:18:36,421 - DEBUG - Response for deleting network () 2025-08-11 11:18:36,678 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 11:18:36,678 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-11 11:18:36,678 - INFO - -------------------------------------------------------------------------------- 2025-08-11 11:18:36,680 - INFO - ================================================================================ 2025-08-11 11:18:36,680 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-11 11:18:36,681 - 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-08-11 11:18:36,966 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.18': '0'}} with 2025-08-11 11:18:36,966 - INFO - Initial checks done. Running the testcase now 2025-08-11 11:18:36,966 - INFO - 2025-08-11 11:18:37,123 - DEBUG - Response for create_network : {'network': {'id': '520a1b40-a55a-4df3-9973-97e10b7a0c27', 'name': 'ctest-vn1-54974893', 'tenant_id': 'e0fc4bd74ba7444caf3d55095dc8b552', 'project_id': 'e0fc4bd74ba7444caf3d55095dc8b552', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86834507', 'ctest-vn1-54974893'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 11:18:37,331 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0f61c1a-3a6f-42be-8068-131141757fc6', 'name': '', 'tenant_id': 'e0fc4bd74ba7444caf3d55095dc8b552', 'network_id': '520a1b40-a55a-4df3-9973-97e10b7a0c27', 'ip_version': 4, 'cidr': '145.228.159.128/26', 'allocation_pools': [{'start': '145.228.159.130', 'end': '145.228.159.190'}], 'gateway_ip': '145.228.159.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.228.159.130', 'tags': [], 'project_id': 'e0fc4bd74ba7444caf3d55095dc8b552'}} 2025-08-11 11:18:37,464 - DEBUG - Response for create_subnet : {'subnet': {'id': '7dc8b242-326a-4276-8b64-7022c4db3de9', 'name': '', 'tenant_id': 'e0fc4bd74ba7444caf3d55095dc8b552', 'network_id': '520a1b40-a55a-4df3-9973-97e10b7a0c27', 'ip_version': 4, 'cidr': '135.54.132.64/26', 'allocation_pools': [{'start': '135.54.132.66', 'end': '135.54.132.126'}], 'gateway_ip': '135.54.132.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.54.132.66', 'tags': [], 'project_id': 'e0fc4bd74ba7444caf3d55095dc8b552'}} 2025-08-11 11:18:37,481 - INFO - Created VN ctest-vn1-54974893 2025-08-11 11:18:37,533 - DEBUG - VN ctest-vn1-54974893 UUID is 520a1b40-a55a-4df3-9973-97e10b7a0c27 2025-08-11 11:18:37,808 - DEBUG - Response for create_port : {'port': {'name': '2ab0c316-d882-49d2-9bb5-9b0fa0ae2b29', 'id': '2ab0c316-d882-49d2-9bb5-9b0fa0ae2b29', 'tenant_id': 'e0fc4bd74ba7444caf3d55095dc8b552', 'network_id': '520a1b40-a55a-4df3-9973-97e10b7a0c27', 'mac_address': '02:2a:b0:c3:16:d8', '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.228.159.133', 'subnet_id': 'e0f61c1a-3a6f-42be-8068-131141757fc6'}], 'security_groups': ['6cf0f7ff-e6b3-401f-b2d6-61d6f5b3dc2e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e0fc4bd74ba7444caf3d55095dc8b552'}} 2025-08-11 11:18:37,984 - DEBUG - Response for create_port : {'port': {'name': '1e78b4de-5e47-4c10-8fa1-f128b1dd0aa8', 'id': '1e78b4de-5e47-4c10-8fa1-f128b1dd0aa8', 'tenant_id': 'e0fc4bd74ba7444caf3d55095dc8b552', 'network_id': '520a1b40-a55a-4df3-9973-97e10b7a0c27', 'mac_address': '02:1e:78:b4:de:5e', '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': '135.54.132.69', 'subnet_id': '7dc8b242-326a-4276-8b64-7022c4db3de9'}], 'security_groups': ['6cf0f7ff-e6b3-401f-b2d6-61d6f5b3dc2e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e0fc4bd74ba7444caf3d55095dc8b552'}} 2025-08-11 11:18:38,033 - DEBUG - Services list from nova: [, , ] 2025-08-11 11:18:38,299 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3804-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3804-1) 2025-08-11 11:18:38,602 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3804-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3804-1) 2025-08-11 11:18:38,602 - INFO - Waiting for VM ctest-vn1-vm1-65813169 to be up.. 2025-08-11 11:18:38,633 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 11:18:43,696 - DEBUG - VM is in ACTIVE state now 2025-08-11 11:18:43,696 - INFO - VM name : ctest-vn1-vm1-65813169 2025-08-11 11:18:43,758 - DEBUG - VM ctest-vn1-vm1-65813169 ID is ba47e29a-917d-4e8d-a1ad-1ce0e7f2b0da 2025-08-11 11:18:43,773 - DEBUG - VM ctest-vn1-vm1-65813169 launched on Node cn-jenkins-deploy-platform-ansible-os-3804-1 2025-08-11 11:18:43,830 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ba47e29a-917d-4e8d-a1ad-1ce0e7f2b0da 2025-08-11 11:18:43,837 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2ab0c316-d882-49d2-9bb5-9b0fa0ae2b29 2025-08-11 11:18:47,083 - 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 1016ms') 2025-08-11 11:18:47,084 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-65813169 failed! 2025-08-11 11:18:47,136 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86834507:ctest-vn1-54974893 is 145.228.159.129 and allocation pool is NOT set 2025-08-11 11:18:47,137 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86834507:ctest-vn1-54974893 is 135.54.132.65 and allocation pool is NOT set 2025-08-11 11:18:49,202 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.779 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.779/1.875/2.972/1.096 ms') 2025-08-11 11:18:49,202 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-65813169 passed 2025-08-11 11:18:49,353 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:18:49,353 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-65813169, IP 145.228.159.133, Port 22 2025-08-11 11:18:49,504 - DEBUG - VM ctest-vn1-vm1-65813169 is ready for SSH connections 2025-08-11 11:18:49,504 - INFO - Waiting for VM ctest-vn1-vm2-32970480 to be up.. 2025-08-11 11:18:49,568 - DEBUG - VM is in ACTIVE state now 2025-08-11 11:18:49,568 - INFO - VM name : ctest-vn1-vm2-32970480 2025-08-11 11:18:49,631 - DEBUG - VM ctest-vn1-vm2-32970480 ID is e10c6df4-9224-4748-a3cc-b7709c3cf9fc 2025-08-11 11:18:49,631 - DEBUG - VM ctest-vn1-vm2-32970480 launched on Node cn-jenkins-deploy-platform-ansible-os-3804-1 2025-08-11 11:18:49,693 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e10c6df4-9224-4748-a3cc-b7709c3cf9fc 2025-08-11 11:18:49,700 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1e78b4de-5e47-4c10-8fa1-f128b1dd0aa8 2025-08-11 11:18:50,923 - 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.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.366 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.366/1.462/2.559/1.096 ms') 2025-08-11 11:18:50,923 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-32970480 passed 2025-08-11 11:18:51,072 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:18:51,073 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-32970480, IP 135.54.132.69, Port 22 2025-08-11 11:18:51,228 - DEBUG - VM ctest-vn1-vm2-32970480 is ready for SSH connections 2025-08-11 11:18:51,228 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:18:51,228 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:18:51,228 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 11:18:51,228 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 145.228.159.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-11 11:18:51,228 - DEBUG - ping -s 56 -c 3 -W 1 145.228.159.133 2025-08-11 11:18:54,876 - DEBUG - PING 145.228.159.133 (145.228.159.133): 56 data bytes 64 bytes from 145.228.159.133: seq=0 ttl=63 time=3.065 ms 64 bytes from 145.228.159.133: seq=1 ttl=63 time=0.672 ms 64 bytes from 145.228.159.133: seq=2 ttl=63 time=0.671 ms --- 145.228.159.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.671/1.469/3.065 ms 2025-08-11 11:18:54,876 - INFO - Ping to IP 145.228.159.133 from VM ctest-vn1-vm2-32970480 passed 2025-08-11 11:18:54,876 - INFO - Detaching port 1e78b4de-5e47-4c10-8fa1-f128b1dd0aa8 from VM ctest-vn1-vm2-32970480 2025-08-11 11:18:54,919 - INFO - Deleting VM ctest-vn1-vm2-32970480 2025-08-11 11:18:54,976 - INFO - Detaching port 2ab0c316-d882-49d2-9bb5-9b0fa0ae2b29 from VM ctest-vn1-vm1-65813169 2025-08-11 11:18:55,001 - INFO - Deleting VM ctest-vn1-vm1-65813169 2025-08-11 11:18:55,176 - DEBUG - Response for delete_port : () 2025-08-11 11:18:55,330 - DEBUG - Response for delete_port : () 2025-08-11 11:18:55,330 - INFO - Deleting VN ctest-vn1-54974893 2025-08-11 11:18:55,433 - DEBUG - Response for deleting network () 2025-08-11 11:18:55,685 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 11:18:55,685 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-08-11 11:18:55,685 - INFO - -------------------------------------------------------------------------------- 2025-08-11 11:18:56,334 - INFO - Deleted project: ctest-TestPorts-86834507, ID : e0fc4bd7-4ba7-444c-af3d-55095dc8b552