2025-10-27 02:21:58,850 - INFO - Domain Default found not creating
2025-10-27 02:21:59,020 - INFO - Project ctest-TestPorts-74688266 not found, creating it
2025-10-27 02:21:59,514 - INFO - Created Project:ctest-TestPorts-74688266, ID : 13e24c8b-514c-461c-82f7-9a83f9fae65b
2025-10-27 02:22:00,973 - INFO - ================================================================================
2025-10-27 02:22:00,973 - INFO - STARTING TEST : test_ports_bindings
2025-10-27 02:22:00,973 - 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-10-27 02:22:02,266 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.25': '0', '10.20.0.17': '0'}, '10.0.0.131': {'10.20.0.17': '0', '10.20.0.14': '0'}} with
2025-10-27 02:22:02,266 - INFO - Initial checks done. Running the testcase now
2025-10-27 02:22:02,266 - INFO -
2025-10-27 02:22:02,971 - DEBUG - Response for create_network : {'network': {'id': '1da46caa-aaec-44fc-b2de-e778338e80c9', 'name': 'ctest-vn-74759171', 'tenant_id': '13e24c8b514c461c82f79a83f9fae65b', 'project_id': '13e24c8b514c461c82f79a83f9fae65b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74688266', 'ctest-vn-74759171'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 02:22:03,273 - DEBUG - Response for create_subnet : {'subnet': {'id': '697cd55d-378e-4bbc-a962-b0743f98fadb', 'name': '', 'tenant_id': '13e24c8b514c461c82f79a83f9fae65b', 'network_id': '1da46caa-aaec-44fc-b2de-e778338e80c9', 'ip_version': 4, 'cidr': '90.102.13.128/26', 'allocation_pools': [{'start': '90.102.13.130', 'end': '90.102.13.190'}], 'gateway_ip': '90.102.13.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.102.13.130', 'tags': [], 'project_id': '13e24c8b514c461c82f79a83f9fae65b'}}
2025-10-27 02:22:03,302 - INFO - Created VN ctest-vn-74759171
2025-10-27 02:22:03,314 - DEBUG - VN ctest-vn-74759171 UUID is 1da46caa-aaec-44fc-b2de-e778338e80c9
2025-10-27 02:22:03,400 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-74688266', 'ctest-vmi-17844970']}
2025-10-27 02:22:03,676 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-17844970', 'id': '9d91e8f0-bfbe-4b7d-9857-0a4cdd0ae504', 'tenant_id': '13e24c8b514c461c82f79a83f9fae65b', 'network_id': '1da46caa-aaec-44fc-b2de-e778338e80c9', 'mac_address': '02:9d:91:e8:f0:bf', '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': '90.102.13.131', 'subnet_id': '697cd55d-378e-4bbc-a962-b0743f98fadb'}], 'security_groups': ['4b500873-4931-41ca-ab77-eb19bf99ae37'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '13e24c8b514c461c82f79a83f9fae65b'}}
2025-10-27 02:22:03,676 - DEBUG - Created port 9d91e8f0-bfbe-4b7d-9857-0a4cdd0ae504
2025-10-27 02:22:03,749 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/9d91e8f0-bfbe-4b7d-9857-0a4cdd0ae504
2025-10-27 02:22:04,048 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/9d91e8f0-bfbe-4b7d-9857-0a4cdd0ae504
2025-10-27 02:22:04,102 - INFO - VMI 9d91e8f0-bfbe-4b7d-9857-0a4cdd0ae504 verification in API Server passed
2025-10-27 02:22:04,280 - DEBUG - Response for delete_port : ()
2025-10-27 02:22:04,280 - INFO - Deleted port 9d91e8f0-bfbe-4b7d-9857-0a4cdd0ae504
2025-10-27 02:22:04,281 - INFO - Deleting VN ctest-vn-74759171
2025-10-27 02:22:04,471 - DEBUG - Response for deleting network ()
2025-10-27 02:22:05,764 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 02:22:05,764 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2025-10-27 02:22:05,764 - INFO - --------------------------------------------------------------------------------
2025-10-27 02:22:05,768 - INFO - ================================================================================
2025-10-27 02:22:05,768 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-27 02:22:05,768 - 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-10-27 02:22:07,072 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.25': '0', '10.20.0.17': '0'}, '10.0.0.131': {'10.20.0.17': '0', '10.20.0.14': '0'}} with
2025-10-27 02:22:07,073 - INFO - Initial checks done. Running the testcase now
2025-10-27 02:22:07,073 - INFO -
2025-10-27 02:22:07,631 - DEBUG - Response for create_network : {'network': {'id': 'ec6809cf-8949-4d2c-8f32-a21d6abe5278', 'name': 'ctest-vn1-24449266', 'tenant_id': '13e24c8b514c461c82f79a83f9fae65b', 'project_id': '13e24c8b514c461c82f79a83f9fae65b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74688266', 'ctest-vn1-24449266'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 02:22:08,171 - DEBUG - Response for create_subnet : {'subnet': {'id': '1cec5b11-f378-455c-b230-912a94efa5d3', 'name': '', 'tenant_id': '13e24c8b514c461c82f79a83f9fae65b', 'network_id': 'ec6809cf-8949-4d2c-8f32-a21d6abe5278', 'ip_version': 4, 'cidr': '211.6.149.128/26', 'allocation_pools': [{'start': '211.6.149.130', 'end': '211.6.149.190'}], 'gateway_ip': '211.6.149.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.6.149.130', 'tags': [], 'project_id': '13e24c8b514c461c82f79a83f9fae65b'}}
2025-10-27 02:22:08,511 - DEBUG - Response for create_subnet : {'subnet': {'id': '528556f9-64aa-42c4-84ff-7f0560d11b16', 'name': '', 'tenant_id': '13e24c8b514c461c82f79a83f9fae65b', 'network_id': 'ec6809cf-8949-4d2c-8f32-a21d6abe5278', 'ip_version': 4, 'cidr': '62.27.41.128/26', 'allocation_pools': [{'start': '62.27.41.130', 'end': '62.27.41.190'}], 'gateway_ip': '62.27.41.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.27.41.130', 'tags': [], 'project_id': '13e24c8b514c461c82f79a83f9fae65b'}}
2025-10-27 02:22:08,551 - INFO - Created VN ctest-vn1-24449266
2025-10-27 02:22:08,580 - DEBUG - VN ctest-vn1-24449266 UUID is ec6809cf-8949-4d2c-8f32-a21d6abe5278
2025-10-27 02:22:08,956 - DEBUG - Response for create_port : {'port': {'name': 'dea56d03-4845-4f92-aa77-27af94cd4f22', 'id': 'dea56d03-4845-4f92-aa77-27af94cd4f22', 'tenant_id': '13e24c8b514c461c82f79a83f9fae65b', 'network_id': 'ec6809cf-8949-4d2c-8f32-a21d6abe5278', 'mac_address': '02:de:a5:6d:03:48', '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': '211.6.149.133', 'subnet_id': '1cec5b11-f378-455c-b230-912a94efa5d3'}], 'security_groups': ['4b500873-4931-41ca-ab77-eb19bf99ae37'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '13e24c8b514c461c82f79a83f9fae65b'}}
2025-10-27 02:22:09,223 - DEBUG - Response for create_port : {'port': {'name': 'b5c5bbe1-267d-43d3-9ad4-b633fae6f2bc', 'id': 'b5c5bbe1-267d-43d3-9ad4-b633fae6f2bc', 'tenant_id': '13e24c8b514c461c82f79a83f9fae65b', 'network_id': 'ec6809cf-8949-4d2c-8f32-a21d6abe5278', 'mac_address': '02:b5:c5:bb:e1:26', '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': '62.27.41.133', 'subnet_id': '528556f9-64aa-42c4-84ff-7f0560d11b16'}], 'security_groups': ['4b500873-4931-41ca-ab77-eb19bf99ae37'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '13e24c8b514c461c82f79a83f9fae65b'}}
2025-10-27 02:22:09,301 - DEBUG - Services list from nova: [, , , ]
2025-10-27 02:22:09,863 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4489-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4489-2)
2025-10-27 02:22:10,541 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4489-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4489-1)
2025-10-27 02:22:10,541 - INFO - Waiting for VM ctest-vn1-vm1-22834968 to be up..
2025-10-27 02:22:10,614 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-27 02:22:15,708 - DEBUG - VM is in ACTIVE state now
2025-10-27 02:22:15,708 - INFO - VM name : ctest-vn1-vm1-22834968
2025-10-27 02:22:15,811 - DEBUG - VM ctest-vn1-vm1-22834968 ID is 9403eaf1-9fae-4cc4-801d-23bf89a43a94
2025-10-27 02:22:15,847 - DEBUG - VM ctest-vn1-vm1-22834968 launched on Node an-jenkins-deploy-platform-ansible-os-4489-2
2025-10-27 02:22:15,953 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/9403eaf1-9fae-4cc4-801d-23bf89a43a94
2025-10-27 02:22:16,252 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/9403eaf1-9fae-4cc4-801d-23bf89a43a94
2025-10-27 02:22:16,283 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/dea56d03-4845-4f92-aa77-27af94cd4f22
2025-10-27 02:22:19,453 - 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 1014ms')
2025-10-27 02:22:19,453 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22834968 failed!
2025-10-27 02:22:19,470 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74688266:ctest-vn1-24449266 is 211.6.149.129 and allocation pool is NOT set
2025-10-27 02:22:19,470 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74688266:ctest-vn1-24449266 is 62.27.41.129 and allocation pool is NOT set
2025-10-27 02:22:21,543 - 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=8.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.06 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 = 3.058/6.005/8.952/2.947 ms')
2025-10-27 02:22:21,543 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22834968 passed
2025-10-27 02:22:21,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 02:22:21,615 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-22834968, IP 211.6.149.133, Port 22
2025-10-27 02:22:21,787 - DEBUG - VM ctest-vn1-vm1-22834968 is ready for SSH connections
2025-10-27 02:22:21,787 - INFO - Waiting for VM ctest-vn1-vm2-05612833 to be up..
2025-10-27 02:22:21,892 - DEBUG - VM is in ACTIVE state now
2025-10-27 02:22:21,892 - INFO - VM name : ctest-vn1-vm2-05612833
2025-10-27 02:22:21,988 - DEBUG - VM ctest-vn1-vm2-05612833 ID is 03de0a06-74dd-45b7-8222-5d0b97a6d795
2025-10-27 02:22:21,989 - DEBUG - VM ctest-vn1-vm2-05612833 launched on Node an-jenkins-deploy-platform-ansible-os-4489-1
2025-10-27 02:22:22,073 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/03de0a06-74dd-45b7-8222-5d0b97a6d795
2025-10-27 02:22:22,083 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/b5c5bbe1-267d-43d3-9ad4-b633fae6f2bc
2025-10-27 02:22:23,240 - 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=6.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.27 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 = 1.271/3.886/6.502/2.615 ms')
2025-10-27 02:22:23,240 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-05612833 passed
2025-10-27 02:22:23,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 02:22:23,310 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-05612833, IP 62.27.41.133, Port 22
2025-10-27 02:22:23,468 - DEBUG - VM ctest-vn1-vm2-05612833 is ready for SSH connections
2025-10-27 02:22:23,468 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 02:22:23,468 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 02:22:23,468 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 02:22:23,468 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 211.6.149.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-10-27 02:22:23,468 - DEBUG - ping -s 56 -c 3 -W 1 211.6.149.133
2025-10-27 02:22:26,511 - DEBUG - PING 211.6.149.133 (211.6.149.133): 56 data bytes
64 bytes from 211.6.149.133: seq=0 ttl=63 time=5.980 ms
64 bytes from 211.6.149.133: seq=1 ttl=63 time=1.253 ms
64 bytes from 211.6.149.133: seq=2 ttl=63 time=1.428 ms
--- 211.6.149.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.253/2.887/5.980 ms
2025-10-27 02:22:26,511 - INFO - Ping to IP 211.6.149.133 from VM ctest-vn1-vm2-05612833 passed
2025-10-27 02:22:26,511 - INFO - Detaching port b5c5bbe1-267d-43d3-9ad4-b633fae6f2bc from VM ctest-vn1-vm2-05612833
2025-10-27 02:22:26,571 - INFO - Deleting VM ctest-vn1-vm2-05612833
2025-10-27 02:22:26,676 - INFO - Detaching port dea56d03-4845-4f92-aa77-27af94cd4f22 from VM ctest-vn1-vm1-22834968
2025-10-27 02:22:26,711 - INFO - Deleting VM ctest-vn1-vm1-22834968
2025-10-27 02:22:27,039 - DEBUG - Response for delete_port : ()
2025-10-27 02:22:27,276 - DEBUG - Response for delete_port : ()
2025-10-27 02:22:27,276 - INFO - Deleting VN ctest-vn1-24449266
2025-10-27 02:22:27,435 - DEBUG - Response for deleting network ()
2025-10-27 02:22:28,734 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 02:22:28,734 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-10-27 02:22:28,734 - INFO - --------------------------------------------------------------------------------
2025-10-27 02:22:29,446 - INFO - Deleted project: ctest-TestPorts-74688266, ID : 13e24c8b-514c-461c-82f7-9a83f9fae65b