2025-10-10 01:17:43,699 - INFO - Domain Default found not creating 2025-10-10 01:17:43,858 - INFO - Project ctest-TestPorts-79073809 not found, creating it 2025-10-10 01:17:44,320 - INFO - Created Project:ctest-TestPorts-79073809, ID : cfab2156-8d74-4399-b039-220bc10d4411 2025-10-10 01:17:45,855 - INFO - ================================================================================ 2025-10-10 01:17:45,855 - INFO - STARTING TEST : test_ports_bindings 2025-10-10 01:17:45,855 - 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-10 01:17:46,110 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-10 01:17:46,110 - INFO - Initial checks done. Running the testcase now 2025-10-10 01:17:46,111 - INFO - 2025-10-10 01:17:46,714 - DEBUG - Response for create_network : {'network': {'id': '42e78f29-fc34-4cc4-aab1-4c0f1fda91d6', 'name': 'ctest-vn-91138635', 'tenant_id': 'cfab21568d744399b039220bc10d4411', 'project_id': 'cfab21568d744399b039220bc10d4411', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-79073809', 'ctest-vn-91138635'], 'port_security_enabled': True, 'description': ''}} 2025-10-10 01:17:46,896 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c02913d-ea42-46d5-918f-c597c0030fa1', 'name': '', 'tenant_id': 'cfab21568d744399b039220bc10d4411', 'network_id': '42e78f29-fc34-4cc4-aab1-4c0f1fda91d6', 'ip_version': 4, 'cidr': '165.143.255.192/26', 'allocation_pools': [{'start': '165.143.255.194', 'end': '165.143.255.254'}], 'gateway_ip': '165.143.255.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.143.255.194', 'tags': [], 'project_id': 'cfab21568d744399b039220bc10d4411'}} 2025-10-10 01:17:46,917 - INFO - Created VN ctest-vn-91138635 2025-10-10 01:17:46,969 - DEBUG - VN ctest-vn-91138635 UUID is 42e78f29-fc34-4cc4-aab1-4c0f1fda91d6 2025-10-10 01:17:47,082 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-79073809', 'ctest-vmi-49853772']} 2025-10-10 01:17:47,321 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-49853772', 'id': '76f5683b-e91c-41b4-9058-04431cf7163c', 'tenant_id': 'cfab21568d744399b039220bc10d4411', 'network_id': '42e78f29-fc34-4cc4-aab1-4c0f1fda91d6', 'mac_address': '02:76:f5:68:3b:e9', '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': '165.143.255.195', 'subnet_id': '9c02913d-ea42-46d5-918f-c597c0030fa1'}], 'security_groups': ['39e0ef45-50ac-4f77-8fca-8f2061e3f1c4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cfab21568d744399b039220bc10d4411'}} 2025-10-10 01:17:47,321 - DEBUG - Created port 76f5683b-e91c-41b4-9058-04431cf7163c 2025-10-10 01:17:47,425 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/76f5683b-e91c-41b4-9058-04431cf7163c 2025-10-10 01:17:47,756 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/76f5683b-e91c-41b4-9058-04431cf7163c 2025-10-10 01:17:47,789 - INFO - VMI 76f5683b-e91c-41b4-9058-04431cf7163c verification in API Server passed 2025-10-10 01:17:47,876 - DEBUG - Response for delete_port : () 2025-10-10 01:17:47,876 - INFO - Deleted port 76f5683b-e91c-41b4-9058-04431cf7163c 2025-10-10 01:17:47,876 - INFO - Deleting VN ctest-vn-91138635 2025-10-10 01:17:47,983 - DEBUG - Response for deleting network () 2025-10-10 01:17:48,242 - DEBUG - No XMPP flaps were noticed during the test
2025-10-10 01:17:48,242 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-10 01:17:48,242 - INFO - -------------------------------------------------------------------------------- 2025-10-10 01:17:48,244 - INFO - ================================================================================ 2025-10-10 01:17:48,244 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-10 01:17:48,244 - 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-10 01:17:48,545 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-10 01:17:48,545 - INFO - Initial checks done. Running the testcase now 2025-10-10 01:17:48,545 - INFO - 2025-10-10 01:17:48,721 - DEBUG - Response for create_network : {'network': {'id': 'f379746b-4ffd-4727-8f4c-90d29430893f', 'name': 'ctest-vn1-53359846', 'tenant_id': 'cfab21568d744399b039220bc10d4411', 'project_id': 'cfab21568d744399b039220bc10d4411', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-79073809', 'ctest-vn1-53359846'], 'port_security_enabled': True, 'description': ''}} 2025-10-10 01:17:48,887 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f507817-e67a-449d-bb83-a10fd1bfbdf1', 'name': '', 'tenant_id': 'cfab21568d744399b039220bc10d4411', 'network_id': 'f379746b-4ffd-4727-8f4c-90d29430893f', 'ip_version': 4, 'cidr': '103.89.235.128/26', 'allocation_pools': [{'start': '103.89.235.130', 'end': '103.89.235.190'}], 'gateway_ip': '103.89.235.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.89.235.130', 'tags': [], 'project_id': 'cfab21568d744399b039220bc10d4411'}} 2025-10-10 01:17:49,091 - DEBUG - Response for create_subnet : {'subnet': {'id': '36059864-cb73-487b-8107-37cff202f7fb', 'name': '', 'tenant_id': 'cfab21568d744399b039220bc10d4411', 'network_id': 'f379746b-4ffd-4727-8f4c-90d29430893f', 'ip_version': 4, 'cidr': '203.209.166.192/26', 'allocation_pools': [{'start': '203.209.166.194', 'end': '203.209.166.254'}], 'gateway_ip': '203.209.166.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.209.166.194', 'tags': [], 'project_id': 'cfab21568d744399b039220bc10d4411'}} 2025-10-10 01:17:49,111 - INFO - Created VN ctest-vn1-53359846 2025-10-10 01:17:49,165 - DEBUG - VN ctest-vn1-53359846 UUID is f379746b-4ffd-4727-8f4c-90d29430893f 2025-10-10 01:17:49,485 - DEBUG - Response for create_port : {'port': {'name': '961dd140-2704-4e56-ae54-ed9017a3e5d7', 'id': '961dd140-2704-4e56-ae54-ed9017a3e5d7', 'tenant_id': 'cfab21568d744399b039220bc10d4411', 'network_id': 'f379746b-4ffd-4727-8f4c-90d29430893f', 'mac_address': '02:96:1d:d1:40:27', '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': '103.89.235.133', 'subnet_id': '8f507817-e67a-449d-bb83-a10fd1bfbdf1'}], 'security_groups': ['39e0ef45-50ac-4f77-8fca-8f2061e3f1c4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cfab21568d744399b039220bc10d4411'}} 2025-10-10 01:17:49,659 - DEBUG - Response for create_port : {'port': {'name': '8ff58dd3-2898-4940-9f1f-6d5eaa55cfff', 'id': '8ff58dd3-2898-4940-9f1f-6d5eaa55cfff', 'tenant_id': 'cfab21568d744399b039220bc10d4411', 'network_id': 'f379746b-4ffd-4727-8f4c-90d29430893f', 'mac_address': '02:8f:f5:8d:d3:28', '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.209.166.197', 'subnet_id': '36059864-cb73-487b-8107-37cff202f7fb'}], 'security_groups': ['39e0ef45-50ac-4f77-8fca-8f2061e3f1c4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cfab21568d744399b039220bc10d4411'}} 2025-10-10 01:17:49,719 - DEBUG - Services list from nova: [, , ] 2025-10-10 01:17:50,053 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4282-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4282-1) 2025-10-10 01:17:50,449 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4282-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4282-1) 2025-10-10 01:17:50,450 - INFO - Waiting for VM ctest-vn1-vm1-43087508 to be up.. 2025-10-10 01:17:50,494 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-10 01:17:55,572 - DEBUG - VM is in ACTIVE state now 2025-10-10 01:17:55,573 - INFO - VM name : ctest-vn1-vm1-43087508 2025-10-10 01:17:55,644 - DEBUG - VM ctest-vn1-vm1-43087508 ID is c2ad456b-0905-4875-a125-fa223c30eebe 2025-10-10 01:17:55,669 - DEBUG - VM ctest-vn1-vm1-43087508 launched on Node cn-jenkins-deploy-platform-ansible-os-4282-1 2025-10-10 01:17:55,745 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c2ad456b-0905-4875-a125-fa223c30eebe 2025-10-10 01:17:55,754 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/961dd140-2704-4e56-ae54-ed9017a3e5d7 2025-10-10 01:17:59,011 - 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 1021ms') 2025-10-10 01:17:59,011 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43087508 failed! 2025-10-10 01:17:59,073 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-79073809:ctest-vn1-53359846 is 103.89.235.129 and allocation pool is NOT set 2025-10-10 01:17:59,073 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-79073809:ctest-vn1-53359846 is 203.209.166.193 and allocation pool is NOT set 2025-10-10 01:18:03,164 - 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.69 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1026ms\r\nrtt min/avg/max/mdev = 6.690/6.690/6.690/0.000 ms') 2025-10-10 01:18:03,164 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43087508 passed 2025-10-10 01:18:03,317 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-10 01:18:03,317 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-43087508, IP 103.89.235.133, Port 22 2025-10-10 01:18:03,477 - DEBUG - VM ctest-vn1-vm1-43087508 is ready for SSH connections 2025-10-10 01:18:03,477 - INFO - Waiting for VM ctest-vn1-vm2-29937891 to be up.. 2025-10-10 01:18:03,557 - DEBUG - VM is in ACTIVE state now 2025-10-10 01:18:03,557 - INFO - VM name : ctest-vn1-vm2-29937891 2025-10-10 01:18:03,630 - DEBUG - VM ctest-vn1-vm2-29937891 ID is 57bd277f-c01a-44f0-b258-372c07abbc0d 2025-10-10 01:18:03,630 - DEBUG - VM ctest-vn1-vm2-29937891 launched on Node cn-jenkins-deploy-platform-ansible-os-4282-1 2025-10-10 01:18:03,704 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/57bd277f-c01a-44f0-b258-372c07abbc0d 2025-10-10 01:18:03,714 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8ff58dd3-2898-4940-9f1f-6d5eaa55cfff 2025-10-10 01:18:04,948 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.552 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.552/1.928/3.304/1.376 ms') 2025-10-10 01:18:04,948 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-29937891 passed 2025-10-10 01:18:05,097 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-10 01:18:05,097 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-29937891, IP 203.209.166.197, Port 22 2025-10-10 01:18:05,257 - DEBUG - VM ctest-vn1-vm2-29937891 is ready for SSH connections 2025-10-10 01:18:05,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-10 01:18:05,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-10 01:18:05,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-10 01:18:05,257 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.89.235.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-10 01:18:05,257 - DEBUG - ping -s 56 -c 3 -W 1 103.89.235.133 2025-10-10 01:18:07,947 - DEBUG - PING 103.89.235.133 (103.89.235.133): 56 data bytes 64 bytes from 103.89.235.133: seq=0 ttl=63 time=3.785 ms 64 bytes from 103.89.235.133: seq=1 ttl=63 time=0.849 ms 64 bytes from 103.89.235.133: seq=2 ttl=63 time=0.916 ms --- 103.89.235.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.849/1.850/3.785 ms 2025-10-10 01:18:07,947 - INFO - Ping to IP 103.89.235.133 from VM ctest-vn1-vm2-29937891 passed 2025-10-10 01:18:07,947 - INFO - Detaching port 8ff58dd3-2898-4940-9f1f-6d5eaa55cfff from VM ctest-vn1-vm2-29937891 2025-10-10 01:18:07,999 - INFO - Deleting VM ctest-vn1-vm2-29937891 2025-10-10 01:18:08,077 - INFO - Detaching port 961dd140-2704-4e56-ae54-ed9017a3e5d7 from VM ctest-vn1-vm1-43087508 2025-10-10 01:18:08,111 - INFO - Deleting VM ctest-vn1-vm1-43087508 2025-10-10 01:18:08,333 - DEBUG - Response for delete_port : () 2025-10-10 01:18:08,491 - DEBUG - Response for delete_port : () 2025-10-10 01:18:08,491 - INFO - Deleting VN ctest-vn1-53359846 2025-10-10 01:18:08,616 - DEBUG - Response for deleting network () 2025-10-10 01:18:08,870 - DEBUG - No XMPP flaps were noticed during the test
2025-10-10 01:18:08,870 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-10-10 01:18:08,870 - INFO - -------------------------------------------------------------------------------- 2025-10-10 01:18:09,586 - INFO - Deleted project: ctest-TestPorts-79073809, ID : cfab2156-8d74-4399-b039-220bc10d4411