2025-10-22 14:58:10,714 - INFO - Reading existing Domain with UUID 8c582771-8b31-4700-9720-69718950e5ce 2025-10-22 14:58:10,725 - INFO - Using existing domain ['admin_domain'](8c582771-8b31-4700-9720-69718950e5ce) 2025-10-22 14:58:10,930 - INFO - Project ctest-TestPorts-14058334 not found, creating it 2025-10-22 14:58:11,437 - INFO - Created Project:ctest-TestPorts-14058334, ID : 8af4b3ef-cd0f-4ee2-b627-def4ade81768 2025-10-22 14:58:13,150 - INFO - ================================================================================ 2025-10-22 14:58:13,150 - INFO - STARTING TEST : test_ports_bindings 2025-10-22 14:58:13,150 - 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 14:58:13,540 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.0.0.241': '0'}} with 2025-10-22 14:58:13,540 - INFO - Initial checks done. Running the testcase now 2025-10-22 14:58:13,540 - INFO - 2025-10-22 14:58:14,358 - DEBUG - Response for create_network : {'network': {'id': '0e99b3fb-596e-4c7a-92d2-3c9fd6f607cb', 'name': 'ctest-vn-42960826', 'tenant_id': '8af4b3efcd0f4ee2b627def4ade81768', 'project_id': '8af4b3efcd0f4ee2b627def4ade81768', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-14058334', 'ctest-vn-42960826'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-22 14:58:14,636 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bfb51cbd-e295-45dd-9a0c-c4e25862341c', 'name': '', 'tenant_id': '8af4b3efcd0f4ee2b627def4ade81768', 'network_id': '0e99b3fb-596e-4c7a-92d2-3c9fd6f607cb', 'ip_version': 4, 'cidr': '158.92.84.64/26', 'allocation_pools': [{'start': '158.92.84.66', 'end': '158.92.84.126'}], 'gateway_ip': '158.92.84.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-22T14:58:14.523990', 'updated_at': '2025-10-22T14:58:14.523990', 'dns_server_address': '158.92.84.66', 'tags': [], 'project_id': '8af4b3efcd0f4ee2b627def4ade81768'}} 2025-10-22 14:58:14,705 - INFO - Created VN ctest-vn-42960826 2025-10-22 14:58:14,758 - DEBUG - VN ctest-vn-42960826 UUID is 0e99b3fb-596e-4c7a-92d2-3c9fd6f607cb 2025-10-22 14:58:14,973 - DEBUG - Read virtual machine interface {'fq_name': ['admin_domain', 'ctest-TestPorts-14058334', 'ctest-vmi-55238820']} 2025-10-22 14:58:15,287 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-55238820', 'id': 'c34d071a-de62-45a5-9fc9-56e1640859ef', 'tenant_id': '8af4b3efcd0f4ee2b627def4ade81768', 'network_id': '0e99b3fb-596e-4c7a-92d2-3c9fd6f607cb', 'mac_address': '02:c3:4d:07:1a:de', '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': '158.92.84.67', 'subnet_id': 'bfb51cbd-e295-45dd-9a0c-c4e25862341c'}], 'security_groups': ['8670e401-16fd-41e7-9853-81fe10ae2098'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-22T14:58:15.092656', 'updated_at': '2025-10-22T14:58:15.160546', 'project_id': '8af4b3efcd0f4ee2b627def4ade81768'}} 2025-10-22 14:58:15,287 - DEBUG - Created port c34d071a-de62-45a5-9fc9-56e1640859ef 2025-10-22 14:58:15,402 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/c34d071a-de62-45a5-9fc9-56e1640859ef 2025-10-22 14:58:15,760 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/c34d071a-de62-45a5-9fc9-56e1640859ef 2025-10-22 14:58:15,844 - INFO - VMI c34d071a-de62-45a5-9fc9-56e1640859ef verification in API Server passed 2025-10-22 14:58:16,000 - DEBUG - Response for delete_port : () 2025-10-22 14:58:16,000 - INFO - Deleted port c34d071a-de62-45a5-9fc9-56e1640859ef 2025-10-22 14:58:16,000 - INFO - Deleting VN ctest-vn-42960826 2025-10-22 14:58:16,181 - DEBUG - Response for deleting network () 2025-10-22 14:58:16,572 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 14:58:16,572 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-22 14:58:16,572 - INFO - -------------------------------------------------------------------------------- 2025-10-22 14:58:16,575 - INFO - ================================================================================ 2025-10-22 14:58:16,575 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-22 14:58:16,575 - 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 14:58:16,964 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.0.0.241': '0'}} with 2025-10-22 14:58:16,964 - INFO - Initial checks done. Running the testcase now 2025-10-22 14:58:16,964 - INFO - 2025-10-22 14:58:17,252 - DEBUG - Response for create_network : {'network': {'id': '2d17987b-dc4a-4632-b5ca-10245ae2b3e5', 'name': 'ctest-vn1-00258412', 'tenant_id': '8af4b3efcd0f4ee2b627def4ade81768', 'project_id': '8af4b3efcd0f4ee2b627def4ade81768', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-14058334', 'ctest-vn1-00258412'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-22 14:58:17,531 - DEBUG - Response for create_subnet : {'subnet': {'id': '4bed1a7c-58fa-46bf-addf-07d000d1e8be', 'name': '', 'tenant_id': '8af4b3efcd0f4ee2b627def4ade81768', 'network_id': '2d17987b-dc4a-4632-b5ca-10245ae2b3e5', 'ip_version': 4, 'cidr': '26.224.173.64/26', 'allocation_pools': [{'start': '26.224.173.66', 'end': '26.224.173.126'}], 'gateway_ip': '26.224.173.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-22T14:58:17.419320', 'updated_at': '2025-10-22T14:58:17.419320', 'dns_server_address': '26.224.173.66', 'tags': [], 'project_id': '8af4b3efcd0f4ee2b627def4ade81768'}} 2025-10-22 14:58:17,751 - DEBUG - Response for create_subnet : {'subnet': {'id': '8913fddb-2fe5-4e0c-94b3-0c5394bee6eb', 'name': '', 'tenant_id': '8af4b3efcd0f4ee2b627def4ade81768', 'network_id': '2d17987b-dc4a-4632-b5ca-10245ae2b3e5', 'ip_version': 4, 'cidr': '22.107.139.192/26', 'allocation_pools': [{'start': '22.107.139.194', 'end': '22.107.139.254'}], 'gateway_ip': '22.107.139.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-22T14:58:17.647973', 'updated_at': '2025-10-22T14:58:17.647973', 'dns_server_address': '22.107.139.194', 'tags': [], 'project_id': '8af4b3efcd0f4ee2b627def4ade81768'}} 2025-10-22 14:58:17,820 - INFO - Created VN ctest-vn1-00258412 2025-10-22 14:58:17,874 - DEBUG - VN ctest-vn1-00258412 UUID is 2d17987b-dc4a-4632-b5ca-10245ae2b3e5 2025-10-22 14:58:18,420 - DEBUG - Response for create_port : {'port': {'name': 'd4e15be6-0cb9-4f1e-8cce-be98050fb73c', 'id': 'd4e15be6-0cb9-4f1e-8cce-be98050fb73c', 'tenant_id': '8af4b3efcd0f4ee2b627def4ade81768', 'network_id': '2d17987b-dc4a-4632-b5ca-10245ae2b3e5', 'mac_address': '02:d4:e1:5b:e6:0c', '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': '26.224.173.69', 'subnet_id': '4bed1a7c-58fa-46bf-addf-07d000d1e8be'}], 'security_groups': ['8670e401-16fd-41e7-9853-81fe10ae2098'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-22T14:58:18.217047', 'updated_at': '2025-10-22T14:58:18.292398', 'project_id': '8af4b3efcd0f4ee2b627def4ade81768'}} 2025-10-22 14:58:18,692 - DEBUG - Response for create_port : {'port': {'name': 'ee6d8446-3832-4e8f-9da5-0c312104c7a6', 'id': 'ee6d8446-3832-4e8f-9da5-0c312104c7a6', 'tenant_id': '8af4b3efcd0f4ee2b627def4ade81768', 'network_id': '2d17987b-dc4a-4632-b5ca-10245ae2b3e5', 'mac_address': '02:ee:6d:84:46:38', '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': '22.107.139.197', 'subnet_id': '8913fddb-2fe5-4e0c-94b3-0c5394bee6eb'}], 'security_groups': ['8670e401-16fd-41e7-9853-81fe10ae2098'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-22T14:58:18.488871', 'updated_at': '2025-10-22T14:58:18.565610', 'project_id': '8af4b3efcd0f4ee2b627def4ade81768'}} 2025-10-22 14:58:18,773 - DEBUG - Services list from nova: [, , ] 2025-10-22 14:58:20,078 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-601-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-601-1) 2025-10-22 14:58:21,999 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-601-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-601-1) 2025-10-22 14:58:21,999 - INFO - Waiting for VM ctest-vn1-vm1-57201591 to be up.. 2025-10-22 14:58:22,151 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 14:58:27,309 - DEBUG - VM is in ACTIVE state now 2025-10-22 14:58:27,309 - INFO - VM name : ctest-vn1-vm1-57201591 2025-10-22 14:58:27,453 - DEBUG - VM ctest-vn1-vm1-57201591 ID is 4bf807ab-afba-4944-88a2-0355ff4a96a8 2025-10-22 14:58:27,489 - DEBUG - VM ctest-vn1-vm1-57201591 launched on Node cn-jenkins-deploy-platform-juju-os-601-1 2025-10-22 14:58:27,642 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/4bf807ab-afba-4944-88a2-0355ff4a96a8 2025-10-22 14:58:27,699 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/d4e15be6-0cb9-4f1e-8cce-be98050fb73c 2025-10-22 14:58:31,164 - 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 1007ms') 2025-10-22 14:58:31,164 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57201591 failed! 2025-10-22 14:58:31,219 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-14058334:ctest-vn1-00258412 is 26.224.173.65 and allocation pool is NOT set 2025-10-22 14:58:31,219 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-14058334:ctest-vn1-00258412 is 22.107.139.193 and allocation pool is NOT set 2025-10-22 14:58:35,326 - 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=3.90 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 3.897/3.897/3.897/0.000 ms') 2025-10-22 14:58:35,326 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57201591 passed 2025-10-22 14:58:35,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:58:35,495 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-57201591, IP 26.224.173.69, Port 22 2025-10-22 14:58:35,709 - DEBUG - VM ctest-vn1-vm1-57201591 is ready for SSH connections 2025-10-22 14:58:35,709 - INFO - Waiting for VM ctest-vn1-vm2-65669927 to be up.. 2025-10-22 14:58:35,846 - DEBUG - VM is in ACTIVE state now 2025-10-22 14:58:35,847 - INFO - VM name : ctest-vn1-vm2-65669927 2025-10-22 14:58:35,981 - DEBUG - VM ctest-vn1-vm2-65669927 ID is b67ce1fc-e30c-4f59-9cee-111bcee59e97 2025-10-22 14:58:35,981 - DEBUG - VM ctest-vn1-vm2-65669927 launched on Node cn-jenkins-deploy-platform-juju-os-601-1 2025-10-22 14:58:36,111 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/b67ce1fc-e30c-4f59-9cee-111bcee59e97 2025-10-22 14:58:36,163 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/ee6d8446-3832-4e8f-9da5-0c312104c7a6 2025-10-22 14:58:37,609 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.407 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.407/1.879/3.351/1.472 ms') 2025-10-22 14:58:37,609 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-65669927 passed 2025-10-22 14:58:37,770 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:58:37,770 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-65669927, IP 22.107.139.197, Port 22 2025-10-22 14:58:38,007 - DEBUG - VM ctest-vn1-vm2-65669927 is ready for SSH connections 2025-10-22 14:58:38,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:58:38,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:58:38,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:58:38,007 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.224.173.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-22 14:58:38,007 - DEBUG - ping -s 56 -c 3 -W 1 26.224.173.69 2025-10-22 14:58:40,724 - DEBUG - PING 26.224.173.69 (26.224.173.69): 56 data bytes 64 bytes from 26.224.173.69: seq=0 ttl=63 time=6.019 ms 64 bytes from 26.224.173.69: seq=1 ttl=63 time=1.050 ms 64 bytes from 26.224.173.69: seq=2 ttl=63 time=0.850 ms --- 26.224.173.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.850/2.639/6.019 ms 2025-10-22 14:58:40,725 - INFO - Ping to IP 26.224.173.69 from VM ctest-vn1-vm2-65669927 passed 2025-10-22 14:58:40,725 - INFO - Detaching port ee6d8446-3832-4e8f-9da5-0c312104c7a6 from VM ctest-vn1-vm2-65669927 2025-10-22 14:58:40,789 - INFO - Deleting VM ctest-vn1-vm2-65669927 2025-10-22 14:58:40,957 - INFO - Detaching port d4e15be6-0cb9-4f1e-8cce-be98050fb73c from VM ctest-vn1-vm1-57201591 2025-10-22 14:58:41,074 - INFO - Deleting VM ctest-vn1-vm1-57201591 2025-10-22 14:58:41,479 - DEBUG - Response for delete_port : () 2025-10-22 14:58:41,805 - DEBUG - Response for delete_port : () 2025-10-22 14:58:41,805 - INFO - Deleting VN ctest-vn1-00258412 2025-10-22 14:58:42,040 - DEBUG - Response for deleting network () 2025-10-22 14:58:42,427 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 14:58:42,428 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-10-22 14:58:42,428 - INFO - -------------------------------------------------------------------------------- 2025-10-22 14:58:43,185 - INFO - Deleted project: ctest-TestPorts-14058334, ID : 8af4b3ef-cd0f-4ee2-b627-def4ade81768