2025-09-23 15:56:26,487 - INFO - Domain Default found not creating 2025-09-23 15:56:26,605 - INFO - Project ctest-TestPorts-23534759 not found, creating it 2025-09-23 15:56:27,033 - INFO - Created Project:ctest-TestPorts-23534759, ID : 186f9a7c-06a2-42f3-b622-14f0d60deea4 2025-09-23 15:56:28,360 - INFO - ================================================================================ 2025-09-23 15:56:28,360 - INFO - STARTING TEST : test_ports_bindings 2025-09-23 15:56:28,361 - 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-09-23 15:56:28,614 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-09-23 15:56:28,614 - INFO - Initial checks done. Running the testcase now 2025-09-23 15:56:28,614 - INFO - 2025-09-23 15:56:29,135 - DEBUG - Response for create_network : {'network': {'id': '5c7d5946-4c5d-4d3b-a43e-3ce9142e903a', 'name': 'ctest-vn-36211800', 'tenant_id': '186f9a7c06a242f3b62214f0d60deea4', 'project_id': '186f9a7c06a242f3b62214f0d60deea4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-23534759', 'ctest-vn-36211800'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 15:56:29,309 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5b9b8fa-e371-485f-ac6c-38f73b26f6a9', 'name': '', 'tenant_id': '186f9a7c06a242f3b62214f0d60deea4', 'network_id': '5c7d5946-4c5d-4d3b-a43e-3ce9142e903a', 'ip_version': 4, 'cidr': '154.215.109.192/26', 'allocation_pools': [{'start': '154.215.109.194', 'end': '154.215.109.254'}], 'gateway_ip': '154.215.109.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.215.109.194', 'tags': [], 'project_id': '186f9a7c06a242f3b62214f0d60deea4'}} 2025-09-23 15:56:29,327 - INFO - Created VN ctest-vn-36211800 2025-09-23 15:56:29,377 - DEBUG - VN ctest-vn-36211800 UUID is 5c7d5946-4c5d-4d3b-a43e-3ce9142e903a 2025-09-23 15:56:29,478 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-23534759', 'ctest-vmi-37759357']} 2025-09-23 15:56:29,743 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-37759357', 'id': '697a6fda-58c3-4a78-94a2-eb2e02b9bd46', 'tenant_id': '186f9a7c06a242f3b62214f0d60deea4', 'network_id': '5c7d5946-4c5d-4d3b-a43e-3ce9142e903a', 'mac_address': '02:69:7a:6f:da:58', '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': '154.215.109.195', 'subnet_id': 'c5b9b8fa-e371-485f-ac6c-38f73b26f6a9'}], 'security_groups': ['587bbd16-e941-4233-bb94-85e81333da49'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '186f9a7c06a242f3b62214f0d60deea4'}} 2025-09-23 15:56:29,743 - DEBUG - Created port 697a6fda-58c3-4a78-94a2-eb2e02b9bd46 2025-09-23 15:56:29,845 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/697a6fda-58c3-4a78-94a2-eb2e02b9bd46 2025-09-23 15:56:30,132 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/697a6fda-58c3-4a78-94a2-eb2e02b9bd46 2025-09-23 15:56:30,160 - INFO - VMI 697a6fda-58c3-4a78-94a2-eb2e02b9bd46 verification in API Server passed 2025-09-23 15:56:30,233 - DEBUG - Response for delete_port : () 2025-09-23 15:56:30,233 - INFO - Deleted port 697a6fda-58c3-4a78-94a2-eb2e02b9bd46 2025-09-23 15:56:30,233 - INFO - Deleting VN ctest-vn-36211800 2025-09-23 15:56:30,315 - DEBUG - Response for deleting network () 2025-09-23 15:56:30,570 - DEBUG - No XMPP flaps were noticed during the test 2025-09-23 15:56:30,570 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-09-23 15:56:30,570 - INFO - -------------------------------------------------------------------------------- 2025-09-23 15:56:30,573 - INFO - ================================================================================ 2025-09-23 15:56:30,573 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-23 15:56:30,573 - 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-09-23 15:56:30,859 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-09-23 15:56:30,860 - INFO - Initial checks done. Running the testcase now 2025-09-23 15:56:30,860 - INFO - 2025-09-23 15:56:31,024 - DEBUG - Response for create_network : {'network': {'id': '20d2fd33-6101-4f50-bba1-d07b4decb18a', 'name': 'ctest-vn1-75499481', 'tenant_id': '186f9a7c06a242f3b62214f0d60deea4', 'project_id': '186f9a7c06a242f3b62214f0d60deea4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-23534759', 'ctest-vn1-75499481'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 15:56:31,237 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a430d447-2d0c-4d83-a28d-e5c61d5e3258', 'name': '', 'tenant_id': '186f9a7c06a242f3b62214f0d60deea4', 'network_id': '20d2fd33-6101-4f50-bba1-d07b4decb18a', 'ip_version': 4, 'cidr': '81.222.38.0/26', 'allocation_pools': [{'start': '81.222.38.2', 'end': '81.222.38.62'}], 'gateway_ip': '81.222.38.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.222.38.2', 'tags': [], 'project_id': '186f9a7c06a242f3b62214f0d60deea4'}} 2025-09-23 15:56:31,424 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe0b57ac-2ece-4a1b-8ace-6b6a8adb3b06', 'name': '', 'tenant_id': '186f9a7c06a242f3b62214f0d60deea4', 'network_id': '20d2fd33-6101-4f50-bba1-d07b4decb18a', 'ip_version': 4, 'cidr': '113.37.109.0/26', 'allocation_pools': [{'start': '113.37.109.2', 'end': '113.37.109.62'}], 'gateway_ip': '113.37.109.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.37.109.2', 'tags': [], 'project_id': '186f9a7c06a242f3b62214f0d60deea4'}} 2025-09-23 15:56:31,441 - INFO - Created VN ctest-vn1-75499481 2025-09-23 15:56:31,489 - DEBUG - VN ctest-vn1-75499481 UUID is 20d2fd33-6101-4f50-bba1-d07b4decb18a 2025-09-23 15:56:31,751 - DEBUG - Response for create_port : {'port': {'name': '030512ae-dddb-400a-a1c0-9b23a16dafe6', 'id': '030512ae-dddb-400a-a1c0-9b23a16dafe6', 'tenant_id': '186f9a7c06a242f3b62214f0d60deea4', 'network_id': '20d2fd33-6101-4f50-bba1-d07b4decb18a', 'mac_address': '02:03:05:12:ae:dd', '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': '81.222.38.5', 'subnet_id': 'a430d447-2d0c-4d83-a28d-e5c61d5e3258'}], 'security_groups': ['587bbd16-e941-4233-bb94-85e81333da49'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '186f9a7c06a242f3b62214f0d60deea4'}} 2025-09-23 15:56:31,898 - DEBUG - Response for create_port : {'port': {'name': 'fcd2d6e8-47d3-4ca0-a7b2-a87929163a95', 'id': 'fcd2d6e8-47d3-4ca0-a7b2-a87929163a95', 'tenant_id': '186f9a7c06a242f3b62214f0d60deea4', 'network_id': '20d2fd33-6101-4f50-bba1-d07b4decb18a', 'mac_address': '02:fc:d2:d6:e8:47', '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': '113.37.109.5', 'subnet_id': 'fe0b57ac-2ece-4a1b-8ace-6b6a8adb3b06'}], 'security_groups': ['587bbd16-e941-4233-bb94-85e81333da49'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '186f9a7c06a242f3b62214f0d60deea4'}} 2025-09-23 15:56:31,947 - DEBUG - Services list from nova: [, , ] 2025-09-23 15:56:32,258 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4177-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4177-1) 2025-09-23 15:56:32,727 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4177-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4177-1) 2025-09-23 15:56:32,728 - INFO - Waiting for VM ctest-vn1-vm1-42485085 to be up.. 2025-09-23 15:56:32,762 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-23 15:56:37,849 - DEBUG - VM is in ACTIVE state now 2025-09-23 15:56:37,849 - INFO - VM name : ctest-vn1-vm1-42485085 2025-09-23 15:56:37,923 - DEBUG - VM ctest-vn1-vm1-42485085 ID is 2092366e-2f39-411d-b429-a32e5ecbfb8d 2025-09-23 15:56:37,940 - DEBUG - VM ctest-vn1-vm1-42485085 launched on Node cn-jenkins-deploy-platform-ansible-os-4177-1 2025-09-23 15:56:38,008 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/2092366e-2f39-411d-b429-a32e5ecbfb8d 2025-09-23 15:56:38,016 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/030512ae-dddb-400a-a1c0-9b23a16dafe6 2025-09-23 15:56:41,265 - 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 1015ms') 2025-09-23 15:56:41,265 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42485085 failed! 2025-09-23 15:56:41,317 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-23534759:ctest-vn1-75499481 is 81.222.38.1 and allocation pool is NOT set 2025-09-23 15:56:41,317 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-23534759:ctest-vn1-75499481 is 113.37.109.1 and allocation pool is NOT set 2025-09-23 15:56:43,379 - 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=3.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.31 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.156/3.234/3.312/0.078 ms') 2025-09-23 15:56:43,379 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42485085 passed 2025-09-23 15:56:43,525 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 15:56:43,526 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-42485085, IP 81.222.38.5, Port 22 2025-09-23 15:56:43,681 - DEBUG - VM ctest-vn1-vm1-42485085 is ready for SSH connections 2025-09-23 15:56:43,681 - INFO - Waiting for VM ctest-vn1-vm2-29135218 to be up.. 2025-09-23 15:56:43,753 - DEBUG - VM is in ACTIVE state now 2025-09-23 15:56:43,753 - INFO - VM name : ctest-vn1-vm2-29135218 2025-09-23 15:56:43,826 - DEBUG - VM ctest-vn1-vm2-29135218 ID is cbf980b3-7943-4b9d-bde3-8cf4852f3278 2025-09-23 15:56:43,827 - DEBUG - VM ctest-vn1-vm2-29135218 launched on Node cn-jenkins-deploy-platform-ansible-os-4177-1 2025-09-23 15:56:43,890 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/cbf980b3-7943-4b9d-bde3-8cf4852f3278 2025-09-23 15:56:43,898 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/fcd2d6e8-47d3-4ca0-a7b2-a87929163a95 2025-09-23 15:56:45,127 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.393 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.393/1.541/2.690/1.148 ms') 2025-09-23 15:56:45,127 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-29135218 passed 2025-09-23 15:56:45,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 15:56:45,274 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-29135218, IP 113.37.109.5, Port 22 2025-09-23 15:56:45,429 - DEBUG - VM ctest-vn1-vm2-29135218 is ready for SSH connections 2025-09-23 15:56:45,429 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 15:56:45,429 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 15:56:45,429 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 15:56:45,429 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.222.38.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-23 15:56:45,429 - DEBUG - ping -s 56 -c 3 -W 1 81.222.38.5 2025-09-23 15:56:48,353 - DEBUG - PING 81.222.38.5 (81.222.38.5): 56 data bytes 64 bytes from 81.222.38.5: seq=0 ttl=63 time=3.212 ms 64 bytes from 81.222.38.5: seq=1 ttl=63 time=0.719 ms 64 bytes from 81.222.38.5: seq=2 ttl=63 time=0.743 ms --- 81.222.38.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.719/1.558/3.212 ms 2025-09-23 15:56:48,353 - INFO - Ping to IP 81.222.38.5 from VM ctest-vn1-vm2-29135218 passed 2025-09-23 15:56:48,353 - INFO - Detaching port fcd2d6e8-47d3-4ca0-a7b2-a87929163a95 from VM ctest-vn1-vm2-29135218 2025-09-23 15:56:48,413 - INFO - Deleting VM ctest-vn1-vm2-29135218 2025-09-23 15:56:48,474 - INFO - Detaching port 030512ae-dddb-400a-a1c0-9b23a16dafe6 from VM ctest-vn1-vm1-42485085 2025-09-23 15:56:48,502 - INFO - Deleting VM ctest-vn1-vm1-42485085 2025-09-23 15:56:48,725 - DEBUG - Response for delete_port : () 2025-09-23 15:56:48,887 - DEBUG - Response for delete_port : () 2025-09-23 15:56:48,887 - INFO - Deleting VN ctest-vn1-75499481 2025-09-23 15:56:49,017 - DEBUG - Response for deleting network () 2025-09-23 15:56:49,280 - DEBUG - No XMPP flaps were noticed during the test 2025-09-23 15:56:49,280 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-09-23 15:56:49,280 - INFO - -------------------------------------------------------------------------------- 2025-09-23 15:56:49,936 - INFO - Deleted project: ctest-TestPorts-23534759, ID : 186f9a7c-06a2-42f3-b622-14f0d60deea4