2025-10-27 15:08:15,026 - INFO - Domain Default found not creating 2025-10-27 15:08:15,211 - INFO - Project ctest-TestPorts-05436364 not found, creating it 2025-10-27 15:08:15,683 - INFO - Created Project:ctest-TestPorts-05436364, ID : 82fc44a8-d8ca-4bbd-84c2-770f3fce0d21 2025-10-27 15:08:17,213 - INFO - ================================================================================ 2025-10-27 15:08:17,213 - INFO - STARTING TEST : test_ports_bindings 2025-10-27 15:08:17,213 - 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-27 15:08:17,471 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.14': '0'}} with 2025-10-27 15:08:17,471 - INFO - Initial checks done. Running the testcase now 2025-10-27 15:08:17,471 - INFO - 2025-10-27 15:08:18,084 - DEBUG - Response for create_network : {'network': {'id': 'f56d4fae-5c36-42ec-9ef2-cd49c96b83cb', 'name': 'ctest-vn-18124938', 'tenant_id': '82fc44a8d8ca4bbd84c2770f3fce0d21', 'project_id': '82fc44a8d8ca4bbd84c2770f3fce0d21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-05436364', 'ctest-vn-18124938'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 15:08:18,327 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e53aeb1e-c5ca-4bbc-a272-7c74b253d289', 'name': '', 'tenant_id': '82fc44a8d8ca4bbd84c2770f3fce0d21', 'network_id': 'f56d4fae-5c36-42ec-9ef2-cd49c96b83cb', 'ip_version': 4, 'cidr': '39.52.89.128/26', 'allocation_pools': [{'start': '39.52.89.130', 'end': '39.52.89.190'}], 'gateway_ip': '39.52.89.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.52.89.130', 'tags': [], 'project_id': '82fc44a8d8ca4bbd84c2770f3fce0d21'}} 2025-10-27 15:08:18,345 - INFO - Created VN ctest-vn-18124938 2025-10-27 15:08:18,401 - DEBUG - VN ctest-vn-18124938 UUID is f56d4fae-5c36-42ec-9ef2-cd49c96b83cb 2025-10-27 15:08:18,514 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-05436364', 'ctest-vmi-20531354']} 2025-10-27 15:08:18,780 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-20531354', 'id': '82db97b3-d2eb-4e90-8d86-3bdad7843d50', 'tenant_id': '82fc44a8d8ca4bbd84c2770f3fce0d21', 'network_id': 'f56d4fae-5c36-42ec-9ef2-cd49c96b83cb', 'mac_address': '02:82:db:97:b3:d2', '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': '39.52.89.131', 'subnet_id': 'e53aeb1e-c5ca-4bbc-a272-7c74b253d289'}], 'security_groups': ['eacfced1-e996-46a3-88d2-869dd50d1346'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '82fc44a8d8ca4bbd84c2770f3fce0d21'}} 2025-10-27 15:08:18,780 - DEBUG - Created port 82db97b3-d2eb-4e90-8d86-3bdad7843d50 2025-10-27 15:08:18,889 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/82db97b3-d2eb-4e90-8d86-3bdad7843d50 2025-10-27 15:08:19,199 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/82db97b3-d2eb-4e90-8d86-3bdad7843d50 2025-10-27 15:08:19,235 - INFO - VMI 82db97b3-d2eb-4e90-8d86-3bdad7843d50 verification in API Server passed 2025-10-27 15:08:19,353 - DEBUG - Response for delete_port : () 2025-10-27 15:08:19,353 - INFO - Deleted port 82db97b3-d2eb-4e90-8d86-3bdad7843d50 2025-10-27 15:08:19,353 - INFO - Deleting VN ctest-vn-18124938 2025-10-27 15:08:19,467 - DEBUG - Response for deleting network () 2025-10-27 15:08:19,737 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 15:08:19,737 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-27 15:08:19,737 - INFO - -------------------------------------------------------------------------------- 2025-10-27 15:08:19,739 - INFO - ================================================================================ 2025-10-27 15:08:19,740 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-27 15:08:19,740 - 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-27 15:08:20,026 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.14': '0'}} with 2025-10-27 15:08:20,027 - INFO - Initial checks done. Running the testcase now 2025-10-27 15:08:20,027 - INFO - 2025-10-27 15:08:20,219 - DEBUG - Response for create_network : {'network': {'id': '1906791c-b712-4fee-b780-4586ac221c47', 'name': 'ctest-vn1-12382504', 'tenant_id': '82fc44a8d8ca4bbd84c2770f3fce0d21', 'project_id': '82fc44a8d8ca4bbd84c2770f3fce0d21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-05436364', 'ctest-vn1-12382504'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 15:08:20,459 - DEBUG - Response for create_subnet : {'subnet': {'id': '219a381d-83e5-485d-bc4d-0aefb67d98c8', 'name': '', 'tenant_id': '82fc44a8d8ca4bbd84c2770f3fce0d21', 'network_id': '1906791c-b712-4fee-b780-4586ac221c47', 'ip_version': 4, 'cidr': '45.92.160.0/26', 'allocation_pools': [{'start': '45.92.160.2', 'end': '45.92.160.62'}], 'gateway_ip': '45.92.160.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.92.160.2', 'tags': [], 'project_id': '82fc44a8d8ca4bbd84c2770f3fce0d21'}} 2025-10-27 15:08:20,633 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c458497-15af-413e-aae0-0e6518e2dfd9', 'name': '', 'tenant_id': '82fc44a8d8ca4bbd84c2770f3fce0d21', 'network_id': '1906791c-b712-4fee-b780-4586ac221c47', 'ip_version': 4, 'cidr': '84.252.170.192/26', 'allocation_pools': [{'start': '84.252.170.194', 'end': '84.252.170.254'}], 'gateway_ip': '84.252.170.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.252.170.194', 'tags': [], 'project_id': '82fc44a8d8ca4bbd84c2770f3fce0d21'}} 2025-10-27 15:08:20,656 - INFO - Created VN ctest-vn1-12382504 2025-10-27 15:08:20,709 - DEBUG - VN ctest-vn1-12382504 UUID is 1906791c-b712-4fee-b780-4586ac221c47 2025-10-27 15:08:21,036 - DEBUG - Response for create_port : {'port': {'name': 'ed2d1400-32ac-4961-ab05-b6d103b14153', 'id': 'ed2d1400-32ac-4961-ab05-b6d103b14153', 'tenant_id': '82fc44a8d8ca4bbd84c2770f3fce0d21', 'network_id': '1906791c-b712-4fee-b780-4586ac221c47', 'mac_address': '02:ed:2d:14:00:32', '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': '45.92.160.5', 'subnet_id': '219a381d-83e5-485d-bc4d-0aefb67d98c8'}], 'security_groups': ['eacfced1-e996-46a3-88d2-869dd50d1346'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '82fc44a8d8ca4bbd84c2770f3fce0d21'}} 2025-10-27 15:08:21,219 - DEBUG - Response for create_port : {'port': {'name': '3c639e8f-ee60-42bf-a643-7605e430836e', 'id': '3c639e8f-ee60-42bf-a643-7605e430836e', 'tenant_id': '82fc44a8d8ca4bbd84c2770f3fce0d21', 'network_id': '1906791c-b712-4fee-b780-4586ac221c47', 'mac_address': '02:3c:63:9e:8f:ee', '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': '84.252.170.197', 'subnet_id': '7c458497-15af-413e-aae0-0e6518e2dfd9'}], 'security_groups': ['eacfced1-e996-46a3-88d2-869dd50d1346'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '82fc44a8d8ca4bbd84c2770f3fce0d21'}} 2025-10-27 15:08:21,286 - DEBUG - Services list from nova: [, , ] 2025-10-27 15:08:21,661 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4506-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4506-1) 2025-10-27 15:08:22,096 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4506-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4506-1) 2025-10-27 15:08:22,096 - INFO - Waiting for VM ctest-vn1-vm1-50901401 to be up.. 2025-10-27 15:08:22,141 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 15:08:27,219 - DEBUG - VM is in ACTIVE state now 2025-10-27 15:08:27,219 - INFO - VM name : ctest-vn1-vm1-50901401 2025-10-27 15:08:27,298 - DEBUG - VM ctest-vn1-vm1-50901401 ID is 1f0c75bc-34d0-411b-95e4-6d75fdeb3ed7 2025-10-27 15:08:27,320 - DEBUG - VM ctest-vn1-vm1-50901401 launched on Node cn-jenkins-deploy-platform-ansible-os-4506-1 2025-10-27 15:08:27,402 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/1f0c75bc-34d0-411b-95e4-6d75fdeb3ed7 2025-10-27 15:08:27,412 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/ed2d1400-32ac-4961-ab05-b6d103b14153 2025-10-27 15:08:30,676 - 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 1025ms') 2025-10-27 15:08:30,676 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-50901401 failed! 2025-10-27 15:08:30,729 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-05436364:ctest-vn1-12382504 is 45.92.160.1 and allocation pool is NOT set 2025-10-27 15:08:30,729 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-05436364:ctest-vn1-12382504 is 84.252.170.193 and allocation pool is NOT set 2025-10-27 15:08:34,805 - 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=13.0 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1017ms\r\nrtt min/avg/max/mdev = 12.995/12.995/12.995/0.000 ms') 2025-10-27 15:08:34,805 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-50901401 passed 2025-10-27 15:08:34,965 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:08:34,965 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-50901401, IP 45.92.160.5, Port 22 2025-10-27 15:08:35,135 - DEBUG - VM ctest-vn1-vm1-50901401 is ready for SSH connections 2025-10-27 15:08:35,135 - INFO - Waiting for VM ctest-vn1-vm2-98911485 to be up.. 2025-10-27 15:08:35,236 - DEBUG - VM is in ACTIVE state now 2025-10-27 15:08:35,236 - INFO - VM name : ctest-vn1-vm2-98911485 2025-10-27 15:08:35,334 - DEBUG - VM ctest-vn1-vm2-98911485 ID is 0a71a918-d3ea-4ee5-a95e-9576edb9075b 2025-10-27 15:08:35,334 - DEBUG - VM ctest-vn1-vm2-98911485 launched on Node cn-jenkins-deploy-platform-ansible-os-4506-1 2025-10-27 15:08:35,427 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/0a71a918-d3ea-4ee5-a95e-9576edb9075b 2025-10-27 15:08:35,438 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/3c639e8f-ee60-42bf-a643-7605e430836e 2025-10-27 15:08:36,678 - 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=4.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.643 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.643/2.705/4.767/2.062 ms') 2025-10-27 15:08:36,678 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-98911485 passed 2025-10-27 15:08:36,829 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:08:36,829 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-98911485, IP 84.252.170.197, Port 22 2025-10-27 15:08:36,985 - DEBUG - VM ctest-vn1-vm2-98911485 is ready for SSH connections 2025-10-27 15:08:36,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:08:36,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:08:36,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:08:36,985 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.92.160.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-10-27 15:08:36,985 - DEBUG - ping -s 56 -c 3 -W 1 45.92.160.5 2025-10-27 15:08:39,692 - DEBUG - PING 45.92.160.5 (45.92.160.5): 56 data bytes 64 bytes from 45.92.160.5: seq=0 ttl=63 time=3.663 ms 64 bytes from 45.92.160.5: seq=1 ttl=63 time=0.942 ms 64 bytes from 45.92.160.5: seq=2 ttl=63 time=1.132 ms --- 45.92.160.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.942/1.912/3.663 ms 2025-10-27 15:08:39,692 - INFO - Ping to IP 45.92.160.5 from VM ctest-vn1-vm2-98911485 passed 2025-10-27 15:08:39,692 - INFO - Detaching port 3c639e8f-ee60-42bf-a643-7605e430836e from VM ctest-vn1-vm2-98911485 2025-10-27 15:08:39,773 - INFO - Deleting VM ctest-vn1-vm2-98911485 2025-10-27 15:08:39,877 - INFO - Detaching port ed2d1400-32ac-4961-ab05-b6d103b14153 from VM ctest-vn1-vm1-50901401 2025-10-27 15:08:39,926 - INFO - Deleting VM ctest-vn1-vm1-50901401 2025-10-27 15:08:40,233 - DEBUG - Response for delete_port : () 2025-10-27 15:08:40,458 - DEBUG - Response for delete_port : () 2025-10-27 15:08:40,458 - INFO - Deleting VN ctest-vn1-12382504 2025-10-27 15:08:40,615 - DEBUG - Response for deleting network () 2025-10-27 15:08:40,874 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 15:08:40,874 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-10-27 15:08:40,874 - INFO - -------------------------------------------------------------------------------- 2025-10-27 15:08:41,613 - INFO - Deleted project: ctest-TestPorts-05436364, ID : 82fc44a8-d8ca-4bbd-84c2-770f3fce0d21