2025-10-22 10:42:38,949 - INFO - Domain Default found not creating 2025-10-22 10:42:39,127 - INFO - Project ctest-TestPorts-28896891 not found, creating it 2025-10-22 10:42:39,684 - INFO - Created Project:ctest-TestPorts-28896891, ID : 90071c48-ee68-43f5-8da1-85fcf6f03902 2025-10-22 10:42:40,999 - INFO - ================================================================================ 2025-10-22 10:42:40,999 - INFO - STARTING TEST : test_ports_bindings 2025-10-22 10:42:40,999 - 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-22 10:42:41,256 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-10-22 10:42:41,256 - INFO - Initial checks done. Running the testcase now 2025-10-22 10:42:41,256 - INFO - 2025-10-22 10:42:41,769 - DEBUG - Response for create_network : {'network': {'id': '392755aa-3744-4ed5-a428-0a8fe7fd50fd', 'name': 'ctest-vn-74596445', 'tenant_id': '90071c48ee6843f58da185fcf6f03902', 'project_id': '90071c48ee6843f58da185fcf6f03902', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-28896891', 'ctest-vn-74596445'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:42:41,916 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a80b5f75-1212-4d4b-a38c-f1597e6e6561', 'name': '', 'tenant_id': '90071c48ee6843f58da185fcf6f03902', 'network_id': '392755aa-3744-4ed5-a428-0a8fe7fd50fd', 'ip_version': 4, 'cidr': '187.20.247.192/26', 'allocation_pools': [{'start': '187.20.247.194', 'end': '187.20.247.254'}], 'gateway_ip': '187.20.247.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.20.247.194', 'tags': [], 'project_id': '90071c48ee6843f58da185fcf6f03902'}} 2025-10-22 10:42:41,933 - INFO - Created VN ctest-vn-74596445 2025-10-22 10:42:41,984 - DEBUG - VN ctest-vn-74596445 UUID is 392755aa-3744-4ed5-a428-0a8fe7fd50fd 2025-10-22 10:42:42,083 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-28896891', 'ctest-vmi-61164761']} 2025-10-22 10:42:42,336 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-61164761', 'id': 'e86d8379-4c03-4bec-bb91-1bd15e045f6c', 'tenant_id': '90071c48ee6843f58da185fcf6f03902', 'network_id': '392755aa-3744-4ed5-a428-0a8fe7fd50fd', 'mac_address': '02:e8:6d:83:79:4c', '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': '187.20.247.195', 'subnet_id': 'a80b5f75-1212-4d4b-a38c-f1597e6e6561'}], 'security_groups': ['f475a9cd-24e2-4e23-a8d3-af079adbf725'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '90071c48ee6843f58da185fcf6f03902'}} 2025-10-22 10:42:42,336 - DEBUG - Created port e86d8379-4c03-4bec-bb91-1bd15e045f6c 2025-10-22 10:42:42,440 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/e86d8379-4c03-4bec-bb91-1bd15e045f6c 2025-10-22 10:42:42,726 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/e86d8379-4c03-4bec-bb91-1bd15e045f6c 2025-10-22 10:42:42,754 - INFO - VMI e86d8379-4c03-4bec-bb91-1bd15e045f6c verification in API Server passed 2025-10-22 10:42:42,829 - DEBUG - Response for delete_port : () 2025-10-22 10:42:42,829 - INFO - Deleted port e86d8379-4c03-4bec-bb91-1bd15e045f6c 2025-10-22 10:42:42,829 - INFO - Deleting VN ctest-vn-74596445 2025-10-22 10:42:42,914 - DEBUG - Response for deleting network () 2025-10-22 10:42:43,164 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 10:42:43,164 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-22 10:42:43,164 - INFO - -------------------------------------------------------------------------------- 2025-10-22 10:42:43,166 - INFO - ================================================================================ 2025-10-22 10:42:43,166 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-22 10:42:43,166 - 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-22 10:42:43,451 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-10-22 10:42:43,451 - INFO - Initial checks done. Running the testcase now 2025-10-22 10:42:43,451 - INFO - 2025-10-22 10:42:43,605 - DEBUG - Response for create_network : {'network': {'id': '28af6c91-5ca2-4758-b43d-66b0748b2ade', 'name': 'ctest-vn1-55387658', 'tenant_id': '90071c48ee6843f58da185fcf6f03902', 'project_id': '90071c48ee6843f58da185fcf6f03902', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-28896891', 'ctest-vn1-55387658'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:42:43,796 - DEBUG - Response for create_subnet : {'subnet': {'id': '7a1940ed-e3ff-4905-9341-14446e819e6f', 'name': '', 'tenant_id': '90071c48ee6843f58da185fcf6f03902', 'network_id': '28af6c91-5ca2-4758-b43d-66b0748b2ade', 'ip_version': 4, 'cidr': '198.111.54.0/26', 'allocation_pools': [{'start': '198.111.54.2', 'end': '198.111.54.62'}], 'gateway_ip': '198.111.54.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.111.54.2', 'tags': [], 'project_id': '90071c48ee6843f58da185fcf6f03902'}} 2025-10-22 10:42:43,938 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d502385-e51c-428e-b645-bf92606a43cd', 'name': '', 'tenant_id': '90071c48ee6843f58da185fcf6f03902', 'network_id': '28af6c91-5ca2-4758-b43d-66b0748b2ade', 'ip_version': 4, 'cidr': '128.127.223.128/26', 'allocation_pools': [{'start': '128.127.223.130', 'end': '128.127.223.190'}], 'gateway_ip': '128.127.223.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.127.223.130', 'tags': [], 'project_id': '90071c48ee6843f58da185fcf6f03902'}} 2025-10-22 10:42:43,955 - INFO - Created VN ctest-vn1-55387658 2025-10-22 10:42:44,004 - DEBUG - VN ctest-vn1-55387658 UUID is 28af6c91-5ca2-4758-b43d-66b0748b2ade 2025-10-22 10:42:44,293 - DEBUG - Response for create_port : {'port': {'name': '6f41c0cc-0870-481e-a1bf-03cce134f49f', 'id': '6f41c0cc-0870-481e-a1bf-03cce134f49f', 'tenant_id': '90071c48ee6843f58da185fcf6f03902', 'network_id': '28af6c91-5ca2-4758-b43d-66b0748b2ade', 'mac_address': '02:6f:41:c0:cc:08', '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': '198.111.54.5', 'subnet_id': '7a1940ed-e3ff-4905-9341-14446e819e6f'}], 'security_groups': ['f475a9cd-24e2-4e23-a8d3-af079adbf725'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '90071c48ee6843f58da185fcf6f03902'}} 2025-10-22 10:42:44,453 - DEBUG - Response for create_port : {'port': {'name': 'be83910f-4595-4ca6-9de4-5316babe6e72', 'id': 'be83910f-4595-4ca6-9de4-5316babe6e72', 'tenant_id': '90071c48ee6843f58da185fcf6f03902', 'network_id': '28af6c91-5ca2-4758-b43d-66b0748b2ade', 'mac_address': '02:be:83:91:0f:45', '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': '128.127.223.133', 'subnet_id': '4d502385-e51c-428e-b645-bf92606a43cd'}], 'security_groups': ['f475a9cd-24e2-4e23-a8d3-af079adbf725'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '90071c48ee6843f58da185fcf6f03902'}} 2025-10-22 10:42:44,503 - DEBUG - Services list from nova: [, , ] 2025-10-22 10:42:44,795 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4420-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4420-1) 2025-10-22 10:42:45,136 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4420-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4420-1) 2025-10-22 10:42:45,136 - INFO - Waiting for VM ctest-vn1-vm1-92986494 to be up.. 2025-10-22 10:42:45,170 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 10:42:50,241 - DEBUG - VM is in ACTIVE state now 2025-10-22 10:42:50,241 - INFO - VM name : ctest-vn1-vm1-92986494 2025-10-22 10:42:50,313 - DEBUG - VM ctest-vn1-vm1-92986494 ID is 579bf569-d4fa-4bdb-b30c-ada009fcefe0 2025-10-22 10:42:50,331 - DEBUG - VM ctest-vn1-vm1-92986494 launched on Node cn-jenkins-deploy-platform-ansible-os-4420-1 2025-10-22 10:42:50,394 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/579bf569-d4fa-4bdb-b30c-ada009fcefe0 2025-10-22 10:42:50,401 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/6f41c0cc-0870-481e-a1bf-03cce134f49f 2025-10-22 10:42:53,655 - 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 1008ms') 2025-10-22 10:42:53,655 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92986494 failed! 2025-10-22 10:42:53,708 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-28896891:ctest-vn1-55387658 is 198.111.54.1 and allocation pool is NOT set 2025-10-22 10:42:53,708 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-28896891:ctest-vn1-55387658 is 128.127.223.129 and allocation pool is NOT set 2025-10-22 10:42:55,773 - 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=4.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.654 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 = 0.654/2.435/4.217/1.781 ms') 2025-10-22 10:42:55,773 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92986494 passed 2025-10-22 10:42:55,924 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:42:55,924 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-92986494, IP 198.111.54.5, Port 22 2025-10-22 10:42:56,079 - DEBUG - VM ctest-vn1-vm1-92986494 is ready for SSH connections 2025-10-22 10:42:56,079 - INFO - Waiting for VM ctest-vn1-vm2-68288737 to be up.. 2025-10-22 10:42:56,148 - DEBUG - VM is in ACTIVE state now 2025-10-22 10:42:56,148 - INFO - VM name : ctest-vn1-vm2-68288737 2025-10-22 10:42:56,218 - DEBUG - VM ctest-vn1-vm2-68288737 ID is 951a2723-816b-4701-8500-97aa075c3ec4 2025-10-22 10:42:56,218 - DEBUG - VM ctest-vn1-vm2-68288737 launched on Node cn-jenkins-deploy-platform-ansible-os-4420-1 2025-10-22 10:42:56,406 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/951a2723-816b-4701-8500-97aa075c3ec4 2025-10-22 10:42:56,414 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/be83910f-4595-4ca6-9de4-5316babe6e72 2025-10-22 10:42:57,651 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.405 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.405/1.605/2.806/1.200 ms') 2025-10-22 10:42:57,651 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-68288737 passed 2025-10-22 10:42:57,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:42:57,800 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-68288737, IP 128.127.223.133, Port 22 2025-10-22 10:42:57,955 - DEBUG - VM ctest-vn1-vm2-68288737 is ready for SSH connections 2025-10-22 10:42:57,955 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:42:57,955 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:42:57,955 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:42:57,956 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.111.54.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-22 10:42:57,956 - DEBUG - ping -s 56 -c 3 -W 1 198.111.54.5 2025-10-22 10:43:00,616 - DEBUG - PING 198.111.54.5 (198.111.54.5): 56 data bytes 64 bytes from 198.111.54.5: seq=0 ttl=63 time=3.569 ms 64 bytes from 198.111.54.5: seq=1 ttl=63 time=0.756 ms 64 bytes from 198.111.54.5: seq=2 ttl=63 time=0.862 ms --- 198.111.54.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.756/1.729/3.569 ms 2025-10-22 10:43:00,616 - INFO - Ping to IP 198.111.54.5 from VM ctest-vn1-vm2-68288737 passed 2025-10-22 10:43:00,616 - INFO - Detaching port be83910f-4595-4ca6-9de4-5316babe6e72 from VM ctest-vn1-vm2-68288737 2025-10-22 10:43:00,661 - INFO - Deleting VM ctest-vn1-vm2-68288737 2025-10-22 10:43:00,726 - INFO - Detaching port 6f41c0cc-0870-481e-a1bf-03cce134f49f from VM ctest-vn1-vm1-92986494 2025-10-22 10:43:00,760 - INFO - Deleting VM ctest-vn1-vm1-92986494 2025-10-22 10:43:00,982 - DEBUG - Response for delete_port : () 2025-10-22 10:43:01,142 - DEBUG - Response for delete_port : () 2025-10-22 10:43:01,142 - INFO - Deleting VN ctest-vn1-55387658 2025-10-22 10:43:01,307 - DEBUG - Response for deleting network () 2025-10-22 10:43:01,561 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 10:43:01,561 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-10-22 10:43:01,561 - INFO - -------------------------------------------------------------------------------- 2025-10-22 10:43:02,226 - INFO - Deleted project: ctest-TestPorts-28896891, ID : 90071c48-ee68-43f5-8da1-85fcf6f03902