2025-08-22 13:32:17,738 - INFO - Domain Default found not creating 2025-08-22 13:32:17,867 - INFO - Project ctest-TestPorts-57358342 not found, creating it 2025-08-22 13:32:18,304 - INFO - Created Project:ctest-TestPorts-57358342, ID : 0bfa53cc-d20f-4158-87e6-77c69ed7b0b5 2025-08-22 13:32:19,670 - INFO - ================================================================================ 2025-08-22 13:32:19,670 - INFO - STARTING TEST : test_ports_bindings 2025-08-22 13:32:19,670 - 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-22 13:32:19,930 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with 2025-08-22 13:32:19,930 - INFO - Initial checks done. Running the testcase now 2025-08-22 13:32:19,930 - INFO - 2025-08-22 13:32:20,461 - DEBUG - Response for create_network : {'network': {'id': '12f1571e-9e29-45ea-9848-a1e5dd4ca29a', 'name': 'ctest-vn-40257513', 'tenant_id': '0bfa53ccd20f415887e677c69ed7b0b5', 'project_id': '0bfa53ccd20f415887e677c69ed7b0b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-57358342', 'ctest-vn-40257513'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 13:32:20,659 - DEBUG - Response for create_subnet : {'subnet': {'id': '0503b312-0d7b-4034-8163-03191d7090bd', 'name': '', 'tenant_id': '0bfa53ccd20f415887e677c69ed7b0b5', 'network_id': '12f1571e-9e29-45ea-9848-a1e5dd4ca29a', 'ip_version': 4, 'cidr': '136.152.47.0/26', 'allocation_pools': [{'start': '136.152.47.2', 'end': '136.152.47.62'}], 'gateway_ip': '136.152.47.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.152.47.2', 'tags': [], 'project_id': '0bfa53ccd20f415887e677c69ed7b0b5'}} 2025-08-22 13:32:20,673 - INFO - Created VN ctest-vn-40257513 2025-08-22 13:32:20,723 - DEBUG - VN ctest-vn-40257513 UUID is 12f1571e-9e29-45ea-9848-a1e5dd4ca29a 2025-08-22 13:32:20,819 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-57358342', 'ctest-vmi-58578200']} 2025-08-22 13:32:21,132 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-58578200', 'id': '6f6c8467-6571-4c06-aee2-33f2242c20c3', 'tenant_id': '0bfa53ccd20f415887e677c69ed7b0b5', 'network_id': '12f1571e-9e29-45ea-9848-a1e5dd4ca29a', 'mac_address': '02:6f:6c:84:67:65', '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': '136.152.47.3', 'subnet_id': '0503b312-0d7b-4034-8163-03191d7090bd'}], 'security_groups': ['7b78426b-cb4e-4b51-84d9-1c2d7398e7c8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0bfa53ccd20f415887e677c69ed7b0b5'}} 2025-08-22 13:32:21,133 - DEBUG - Created port 6f6c8467-6571-4c06-aee2-33f2242c20c3 2025-08-22 13:32:21,235 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6f6c8467-6571-4c06-aee2-33f2242c20c3 2025-08-22 13:32:21,523 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6f6c8467-6571-4c06-aee2-33f2242c20c3 2025-08-22 13:32:21,550 - INFO - VMI 6f6c8467-6571-4c06-aee2-33f2242c20c3 verification in API Server passed 2025-08-22 13:32:21,642 - DEBUG - Response for delete_port : () 2025-08-22 13:32:21,642 - INFO - Deleted port 6f6c8467-6571-4c06-aee2-33f2242c20c3 2025-08-22 13:32:21,642 - INFO - Deleting VN ctest-vn-40257513 2025-08-22 13:32:21,743 - DEBUG - Response for deleting network () 2025-08-22 13:32:22,004 - DEBUG - No XMPP flaps were noticed during the test
2025-08-22 13:32:22,004 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-22 13:32:22,004 - INFO - -------------------------------------------------------------------------------- 2025-08-22 13:32:22,006 - INFO - ================================================================================ 2025-08-22 13:32:22,006 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-22 13:32:22,006 - 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-22 13:32:22,291 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with 2025-08-22 13:32:22,291 - INFO - Initial checks done. Running the testcase now 2025-08-22 13:32:22,291 - INFO - 2025-08-22 13:32:22,469 - DEBUG - Response for create_network : {'network': {'id': '91ad5b43-6745-44de-96ed-38f0ab399943', 'name': 'ctest-vn1-43257660', 'tenant_id': '0bfa53ccd20f415887e677c69ed7b0b5', 'project_id': '0bfa53ccd20f415887e677c69ed7b0b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-57358342', 'ctest-vn1-43257660'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 13:32:22,658 - DEBUG - Response for create_subnet : {'subnet': {'id': '0fcc66a6-5611-4c5d-98cd-d3df48e5ba12', 'name': '', 'tenant_id': '0bfa53ccd20f415887e677c69ed7b0b5', 'network_id': '91ad5b43-6745-44de-96ed-38f0ab399943', 'ip_version': 4, 'cidr': '56.31.201.0/26', 'allocation_pools': [{'start': '56.31.201.2', 'end': '56.31.201.62'}], 'gateway_ip': '56.31.201.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.31.201.2', 'tags': [], 'project_id': '0bfa53ccd20f415887e677c69ed7b0b5'}} 2025-08-22 13:32:22,819 - DEBUG - Response for create_subnet : {'subnet': {'id': '634922e5-e489-475e-8cf9-0fc05052380c', 'name': '', 'tenant_id': '0bfa53ccd20f415887e677c69ed7b0b5', 'network_id': '91ad5b43-6745-44de-96ed-38f0ab399943', 'ip_version': 4, 'cidr': '69.97.143.192/26', 'allocation_pools': [{'start': '69.97.143.194', 'end': '69.97.143.254'}], 'gateway_ip': '69.97.143.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.97.143.194', 'tags': [], 'project_id': '0bfa53ccd20f415887e677c69ed7b0b5'}} 2025-08-22 13:32:22,840 - INFO - Created VN ctest-vn1-43257660 2025-08-22 13:32:22,895 - DEBUG - VN ctest-vn1-43257660 UUID is 91ad5b43-6745-44de-96ed-38f0ab399943 2025-08-22 13:32:23,223 - DEBUG - Response for create_port : {'port': {'name': '7e021852-5d33-4457-9410-0c90b72f23e8', 'id': '7e021852-5d33-4457-9410-0c90b72f23e8', 'tenant_id': '0bfa53ccd20f415887e677c69ed7b0b5', 'network_id': '91ad5b43-6745-44de-96ed-38f0ab399943', 'mac_address': '02:7e:02:18:52:5d', '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': '56.31.201.5', 'subnet_id': '0fcc66a6-5611-4c5d-98cd-d3df48e5ba12'}], 'security_groups': ['7b78426b-cb4e-4b51-84d9-1c2d7398e7c8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0bfa53ccd20f415887e677c69ed7b0b5'}} 2025-08-22 13:32:23,412 - DEBUG - Response for create_port : {'port': {'name': 'd3e5b206-723b-49dc-b31a-8540d34dde20', 'id': 'd3e5b206-723b-49dc-b31a-8540d34dde20', 'tenant_id': '0bfa53ccd20f415887e677c69ed7b0b5', 'network_id': '91ad5b43-6745-44de-96ed-38f0ab399943', 'mac_address': '02:d3:e5:b2:06: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': '69.97.143.197', 'subnet_id': '634922e5-e489-475e-8cf9-0fc05052380c'}], 'security_groups': ['7b78426b-cb4e-4b51-84d9-1c2d7398e7c8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0bfa53ccd20f415887e677c69ed7b0b5'}} 2025-08-22 13:32:23,463 - DEBUG - Services list from nova: [, , ] 2025-08-22 13:32:23,789 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3909-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3909-1) 2025-08-22 13:32:24,252 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3909-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3909-1) 2025-08-22 13:32:24,252 - INFO - Waiting for VM ctest-vn1-vm1-99895171 to be up.. 2025-08-22 13:32:24,288 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-22 13:32:29,361 - DEBUG - VM is in ACTIVE state now 2025-08-22 13:32:29,361 - INFO - VM name : ctest-vn1-vm1-99895171 2025-08-22 13:32:29,427 - DEBUG - VM ctest-vn1-vm1-99895171 ID is 7767bd0d-118a-4293-b63d-5c2fd6775dab 2025-08-22 13:32:29,444 - DEBUG - VM ctest-vn1-vm1-99895171 launched on Node cn-jenkins-deploy-platform-ansible-os-3909-1. 2025-08-22 13:32:29,527 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7767bd0d-118a-4293-b63d-5c2fd6775dab 2025-08-22 13:32:29,534 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7e021852-5d33-4457-9410-0c90b72f23e8 2025-08-22 13:32:32,806 - 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 1021ms') 2025-08-22 13:32:32,807 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-99895171 failed! 2025-08-22 13:32:32,859 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-57358342:ctest-vn1-43257660 is 56.31.201.1 and allocation pool is NOT set 2025-08-22 13:32:32,859 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-57358342:ctest-vn1-43257660 is 69.97.143.193 and allocation pool is NOT set 2025-08-22 13:32:34,916 - 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=5.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.528 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 = 0.528/3.128/5.729/2.600 ms') 2025-08-22 13:32:34,916 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-99895171 passed 2025-08-22 13:32:35,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 13:32:35,067 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-99895171, IP 56.31.201.5, Port 22 2025-08-22 13:32:35,238 - DEBUG - VM ctest-vn1-vm1-99895171 is ready for SSH connections 2025-08-22 13:32:35,239 - INFO - Waiting for VM ctest-vn1-vm2-80514711 to be up.. 2025-08-22 13:32:35,314 - DEBUG - VM is in ACTIVE state now 2025-08-22 13:32:35,314 - INFO - VM name : ctest-vn1-vm2-80514711 2025-08-22 13:32:35,378 - DEBUG - VM ctest-vn1-vm2-80514711 ID is 5b689563-6902-4b14-92da-cc3e6d42d5ed 2025-08-22 13:32:35,378 - DEBUG - VM ctest-vn1-vm2-80514711 launched on Node cn-jenkins-deploy-platform-ansible-os-3909-1. 2025-08-22 13:32:35,441 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5b689563-6902-4b14-92da-cc3e6d42d5ed 2025-08-22 13:32:35,448 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d3e5b206-723b-49dc-b31a-8540d34dde20 2025-08-22 13:32:36,699 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.414 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.414/1.524/2.634/1.110 ms') 2025-08-22 13:32:36,699 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-80514711 passed 2025-08-22 13:32:36,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 13:32:36,851 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-80514711, IP 69.97.143.197, Port 22 2025-08-22 13:32:37,024 - DEBUG - VM ctest-vn1-vm2-80514711 is ready for SSH connections 2025-08-22 13:32:37,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 13:32:37,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 13:32:37,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 13:32:37,024 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.31.201.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-22 13:32:37,025 - DEBUG - ping -s 56 -c 3 -W 1 56.31.201.5 2025-08-22 13:32:39,939 - DEBUG - PING 56.31.201.5 (56.31.201.5): 56 data bytes 64 bytes from 56.31.201.5: seq=0 ttl=63 time=3.602 ms 64 bytes from 56.31.201.5: seq=1 ttl=63 time=0.838 ms 64 bytes from 56.31.201.5: seq=2 ttl=63 time=0.685 ms --- 56.31.201.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.685/1.708/3.602 ms 2025-08-22 13:32:39,939 - INFO - Ping to IP 56.31.201.5 from VM ctest-vn1-vm2-80514711 passed 2025-08-22 13:32:39,940 - INFO - Detaching port d3e5b206-723b-49dc-b31a-8540d34dde20 from VM ctest-vn1-vm2-80514711 2025-08-22 13:32:39,988 - INFO - Deleting VM ctest-vn1-vm2-80514711 2025-08-22 13:32:40,052 - INFO - Detaching port 7e021852-5d33-4457-9410-0c90b72f23e8 from VM ctest-vn1-vm1-99895171 2025-08-22 13:32:40,083 - INFO - Deleting VM ctest-vn1-vm1-99895171 2025-08-22 13:32:40,311 - DEBUG - Response for delete_port : () 2025-08-22 13:32:40,468 - DEBUG - Response for delete_port : () 2025-08-22 13:32:40,468 - INFO - Deleting VN ctest-vn1-43257660 2025-08-22 13:32:40,604 - DEBUG - Response for deleting network () 2025-08-22 13:32:40,863 - DEBUG - No XMPP flaps were noticed during the test
2025-08-22 13:32:40,863 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-08-22 13:32:40,863 - INFO - -------------------------------------------------------------------------------- 2025-08-22 13:32:41,515 - INFO - Deleted project: ctest-TestPorts-57358342, ID : 0bfa53cc-d20f-4158-87e6-77c69ed7b0b5