2025-08-12 16:47:32,797 - INFO - Domain Default found not creating 2025-08-12 16:47:32,910 - INFO - Project ctest-TestPorts-85978421 not found, creating it 2025-08-12 16:47:33,368 - INFO - Created Project:ctest-TestPorts-85978421, ID : 0b9193a2-a81b-45b0-9ce7-2ff0920bce26 2025-08-12 16:47:34,797 - INFO - ================================================================================ 2025-08-12 16:47:34,797 - INFO - STARTING TEST : test_ports_bindings 2025-08-12 16:47:34,797 - 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-12 16:47:35,049 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-12 16:47:35,049 - INFO - Initial checks done. Running the testcase now 2025-08-12 16:47:35,049 - INFO - 2025-08-12 16:47:35,579 - DEBUG - Response for create_network : {'network': {'id': '3441918d-7982-46be-a196-5a790e2596bb', 'name': 'ctest-vn-90345684', 'tenant_id': '0b9193a2a81b45b09ce72ff0920bce26', 'project_id': '0b9193a2a81b45b09ce72ff0920bce26', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-85978421', 'ctest-vn-90345684'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 16:47:35,725 - DEBUG - Response for create_subnet : {'subnet': {'id': '63c66f07-ab20-45ea-a65f-0be167666057', 'name': '', 'tenant_id': '0b9193a2a81b45b09ce72ff0920bce26', 'network_id': '3441918d-7982-46be-a196-5a790e2596bb', 'ip_version': 4, 'cidr': '76.112.190.192/26', 'allocation_pools': [{'start': '76.112.190.194', 'end': '76.112.190.254'}], 'gateway_ip': '76.112.190.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.112.190.194', 'tags': [], 'project_id': '0b9193a2a81b45b09ce72ff0920bce26'}} 2025-08-12 16:47:35,741 - INFO - Created VN ctest-vn-90345684 2025-08-12 16:47:35,792 - DEBUG - VN ctest-vn-90345684 UUID is 3441918d-7982-46be-a196-5a790e2596bb 2025-08-12 16:47:35,884 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-85978421', 'ctest-vmi-62628134']} 2025-08-12 16:47:36,141 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-62628134', 'id': '79ca0501-88f9-48d1-8314-3435fc631ac0', 'tenant_id': '0b9193a2a81b45b09ce72ff0920bce26', 'network_id': '3441918d-7982-46be-a196-5a790e2596bb', 'mac_address': '02:79:ca:05:01:88', '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': '76.112.190.195', 'subnet_id': '63c66f07-ab20-45ea-a65f-0be167666057'}], 'security_groups': ['c9444839-5fc8-4386-85b1-867ad99aad43'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0b9193a2a81b45b09ce72ff0920bce26'}} 2025-08-12 16:47:36,141 - DEBUG - Created port 79ca0501-88f9-48d1-8314-3435fc631ac0 2025-08-12 16:47:36,244 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/79ca0501-88f9-48d1-8314-3435fc631ac0 2025-08-12 16:47:36,532 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/79ca0501-88f9-48d1-8314-3435fc631ac0 2025-08-12 16:47:36,562 - INFO - VMI 79ca0501-88f9-48d1-8314-3435fc631ac0 verification in API Server passed 2025-08-12 16:47:36,646 - DEBUG - Response for delete_port : () 2025-08-12 16:47:36,646 - INFO - Deleted port 79ca0501-88f9-48d1-8314-3435fc631ac0 2025-08-12 16:47:36,647 - INFO - Deleting VN ctest-vn-90345684 2025-08-12 16:47:36,738 - DEBUG - Response for deleting network () 2025-08-12 16:47:36,993 - DEBUG - No XMPP flaps were noticed during the test 2025-08-12 16:47:36,993 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-12 16:47:36,993 - INFO - -------------------------------------------------------------------------------- 2025-08-12 16:47:36,995 - INFO - ================================================================================ 2025-08-12 16:47:36,996 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-12 16:47:36,996 - 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-12 16:47:37,293 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-12 16:47:37,293 - INFO - Initial checks done. Running the testcase now 2025-08-12 16:47:37,293 - INFO - 2025-08-12 16:47:37,472 - DEBUG - Response for create_network : {'network': {'id': '55229702-07a6-497e-9222-76e7e60c481d', 'name': 'ctest-vn1-24257852', 'tenant_id': '0b9193a2a81b45b09ce72ff0920bce26', 'project_id': '0b9193a2a81b45b09ce72ff0920bce26', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-85978421', 'ctest-vn1-24257852'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 16:47:37,625 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3cd34c8-56d9-44f5-b16c-858c6c890c79', 'name': '', 'tenant_id': '0b9193a2a81b45b09ce72ff0920bce26', 'network_id': '55229702-07a6-497e-9222-76e7e60c481d', 'ip_version': 4, 'cidr': '182.153.207.128/26', 'allocation_pools': [{'start': '182.153.207.130', 'end': '182.153.207.190'}], 'gateway_ip': '182.153.207.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.153.207.130', 'tags': [], 'project_id': '0b9193a2a81b45b09ce72ff0920bce26'}} 2025-08-12 16:47:37,769 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fdbd9365-e885-420e-852f-952bae1ca787', 'name': '', 'tenant_id': '0b9193a2a81b45b09ce72ff0920bce26', 'network_id': '55229702-07a6-497e-9222-76e7e60c481d', 'ip_version': 4, 'cidr': '87.83.211.128/26', 'allocation_pools': [{'start': '87.83.211.130', 'end': '87.83.211.190'}], 'gateway_ip': '87.83.211.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.83.211.130', 'tags': [], 'project_id': '0b9193a2a81b45b09ce72ff0920bce26'}} 2025-08-12 16:47:37,787 - INFO - Created VN ctest-vn1-24257852 2025-08-12 16:47:37,840 - DEBUG - VN ctest-vn1-24257852 UUID is 55229702-07a6-497e-9222-76e7e60c481d 2025-08-12 16:47:38,115 - DEBUG - Response for create_port : {'port': {'name': 'c95bc81a-189e-4b5a-a9fb-946904a1f176', 'id': 'c95bc81a-189e-4b5a-a9fb-946904a1f176', 'tenant_id': '0b9193a2a81b45b09ce72ff0920bce26', 'network_id': '55229702-07a6-497e-9222-76e7e60c481d', 'mac_address': '02:c9:5b:c8:1a:18', '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': '182.153.207.133', 'subnet_id': 'f3cd34c8-56d9-44f5-b16c-858c6c890c79'}], 'security_groups': ['c9444839-5fc8-4386-85b1-867ad99aad43'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0b9193a2a81b45b09ce72ff0920bce26'}} 2025-08-12 16:47:38,282 - DEBUG - Response for create_port : {'port': {'name': 'ac35e7a6-d67a-47b6-8cd0-1fa2e7d3fcb3', 'id': 'ac35e7a6-d67a-47b6-8cd0-1fa2e7d3fcb3', 'tenant_id': '0b9193a2a81b45b09ce72ff0920bce26', 'network_id': '55229702-07a6-497e-9222-76e7e60c481d', 'mac_address': '02:ac:35:e7:a6:d6', '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': '87.83.211.133', 'subnet_id': 'fdbd9365-e885-420e-852f-952bae1ca787'}], 'security_groups': ['c9444839-5fc8-4386-85b1-867ad99aad43'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0b9193a2a81b45b09ce72ff0920bce26'}} 2025-08-12 16:47:38,334 - DEBUG - Services list from nova: [, , ] 2025-08-12 16:47:38,632 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3835-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3835-1) 2025-08-12 16:47:39,084 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3835-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3835-1) 2025-08-12 16:47:39,085 - INFO - Waiting for VM ctest-vn1-vm1-01605097 to be up.. 2025-08-12 16:47:39,116 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-12 16:47:44,190 - DEBUG - VM is in ACTIVE state now 2025-08-12 16:47:44,191 - INFO - VM name : ctest-vn1-vm1-01605097 2025-08-12 16:47:44,257 - DEBUG - VM ctest-vn1-vm1-01605097 ID is df77b7de-39e5-423a-9bf5-7833fe734c18 2025-08-12 16:47:44,273 - DEBUG - VM ctest-vn1-vm1-01605097 launched on Node cn-jenkins-deploy-platform-ansible-os-3835-1 2025-08-12 16:47:44,333 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/df77b7de-39e5-423a-9bf5-7833fe734c18 2025-08-12 16:47:44,342 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c95bc81a-189e-4b5a-a9fb-946904a1f176 2025-08-12 16:47:47,592 - 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 1003ms') 2025-08-12 16:47:47,592 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01605097 failed! 2025-08-12 16:47:47,668 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-85978421:ctest-vn1-24257852 is 182.153.207.129 and allocation pool is NOT set 2025-08-12 16:47:47,668 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-85978421:ctest-vn1-24257852 is 87.83.211.129 and allocation pool is NOT set 2025-08-12 16:47:49,728 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.02 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 = 1.016/3.007/4.999/1.991 ms') 2025-08-12 16:47:49,728 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01605097 passed 2025-08-12 16:47:49,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 16:47:49,876 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01605097, IP 182.153.207.133, Port 22 2025-08-12 16:47:50,035 - DEBUG - VM ctest-vn1-vm1-01605097 is ready for SSH connections 2025-08-12 16:47:50,035 - INFO - Waiting for VM ctest-vn1-vm2-71651808 to be up.. 2025-08-12 16:47:50,107 - DEBUG - VM is in ACTIVE state now 2025-08-12 16:47:50,107 - INFO - VM name : ctest-vn1-vm2-71651808 2025-08-12 16:47:50,171 - DEBUG - VM ctest-vn1-vm2-71651808 ID is 073cc67b-7749-42e3-869d-891441f6aec2 2025-08-12 16:47:50,171 - DEBUG - VM ctest-vn1-vm2-71651808 launched on Node cn-jenkins-deploy-platform-ansible-os-3835-1 2025-08-12 16:47:50,232 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/073cc67b-7749-42e3-869d-891441f6aec2 2025-08-12 16:47:50,238 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ac35e7a6-d67a-47b6-8cd0-1fa2e7d3fcb3 2025-08-12 16:47:51,476 - 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.78 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 1002ms\r\nrtt min/avg/max/mdev = 0.414/1.595/2.777/1.181 ms') 2025-08-12 16:47:51,476 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-71651808 passed 2025-08-12 16:47:51,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 16:47:51,628 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-71651808, IP 87.83.211.133, Port 22 2025-08-12 16:47:51,779 - DEBUG - VM ctest-vn1-vm2-71651808 is ready for SSH connections 2025-08-12 16:47:51,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 16:47:51,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 16:47:51,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 16:47:51,779 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.153.207.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-12 16:47:51,779 - DEBUG - ping -s 56 -c 3 -W 1 182.153.207.133 2025-08-12 16:47:54,713 - DEBUG - PING 182.153.207.133 (182.153.207.133): 56 data bytes 64 bytes from 182.153.207.133: seq=0 ttl=63 time=3.869 ms 64 bytes from 182.153.207.133: seq=1 ttl=63 time=0.708 ms 64 bytes from 182.153.207.133: seq=2 ttl=63 time=0.779 ms --- 182.153.207.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.708/1.785/3.869 ms 2025-08-12 16:47:54,713 - INFO - Ping to IP 182.153.207.133 from VM ctest-vn1-vm2-71651808 passed 2025-08-12 16:47:54,713 - INFO - Detaching port ac35e7a6-d67a-47b6-8cd0-1fa2e7d3fcb3 from VM ctest-vn1-vm2-71651808 2025-08-12 16:47:54,766 - INFO - Deleting VM ctest-vn1-vm2-71651808 2025-08-12 16:47:54,829 - INFO - Detaching port c95bc81a-189e-4b5a-a9fb-946904a1f176 from VM ctest-vn1-vm1-01605097 2025-08-12 16:47:54,856 - INFO - Deleting VM ctest-vn1-vm1-01605097 2025-08-12 16:47:55,059 - DEBUG - Response for delete_port : () 2025-08-12 16:47:55,210 - DEBUG - Response for delete_port : () 2025-08-12 16:47:55,210 - INFO - Deleting VN ctest-vn1-24257852 2025-08-12 16:47:55,402 - DEBUG - Response for deleting network () 2025-08-12 16:47:55,674 - DEBUG - No XMPP flaps were noticed during the test 2025-08-12 16:47:55,674 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-08-12 16:47:55,674 - INFO - -------------------------------------------------------------------------------- 2025-08-12 16:47:56,360 - INFO - Deleted project: ctest-TestPorts-85978421, ID : 0b9193a2-a81b-45b0-9ce7-2ff0920bce26