2025-09-18 19:31:00,666 - INFO - Domain Default found not creating 2025-09-18 19:31:00,805 - INFO - Project ctest-TestPorts-65870022 not found, creating it 2025-09-18 19:31:01,240 - INFO - Created Project:ctest-TestPorts-65870022, ID : 031763bc-e9a3-45bd-b52f-9abe01225a36 2025-09-18 19:31:02,594 - INFO - ================================================================================ 2025-09-18 19:31:02,594 - INFO - STARTING TEST : test_ports_bindings 2025-09-18 19:31:02,594 - 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-09-18 19:31:02,842 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-09-18 19:31:02,842 - INFO - Initial checks done. Running the testcase now 2025-09-18 19:31:02,842 - INFO - 2025-09-18 19:31:03,358 - DEBUG - Response for create_network : {'network': {'id': '9fc9b568-663a-435d-9dac-804652264b9f', 'name': 'ctest-vn-19898109', 'tenant_id': '031763bce9a345bdb52f9abe01225a36', 'project_id': '031763bce9a345bdb52f9abe01225a36', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65870022', 'ctest-vn-19898109'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 19:31:03,505 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e2f9a84-7f1c-45df-8c91-9e16b4b479a4', 'name': '', 'tenant_id': '031763bce9a345bdb52f9abe01225a36', 'network_id': '9fc9b568-663a-435d-9dac-804652264b9f', 'ip_version': 4, 'cidr': '89.95.228.64/26', 'allocation_pools': [{'start': '89.95.228.66', 'end': '89.95.228.126'}], 'gateway_ip': '89.95.228.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.95.228.66', 'tags': [], 'project_id': '031763bce9a345bdb52f9abe01225a36'}} 2025-09-18 19:31:03,522 - INFO - Created VN ctest-vn-19898109 2025-09-18 19:31:03,572 - DEBUG - VN ctest-vn-19898109 UUID is 9fc9b568-663a-435d-9dac-804652264b9f 2025-09-18 19:31:03,673 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-65870022', 'ctest-vmi-82511632']} 2025-09-18 19:31:03,937 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-82511632', 'id': '4e9dc48b-8b38-41e0-b435-c2c7ce8759ff', 'tenant_id': '031763bce9a345bdb52f9abe01225a36', 'network_id': '9fc9b568-663a-435d-9dac-804652264b9f', 'mac_address': '02:4e:9d:c4:8b:8b', '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': '89.95.228.67', 'subnet_id': '7e2f9a84-7f1c-45df-8c91-9e16b4b479a4'}], 'security_groups': ['e26042b9-6238-4149-91c9-67a017aced1f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '031763bce9a345bdb52f9abe01225a36'}} 2025-09-18 19:31:03,937 - DEBUG - Created port 4e9dc48b-8b38-41e0-b435-c2c7ce8759ff 2025-09-18 19:31:04,044 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4e9dc48b-8b38-41e0-b435-c2c7ce8759ff 2025-09-18 19:31:04,332 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4e9dc48b-8b38-41e0-b435-c2c7ce8759ff 2025-09-18 19:31:04,360 - INFO - VMI 4e9dc48b-8b38-41e0-b435-c2c7ce8759ff verification in API Server passed 2025-09-18 19:31:04,440 - DEBUG - Response for delete_port : () 2025-09-18 19:31:04,440 - INFO - Deleted port 4e9dc48b-8b38-41e0-b435-c2c7ce8759ff 2025-09-18 19:31:04,440 - INFO - Deleting VN ctest-vn-19898109 2025-09-18 19:31:04,527 - DEBUG - Response for deleting network () 2025-09-18 19:31:04,781 - DEBUG - No XMPP flaps were noticed during the test 2025-09-18 19:31:04,781 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-09-18 19:31:04,781 - INFO - -------------------------------------------------------------------------------- 2025-09-18 19:31:04,783 - INFO - ================================================================================ 2025-09-18 19:31:04,783 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-18 19:31:04,783 - 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-09-18 19:31:05,069 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-09-18 19:31:05,069 - INFO - Initial checks done. Running the testcase now 2025-09-18 19:31:05,069 - INFO - 2025-09-18 19:31:05,224 - DEBUG - Response for create_network : {'network': {'id': '146e15a1-174e-4370-8879-1c5966ecf9a6', 'name': 'ctest-vn1-18732178', 'tenant_id': '031763bce9a345bdb52f9abe01225a36', 'project_id': '031763bce9a345bdb52f9abe01225a36', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65870022', 'ctest-vn1-18732178'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 19:31:05,387 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e338fba8-17c3-4c15-b8a0-e5741549b61c', 'name': '', 'tenant_id': '031763bce9a345bdb52f9abe01225a36', 'network_id': '146e15a1-174e-4370-8879-1c5966ecf9a6', 'ip_version': 4, 'cidr': '139.80.51.128/26', 'allocation_pools': [{'start': '139.80.51.130', 'end': '139.80.51.190'}], 'gateway_ip': '139.80.51.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.80.51.130', 'tags': [], 'project_id': '031763bce9a345bdb52f9abe01225a36'}} 2025-09-18 19:31:05,538 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c6ea4c1c-29d5-4042-8008-42e7f1d812d1', 'name': '', 'tenant_id': '031763bce9a345bdb52f9abe01225a36', 'network_id': '146e15a1-174e-4370-8879-1c5966ecf9a6', 'ip_version': 4, 'cidr': '156.246.102.192/26', 'allocation_pools': [{'start': '156.246.102.194', 'end': '156.246.102.254'}], 'gateway_ip': '156.246.102.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.246.102.194', 'tags': [], 'project_id': '031763bce9a345bdb52f9abe01225a36'}} 2025-09-18 19:31:05,555 - INFO - Created VN ctest-vn1-18732178 2025-09-18 19:31:05,604 - DEBUG - VN ctest-vn1-18732178 UUID is 146e15a1-174e-4370-8879-1c5966ecf9a6 2025-09-18 19:31:05,868 - DEBUG - Response for create_port : {'port': {'name': 'e98a5fcb-7a61-4071-afce-6c4ab85771d5', 'id': 'e98a5fcb-7a61-4071-afce-6c4ab85771d5', 'tenant_id': '031763bce9a345bdb52f9abe01225a36', 'network_id': '146e15a1-174e-4370-8879-1c5966ecf9a6', 'mac_address': '02:e9:8a:5f:cb:7a', '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': '139.80.51.133', 'subnet_id': 'e338fba8-17c3-4c15-b8a0-e5741549b61c'}], 'security_groups': ['e26042b9-6238-4149-91c9-67a017aced1f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '031763bce9a345bdb52f9abe01225a36'}} 2025-09-18 19:31:06,024 - DEBUG - Response for create_port : {'port': {'name': '6d65845b-29b4-4353-abcb-095bea9c29bd', 'id': '6d65845b-29b4-4353-abcb-095bea9c29bd', 'tenant_id': '031763bce9a345bdb52f9abe01225a36', 'network_id': '146e15a1-174e-4370-8879-1c5966ecf9a6', 'mac_address': '02:6d:65:84:5b:29', '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': '156.246.102.197', 'subnet_id': 'c6ea4c1c-29d5-4042-8008-42e7f1d812d1'}], 'security_groups': ['e26042b9-6238-4149-91c9-67a017aced1f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '031763bce9a345bdb52f9abe01225a36'}} 2025-09-18 19:31:06,073 - DEBUG - Services list from nova: [, , ] 2025-09-18 19:31:06,363 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4141-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4141-1) 2025-09-18 19:31:06,710 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4141-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4141-1) 2025-09-18 19:31:06,710 - INFO - Waiting for VM ctest-vn1-vm1-58648368 to be up.. 2025-09-18 19:31:06,746 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 19:31:11,858 - DEBUG - VM is in ACTIVE state now 2025-09-18 19:31:11,858 - INFO - VM name : ctest-vn1-vm1-58648368 2025-09-18 19:31:11,940 - DEBUG - VM ctest-vn1-vm1-58648368 ID is 2da7ce47-4e65-448a-93c4-20daec08f4aa 2025-09-18 19:31:11,958 - DEBUG - VM ctest-vn1-vm1-58648368 launched on Node cn-jenkins-deploy-platform-ansible-os-4141-1 2025-09-18 19:31:12,029 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2da7ce47-4e65-448a-93c4-20daec08f4aa 2025-09-18 19:31:12,037 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e98a5fcb-7a61-4071-afce-6c4ab85771d5 2025-09-18 19:31:15,282 - 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 1003ms') 2025-09-18 19:31:15,282 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-58648368 failed! 2025-09-18 19:31:15,337 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65870022:ctest-vn1-18732178 is 139.80.51.129 and allocation pool is NOT set 2025-09-18 19:31:15,337 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65870022:ctest-vn1-18732178 is 156.246.102.193 and allocation pool is NOT set 2025-09-18 19:31:17,398 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.92 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.924/3.343/4.762/1.419 ms') 2025-09-18 19:31:17,398 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-58648368 passed 2025-09-18 19:31:17,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 19:31:17,545 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-58648368, IP 139.80.51.133, Port 22 2025-09-18 19:31:17,696 - DEBUG - VM ctest-vn1-vm1-58648368 is ready for SSH connections 2025-09-18 19:31:17,696 - INFO - Waiting for VM ctest-vn1-vm2-07825285 to be up.. 2025-09-18 19:31:17,760 - DEBUG - VM is in ACTIVE state now 2025-09-18 19:31:17,760 - INFO - VM name : ctest-vn1-vm2-07825285 2025-09-18 19:31:17,827 - DEBUG - VM ctest-vn1-vm2-07825285 ID is 1aaf0862-9efd-4c5c-98bb-b1eca005b4dc 2025-09-18 19:31:17,827 - DEBUG - VM ctest-vn1-vm2-07825285 launched on Node cn-jenkins-deploy-platform-ansible-os-4141-1 2025-09-18 19:31:17,890 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1aaf0862-9efd-4c5c-98bb-b1eca005b4dc 2025-09-18 19:31:17,897 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6d65845b-29b4-4353-abcb-095bea9c29bd 2025-09-18 19:31:19,134 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.346 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.346/1.492/2.638/1.146 ms') 2025-09-18 19:31:19,134 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-07825285 passed 2025-09-18 19:31:19,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 19:31:19,281 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-07825285, IP 156.246.102.197, Port 22 2025-09-18 19:31:19,432 - DEBUG - VM ctest-vn1-vm2-07825285 is ready for SSH connections 2025-09-18 19:31:19,432 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 19:31:19,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 19:31:19,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 19:31:19,433 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.80.51.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-18 19:31:19,433 - DEBUG - ping -s 56 -c 3 -W 1 139.80.51.133 2025-09-18 19:31:22,380 - DEBUG - PING 139.80.51.133 (139.80.51.133): 56 data bytes 64 bytes from 139.80.51.133: seq=0 ttl=63 time=3.419 ms 64 bytes from 139.80.51.133: seq=1 ttl=63 time=0.702 ms 64 bytes from 139.80.51.133: seq=2 ttl=63 time=0.689 ms --- 139.80.51.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.689/1.603/3.419 ms 2025-09-18 19:31:22,380 - INFO - Ping to IP 139.80.51.133 from VM ctest-vn1-vm2-07825285 passed 2025-09-18 19:31:22,380 - INFO - Detaching port 6d65845b-29b4-4353-abcb-095bea9c29bd from VM ctest-vn1-vm2-07825285 2025-09-18 19:31:22,423 - INFO - Deleting VM ctest-vn1-vm2-07825285 2025-09-18 19:31:22,487 - INFO - Detaching port e98a5fcb-7a61-4071-afce-6c4ab85771d5 from VM ctest-vn1-vm1-58648368 2025-09-18 19:31:22,521 - INFO - Deleting VM ctest-vn1-vm1-58648368 2025-09-18 19:31:22,758 - DEBUG - Response for delete_port : () 2025-09-18 19:31:22,883 - DEBUG - Response for delete_port : () 2025-09-18 19:31:22,883 - INFO - Deleting VN ctest-vn1-18732178 2025-09-18 19:31:22,995 - DEBUG - Response for deleting network () 2025-09-18 19:31:23,249 - DEBUG - No XMPP flaps were noticed during the test 2025-09-18 19:31:23,249 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-09-18 19:31:23,249 - INFO - -------------------------------------------------------------------------------- 2025-09-18 19:31:23,931 - INFO - Deleted project: ctest-TestPorts-65870022, ID : 031763bc-e9a3-45bd-b52f-9abe01225a36