2025-08-11 15:49:22,989 - INFO - Domain Default found not creating 2025-08-11 15:49:23,106 - INFO - Project ctest-TestPorts-43389902 not found, creating it 2025-08-11 15:49:23,573 - INFO - Created Project:ctest-TestPorts-43389902, ID : 3e1d113b-ce42-4701-af31-ea60d6772fa8 2025-08-11 15:49:24,990 - INFO - ================================================================================ 2025-08-11 15:49:24,990 - INFO - STARTING TEST : test_ports_bindings 2025-08-11 15:49:24,990 - 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-08-11 15:49:25,244 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-08-11 15:49:25,244 - INFO - Initial checks done. Running the testcase now 2025-08-11 15:49:25,244 - INFO - 2025-08-11 15:49:25,761 - DEBUG - Response for create_network : {'network': {'id': 'aa2738d7-192e-4841-aa85-a67e16e5a82f', 'name': 'ctest-vn-59505924', 'tenant_id': '3e1d113bce424701af31ea60d6772fa8', 'project_id': '3e1d113bce424701af31ea60d6772fa8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-43389902', 'ctest-vn-59505924'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:49:25,963 - DEBUG - Response for create_subnet : {'subnet': {'id': '12ec0015-1e81-4fef-8e00-4e67cfccc340', 'name': '', 'tenant_id': '3e1d113bce424701af31ea60d6772fa8', 'network_id': 'aa2738d7-192e-4841-aa85-a67e16e5a82f', 'ip_version': 4, 'cidr': '60.242.113.0/26', 'allocation_pools': [{'start': '60.242.113.2', 'end': '60.242.113.62'}], 'gateway_ip': '60.242.113.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.242.113.2', 'tags': [], 'project_id': '3e1d113bce424701af31ea60d6772fa8'}} 2025-08-11 15:49:25,979 - INFO - Created VN ctest-vn-59505924 2025-08-11 15:49:26,031 - DEBUG - VN ctest-vn-59505924 UUID is aa2738d7-192e-4841-aa85-a67e16e5a82f 2025-08-11 15:49:26,126 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-43389902', 'ctest-vmi-52229853']} 2025-08-11 15:49:26,383 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-52229853', 'id': '891e367b-ee34-43c3-a109-38546759894c', 'tenant_id': '3e1d113bce424701af31ea60d6772fa8', 'network_id': 'aa2738d7-192e-4841-aa85-a67e16e5a82f', 'mac_address': '02:89:1e:36:7b:ee', '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': '60.242.113.3', 'subnet_id': '12ec0015-1e81-4fef-8e00-4e67cfccc340'}], 'security_groups': ['8ed7a135-d971-4a6b-9e49-2702d5866c78'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3e1d113bce424701af31ea60d6772fa8'}} 2025-08-11 15:49:26,383 - DEBUG - Created port 891e367b-ee34-43c3-a109-38546759894c 2025-08-11 15:49:26,491 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/891e367b-ee34-43c3-a109-38546759894c 2025-08-11 15:49:26,780 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/891e367b-ee34-43c3-a109-38546759894c 2025-08-11 15:49:26,809 - INFO - VMI 891e367b-ee34-43c3-a109-38546759894c verification in API Server passed 2025-08-11 15:49:26,880 - DEBUG - Response for delete_port : () 2025-08-11 15:49:26,880 - INFO - Deleted port 891e367b-ee34-43c3-a109-38546759894c 2025-08-11 15:49:26,880 - INFO - Deleting VN ctest-vn-59505924 2025-08-11 15:49:26,970 - DEBUG - Response for deleting network () 2025-08-11 15:49:27,231 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 15:49:27,231 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-11 15:49:27,231 - INFO - -------------------------------------------------------------------------------- 2025-08-11 15:49:27,234 - INFO - ================================================================================ 2025-08-11 15:49:27,234 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-11 15:49:27,234 - 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-08-11 15:49:27,519 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-08-11 15:49:27,520 - INFO - Initial checks done. Running the testcase now 2025-08-11 15:49:27,520 - INFO - 2025-08-11 15:49:27,690 - DEBUG - Response for create_network : {'network': {'id': '9143c2f6-3878-4ccd-992f-25ab24ffcc86', 'name': 'ctest-vn1-98558739', 'tenant_id': '3e1d113bce424701af31ea60d6772fa8', 'project_id': '3e1d113bce424701af31ea60d6772fa8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-43389902', 'ctest-vn1-98558739'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:49:27,877 - DEBUG - Response for create_subnet : {'subnet': {'id': '234bfc12-f229-43ea-b556-6e6cc657ae78', 'name': '', 'tenant_id': '3e1d113bce424701af31ea60d6772fa8', 'network_id': '9143c2f6-3878-4ccd-992f-25ab24ffcc86', 'ip_version': 4, 'cidr': '216.178.144.192/26', 'allocation_pools': [{'start': '216.178.144.194', 'end': '216.178.144.254'}], 'gateway_ip': '216.178.144.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.178.144.194', 'tags': [], 'project_id': '3e1d113bce424701af31ea60d6772fa8'}} 2025-08-11 15:49:28,044 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac96e3a3-6089-40b8-b40c-1db2cf94c544', 'name': '', 'tenant_id': '3e1d113bce424701af31ea60d6772fa8', 'network_id': '9143c2f6-3878-4ccd-992f-25ab24ffcc86', 'ip_version': 4, 'cidr': '153.92.190.0/26', 'allocation_pools': [{'start': '153.92.190.2', 'end': '153.92.190.62'}], 'gateway_ip': '153.92.190.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.92.190.2', 'tags': [], 'project_id': '3e1d113bce424701af31ea60d6772fa8'}} 2025-08-11 15:49:28,061 - INFO - Created VN ctest-vn1-98558739 2025-08-11 15:49:28,111 - DEBUG - VN ctest-vn1-98558739 UUID is 9143c2f6-3878-4ccd-992f-25ab24ffcc86 2025-08-11 15:49:28,370 - DEBUG - Response for create_port : {'port': {'name': '91356bc6-2659-4549-ad57-a646de146f48', 'id': '91356bc6-2659-4549-ad57-a646de146f48', 'tenant_id': '3e1d113bce424701af31ea60d6772fa8', 'network_id': '9143c2f6-3878-4ccd-992f-25ab24ffcc86', 'mac_address': '02:91:35:6b:c6:26', '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': '216.178.144.197', 'subnet_id': '234bfc12-f229-43ea-b556-6e6cc657ae78'}], 'security_groups': ['8ed7a135-d971-4a6b-9e49-2702d5866c78'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3e1d113bce424701af31ea60d6772fa8'}} 2025-08-11 15:49:28,527 - DEBUG - Response for create_port : {'port': {'name': 'cd9e4cb9-a775-4ed4-a6f8-e06f6bb94591', 'id': 'cd9e4cb9-a775-4ed4-a6f8-e06f6bb94591', 'tenant_id': '3e1d113bce424701af31ea60d6772fa8', 'network_id': '9143c2f6-3878-4ccd-992f-25ab24ffcc86', 'mac_address': '02:cd:9e:4c:b9:a7', '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': '153.92.190.5', 'subnet_id': 'ac96e3a3-6089-40b8-b40c-1db2cf94c544'}], 'security_groups': ['8ed7a135-d971-4a6b-9e49-2702d5866c78'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3e1d113bce424701af31ea60d6772fa8'}} 2025-08-11 15:49:28,574 - DEBUG - Services list from nova: [, , ] 2025-08-11 15:49:28,833 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3813-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3813-1) 2025-08-11 15:49:29,258 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3813-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3813-1) 2025-08-11 15:49:29,258 - INFO - Waiting for VM ctest-vn1-vm1-98308557 to be up.. 2025-08-11 15:49:29,290 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 15:49:34,357 - DEBUG - VM is in ACTIVE state now 2025-08-11 15:49:34,358 - INFO - VM name : ctest-vn1-vm1-98308557 2025-08-11 15:49:34,424 - DEBUG - VM ctest-vn1-vm1-98308557 ID is 5be3f7fb-6cb0-43a2-ba86-cddda9ba88b2 2025-08-11 15:49:34,440 - DEBUG - VM ctest-vn1-vm1-98308557 launched on Node cn-jenkins-deploy-platform-ansible-os-3813-1 2025-08-11 15:49:34,503 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5be3f7fb-6cb0-43a2-ba86-cddda9ba88b2 2025-08-11 15:49:34,510 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/91356bc6-2659-4549-ad57-a646de146f48 2025-08-11 15:49:37,769 - 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 1020ms') 2025-08-11 15:49:37,769 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98308557 failed! 2025-08-11 15:49:37,823 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-43389902:ctest-vn1-98558739 is 216.178.144.193 and allocation pool is NOT set 2025-08-11 15:49:37,823 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-43389902:ctest-vn1-98558739 is 153.92.190.1 and allocation pool is NOT set 2025-08-11 15:49:39,892 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.50 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.499/3.161/4.824/1.662 ms') 2025-08-11 15:49:39,892 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98308557 passed 2025-08-11 15:49:40,043 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:49:40,043 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-98308557, IP 216.178.144.197, Port 22 2025-08-11 15:49:40,197 - DEBUG - VM ctest-vn1-vm1-98308557 is ready for SSH connections 2025-08-11 15:49:40,197 - INFO - Waiting for VM ctest-vn1-vm2-85549760 to be up.. 2025-08-11 15:49:40,261 - DEBUG - VM is in ACTIVE state now 2025-08-11 15:49:40,261 - INFO - VM name : ctest-vn1-vm2-85549760 2025-08-11 15:49:40,320 - DEBUG - VM ctest-vn1-vm2-85549760 ID is b9248c9c-2c7e-4551-9fd5-449facf342a8 2025-08-11 15:49:40,320 - DEBUG - VM ctest-vn1-vm2-85549760 launched on Node cn-jenkins-deploy-platform-ansible-os-3813-1 2025-08-11 15:49:40,402 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b9248c9c-2c7e-4551-9fd5-449facf342a8 2025-08-11 15:49:40,412 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cd9e4cb9-a775-4ed4-a6f8-e06f6bb94591 2025-08-11 15:49:41,667 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.324 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.324/1.636/2.948/1.312 ms') 2025-08-11 15:49:41,667 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-85549760 passed 2025-08-11 15:49:41,815 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:49:41,815 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-85549760, IP 153.92.190.5, Port 22 2025-08-11 15:49:41,970 - DEBUG - VM ctest-vn1-vm2-85549760 is ready for SSH connections 2025-08-11 15:49:41,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:49:41,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:49:41,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:49:41,970 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.178.144.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-11 15:49:41,970 - DEBUG - ping -s 56 -c 3 -W 1 216.178.144.197 2025-08-11 15:49:44,847 - DEBUG - PING 216.178.144.197 (216.178.144.197): 56 data bytes 64 bytes from 216.178.144.197: seq=0 ttl=63 time=3.399 ms 64 bytes from 216.178.144.197: seq=1 ttl=63 time=0.756 ms 64 bytes from 216.178.144.197: seq=2 ttl=63 time=0.679 ms --- 216.178.144.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.679/1.611/3.399 ms 2025-08-11 15:49:44,847 - INFO - Ping to IP 216.178.144.197 from VM ctest-vn1-vm2-85549760 passed 2025-08-11 15:49:44,847 - INFO - Detaching port cd9e4cb9-a775-4ed4-a6f8-e06f6bb94591 from VM ctest-vn1-vm2-85549760 2025-08-11 15:49:44,889 - INFO - Deleting VM ctest-vn1-vm2-85549760 2025-08-11 15:49:44,941 - INFO - Detaching port 91356bc6-2659-4549-ad57-a646de146f48 from VM ctest-vn1-vm1-98308557 2025-08-11 15:49:44,968 - INFO - Deleting VM ctest-vn1-vm1-98308557 2025-08-11 15:49:45,147 - DEBUG - Response for delete_port : () 2025-08-11 15:49:45,294 - DEBUG - Response for delete_port : () 2025-08-11 15:49:45,295 - INFO - Deleting VN ctest-vn1-98558739 2025-08-11 15:49:45,438 - DEBUG - Response for deleting network () 2025-08-11 15:49:45,696 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 15:49:45,696 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-08-11 15:49:45,696 - INFO - -------------------------------------------------------------------------------- 2025-08-11 15:49:46,368 - INFO - Deleted project: ctest-TestPorts-43389902, ID : 3e1d113b-ce42-4701-af31-ea60d6772fa8