2025-10-30 16:37:20,670 - INFO - Domain Default found not creating 2025-10-30 16:37:20,839 - INFO - Project ctest-TestPorts-38932308 not found, creating it 2025-10-30 16:37:21,342 - INFO - Created Project:ctest-TestPorts-38932308, ID : 072e4e1b-9295-432d-b4a0-0ff92477c415 2025-10-30 16:37:23,062 - INFO - ================================================================================ 2025-10-30 16:37:23,062 - INFO - STARTING TEST : test_ports_bindings 2025-10-30 16:37:23,062 - 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-30 16:37:23,327 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with 2025-10-30 16:37:23,328 - INFO - Initial checks done. Running the testcase now 2025-10-30 16:37:23,328 - INFO - 2025-10-30 16:37:24,073 - DEBUG - Response for create_network : {'network': {'id': '38cbcb6c-1fa1-4f60-bc35-d7abd47a7f8a', 'name': 'ctest-vn-32432097', 'tenant_id': '072e4e1b9295432db4a00ff92477c415', 'project_id': '072e4e1b9295432db4a00ff92477c415', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38932308', 'ctest-vn-32432097'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 16:37:24,263 - DEBUG - Response for create_subnet : {'subnet': {'id': '83c5e71a-b41b-4010-b74f-e55f97cc1efd', 'name': '', 'tenant_id': '072e4e1b9295432db4a00ff92477c415', 'network_id': '38cbcb6c-1fa1-4f60-bc35-d7abd47a7f8a', 'ip_version': 4, 'cidr': '171.14.169.128/26', 'allocation_pools': [{'start': '171.14.169.130', 'end': '171.14.169.190'}], 'gateway_ip': '171.14.169.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.14.169.130', 'tags': [], 'project_id': '072e4e1b9295432db4a00ff92477c415'}} 2025-10-30 16:37:24,285 - INFO - Created VN ctest-vn-32432097 2025-10-30 16:37:24,341 - DEBUG - VN ctest-vn-32432097 UUID is 38cbcb6c-1fa1-4f60-bc35-d7abd47a7f8a 2025-10-30 16:37:24,477 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-38932308', 'ctest-vmi-65172298']} 2025-10-30 16:37:24,732 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-65172298', 'id': 'c12a2938-8d97-45dc-99b5-1abcf51524cb', 'tenant_id': '072e4e1b9295432db4a00ff92477c415', 'network_id': '38cbcb6c-1fa1-4f60-bc35-d7abd47a7f8a', 'mac_address': '02:c1:2a:29:38:8d', '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': '171.14.169.131', 'subnet_id': '83c5e71a-b41b-4010-b74f-e55f97cc1efd'}], 'security_groups': ['4967a3fa-f919-4f7f-91a3-08696225b7c3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '072e4e1b9295432db4a00ff92477c415'}} 2025-10-30 16:37:24,732 - DEBUG - Created port c12a2938-8d97-45dc-99b5-1abcf51524cb 2025-10-30 16:37:24,841 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/c12a2938-8d97-45dc-99b5-1abcf51524cb 2025-10-30 16:37:25,176 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/c12a2938-8d97-45dc-99b5-1abcf51524cb 2025-10-30 16:37:25,223 - INFO - VMI c12a2938-8d97-45dc-99b5-1abcf51524cb verification in API Server passed 2025-10-30 16:37:25,336 - DEBUG - Response for delete_port : () 2025-10-30 16:37:25,336 - INFO - Deleted port c12a2938-8d97-45dc-99b5-1abcf51524cb 2025-10-30 16:37:25,337 - INFO - Deleting VN ctest-vn-32432097 2025-10-30 16:37:25,460 - DEBUG - Response for deleting network () 2025-10-30 16:37:25,720 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 16:37:25,720 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-30 16:37:25,720 - INFO - -------------------------------------------------------------------------------- 2025-10-30 16:37:25,724 - INFO - ================================================================================ 2025-10-30 16:37:25,724 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-30 16:37:25,724 - 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-30 16:37:26,015 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with 2025-10-30 16:37:26,015 - INFO - Initial checks done. Running the testcase now 2025-10-30 16:37:26,015 - INFO - 2025-10-30 16:37:26,239 - DEBUG - Response for create_network : {'network': {'id': '628b0b5c-62e1-4bce-8e75-cafbde912086', 'name': 'ctest-vn1-32062358', 'tenant_id': '072e4e1b9295432db4a00ff92477c415', 'project_id': '072e4e1b9295432db4a00ff92477c415', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38932308', 'ctest-vn1-32062358'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 16:37:26,699 - DEBUG - Response for create_subnet : {'subnet': {'id': '685cadc3-cee9-471a-a5e3-99bd9e90029e', 'name': '', 'tenant_id': '072e4e1b9295432db4a00ff92477c415', 'network_id': '628b0b5c-62e1-4bce-8e75-cafbde912086', 'ip_version': 4, 'cidr': '51.74.49.128/26', 'allocation_pools': [{'start': '51.74.49.130', 'end': '51.74.49.190'}], 'gateway_ip': '51.74.49.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.74.49.130', 'tags': [], 'project_id': '072e4e1b9295432db4a00ff92477c415'}} 2025-10-30 16:37:27,101 - DEBUG - Response for create_subnet : {'subnet': {'id': '2f29181d-58ae-4da3-847b-87326dc3587b', 'name': '', 'tenant_id': '072e4e1b9295432db4a00ff92477c415', 'network_id': '628b0b5c-62e1-4bce-8e75-cafbde912086', 'ip_version': 4, 'cidr': '181.105.170.0/26', 'allocation_pools': [{'start': '181.105.170.2', 'end': '181.105.170.62'}], 'gateway_ip': '181.105.170.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.105.170.2', 'tags': [], 'project_id': '072e4e1b9295432db4a00ff92477c415'}} 2025-10-30 16:37:27,137 - INFO - Created VN ctest-vn1-32062358 2025-10-30 16:37:27,188 - DEBUG - VN ctest-vn1-32062358 UUID is 628b0b5c-62e1-4bce-8e75-cafbde912086 2025-10-30 16:37:27,587 - DEBUG - Response for create_port : {'port': {'name': '2ffc5b74-fa67-4871-8a64-3f7f651ee241', 'id': '2ffc5b74-fa67-4871-8a64-3f7f651ee241', 'tenant_id': '072e4e1b9295432db4a00ff92477c415', 'network_id': '628b0b5c-62e1-4bce-8e75-cafbde912086', 'mac_address': '02:2f:fc:5b:74:fa', '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': '51.74.49.133', 'subnet_id': '685cadc3-cee9-471a-a5e3-99bd9e90029e'}], 'security_groups': ['4967a3fa-f919-4f7f-91a3-08696225b7c3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '072e4e1b9295432db4a00ff92477c415'}} 2025-10-30 16:37:27,824 - DEBUG - Response for create_port : {'port': {'name': 'bcedb83e-fbea-4ecb-9087-7c9b835dc8be', 'id': 'bcedb83e-fbea-4ecb-9087-7c9b835dc8be', 'tenant_id': '072e4e1b9295432db4a00ff92477c415', 'network_id': '628b0b5c-62e1-4bce-8e75-cafbde912086', 'mac_address': '02:bc:ed:b8:3e:fb', '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': '181.105.170.5', 'subnet_id': '2f29181d-58ae-4da3-847b-87326dc3587b'}], 'security_groups': ['4967a3fa-f919-4f7f-91a3-08696225b7c3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '072e4e1b9295432db4a00ff92477c415'}} 2025-10-30 16:37:27,917 - DEBUG - Services list from nova: [, , ] 2025-10-30 16:37:28,429 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4548-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4548-1) 2025-10-30 16:37:28,912 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4548-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4548-1) 2025-10-30 16:37:28,913 - INFO - Waiting for VM ctest-vn1-vm1-36430176 to be up.. 2025-10-30 16:37:28,967 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 16:37:34,066 - DEBUG - VM is in ACTIVE state now 2025-10-30 16:37:34,066 - INFO - VM name : ctest-vn1-vm1-36430176 2025-10-30 16:37:34,176 - DEBUG - VM ctest-vn1-vm1-36430176 ID is ffac97ee-f5e0-49d2-b2b7-38f6005d61a8 2025-10-30 16:37:34,201 - DEBUG - VM ctest-vn1-vm1-36430176 launched on Node cn-jenkins-deploy-platform-ansible-os-4548-1 2025-10-30 16:37:34,296 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/ffac97ee-f5e0-49d2-b2b7-38f6005d61a8 2025-10-30 16:37:34,305 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/2ffc5b74-fa67-4871-8a64-3f7f651ee241 2025-10-30 16:37:37,574 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms') 2025-10-30 16:37:37,574 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-36430176 failed! 2025-10-30 16:37:37,629 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38932308:ctest-vn1-32062358 is 51.74.49.129 and allocation pool is NOT set 2025-10-30 16:37:37,629 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38932308:ctest-vn1-32062358 is 181.105.170.1 and allocation pool is NOT set 2025-10-30 16:37:41,705 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1012ms') 2025-10-30 16:37:41,705 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-36430176 failed! 2025-10-30 16:37:41,761 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38932308:ctest-vn1-32062358 is 51.74.49.129 and allocation pool is NOT set 2025-10-30 16:37:41,761 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38932308:ctest-vn1-32062358 is 181.105.170.1 and allocation pool is NOT set 2025-10-30 16:37:43,823 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.601 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.601/2.128/3.655/1.527 ms') 2025-10-30 16:37:43,823 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-36430176 passed 2025-10-30 16:37:43,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 16:37:43,977 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-36430176, IP 51.74.49.133, Port 22 2025-10-30 16:37:44,143 - DEBUG - VM ctest-vn1-vm1-36430176 is ready for SSH connections 2025-10-30 16:37:44,143 - INFO - Waiting for VM ctest-vn1-vm2-72953630 to be up.. 2025-10-30 16:37:44,231 - DEBUG - VM is in ACTIVE state now 2025-10-30 16:37:44,231 - INFO - VM name : ctest-vn1-vm2-72953630 2025-10-30 16:37:44,318 - DEBUG - VM ctest-vn1-vm2-72953630 ID is b3af8d09-5a13-4cc9-9718-20a54d7a1269 2025-10-30 16:37:44,318 - DEBUG - VM ctest-vn1-vm2-72953630 launched on Node cn-jenkins-deploy-platform-ansible-os-4548-1 2025-10-30 16:37:44,406 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/b3af8d09-5a13-4cc9-9718-20a54d7a1269 2025-10-30 16:37:44,418 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/bcedb83e-fbea-4ecb-9087-7c9b835dc8be 2025-10-30 16:37:45,659 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.545 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 = 0.545/2.112/3.680/1.567 ms') 2025-10-30 16:37:45,659 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-72953630 passed 2025-10-30 16:37:45,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 16:37:45,813 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-72953630, IP 181.105.170.5, Port 22 2025-10-30 16:37:45,978 - DEBUG - VM ctest-vn1-vm2-72953630 is ready for SSH connections 2025-10-30 16:37:45,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 16:37:45,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 16:37:45,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 16:37:45,979 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 51.74.49.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-30 16:37:45,979 - DEBUG - ping -s 56 -c 3 -W 1 51.74.49.133 2025-10-30 16:37:49,737 - DEBUG - PING 51.74.49.133 (51.74.49.133): 56 data bytes 64 bytes from 51.74.49.133: seq=0 ttl=63 time=4.233 ms 64 bytes from 51.74.49.133: seq=1 ttl=63 time=1.156 ms 64 bytes from 51.74.49.133: seq=2 ttl=63 time=1.634 ms --- 51.74.49.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.156/2.341/4.233 ms 2025-10-30 16:37:49,738 - INFO - Ping to IP 51.74.49.133 from VM ctest-vn1-vm2-72953630 passed 2025-10-30 16:37:49,738 - INFO - Detaching port bcedb83e-fbea-4ecb-9087-7c9b835dc8be from VM ctest-vn1-vm2-72953630 2025-10-30 16:37:49,803 - INFO - Deleting VM ctest-vn1-vm2-72953630 2025-10-30 16:37:49,879 - INFO - Detaching port 2ffc5b74-fa67-4871-8a64-3f7f651ee241 from VM ctest-vn1-vm1-36430176 2025-10-30 16:37:49,924 - INFO - Deleting VM ctest-vn1-vm1-36430176 2025-10-30 16:37:50,209 - DEBUG - Response for delete_port : () 2025-10-30 16:37:50,427 - DEBUG - Response for delete_port : () 2025-10-30 16:37:50,427 - INFO - Deleting VN ctest-vn1-32062358 2025-10-30 16:37:50,607 - DEBUG - Response for deleting network () 2025-10-30 16:37:50,886 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 16:37:50,886 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25] 2025-10-30 16:37:50,886 - INFO - -------------------------------------------------------------------------------- 2025-10-30 16:37:51,630 - INFO - Deleted project: ctest-TestPorts-38932308, ID : 072e4e1b-9295-432d-b4a0-0ff92477c415