2025-11-05 08:19:32,767 - INFO - Domain Default found not creating 2025-11-05 08:19:32,926 - INFO - Project ctest-TestPorts-06955436 not found, creating it 2025-11-05 08:19:33,392 - INFO - Created Project:ctest-TestPorts-06955436, ID : d0d0deff-ce8d-4bf5-adf4-e964d40ac4fc 2025-11-05 08:19:34,970 - INFO - ================================================================================ 2025-11-05 08:19:34,970 - INFO - STARTING TEST : test_ports_bindings 2025-11-05 08:19:34,970 - 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-11-05 08:19:35,226 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0'}} with 2025-11-05 08:19:35,226 - INFO - Initial checks done. Running the testcase now 2025-11-05 08:19:35,227 - INFO - 2025-11-05 08:19:35,863 - DEBUG - Response for create_network : {'network': {'id': 'c07c491e-a17d-4ddc-991c-56edb92b265e', 'name': 'ctest-vn-86628085', 'tenant_id': 'd0d0deffce8d4bf5adf4e964d40ac4fc', 'project_id': 'd0d0deffce8d4bf5adf4e964d40ac4fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-06955436', 'ctest-vn-86628085'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:19:36,063 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0bd2e54-2314-4d60-b65f-caa83af65016', 'name': '', 'tenant_id': 'd0d0deffce8d4bf5adf4e964d40ac4fc', 'network_id': 'c07c491e-a17d-4ddc-991c-56edb92b265e', 'ip_version': 4, 'cidr': '36.214.27.64/26', 'allocation_pools': [{'start': '36.214.27.66', 'end': '36.214.27.126'}], 'gateway_ip': '36.214.27.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.214.27.66', 'tags': [], 'project_id': 'd0d0deffce8d4bf5adf4e964d40ac4fc'}} 2025-11-05 08:19:36,078 - INFO - Created VN ctest-vn-86628085 2025-11-05 08:19:36,130 - DEBUG - VN ctest-vn-86628085 UUID is c07c491e-a17d-4ddc-991c-56edb92b265e 2025-11-05 08:19:36,225 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-06955436', 'ctest-vmi-84395872']} 2025-11-05 08:19:36,523 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-84395872', 'id': '23e8f204-6e66-460f-aeb5-89eb9e5b68aa', 'tenant_id': 'd0d0deffce8d4bf5adf4e964d40ac4fc', 'network_id': 'c07c491e-a17d-4ddc-991c-56edb92b265e', 'mac_address': '02:23:e8:f2:04:6e', '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': '36.214.27.67', 'subnet_id': 'e0bd2e54-2314-4d60-b65f-caa83af65016'}], 'security_groups': ['690a3b8a-2b1e-495d-b39a-b906c6806711'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd0d0deffce8d4bf5adf4e964d40ac4fc'}} 2025-11-05 08:19:36,523 - DEBUG - Created port 23e8f204-6e66-460f-aeb5-89eb9e5b68aa 2025-11-05 08:19:36,626 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/23e8f204-6e66-460f-aeb5-89eb9e5b68aa 2025-11-05 08:19:36,938 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/23e8f204-6e66-460f-aeb5-89eb9e5b68aa 2025-11-05 08:19:36,970 - INFO - VMI 23e8f204-6e66-460f-aeb5-89eb9e5b68aa verification in API Server passed 2025-11-05 08:19:37,047 - DEBUG - Response for delete_port : () 2025-11-05 08:19:37,047 - INFO - Deleted port 23e8f204-6e66-460f-aeb5-89eb9e5b68aa 2025-11-05 08:19:37,047 - INFO - Deleting VN ctest-vn-86628085 2025-11-05 08:19:37,162 - DEBUG - Response for deleting network () 2025-11-05 08:19:37,433 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 08:19:37,433 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-11-05 08:19:37,433 - INFO - -------------------------------------------------------------------------------- 2025-11-05 08:19:37,435 - INFO - ================================================================================ 2025-11-05 08:19:37,435 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-05 08:19:37,435 - 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-11-05 08:19:37,726 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0'}} with 2025-11-05 08:19:37,726 - INFO - Initial checks done. Running the testcase now 2025-11-05 08:19:37,726 - INFO - 2025-11-05 08:19:37,902 - DEBUG - Response for create_network : {'network': {'id': '9feae29f-8a25-4643-8e2d-28a02c0b49a1', 'name': 'ctest-vn1-91291698', 'tenant_id': 'd0d0deffce8d4bf5adf4e964d40ac4fc', 'project_id': 'd0d0deffce8d4bf5adf4e964d40ac4fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-06955436', 'ctest-vn1-91291698'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:19:38,042 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f035241d-36ef-4086-98b3-89acc673fc73', 'name': '', 'tenant_id': 'd0d0deffce8d4bf5adf4e964d40ac4fc', 'network_id': '9feae29f-8a25-4643-8e2d-28a02c0b49a1', 'ip_version': 4, 'cidr': '143.27.166.64/26', 'allocation_pools': [{'start': '143.27.166.66', 'end': '143.27.166.126'}], 'gateway_ip': '143.27.166.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.27.166.66', 'tags': [], 'project_id': 'd0d0deffce8d4bf5adf4e964d40ac4fc'}} 2025-11-05 08:19:38,222 - DEBUG - Response for create_subnet : {'subnet': {'id': '42caff1c-1ea5-4710-9fd7-d6a9920498b9', 'name': '', 'tenant_id': 'd0d0deffce8d4bf5adf4e964d40ac4fc', 'network_id': '9feae29f-8a25-4643-8e2d-28a02c0b49a1', 'ip_version': 4, 'cidr': '149.45.12.192/26', 'allocation_pools': [{'start': '149.45.12.194', 'end': '149.45.12.254'}], 'gateway_ip': '149.45.12.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.45.12.194', 'tags': [], 'project_id': 'd0d0deffce8d4bf5adf4e964d40ac4fc'}} 2025-11-05 08:19:38,236 - INFO - Created VN ctest-vn1-91291698 2025-11-05 08:19:38,286 - DEBUG - VN ctest-vn1-91291698 UUID is 9feae29f-8a25-4643-8e2d-28a02c0b49a1 2025-11-05 08:19:38,557 - DEBUG - Response for create_port : {'port': {'name': '868db45e-65ac-482c-8f15-c51b24c9a7da', 'id': '868db45e-65ac-482c-8f15-c51b24c9a7da', 'tenant_id': 'd0d0deffce8d4bf5adf4e964d40ac4fc', 'network_id': '9feae29f-8a25-4643-8e2d-28a02c0b49a1', 'mac_address': '02:86:8d:b4:5e:65', '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': '143.27.166.69', 'subnet_id': 'f035241d-36ef-4086-98b3-89acc673fc73'}], 'security_groups': ['690a3b8a-2b1e-495d-b39a-b906c6806711'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd0d0deffce8d4bf5adf4e964d40ac4fc'}} 2025-11-05 08:19:38,736 - DEBUG - Response for create_port : {'port': {'name': '21cfad35-412b-4cad-b559-ccdf57354a8c', 'id': '21cfad35-412b-4cad-b559-ccdf57354a8c', 'tenant_id': 'd0d0deffce8d4bf5adf4e964d40ac4fc', 'network_id': '9feae29f-8a25-4643-8e2d-28a02c0b49a1', 'mac_address': '02:21:cf:ad:35:41', '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': '149.45.12.197', 'subnet_id': '42caff1c-1ea5-4710-9fd7-d6a9920498b9'}], 'security_groups': ['690a3b8a-2b1e-495d-b39a-b906c6806711'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd0d0deffce8d4bf5adf4e964d40ac4fc'}} 2025-11-05 08:19:38,785 - DEBUG - Services list from nova: [, , ] 2025-11-05 08:19:39,088 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4630-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4630-1) 2025-11-05 08:19:39,464 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4630-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4630-1) 2025-11-05 08:19:39,465 - INFO - Waiting for VM ctest-vn1-vm1-71087200 to be up.. 2025-11-05 08:19:39,497 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 08:19:44,579 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:19:44,579 - INFO - VM name : ctest-vn1-vm1-71087200 2025-11-05 08:19:44,655 - DEBUG - VM ctest-vn1-vm1-71087200 ID is 3058f171-1466-40eb-86bc-fd1982c69525 2025-11-05 08:19:44,676 - DEBUG - VM ctest-vn1-vm1-71087200 launched on Node cn-jenkins-deploy-platform-ansible-os-4630-1 2025-11-05 08:19:44,749 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/3058f171-1466-40eb-86bc-fd1982c69525 2025-11-05 08:19:44,757 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/868db45e-65ac-482c-8f15-c51b24c9a7da 2025-11-05 08:19:48,005 - 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 1018ms') 2025-11-05 08:19:48,006 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-71087200 failed! 2025-11-05 08:19:48,058 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-06955436:ctest-vn1-91291698 is 143.27.166.65 and allocation pool is NOT set 2025-11-05 08:19:48,058 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-06955436:ctest-vn1-91291698 is 149.45.12.193 and allocation pool is NOT set 2025-11-05 08:19:50,121 - 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.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.61 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 = 1.609/3.118/4.628/1.509 ms') 2025-11-05 08:19:50,121 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-71087200 passed 2025-11-05 08:19:50,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:19:50,270 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-71087200, IP 143.27.166.69, Port 22 2025-11-05 08:19:50,425 - DEBUG - VM ctest-vn1-vm1-71087200 is ready for SSH connections 2025-11-05 08:19:50,425 - INFO - Waiting for VM ctest-vn1-vm2-55652876 to be up.. 2025-11-05 08:19:50,500 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:19:50,500 - INFO - VM name : ctest-vn1-vm2-55652876 2025-11-05 08:19:50,576 - DEBUG - VM ctest-vn1-vm2-55652876 ID is 472b063b-c166-486f-883d-9fa7dff22179 2025-11-05 08:19:50,576 - DEBUG - VM ctest-vn1-vm2-55652876 launched on Node cn-jenkins-deploy-platform-ansible-os-4630-1 2025-11-05 08:19:50,651 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/472b063b-c166-486f-883d-9fa7dff22179 2025-11-05 08:19:50,659 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/21cfad35-412b-4cad-b559-ccdf57354a8c 2025-11-05 08:19:51,897 - 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.399 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.399/1.602/2.805/1.203 ms') 2025-11-05 08:19:51,897 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-55652876 passed 2025-11-05 08:19:52,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:19:52,046 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-55652876, IP 149.45.12.197, Port 22 2025-11-05 08:19:52,212 - DEBUG - VM ctest-vn1-vm2-55652876 is ready for SSH connections 2025-11-05 08:19:52,212 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:19:52,212 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:19:52,213 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:19:52,213 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 143.27.166.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-05 08:19:52,213 - DEBUG - ping -s 56 -c 3 -W 1 143.27.166.69 2025-11-05 08:19:55,116 - DEBUG - PING 143.27.166.69 (143.27.166.69): 56 data bytes 64 bytes from 143.27.166.69: seq=0 ttl=63 time=4.196 ms 64 bytes from 143.27.166.69: seq=1 ttl=63 time=1.008 ms 64 bytes from 143.27.166.69: seq=2 ttl=63 time=0.980 ms --- 143.27.166.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.980/2.061/4.196 ms 2025-11-05 08:19:55,116 - INFO - Ping to IP 143.27.166.69 from VM ctest-vn1-vm2-55652876 passed 2025-11-05 08:19:55,116 - INFO - Detaching port 21cfad35-412b-4cad-b559-ccdf57354a8c from VM ctest-vn1-vm2-55652876 2025-11-05 08:19:55,161 - INFO - Deleting VM ctest-vn1-vm2-55652876 2025-11-05 08:19:55,230 - INFO - Detaching port 868db45e-65ac-482c-8f15-c51b24c9a7da from VM ctest-vn1-vm1-71087200 2025-11-05 08:19:55,273 - INFO - Deleting VM ctest-vn1-vm1-71087200 2025-11-05 08:19:55,492 - DEBUG - Response for delete_port : () 2025-11-05 08:19:55,640 - DEBUG - Response for delete_port : () 2025-11-05 08:19:55,640 - INFO - Deleting VN ctest-vn1-91291698 2025-11-05 08:19:55,768 - DEBUG - Response for deleting network () 2025-11-05 08:19:56,027 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 08:19:56,027 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-11-05 08:19:56,027 - INFO - -------------------------------------------------------------------------------- 2025-11-05 08:19:56,743 - INFO - Deleted project: ctest-TestPorts-06955436, ID : d0d0deff-ce8d-4bf5-adf4-e964d40ac4fc