2025-09-13 14:15:31,082 - INFO - Domain Default found not creating 2025-09-13 14:15:31,229 - INFO - Project ctest-TestPorts-09025097 not found, creating it 2025-09-13 14:15:31,670 - INFO - Created Project:ctest-TestPorts-09025097, ID : 370b5c75-acae-4118-b4c7-618c427d29f7 2025-09-13 14:15:33,311 - INFO - ================================================================================ 2025-09-13 14:15:33,311 - INFO - STARTING TEST : test_ports_bindings 2025-09-13 14:15:33,311 - 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-13 14:15:33,571 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-13 14:15:33,571 - INFO - Initial checks done. Running the testcase now 2025-09-13 14:15:33,571 - INFO - 2025-09-13 14:15:34,165 - DEBUG - Response for create_network : {'network': {'id': '75c038a7-4376-4631-a174-5123bd67dbc1', 'name': 'ctest-vn-27152652', 'tenant_id': '370b5c75acae4118b4c7618c427d29f7', 'project_id': '370b5c75acae4118b4c7618c427d29f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-09025097', 'ctest-vn-27152652'], 'port_security_enabled': True, 'description': ''}} 2025-09-13 14:15:34,372 - DEBUG - Response for create_subnet : {'subnet': {'id': '406b7a37-e830-4b15-8652-c2746b5905f7', 'name': '', 'tenant_id': '370b5c75acae4118b4c7618c427d29f7', 'network_id': '75c038a7-4376-4631-a174-5123bd67dbc1', 'ip_version': 4, 'cidr': '203.71.155.192/26', 'allocation_pools': [{'start': '203.71.155.194', 'end': '203.71.155.254'}], 'gateway_ip': '203.71.155.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.71.155.194', 'tags': [], 'project_id': '370b5c75acae4118b4c7618c427d29f7'}} 2025-09-13 14:15:34,391 - INFO - Created VN ctest-vn-27152652 2025-09-13 14:15:34,445 - DEBUG - VN ctest-vn-27152652 UUID is 75c038a7-4376-4631-a174-5123bd67dbc1 2025-09-13 14:15:34,551 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-09025097', 'ctest-vmi-97876392']} 2025-09-13 14:15:34,862 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-97876392', 'id': '923a33a5-4507-4c18-8295-e27b64a65d48', 'tenant_id': '370b5c75acae4118b4c7618c427d29f7', 'network_id': '75c038a7-4376-4631-a174-5123bd67dbc1', 'mac_address': '02:92:3a:33:a5:45', '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': '203.71.155.195', 'subnet_id': '406b7a37-e830-4b15-8652-c2746b5905f7'}], 'security_groups': ['f2ccde91-999d-4f17-9b17-932fc0f84cc4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '370b5c75acae4118b4c7618c427d29f7'}} 2025-09-13 14:15:34,863 - DEBUG - Created port 923a33a5-4507-4c18-8295-e27b64a65d48 2025-09-13 14:15:34,969 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/923a33a5-4507-4c18-8295-e27b64a65d48 2025-09-13 14:15:35,304 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/923a33a5-4507-4c18-8295-e27b64a65d48 2025-09-13 14:15:35,339 - INFO - VMI 923a33a5-4507-4c18-8295-e27b64a65d48 verification in API Server passed 2025-09-13 14:15:35,422 - DEBUG - Response for delete_port : () 2025-09-13 14:15:35,422 - INFO - Deleted port 923a33a5-4507-4c18-8295-e27b64a65d48 2025-09-13 14:15:35,422 - INFO - Deleting VN ctest-vn-27152652 2025-09-13 14:15:35,520 - DEBUG - Response for deleting network () 2025-09-13 14:15:35,774 - DEBUG - No XMPP flaps were noticed during the test 2025-09-13 14:15:35,774 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-09-13 14:15:35,774 - INFO - -------------------------------------------------------------------------------- 2025-09-13 14:15:35,776 - INFO - ================================================================================ 2025-09-13 14:15:35,776 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-13 14:15:35,776 - 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-13 14:15:36,063 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-13 14:15:36,063 - INFO - Initial checks done. Running the testcase now 2025-09-13 14:15:36,063 - INFO - 2025-09-13 14:15:36,234 - DEBUG - Response for create_network : {'network': {'id': 'a9bea1c6-c86b-4e15-b9fc-ec9302abdd02', 'name': 'ctest-vn1-93449845', 'tenant_id': '370b5c75acae4118b4c7618c427d29f7', 'project_id': '370b5c75acae4118b4c7618c427d29f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-09025097', 'ctest-vn1-93449845'], 'port_security_enabled': True, 'description': ''}} 2025-09-13 14:15:36,383 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd4453a14-2358-44bd-8657-09263df55d9c', 'name': '', 'tenant_id': '370b5c75acae4118b4c7618c427d29f7', 'network_id': 'a9bea1c6-c86b-4e15-b9fc-ec9302abdd02', 'ip_version': 4, 'cidr': '87.252.229.128/26', 'allocation_pools': [{'start': '87.252.229.130', 'end': '87.252.229.190'}], 'gateway_ip': '87.252.229.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.252.229.130', 'tags': [], 'project_id': '370b5c75acae4118b4c7618c427d29f7'}} 2025-09-13 14:15:36,525 - DEBUG - Response for create_subnet : {'subnet': {'id': '6de8c53e-fc63-4439-8879-558fdcd92c88', 'name': '', 'tenant_id': '370b5c75acae4118b4c7618c427d29f7', 'network_id': 'a9bea1c6-c86b-4e15-b9fc-ec9302abdd02', 'ip_version': 4, 'cidr': '161.157.74.0/26', 'allocation_pools': [{'start': '161.157.74.2', 'end': '161.157.74.62'}], 'gateway_ip': '161.157.74.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.157.74.2', 'tags': [], 'project_id': '370b5c75acae4118b4c7618c427d29f7'}} 2025-09-13 14:15:36,545 - INFO - Created VN ctest-vn1-93449845 2025-09-13 14:15:36,597 - DEBUG - VN ctest-vn1-93449845 UUID is a9bea1c6-c86b-4e15-b9fc-ec9302abdd02 2025-09-13 14:15:36,901 - DEBUG - Response for create_port : {'port': {'name': '889b4ccf-44c0-4895-9bc3-3b67c189cc41', 'id': '889b4ccf-44c0-4895-9bc3-3b67c189cc41', 'tenant_id': '370b5c75acae4118b4c7618c427d29f7', 'network_id': 'a9bea1c6-c86b-4e15-b9fc-ec9302abdd02', 'mac_address': '02:88:9b:4c:cf:44', '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.252.229.133', 'subnet_id': 'd4453a14-2358-44bd-8657-09263df55d9c'}], 'security_groups': ['f2ccde91-999d-4f17-9b17-932fc0f84cc4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '370b5c75acae4118b4c7618c427d29f7'}} 2025-09-13 14:15:37,083 - DEBUG - Response for create_port : {'port': {'name': '1fe18a66-b137-4236-858b-97b9e88c1640', 'id': '1fe18a66-b137-4236-858b-97b9e88c1640', 'tenant_id': '370b5c75acae4118b4c7618c427d29f7', 'network_id': 'a9bea1c6-c86b-4e15-b9fc-ec9302abdd02', 'mac_address': '02:1f:e1:8a:66:b1', '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': '161.157.74.5', 'subnet_id': '6de8c53e-fc63-4439-8879-558fdcd92c88'}], 'security_groups': ['f2ccde91-999d-4f17-9b17-932fc0f84cc4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '370b5c75acae4118b4c7618c427d29f7'}} 2025-09-13 14:15:37,143 - DEBUG - Services list from nova: [, , ] 2025-09-13 14:15:37,480 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4102-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4102-1) 2025-09-13 14:15:37,928 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4102-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4102-1) 2025-09-13 14:15:37,928 - INFO - Waiting for VM ctest-vn1-vm1-26658891 to be up.. 2025-09-13 14:15:37,974 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-13 14:15:43,048 - DEBUG - VM is in ACTIVE state now 2025-09-13 14:15:43,048 - INFO - VM name : ctest-vn1-vm1-26658891 2025-09-13 14:15:43,123 - DEBUG - VM ctest-vn1-vm1-26658891 ID is 108eab5b-9301-4512-a6e1-1656e2c25b87 2025-09-13 14:15:43,142 - DEBUG - VM ctest-vn1-vm1-26658891 launched on Node cn-jenkins-deploy-platform-ansible-os-4102-1 2025-09-13 14:15:43,216 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/108eab5b-9301-4512-a6e1-1656e2c25b87 2025-09-13 14:15:43,226 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/889b4ccf-44c0-4895-9bc3-3b67c189cc41 2025-09-13 14:15:46,478 - 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 1012ms') 2025-09-13 14:15:46,478 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-26658891 failed! 2025-09-13 14:15:46,533 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-09025097:ctest-vn1-93449845 is 87.252.229.129 and allocation pool is NOT set 2025-09-13 14:15:46,533 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-09025097:ctest-vn1-93449845 is 161.157.74.1 and allocation pool is NOT set 2025-09-13 14:15:50,611 - 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=7.16 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 7.159/7.159/7.159/0.000 ms') 2025-09-13 14:15:50,611 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-26658891 passed 2025-09-13 14:15:50,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 14:15:50,765 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-26658891, IP 87.252.229.133, Port 22 2025-09-13 14:15:50,931 - DEBUG - VM ctest-vn1-vm1-26658891 is ready for SSH connections 2025-09-13 14:15:50,931 - INFO - Waiting for VM ctest-vn1-vm2-54911979 to be up.. 2025-09-13 14:15:51,021 - DEBUG - VM is in ACTIVE state now 2025-09-13 14:15:51,021 - INFO - VM name : ctest-vn1-vm2-54911979 2025-09-13 14:15:51,105 - DEBUG - VM ctest-vn1-vm2-54911979 ID is 9b4bbd31-56d3-4698-96c6-bf3e43b4bb11 2025-09-13 14:15:51,105 - DEBUG - VM ctest-vn1-vm2-54911979 launched on Node cn-jenkins-deploy-platform-ansible-os-4102-1 2025-09-13 14:15:51,181 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9b4bbd31-56d3-4698-96c6-bf3e43b4bb11 2025-09-13 14:15:51,190 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/1fe18a66-b137-4236-858b-97b9e88c1640 2025-09-13 14:15:52,436 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 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.410/2.080/3.750/1.670 ms') 2025-09-13 14:15:52,436 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-54911979 passed 2025-09-13 14:15:52,585 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 14:15:52,585 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-54911979, IP 161.157.74.5, Port 22 2025-09-13 14:15:52,741 - DEBUG - VM ctest-vn1-vm2-54911979 is ready for SSH connections 2025-09-13 14:15:52,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 14:15:52,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 14:15:52,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 14:15:52,741 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.252.229.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-13 14:15:52,741 - DEBUG - ping -s 56 -c 3 -W 1 87.252.229.133 2025-09-13 14:15:55,449 - DEBUG - PING 87.252.229.133 (87.252.229.133): 56 data bytes 64 bytes from 87.252.229.133: seq=0 ttl=63 time=4.410 ms 64 bytes from 87.252.229.133: seq=1 ttl=63 time=0.763 ms 64 bytes from 87.252.229.133: seq=2 ttl=63 time=1.012 ms --- 87.252.229.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.763/2.061/4.410 ms 2025-09-13 14:15:55,449 - INFO - Ping to IP 87.252.229.133 from VM ctest-vn1-vm2-54911979 passed 2025-09-13 14:15:55,449 - INFO - Detaching port 1fe18a66-b137-4236-858b-97b9e88c1640 from VM ctest-vn1-vm2-54911979 2025-09-13 14:15:55,500 - INFO - Deleting VM ctest-vn1-vm2-54911979 2025-09-13 14:15:55,578 - INFO - Detaching port 889b4ccf-44c0-4895-9bc3-3b67c189cc41 from VM ctest-vn1-vm1-26658891 2025-09-13 14:15:55,610 - INFO - Deleting VM ctest-vn1-vm1-26658891 2025-09-13 14:15:55,843 - DEBUG - Response for delete_port : () 2025-09-13 14:15:56,001 - DEBUG - Response for delete_port : () 2025-09-13 14:15:56,001 - INFO - Deleting VN ctest-vn1-93449845 2025-09-13 14:15:56,134 - DEBUG - Response for deleting network () 2025-09-13 14:15:56,386 - DEBUG - No XMPP flaps were noticed during the test 2025-09-13 14:15:56,386 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-09-13 14:15:56,386 - INFO - -------------------------------------------------------------------------------- 2025-09-13 14:15:57,108 - INFO - Deleted project: ctest-TestPorts-09025097, ID : 370b5c75-acae-4118-b4c7-618c427d29f7