2025-11-17 16:11:37,102 - INFO - Domain Default found not creating 2025-11-17 16:11:37,275 - INFO - Project ctest-TestPorts-26943364 not found, creating it 2025-11-17 16:11:37,736 - INFO - Created Project:ctest-TestPorts-26943364, ID : eafccd2d-42e8-4b29-a503-5b138569d311 2025-11-17 16:11:39,415 - INFO - ================================================================================ 2025-11-17 16:11:39,415 - INFO - STARTING TEST : test_ports_bindings 2025-11-17 16:11:39,415 - 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-17 16:11:39,669 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-11-17 16:11:39,669 - INFO - Initial checks done. Running the testcase now 2025-11-17 16:11:39,669 - INFO - 2025-11-17 16:11:40,283 - DEBUG - Response for create_network : {'network': {'id': '8a4d144c-ba9c-4bbd-8356-b0abd456bd44', 'name': 'ctest-vn-26492831', 'tenant_id': 'eafccd2d42e84b29a5035b138569d311', 'project_id': 'eafccd2d42e84b29a5035b138569d311', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-26943364', 'ctest-vn-26492831'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 16:11:40,429 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b44c30fa-add0-44b5-b8e6-f45333044bfd', 'name': '', 'tenant_id': 'eafccd2d42e84b29a5035b138569d311', 'network_id': '8a4d144c-ba9c-4bbd-8356-b0abd456bd44', 'ip_version': 4, 'cidr': '188.222.139.0/26', 'allocation_pools': [{'start': '188.222.139.2', 'end': '188.222.139.62'}], 'gateway_ip': '188.222.139.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.222.139.2', 'tags': [], 'project_id': 'eafccd2d42e84b29a5035b138569d311'}} 2025-11-17 16:11:40,447 - INFO - Created VN ctest-vn-26492831 2025-11-17 16:11:40,500 - DEBUG - VN ctest-vn-26492831 UUID is 8a4d144c-ba9c-4bbd-8356-b0abd456bd44 2025-11-17 16:11:40,614 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-26943364', 'ctest-vmi-55614269']} 2025-11-17 16:11:40,908 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-55614269', 'id': '8b31bc85-7c68-4473-8a86-25d4ab6a0582', 'tenant_id': 'eafccd2d42e84b29a5035b138569d311', 'network_id': '8a4d144c-ba9c-4bbd-8356-b0abd456bd44', 'mac_address': '02:8b:31:bc:85:7c', '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': '188.222.139.3', 'subnet_id': 'b44c30fa-add0-44b5-b8e6-f45333044bfd'}], 'security_groups': ['d62eaf9c-0d83-45a7-a900-0a679c28f8fa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'eafccd2d42e84b29a5035b138569d311'}} 2025-11-17 16:11:40,908 - DEBUG - Created port 8b31bc85-7c68-4473-8a86-25d4ab6a0582 2025-11-17 16:11:41,016 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/8b31bc85-7c68-4473-8a86-25d4ab6a0582 2025-11-17 16:11:41,350 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/8b31bc85-7c68-4473-8a86-25d4ab6a0582 2025-11-17 16:11:41,389 - INFO - VMI 8b31bc85-7c68-4473-8a86-25d4ab6a0582 verification in API Server passed 2025-11-17 16:11:41,488 - DEBUG - Response for delete_port : () 2025-11-17 16:11:41,488 - INFO - Deleted port 8b31bc85-7c68-4473-8a86-25d4ab6a0582 2025-11-17 16:11:41,489 - INFO - Deleting VN ctest-vn-26492831 2025-11-17 16:11:41,600 - DEBUG - Response for deleting network () 2025-11-17 16:11:41,853 - DEBUG - No XMPP flaps were noticed during the test 2025-11-17 16:11:41,853 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-17 16:11:41,853 - INFO - -------------------------------------------------------------------------------- 2025-11-17 16:11:41,857 - INFO - ================================================================================ 2025-11-17 16:11:41,857 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-17 16:11:41,857 - 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-17 16:11:42,141 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-11-17 16:11:42,141 - INFO - Initial checks done. Running the testcase now 2025-11-17 16:11:42,141 - INFO - 2025-11-17 16:11:42,317 - DEBUG - Response for create_network : {'network': {'id': '2add5ec4-6cb5-45d2-87be-729666885af3', 'name': 'ctest-vn1-93508093', 'tenant_id': 'eafccd2d42e84b29a5035b138569d311', 'project_id': 'eafccd2d42e84b29a5035b138569d311', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-26943364', 'ctest-vn1-93508093'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 16:11:42,507 - DEBUG - Response for create_subnet : {'subnet': {'id': '217f7d07-f9a0-4975-bafc-d5922115850a', 'name': '', 'tenant_id': 'eafccd2d42e84b29a5035b138569d311', 'network_id': '2add5ec4-6cb5-45d2-87be-729666885af3', 'ip_version': 4, 'cidr': '204.236.20.128/26', 'allocation_pools': [{'start': '204.236.20.130', 'end': '204.236.20.190'}], 'gateway_ip': '204.236.20.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.236.20.130', 'tags': [], 'project_id': 'eafccd2d42e84b29a5035b138569d311'}} 2025-11-17 16:11:42,709 - DEBUG - Response for create_subnet : {'subnet': {'id': '15f41307-3ad8-48c6-b44e-0eda016ac4f5', 'name': '', 'tenant_id': 'eafccd2d42e84b29a5035b138569d311', 'network_id': '2add5ec4-6cb5-45d2-87be-729666885af3', 'ip_version': 4, 'cidr': '96.147.231.64/26', 'allocation_pools': [{'start': '96.147.231.66', 'end': '96.147.231.126'}], 'gateway_ip': '96.147.231.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.147.231.66', 'tags': [], 'project_id': 'eafccd2d42e84b29a5035b138569d311'}} 2025-11-17 16:11:42,729 - INFO - Created VN ctest-vn1-93508093 2025-11-17 16:11:42,780 - DEBUG - VN ctest-vn1-93508093 UUID is 2add5ec4-6cb5-45d2-87be-729666885af3 2025-11-17 16:11:43,079 - DEBUG - Response for create_port : {'port': {'name': 'ba92ff17-dcde-40a1-9375-234aedd16b10', 'id': 'ba92ff17-dcde-40a1-9375-234aedd16b10', 'tenant_id': 'eafccd2d42e84b29a5035b138569d311', 'network_id': '2add5ec4-6cb5-45d2-87be-729666885af3', 'mac_address': '02:ba:92:ff:17:dc', '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': '204.236.20.133', 'subnet_id': '217f7d07-f9a0-4975-bafc-d5922115850a'}], 'security_groups': ['d62eaf9c-0d83-45a7-a900-0a679c28f8fa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'eafccd2d42e84b29a5035b138569d311'}} 2025-11-17 16:11:43,266 - DEBUG - Response for create_port : {'port': {'name': '0539ffc9-c1ba-4df8-946e-b7948d86a0d6', 'id': '0539ffc9-c1ba-4df8-946e-b7948d86a0d6', 'tenant_id': 'eafccd2d42e84b29a5035b138569d311', 'network_id': '2add5ec4-6cb5-45d2-87be-729666885af3', 'mac_address': '02:05:39:ff:c9:c1', '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': '96.147.231.69', 'subnet_id': '15f41307-3ad8-48c6-b44e-0eda016ac4f5'}], 'security_groups': ['d62eaf9c-0d83-45a7-a900-0a679c28f8fa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'eafccd2d42e84b29a5035b138569d311'}} 2025-11-17 16:11:43,330 - DEBUG - Services list from nova: [, , ] 2025-11-17 16:11:43,686 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4742-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4742-1) 2025-11-17 16:11:44,092 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4742-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4742-1) 2025-11-17 16:11:44,092 - INFO - Waiting for VM ctest-vn1-vm1-14766429 to be up.. 2025-11-17 16:11:44,134 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 16:11:49,213 - DEBUG - VM is in ACTIVE state now 2025-11-17 16:11:49,213 - INFO - VM name : ctest-vn1-vm1-14766429 2025-11-17 16:11:49,286 - DEBUG - VM ctest-vn1-vm1-14766429 ID is 7a73c1f2-f1f9-4d5d-8667-e872205c1858 2025-11-17 16:11:49,304 - DEBUG - VM ctest-vn1-vm1-14766429 launched on Node cn-jenkins-deploy-platform-ansible-os-4742-1 2025-11-17 16:11:49,380 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/7a73c1f2-f1f9-4d5d-8667-e872205c1858 2025-11-17 16:11:49,388 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/ba92ff17-dcde-40a1-9375-234aedd16b10 2025-11-17 16:11:52,634 - 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 1014ms') 2025-11-17 16:11:52,634 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-14766429 failed! 2025-11-17 16:11:52,692 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-26943364:ctest-vn1-93508093 is 204.236.20.129 and allocation pool is NOT set 2025-11-17 16:11:52,692 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-26943364:ctest-vn1-93508093 is 96.147.231.65 and allocation pool is NOT set 2025-11-17 16:11:56,764 - 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 1014ms') 2025-11-17 16:11:56,764 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-14766429 failed! 2025-11-17 16:11:56,820 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-26943364:ctest-vn1-93508093 is 204.236.20.129 and allocation pool is NOT set 2025-11-17 16:11:56,820 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-26943364:ctest-vn1-93508093 is 96.147.231.65 and allocation pool is NOT set 2025-11-17 16:11:58,884 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.51 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.507/3.022/4.537/1.515 ms') 2025-11-17 16:11:58,884 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-14766429 passed 2025-11-17 16:11:59,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 16:11:59,044 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-14766429, IP 204.236.20.133, Port 22 2025-11-17 16:11:59,213 - DEBUG - VM ctest-vn1-vm1-14766429 is ready for SSH connections 2025-11-17 16:11:59,214 - INFO - Waiting for VM ctest-vn1-vm2-69515230 to be up.. 2025-11-17 16:11:59,294 - DEBUG - VM is in ACTIVE state now 2025-11-17 16:11:59,294 - INFO - VM name : ctest-vn1-vm2-69515230 2025-11-17 16:11:59,387 - DEBUG - VM ctest-vn1-vm2-69515230 ID is 1a0dacdf-f751-4cb5-9b50-5cc16f8180a8 2025-11-17 16:11:59,387 - DEBUG - VM ctest-vn1-vm2-69515230 launched on Node cn-jenkins-deploy-platform-ansible-os-4742-1 2025-11-17 16:11:59,541 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/1a0dacdf-f751-4cb5-9b50-5cc16f8180a8 2025-11-17 16:11:59,553 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/0539ffc9-c1ba-4df8-946e-b7948d86a0d6 2025-11-17 16:12:00,833 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.506 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.506/2.133/3.760/1.627 ms') 2025-11-17 16:12:00,833 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-69515230 passed 2025-11-17 16:12:00,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 16:12:00,988 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-69515230, IP 96.147.231.69, Port 22 2025-11-17 16:12:01,143 - DEBUG - VM ctest-vn1-vm2-69515230 is ready for SSH connections 2025-11-17 16:12:01,143 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 16:12:01,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 16:12:01,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 16:12:01,144 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.236.20.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-17 16:12:01,144 - DEBUG - ping -s 56 -c 3 -W 1 204.236.20.133 2025-11-17 16:12:03,863 - DEBUG - PING 204.236.20.133 (204.236.20.133): 56 data bytes 64 bytes from 204.236.20.133: seq=0 ttl=63 time=4.667 ms 64 bytes from 204.236.20.133: seq=1 ttl=63 time=0.814 ms 64 bytes from 204.236.20.133: seq=2 ttl=63 time=0.771 ms --- 204.236.20.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.771/2.084/4.667 ms 2025-11-17 16:12:03,863 - INFO - Ping to IP 204.236.20.133 from VM ctest-vn1-vm2-69515230 passed 2025-11-17 16:12:03,863 - INFO - Detaching port 0539ffc9-c1ba-4df8-946e-b7948d86a0d6 from VM ctest-vn1-vm2-69515230 2025-11-17 16:12:03,930 - INFO - Deleting VM ctest-vn1-vm2-69515230 2025-11-17 16:12:04,019 - INFO - Detaching port ba92ff17-dcde-40a1-9375-234aedd16b10 from VM ctest-vn1-vm1-14766429 2025-11-17 16:12:04,066 - INFO - Deleting VM ctest-vn1-vm1-14766429 2025-11-17 16:12:04,302 - DEBUG - Response for delete_port : () 2025-11-17 16:12:04,474 - DEBUG - Response for delete_port : () 2025-11-17 16:12:04,474 - INFO - Deleting VN ctest-vn1-93508093 2025-11-17 16:12:04,641 - DEBUG - Response for deleting network () 2025-11-17 16:12:04,897 - DEBUG - No XMPP flaps were noticed during the test 2025-11-17 16:12:04,897 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2025-11-17 16:12:04,897 - INFO - -------------------------------------------------------------------------------- 2025-11-17 16:12:05,633 - INFO - Deleted project: ctest-TestPorts-26943364, ID : eafccd2d-42e8-4b29-a503-5b138569d311