2025-07-22 08:57:31,926 - INFO - Domain Default found not creating 2025-07-22 08:57:32,164 - INFO - Project ctest-TestPorts-73924489 not found, creating it 2025-07-22 08:57:32,913 - INFO - Created Project:ctest-TestPorts-73924489, ID : cd851c9a-9ae4-4b0c-85f7-f32c4dcd44ed 2025-07-22 08:57:34,885 - INFO - ================================================================================ 2025-07-22 08:57:34,885 - INFO - STARTING TEST : test_ports_bindings 2025-07-22 08:57:34,885 - 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-07-22 08:57:35,193 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-07-22 08:57:35,193 - INFO - Initial checks done. Running the testcase now 2025-07-22 08:57:35,193 - INFO - 2025-07-22 08:57:36,021 - DEBUG - Response for create_network : {'network': {'id': '08b70fe9-b575-4455-ac28-59ae98b3f72c', 'name': 'ctest-vn-76823722', 'tenant_id': 'cd851c9a9ae44b0c85f7f32c4dcd44ed', 'project_id': 'cd851c9a9ae44b0c85f7f32c4dcd44ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-73924489', 'ctest-vn-76823722'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 08:57:36,243 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e84c3e73-f816-418c-9b0e-f7e6636d2c7b', 'name': '', 'tenant_id': 'cd851c9a9ae44b0c85f7f32c4dcd44ed', 'network_id': '08b70fe9-b575-4455-ac28-59ae98b3f72c', 'ip_version': 4, 'cidr': '139.5.14.0/26', 'allocation_pools': [{'start': '139.5.14.2', 'end': '139.5.14.62'}], 'gateway_ip': '139.5.14.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.5.14.2', 'tags': [], 'project_id': 'cd851c9a9ae44b0c85f7f32c4dcd44ed'}} 2025-07-22 08:57:36,272 - INFO - Created VN ctest-vn-76823722 2025-07-22 08:57:36,333 - DEBUG - VN ctest-vn-76823722 UUID is 08b70fe9-b575-4455-ac28-59ae98b3f72c 2025-07-22 08:57:36,495 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-73924489', 'ctest-vmi-00675972']} 2025-07-22 08:57:36,887 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-00675972', 'id': '26ea2119-9bbf-4dab-8bcf-8d90d9722db5', 'tenant_id': 'cd851c9a9ae44b0c85f7f32c4dcd44ed', 'network_id': '08b70fe9-b575-4455-ac28-59ae98b3f72c', 'mac_address': '02:26:ea:21:19:9b', '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': '139.5.14.3', 'subnet_id': 'e84c3e73-f816-418c-9b0e-f7e6636d2c7b'}], 'security_groups': ['25cfc1b0-908a-483f-8cc8-63ba79cf9957'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cd851c9a9ae44b0c85f7f32c4dcd44ed'}} 2025-07-22 08:57:36,887 - DEBUG - Created port 26ea2119-9bbf-4dab-8bcf-8d90d9722db5 2025-07-22 08:57:37,013 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/26ea2119-9bbf-4dab-8bcf-8d90d9722db5 2025-07-22 08:57:37,356 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/26ea2119-9bbf-4dab-8bcf-8d90d9722db5 2025-07-22 08:57:37,420 - INFO - VMI 26ea2119-9bbf-4dab-8bcf-8d90d9722db5 verification in API Server passed 2025-07-22 08:57:37,580 - DEBUG - Response for delete_port : () 2025-07-22 08:57:37,580 - INFO - Deleted port 26ea2119-9bbf-4dab-8bcf-8d90d9722db5 2025-07-22 08:57:37,580 - INFO - Deleting VN ctest-vn-76823722 2025-07-22 08:57:37,724 - DEBUG - Response for deleting network () 2025-07-22 08:57:38,030 - DEBUG - No XMPP flaps were noticed during the test
2025-07-22 08:57:38,030 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04]
2025-07-22 08:57:38,031 - INFO - -------------------------------------------------------------------------------- 2025-07-22 08:57:38,039 - INFO - ================================================================================ 2025-07-22 08:57:38,039 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-07-22 08:57:38,039 - 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-07-22 08:57:38,362 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-07-22 08:57:38,362 - INFO - Initial checks done. Running the testcase now 2025-07-22 08:57:38,363 - INFO - 2025-07-22 08:57:38,692 - DEBUG - Response for create_network : {'network': {'id': '3d0d6a85-b65a-4908-84cd-561bdf353b57', 'name': 'ctest-vn1-36770333', 'tenant_id': 'cd851c9a9ae44b0c85f7f32c4dcd44ed', 'project_id': 'cd851c9a9ae44b0c85f7f32c4dcd44ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-73924489', 'ctest-vn1-36770333'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 08:57:38,849 - DEBUG - Response for create_subnet : {'subnet': {'id': '12898ee6-0bfd-4ed8-b260-a98f8aeda8ec', 'name': '', 'tenant_id': 'cd851c9a9ae44b0c85f7f32c4dcd44ed', 'network_id': '3d0d6a85-b65a-4908-84cd-561bdf353b57', 'ip_version': 4, 'cidr': '177.220.254.0/26', 'allocation_pools': [{'start': '177.220.254.2', 'end': '177.220.254.62'}], 'gateway_ip': '177.220.254.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.220.254.2', 'tags': [], 'project_id': 'cd851c9a9ae44b0c85f7f32c4dcd44ed'}} 2025-07-22 08:57:39,019 - DEBUG - Response for create_subnet : {'subnet': {'id': '11685d43-9638-459c-81fe-70719ba21f2c', 'name': '', 'tenant_id': 'cd851c9a9ae44b0c85f7f32c4dcd44ed', 'network_id': '3d0d6a85-b65a-4908-84cd-561bdf353b57', 'ip_version': 4, 'cidr': '5.170.182.192/26', 'allocation_pools': [{'start': '5.170.182.194', 'end': '5.170.182.254'}], 'gateway_ip': '5.170.182.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.170.182.194', 'tags': [], 'project_id': 'cd851c9a9ae44b0c85f7f32c4dcd44ed'}} 2025-07-22 08:57:39,046 - INFO - Created VN ctest-vn1-36770333 2025-07-22 08:57:39,105 - DEBUG - VN ctest-vn1-36770333 UUID is 3d0d6a85-b65a-4908-84cd-561bdf353b57 2025-07-22 08:57:39,726 - DEBUG - Response for create_port : {'port': {'name': '616b613d-72d9-4735-a2c9-1df638fcabfc', 'id': '616b613d-72d9-4735-a2c9-1df638fcabfc', 'tenant_id': 'cd851c9a9ae44b0c85f7f32c4dcd44ed', 'network_id': '3d0d6a85-b65a-4908-84cd-561bdf353b57', 'mac_address': '02:61:6b:61:3d:72', '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': '177.220.254.5', 'subnet_id': '12898ee6-0bfd-4ed8-b260-a98f8aeda8ec'}], 'security_groups': ['25cfc1b0-908a-483f-8cc8-63ba79cf9957'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cd851c9a9ae44b0c85f7f32c4dcd44ed'}} 2025-07-22 08:57:39,976 - DEBUG - Response for create_port : {'port': {'name': 'be80799d-2eab-4c41-9455-bd6f22eab372', 'id': 'be80799d-2eab-4c41-9455-bd6f22eab372', 'tenant_id': 'cd851c9a9ae44b0c85f7f32c4dcd44ed', 'network_id': '3d0d6a85-b65a-4908-84cd-561bdf353b57', 'mac_address': '02:be:80:79:9d:2e', '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': '5.170.182.197', 'subnet_id': '11685d43-9638-459c-81fe-70719ba21f2c'}], 'security_groups': ['25cfc1b0-908a-483f-8cc8-63ba79cf9957'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cd851c9a9ae44b0c85f7f32c4dcd44ed'}} 2025-07-22 08:57:40,053 - DEBUG - Services list from nova: [, , ] 2025-07-22 08:57:40,683 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3685-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3685-1) 2025-07-22 08:57:41,336 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3685-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3685-1) 2025-07-22 08:57:41,336 - INFO - Waiting for VM ctest-vn1-vm1-45917315 to be up.. 2025-07-22 08:57:41,392 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-22 08:57:46,538 - DEBUG - VM is in ACTIVE state now 2025-07-22 08:57:46,538 - INFO - VM name : ctest-vn1-vm1-45917315 2025-07-22 08:57:46,629 - DEBUG - VM ctest-vn1-vm1-45917315 ID is a91772af-1018-4c2e-8a86-e9e5e8cdf6cc 2025-07-22 08:57:46,654 - DEBUG - VM ctest-vn1-vm1-45917315 launched on Node cn-jenkins-deploy-platform-ansible-os-3685-1 2025-07-22 08:57:46,803 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a91772af-1018-4c2e-8a86-e9e5e8cdf6cc 2025-07-22 08:57:46,827 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/616b613d-72d9-4735-a2c9-1df638fcabfc 2025-07-22 08:57:50,127 - 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 1013ms') 2025-07-22 08:57:50,128 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45917315 failed! 2025-07-22 08:57:50,210 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-73924489:ctest-vn1-36770333 is 177.220.254.1 and allocation pool is NOT set 2025-07-22 08:57:50,210 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-73924489:ctest-vn1-36770333 is 5.170.182.193 and allocation pool is NOT set 2025-07-22 08:57:54,291 - 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 1010ms') 2025-07-22 08:57:54,292 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45917315 failed! 2025-07-22 08:57:54,349 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-73924489:ctest-vn1-36770333 is 177.220.254.1 and allocation pool is NOT set 2025-07-22 08:57:54,349 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-73924489:ctest-vn1-36770333 is 5.170.182.193 and allocation pool is NOT set 2025-07-22 08:57:56,440 - 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=12.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.943 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.943/6.706/12.470/5.763 ms') 2025-07-22 08:57:56,440 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45917315 passed 2025-07-22 08:57:56,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 08:57:56,642 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-45917315, IP 177.220.254.5, Port 22 2025-07-22 08:57:56,847 - DEBUG - VM ctest-vn1-vm1-45917315 is ready for SSH connections 2025-07-22 08:57:56,848 - INFO - Waiting for VM ctest-vn1-vm2-58691914 to be up.. 2025-07-22 08:57:57,063 - DEBUG - VM is in ACTIVE state now 2025-07-22 08:57:57,063 - INFO - VM name : ctest-vn1-vm2-58691914 2025-07-22 08:57:57,248 - DEBUG - VM ctest-vn1-vm2-58691914 ID is bbcded27-fdca-458c-a2c6-6766cbfc0bc5 2025-07-22 08:57:57,248 - DEBUG - VM ctest-vn1-vm2-58691914 launched on Node cn-jenkins-deploy-platform-ansible-os-3685-1 2025-07-22 08:57:57,405 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bbcded27-fdca-458c-a2c6-6766cbfc0bc5 2025-07-22 08:57:57,428 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/be80799d-2eab-4c41-9455-bd6f22eab372 2025-07-22 08:57:58,766 - 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=7.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.15 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.146/4.520/7.895/3.374 ms') 2025-07-22 08:57:58,766 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-58691914 passed 2025-07-22 08:57:58,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 08:57:58,970 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-58691914, IP 5.170.182.197, Port 22 2025-07-22 08:57:59,173 - DEBUG - VM ctest-vn1-vm2-58691914 is ready for SSH connections 2025-07-22 08:57:59,174 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 08:57:59,174 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 08:57:59,174 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 08:57:59,175 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.220.254.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-22 08:57:59,175 - DEBUG - ping -s 56 -c 3 -W 1 177.220.254.5 2025-07-22 08:58:02,383 - DEBUG - PING 177.220.254.5 (177.220.254.5): 56 data bytes 64 bytes from 177.220.254.5: seq=0 ttl=63 time=4.529 ms 64 bytes from 177.220.254.5: seq=1 ttl=63 time=2.869 ms 64 bytes from 177.220.254.5: seq=2 ttl=63 time=1.937 ms --- 177.220.254.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.937/3.111/4.529 ms 2025-07-22 08:58:02,383 - INFO - Ping to IP 177.220.254.5 from VM ctest-vn1-vm2-58691914 passed 2025-07-22 08:58:02,384 - INFO - Detaching port be80799d-2eab-4c41-9455-bd6f22eab372 from VM ctest-vn1-vm2-58691914 2025-07-22 08:58:02,498 - INFO - Deleting VM ctest-vn1-vm2-58691914 2025-07-22 08:58:02,658 - INFO - Detaching port 616b613d-72d9-4735-a2c9-1df638fcabfc from VM ctest-vn1-vm1-45917315 2025-07-22 08:58:02,705 - INFO - Deleting VM ctest-vn1-vm1-45917315 2025-07-22 08:58:03,010 - DEBUG - Response for delete_port : () 2025-07-22 08:58:03,190 - DEBUG - Response for delete_port : () 2025-07-22 08:58:03,190 - INFO - Deleting VN ctest-vn1-36770333 2025-07-22 08:58:03,316 - DEBUG - Response for deleting network () 2025-07-22 08:58:03,609 - DEBUG - No XMPP flaps were noticed during the test
2025-07-22 08:58:03,609 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-07-22 08:58:03,609 - INFO - -------------------------------------------------------------------------------- 2025-07-22 08:58:04,414 - INFO - Deleted project: ctest-TestPorts-73924489, ID : cd851c9a-9ae4-4b0c-85f7-f32c4dcd44ed