2025-08-04 10:04:38,468 - INFO - Domain Default found not creating 2025-08-04 10:04:38,653 - INFO - Project ctest-TestPorts-09982026 not found, creating it 2025-08-04 10:04:39,165 - INFO - Created Project:ctest-TestPorts-09982026, ID : d1d8d4ae-0501-4d7e-9420-607fab6224b2 2025-08-04 10:04:40,993 - INFO - ================================================================================ 2025-08-04 10:04:40,994 - INFO - STARTING TEST : test_ports_bindings 2025-08-04 10:04:40,994 - 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-04 10:04:41,258 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-04 10:04:41,258 - INFO - Initial checks done. Running the testcase now 2025-08-04 10:04:41,258 - INFO - 2025-08-04 10:04:41,903 - DEBUG - Response for create_network : {'network': {'id': '10c3ea08-ec1f-4e48-b4e5-106464e70a1c', 'name': 'ctest-vn-06023108', 'tenant_id': 'd1d8d4ae05014d7e9420607fab6224b2', 'project_id': 'd1d8d4ae05014d7e9420607fab6224b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-09982026', 'ctest-vn-06023108'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 10:04:42,156 - DEBUG - Response for create_subnet : {'subnet': {'id': '25adf9a5-862c-4724-9616-1367448e9c41', 'name': '', 'tenant_id': 'd1d8d4ae05014d7e9420607fab6224b2', 'network_id': '10c3ea08-ec1f-4e48-b4e5-106464e70a1c', 'ip_version': 4, 'cidr': '143.132.18.64/26', 'allocation_pools': [{'start': '143.132.18.66', 'end': '143.132.18.126'}], 'gateway_ip': '143.132.18.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.132.18.66', 'tags': [], 'project_id': 'd1d8d4ae05014d7e9420607fab6224b2'}} 2025-08-04 10:04:42,182 - INFO - Created VN ctest-vn-06023108 2025-08-04 10:04:42,241 - DEBUG - VN ctest-vn-06023108 UUID is 10c3ea08-ec1f-4e48-b4e5-106464e70a1c 2025-08-04 10:04:42,379 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-09982026', 'ctest-vmi-36650159']} 2025-08-04 10:04:42,641 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-36650159', 'id': 'd362bb37-19b9-4df8-8600-d444adf12d4b', 'tenant_id': 'd1d8d4ae05014d7e9420607fab6224b2', 'network_id': '10c3ea08-ec1f-4e48-b4e5-106464e70a1c', 'mac_address': '02:d3:62:bb:37:19', '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': '143.132.18.67', 'subnet_id': '25adf9a5-862c-4724-9616-1367448e9c41'}], 'security_groups': ['f67d848a-8d0e-4d71-bccb-fe7bba10e2ae'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd1d8d4ae05014d7e9420607fab6224b2'}} 2025-08-04 10:04:42,641 - DEBUG - Created port d362bb37-19b9-4df8-8600-d444adf12d4b 2025-08-04 10:04:42,761 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d362bb37-19b9-4df8-8600-d444adf12d4b 2025-08-04 10:04:43,061 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d362bb37-19b9-4df8-8600-d444adf12d4b 2025-08-04 10:04:43,103 - INFO - VMI d362bb37-19b9-4df8-8600-d444adf12d4b verification in API Server passed 2025-08-04 10:04:43,217 - DEBUG - Response for delete_port : () 2025-08-04 10:04:43,218 - INFO - Deleted port d362bb37-19b9-4df8-8600-d444adf12d4b 2025-08-04 10:04:43,218 - INFO - Deleting VN ctest-vn-06023108 2025-08-04 10:04:43,363 - DEBUG - Response for deleting network () 2025-08-04 10:04:43,629 - DEBUG - No XMPP flaps were noticed during the test 2025-08-04 10:04:43,630 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-08-04 10:04:43,630 - INFO - -------------------------------------------------------------------------------- 2025-08-04 10:04:43,633 - INFO - ================================================================================ 2025-08-04 10:04:43,633 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-04 10:04:43,633 - 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-04 10:04:43,913 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-04 10:04:43,913 - INFO - Initial checks done. Running the testcase now 2025-08-04 10:04:43,913 - INFO - 2025-08-04 10:04:44,126 - DEBUG - Response for create_network : {'network': {'id': '4e4a17f4-6dc1-43d8-8848-062278dac421', 'name': 'ctest-vn1-09070909', 'tenant_id': 'd1d8d4ae05014d7e9420607fab6224b2', 'project_id': 'd1d8d4ae05014d7e9420607fab6224b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-09982026', 'ctest-vn1-09070909'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 10:04:44,305 - DEBUG - Response for create_subnet : {'subnet': {'id': '484c3495-afda-43b4-bd06-77f754cf72d2', 'name': '', 'tenant_id': 'd1d8d4ae05014d7e9420607fab6224b2', 'network_id': '4e4a17f4-6dc1-43d8-8848-062278dac421', 'ip_version': 4, 'cidr': '15.77.47.128/26', 'allocation_pools': [{'start': '15.77.47.130', 'end': '15.77.47.190'}], 'gateway_ip': '15.77.47.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.77.47.130', 'tags': [], 'project_id': 'd1d8d4ae05014d7e9420607fab6224b2'}} 2025-08-04 10:04:44,521 - DEBUG - Response for create_subnet : {'subnet': {'id': '679e8f67-ebb6-4187-bf59-e75450324429', 'name': '', 'tenant_id': 'd1d8d4ae05014d7e9420607fab6224b2', 'network_id': '4e4a17f4-6dc1-43d8-8848-062278dac421', 'ip_version': 4, 'cidr': '13.164.145.64/26', 'allocation_pools': [{'start': '13.164.145.66', 'end': '13.164.145.126'}], 'gateway_ip': '13.164.145.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.164.145.66', 'tags': [], 'project_id': 'd1d8d4ae05014d7e9420607fab6224b2'}} 2025-08-04 10:04:44,544 - INFO - Created VN ctest-vn1-09070909 2025-08-04 10:04:44,600 - DEBUG - VN ctest-vn1-09070909 UUID is 4e4a17f4-6dc1-43d8-8848-062278dac421 2025-08-04 10:04:44,934 - DEBUG - Response for create_port : {'port': {'name': 'bf30e4d1-f91e-4027-9594-249117f52d0c', 'id': 'bf30e4d1-f91e-4027-9594-249117f52d0c', 'tenant_id': 'd1d8d4ae05014d7e9420607fab6224b2', 'network_id': '4e4a17f4-6dc1-43d8-8848-062278dac421', 'mac_address': '02:bf:30:e4:d1:f9', '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': '15.77.47.133', 'subnet_id': '484c3495-afda-43b4-bd06-77f754cf72d2'}], 'security_groups': ['f67d848a-8d0e-4d71-bccb-fe7bba10e2ae'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd1d8d4ae05014d7e9420607fab6224b2'}} 2025-08-04 10:04:45,114 - DEBUG - Response for create_port : {'port': {'name': 'ababca95-e838-42ad-9edc-8346a601f9bf', 'id': 'ababca95-e838-42ad-9edc-8346a601f9bf', 'tenant_id': 'd1d8d4ae05014d7e9420607fab6224b2', 'network_id': '4e4a17f4-6dc1-43d8-8848-062278dac421', 'mac_address': '02:ab:ab:ca:95:e8', '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': '13.164.145.69', 'subnet_id': '679e8f67-ebb6-4187-bf59-e75450324429'}], 'security_groups': ['f67d848a-8d0e-4d71-bccb-fe7bba10e2ae'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd1d8d4ae05014d7e9420607fab6224b2'}} 2025-08-04 10:04:45,179 - DEBUG - Services list from nova: [, , ] 2025-08-04 10:04:45,559 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3752-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3752-1) 2025-08-04 10:04:46,021 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3752-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3752-1) 2025-08-04 10:04:46,021 - INFO - Waiting for VM ctest-vn1-vm1-96616900 to be up.. 2025-08-04 10:04:46,074 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-04 10:04:51,157 - DEBUG - VM is in ACTIVE state now 2025-08-04 10:04:51,158 - INFO - VM name : ctest-vn1-vm1-96616900 2025-08-04 10:04:51,235 - DEBUG - VM ctest-vn1-vm1-96616900 ID is a54072b5-b253-49ea-958f-35de4cf11d9a 2025-08-04 10:04:51,261 - DEBUG - VM ctest-vn1-vm1-96616900 launched on Node cn-jenkins-deploy-platform-ansible-os-3752-1 2025-08-04 10:04:51,354 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a54072b5-b253-49ea-958f-35de4cf11d9a 2025-08-04 10:04:51,366 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/bf30e4d1-f91e-4027-9594-249117f52d0c 2025-08-04 10:04:54,650 - 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-08-04 10:04:54,650 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-96616900 failed! 2025-08-04 10:04:54,709 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-09982026:ctest-vn1-09070909 is 15.77.47.129 and allocation pool is NOT set 2025-08-04 10:04:54,709 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-09982026:ctest-vn1-09070909 is 13.164.145.65 and allocation pool is NOT set 2025-08-04 10:04:58,777 - 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.0 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1005ms\r\nrtt min/avg/max/mdev = 10.001/10.001/10.001/0.000 ms') 2025-08-04 10:04:58,777 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-96616900 passed 2025-08-04 10:04:58,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 10:04:58,933 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-96616900, IP 15.77.47.133, Port 22 2025-08-04 10:04:59,097 - DEBUG - VM ctest-vn1-vm1-96616900 is ready for SSH connections 2025-08-04 10:04:59,097 - INFO - Waiting for VM ctest-vn1-vm2-98654452 to be up.. 2025-08-04 10:04:59,196 - DEBUG - VM is in ACTIVE state now 2025-08-04 10:04:59,196 - INFO - VM name : ctest-vn1-vm2-98654452 2025-08-04 10:04:59,296 - DEBUG - VM ctest-vn1-vm2-98654452 ID is 67d692c8-f363-41ad-aa3e-d2feb7678570 2025-08-04 10:04:59,296 - DEBUG - VM ctest-vn1-vm2-98654452 launched on Node cn-jenkins-deploy-platform-ansible-os-3752-1 2025-08-04 10:04:59,396 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/67d692c8-f363-41ad-aa3e-d2feb7678570 2025-08-04 10:04:59,408 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ababca95-e838-42ad-9edc-8346a601f9bf 2025-08-04 10:05:00,658 - 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=4.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.29 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 = 1.292/2.806/4.321/1.514 ms') 2025-08-04 10:05:00,658 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-98654452 passed 2025-08-04 10:05:00,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 10:05:00,813 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-98654452, IP 13.164.145.69, Port 22 2025-08-04 10:05:00,979 - DEBUG - VM ctest-vn1-vm2-98654452 is ready for SSH connections 2025-08-04 10:05:00,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 10:05:00,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 10:05:00,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 10:05:00,979 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 15.77.47.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-04 10:05:00,979 - DEBUG - ping -s 56 -c 3 -W 1 15.77.47.133 2025-08-04 10:05:03,636 - DEBUG - PING 15.77.47.133 (15.77.47.133): 56 data bytes 64 bytes from 15.77.47.133: seq=0 ttl=63 time=3.903 ms 64 bytes from 15.77.47.133: seq=1 ttl=63 time=0.966 ms 64 bytes from 15.77.47.133: seq=2 ttl=63 time=1.209 ms --- 15.77.47.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.966/2.026/3.903 ms 2025-08-04 10:05:03,636 - INFO - Ping to IP 15.77.47.133 from VM ctest-vn1-vm2-98654452 passed 2025-08-04 10:05:03,637 - INFO - Detaching port ababca95-e838-42ad-9edc-8346a601f9bf from VM ctest-vn1-vm2-98654452 2025-08-04 10:05:03,696 - INFO - Deleting VM ctest-vn1-vm2-98654452 2025-08-04 10:05:03,777 - INFO - Detaching port bf30e4d1-f91e-4027-9594-249117f52d0c from VM ctest-vn1-vm1-96616900 2025-08-04 10:05:03,825 - INFO - Deleting VM ctest-vn1-vm1-96616900 2025-08-04 10:05:04,145 - DEBUG - Response for delete_port : () 2025-08-04 10:05:04,331 - DEBUG - Response for delete_port : () 2025-08-04 10:05:04,331 - INFO - Deleting VN ctest-vn1-09070909 2025-08-04 10:05:04,491 - DEBUG - Response for deleting network () 2025-08-04 10:05:04,749 - DEBUG - No XMPP flaps were noticed during the test 2025-08-04 10:05:04,749 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-08-04 10:05:04,749 - INFO - -------------------------------------------------------------------------------- 2025-08-04 10:05:05,490 - INFO - Deleted project: ctest-TestPorts-09982026, ID : d1d8d4ae-0501-4d7e-9420-607fab6224b2