2025-10-23 21:21:03,318 - INFO - Domain Default found not creating 2025-10-23 21:21:03,477 - INFO - Project ctest-TestPorts-95680862 not found, creating it 2025-10-23 21:21:03,948 - INFO - Created Project:ctest-TestPorts-95680862, ID : 20e1c8e5-57d8-4718-9c50-9849bc058d7d 2025-10-23 21:21:05,550 - INFO - ================================================================================ 2025-10-23 21:21:05,550 - INFO - STARTING TEST : test_ports_bindings 2025-10-23 21:21:05,550 - 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-23 21:21:05,821 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-23 21:21:05,821 - INFO - Initial checks done. Running the testcase now 2025-10-23 21:21:05,821 - INFO - 2025-10-23 21:21:06,439 - DEBUG - Response for create_network : {'network': {'id': 'c891700d-b8c1-4860-9fd8-af70f1f8e596', 'name': 'ctest-vn-97567097', 'tenant_id': '20e1c8e557d847189c509849bc058d7d', 'project_id': '20e1c8e557d847189c509849bc058d7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-95680862', 'ctest-vn-97567097'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 21:21:06,634 - DEBUG - Response for create_subnet : {'subnet': {'id': '7850e8ae-5441-4b23-95ba-f79d61bdc9eb', 'name': '', 'tenant_id': '20e1c8e557d847189c509849bc058d7d', 'network_id': 'c891700d-b8c1-4860-9fd8-af70f1f8e596', 'ip_version': 4, 'cidr': '193.49.87.0/26', 'allocation_pools': [{'start': '193.49.87.2', 'end': '193.49.87.62'}], 'gateway_ip': '193.49.87.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.49.87.2', 'tags': [], 'project_id': '20e1c8e557d847189c509849bc058d7d'}} 2025-10-23 21:21:06,654 - INFO - Created VN ctest-vn-97567097 2025-10-23 21:21:06,708 - DEBUG - VN ctest-vn-97567097 UUID is c891700d-b8c1-4860-9fd8-af70f1f8e596 2025-10-23 21:21:06,822 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-95680862', 'ctest-vmi-30101594']} 2025-10-23 21:21:07,091 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-30101594', 'id': 'ff063976-1976-4c9b-a4dd-a5b9db16c5c7', 'tenant_id': '20e1c8e557d847189c509849bc058d7d', 'network_id': 'c891700d-b8c1-4860-9fd8-af70f1f8e596', 'mac_address': '02:ff:06:39:76:19', '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': '193.49.87.3', 'subnet_id': '7850e8ae-5441-4b23-95ba-f79d61bdc9eb'}], 'security_groups': ['5f671d0a-3d91-4d78-853d-847ecacfdadc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '20e1c8e557d847189c509849bc058d7d'}} 2025-10-23 21:21:07,092 - DEBUG - Created port ff063976-1976-4c9b-a4dd-a5b9db16c5c7 2025-10-23 21:21:07,203 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ff063976-1976-4c9b-a4dd-a5b9db16c5c7 2025-10-23 21:21:07,536 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ff063976-1976-4c9b-a4dd-a5b9db16c5c7 2025-10-23 21:21:07,569 - INFO - VMI ff063976-1976-4c9b-a4dd-a5b9db16c5c7 verification in API Server passed 2025-10-23 21:21:07,667 - DEBUG - Response for delete_port : () 2025-10-23 21:21:07,667 - INFO - Deleted port ff063976-1976-4c9b-a4dd-a5b9db16c5c7 2025-10-23 21:21:07,667 - INFO - Deleting VN ctest-vn-97567097 2025-10-23 21:21:07,774 - DEBUG - Response for deleting network () 2025-10-23 21:21:08,036 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 21:21:08,037 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-23 21:21:08,037 - INFO - -------------------------------------------------------------------------------- 2025-10-23 21:21:08,039 - INFO - ================================================================================ 2025-10-23 21:21:08,039 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-23 21:21:08,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-10-23 21:21:08,329 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-23 21:21:08,329 - INFO - Initial checks done. Running the testcase now 2025-10-23 21:21:08,330 - INFO - 2025-10-23 21:21:08,516 - DEBUG - Response for create_network : {'network': {'id': 'ad8a50c2-59a6-4de2-82ae-690e7c3e5ccf', 'name': 'ctest-vn1-10757991', 'tenant_id': '20e1c8e557d847189c509849bc058d7d', 'project_id': '20e1c8e557d847189c509849bc058d7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-95680862', 'ctest-vn1-10757991'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 21:21:08,734 - DEBUG - Response for create_subnet : {'subnet': {'id': '9dba94f3-a0e3-42ea-a3d4-ad9de4791897', 'name': '', 'tenant_id': '20e1c8e557d847189c509849bc058d7d', 'network_id': 'ad8a50c2-59a6-4de2-82ae-690e7c3e5ccf', 'ip_version': 4, 'cidr': '20.200.209.64/26', 'allocation_pools': [{'start': '20.200.209.66', 'end': '20.200.209.126'}], 'gateway_ip': '20.200.209.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.200.209.66', 'tags': [], 'project_id': '20e1c8e557d847189c509849bc058d7d'}} 2025-10-23 21:21:08,939 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eec9beca-c89a-46c3-bafd-ef6b12824429', 'name': '', 'tenant_id': '20e1c8e557d847189c509849bc058d7d', 'network_id': 'ad8a50c2-59a6-4de2-82ae-690e7c3e5ccf', 'ip_version': 4, 'cidr': '105.245.152.192/26', 'allocation_pools': [{'start': '105.245.152.194', 'end': '105.245.152.254'}], 'gateway_ip': '105.245.152.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.245.152.194', 'tags': [], 'project_id': '20e1c8e557d847189c509849bc058d7d'}} 2025-10-23 21:21:08,959 - INFO - Created VN ctest-vn1-10757991 2025-10-23 21:21:09,012 - DEBUG - VN ctest-vn1-10757991 UUID is ad8a50c2-59a6-4de2-82ae-690e7c3e5ccf 2025-10-23 21:21:09,331 - DEBUG - Response for create_port : {'port': {'name': '71f3484e-a496-424d-9022-6428781aa01c', 'id': '71f3484e-a496-424d-9022-6428781aa01c', 'tenant_id': '20e1c8e557d847189c509849bc058d7d', 'network_id': 'ad8a50c2-59a6-4de2-82ae-690e7c3e5ccf', 'mac_address': '02:71:f3:48:4e:a4', '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': '20.200.209.69', 'subnet_id': '9dba94f3-a0e3-42ea-a3d4-ad9de4791897'}], 'security_groups': ['5f671d0a-3d91-4d78-853d-847ecacfdadc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '20e1c8e557d847189c509849bc058d7d'}} 2025-10-23 21:21:09,502 - DEBUG - Response for create_port : {'port': {'name': 'd9aa8c5c-e719-4c0f-acfa-03205fde5236', 'id': 'd9aa8c5c-e719-4c0f-acfa-03205fde5236', 'tenant_id': '20e1c8e557d847189c509849bc058d7d', 'network_id': 'ad8a50c2-59a6-4de2-82ae-690e7c3e5ccf', 'mac_address': '02:d9:aa:8c:5c:e7', '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': '105.245.152.197', 'subnet_id': 'eec9beca-c89a-46c3-bafd-ef6b12824429'}], 'security_groups': ['5f671d0a-3d91-4d78-853d-847ecacfdadc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '20e1c8e557d847189c509849bc058d7d'}} 2025-10-23 21:21:09,563 - DEBUG - Services list from nova: [, , ] 2025-10-23 21:21:09,914 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4468-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4468-1) 2025-10-23 21:21:10,318 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4468-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4468-1) 2025-10-23 21:21:10,318 - INFO - Waiting for VM ctest-vn1-vm1-66628637 to be up.. 2025-10-23 21:21:10,359 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 21:21:15,442 - DEBUG - VM is in ACTIVE state now 2025-10-23 21:21:15,442 - INFO - VM name : ctest-vn1-vm1-66628637 2025-10-23 21:21:15,520 - DEBUG - VM ctest-vn1-vm1-66628637 ID is 14b2acf1-7b2a-40d8-a00f-15f77d2c8110 2025-10-23 21:21:15,540 - DEBUG - VM ctest-vn1-vm1-66628637 launched on Node cn-jenkins-deploy-platform-ansible-os-4468-1 2025-10-23 21:21:15,618 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/14b2acf1-7b2a-40d8-a00f-15f77d2c8110 2025-10-23 21:21:15,627 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/71f3484e-a496-424d-9022-6428781aa01c 2025-10-23 21:21:18,887 - 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-10-23 21:21:18,887 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66628637 failed! 2025-10-23 21:21:18,944 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-95680862:ctest-vn1-10757991 is 20.200.209.65 and allocation pool is NOT set 2025-10-23 21:21:18,944 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-95680862:ctest-vn1-10757991 is 105.245.152.193 and allocation pool is NOT set 2025-10-23 21:21:23,004 - 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=2 ttl=63 time=6.75 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 6.746/6.746/6.746/0.000 ms') 2025-10-23 21:21:23,005 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66628637 passed 2025-10-23 21:21:23,160 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:21:23,160 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-66628637, IP 20.200.209.69, Port 22 2025-10-23 21:21:23,326 - DEBUG - VM ctest-vn1-vm1-66628637 is ready for SSH connections 2025-10-23 21:21:23,326 - INFO - Waiting for VM ctest-vn1-vm2-32455093 to be up.. 2025-10-23 21:21:23,408 - DEBUG - VM is in ACTIVE state now 2025-10-23 21:21:23,408 - INFO - VM name : ctest-vn1-vm2-32455093 2025-10-23 21:21:23,489 - DEBUG - VM ctest-vn1-vm2-32455093 ID is a47413eb-d92a-4c2d-98ff-a37a4dea4713 2025-10-23 21:21:23,489 - DEBUG - VM ctest-vn1-vm2-32455093 launched on Node cn-jenkins-deploy-platform-ansible-os-4468-1 2025-10-23 21:21:23,568 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a47413eb-d92a-4c2d-98ff-a37a4dea4713 2025-10-23 21:21:23,577 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d9aa8c5c-e719-4c0f-acfa-03205fde5236 2025-10-23 21:21:24,822 - 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=3.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.543 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.543/1.992/3.441/1.449 ms') 2025-10-23 21:21:24,822 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-32455093 passed 2025-10-23 21:21:24,972 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:21:24,972 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-32455093, IP 105.245.152.197, Port 22 2025-10-23 21:21:25,135 - DEBUG - VM ctest-vn1-vm2-32455093 is ready for SSH connections 2025-10-23 21:21:25,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:21:25,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:21:25,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:21:25,135 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.200.209.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 21:21:25,136 - DEBUG - ping -s 56 -c 3 -W 1 20.200.209.69 2025-10-23 21:21:27,840 - DEBUG - PING 20.200.209.69 (20.200.209.69): 56 data bytes 64 bytes from 20.200.209.69: seq=0 ttl=63 time=3.843 ms 64 bytes from 20.200.209.69: seq=1 ttl=63 time=1.052 ms 64 bytes from 20.200.209.69: seq=2 ttl=63 time=0.865 ms --- 20.200.209.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.865/1.920/3.843 ms 2025-10-23 21:21:27,840 - INFO - Ping to IP 20.200.209.69 from VM ctest-vn1-vm2-32455093 passed 2025-10-23 21:21:27,840 - INFO - Detaching port d9aa8c5c-e719-4c0f-acfa-03205fde5236 from VM ctest-vn1-vm2-32455093 2025-10-23 21:21:27,901 - INFO - Deleting VM ctest-vn1-vm2-32455093 2025-10-23 21:21:27,973 - INFO - Detaching port 71f3484e-a496-424d-9022-6428781aa01c from VM ctest-vn1-vm1-66628637 2025-10-23 21:21:28,007 - INFO - Deleting VM ctest-vn1-vm1-66628637 2025-10-23 21:21:28,264 - DEBUG - Response for delete_port : () 2025-10-23 21:21:28,461 - DEBUG - Response for delete_port : () 2025-10-23 21:21:28,462 - INFO - Deleting VN ctest-vn1-10757991 2025-10-23 21:21:28,620 - DEBUG - Response for deleting network () 2025-10-23 21:21:28,877 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 21:21:28,877 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20] 2025-10-23 21:21:28,877 - INFO - -------------------------------------------------------------------------------- 2025-10-23 21:21:29,623 - INFO - Deleted project: ctest-TestPorts-95680862, ID : 20e1c8e5-57d8-4718-9c50-9849bc058d7d