2025-10-22 10:47:33,980 - INFO - Domain Default found not creating 2025-10-22 10:47:34,143 - INFO - Project ctest-TestPorts-10212591 not found, creating it 2025-10-22 10:47:34,596 - INFO - Created Project:ctest-TestPorts-10212591, ID : e44d35d8-6ff4-4b83-afe2-551fd57a3163 2025-10-22 10:47:36,016 - INFO - ================================================================================ 2025-10-22 10:47:36,017 - INFO - STARTING TEST : test_ports_bindings 2025-10-22 10:47:36,017 - 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-22 10:47:36,274 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with 2025-10-22 10:47:36,274 - INFO - Initial checks done. Running the testcase now 2025-10-22 10:47:36,274 - INFO - 2025-10-22 10:47:36,813 - DEBUG - Response for create_network : {'network': {'id': 'd6ad8a99-6616-492e-986b-fdc7ee767e94', 'name': 'ctest-vn-67566202', 'tenant_id': 'e44d35d86ff44b83afe2551fd57a3163', 'project_id': 'e44d35d86ff44b83afe2551fd57a3163', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10212591', 'ctest-vn-67566202'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:47:36,990 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd75e871d-f6b6-4728-a542-420182238b8d', 'name': '', 'tenant_id': 'e44d35d86ff44b83afe2551fd57a3163', 'network_id': 'd6ad8a99-6616-492e-986b-fdc7ee767e94', 'ip_version': 4, 'cidr': '57.95.219.64/26', 'allocation_pools': [{'start': '57.95.219.66', 'end': '57.95.219.126'}], 'gateway_ip': '57.95.219.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.95.219.66', 'tags': [], 'project_id': 'e44d35d86ff44b83afe2551fd57a3163'}} 2025-10-22 10:47:37,005 - INFO - Created VN ctest-vn-67566202 2025-10-22 10:47:37,057 - DEBUG - VN ctest-vn-67566202 UUID is d6ad8a99-6616-492e-986b-fdc7ee767e94 2025-10-22 10:47:37,164 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-10212591', 'ctest-vmi-25593375']} 2025-10-22 10:47:37,394 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-25593375', 'id': '07d3c85a-b1e0-45eb-894c-8998ef73e982', 'tenant_id': 'e44d35d86ff44b83afe2551fd57a3163', 'network_id': 'd6ad8a99-6616-492e-986b-fdc7ee767e94', 'mac_address': '02:07:d3:c8:5a:b1', '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': '57.95.219.67', 'subnet_id': 'd75e871d-f6b6-4728-a542-420182238b8d'}], 'security_groups': ['f4a150d9-3ef2-4edd-a785-bfe7395b28af'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e44d35d86ff44b83afe2551fd57a3163'}} 2025-10-22 10:47:37,394 - DEBUG - Created port 07d3c85a-b1e0-45eb-894c-8998ef73e982 2025-10-22 10:47:37,497 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/07d3c85a-b1e0-45eb-894c-8998ef73e982 2025-10-22 10:47:37,787 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/07d3c85a-b1e0-45eb-894c-8998ef73e982 2025-10-22 10:47:37,816 - INFO - VMI 07d3c85a-b1e0-45eb-894c-8998ef73e982 verification in API Server passed 2025-10-22 10:47:37,894 - DEBUG - Response for delete_port : () 2025-10-22 10:47:37,894 - INFO - Deleted port 07d3c85a-b1e0-45eb-894c-8998ef73e982 2025-10-22 10:47:37,894 - INFO - Deleting VN ctest-vn-67566202 2025-10-22 10:47:37,995 - DEBUG - Response for deleting network () 2025-10-22 10:47:38,254 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 10:47:38,254 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-22 10:47:38,255 - INFO - -------------------------------------------------------------------------------- 2025-10-22 10:47:38,257 - INFO - ================================================================================ 2025-10-22 10:47:38,257 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-22 10:47:38,257 - 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-22 10:47:38,542 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with 2025-10-22 10:47:38,542 - INFO - Initial checks done. Running the testcase now 2025-10-22 10:47:38,543 - INFO - 2025-10-22 10:47:38,714 - DEBUG - Response for create_network : {'network': {'id': 'ab3ebbb6-df7c-4ee8-a675-c2e0b17a2ced', 'name': 'ctest-vn1-71210344', 'tenant_id': 'e44d35d86ff44b83afe2551fd57a3163', 'project_id': 'e44d35d86ff44b83afe2551fd57a3163', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10212591', 'ctest-vn1-71210344'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:47:38,895 - DEBUG - Response for create_subnet : {'subnet': {'id': '5cb49bd7-a418-4777-bf01-96f6fbe96cd5', 'name': '', 'tenant_id': 'e44d35d86ff44b83afe2551fd57a3163', 'network_id': 'ab3ebbb6-df7c-4ee8-a675-c2e0b17a2ced', 'ip_version': 4, 'cidr': '160.23.93.64/26', 'allocation_pools': [{'start': '160.23.93.66', 'end': '160.23.93.126'}], 'gateway_ip': '160.23.93.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.23.93.66', 'tags': [], 'project_id': 'e44d35d86ff44b83afe2551fd57a3163'}} 2025-10-22 10:47:39,077 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d0c7b9f-9abc-4c35-bde4-c27fa37bf063', 'name': '', 'tenant_id': 'e44d35d86ff44b83afe2551fd57a3163', 'network_id': 'ab3ebbb6-df7c-4ee8-a675-c2e0b17a2ced', 'ip_version': 4, 'cidr': '78.96.80.0/26', 'allocation_pools': [{'start': '78.96.80.2', 'end': '78.96.80.62'}], 'gateway_ip': '78.96.80.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.96.80.2', 'tags': [], 'project_id': 'e44d35d86ff44b83afe2551fd57a3163'}} 2025-10-22 10:47:39,095 - INFO - Created VN ctest-vn1-71210344 2025-10-22 10:47:39,145 - DEBUG - VN ctest-vn1-71210344 UUID is ab3ebbb6-df7c-4ee8-a675-c2e0b17a2ced 2025-10-22 10:47:39,432 - DEBUG - Response for create_port : {'port': {'name': '89b66f90-8dc8-4196-ad4d-1d3f35b456c1', 'id': '89b66f90-8dc8-4196-ad4d-1d3f35b456c1', 'tenant_id': 'e44d35d86ff44b83afe2551fd57a3163', 'network_id': 'ab3ebbb6-df7c-4ee8-a675-c2e0b17a2ced', 'mac_address': '02:89:b6:6f:90:8d', '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': '160.23.93.69', 'subnet_id': '5cb49bd7-a418-4777-bf01-96f6fbe96cd5'}], 'security_groups': ['f4a150d9-3ef2-4edd-a785-bfe7395b28af'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e44d35d86ff44b83afe2551fd57a3163'}} 2025-10-22 10:47:39,604 - DEBUG - Response for create_port : {'port': {'name': '543b8d2e-8733-4d17-826a-003ec62ad882', 'id': '543b8d2e-8733-4d17-826a-003ec62ad882', 'tenant_id': 'e44d35d86ff44b83afe2551fd57a3163', 'network_id': 'ab3ebbb6-df7c-4ee8-a675-c2e0b17a2ced', 'mac_address': '02:54:3b:8d:2e:87', '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': '78.96.80.5', 'subnet_id': '0d0c7b9f-9abc-4c35-bde4-c27fa37bf063'}], 'security_groups': ['f4a150d9-3ef2-4edd-a785-bfe7395b28af'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e44d35d86ff44b83afe2551fd57a3163'}} 2025-10-22 10:47:39,669 - DEBUG - Services list from nova: [, , ] 2025-10-22 10:47:39,973 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4421-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4421-1) 2025-10-22 10:47:40,364 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4421-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4421-1) 2025-10-22 10:47:40,364 - INFO - Waiting for VM ctest-vn1-vm1-07982278 to be up.. 2025-10-22 10:47:40,401 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 10:47:45,477 - DEBUG - VM is in ACTIVE state now 2025-10-22 10:47:45,477 - INFO - VM name : ctest-vn1-vm1-07982278 2025-10-22 10:47:45,543 - DEBUG - VM ctest-vn1-vm1-07982278 ID is e1d89f2b-dec2-42c9-b5f0-dad7befb67b9 2025-10-22 10:47:45,563 - DEBUG - VM ctest-vn1-vm1-07982278 launched on Node cn-jenkins-deploy-platform-ansible-os-4421-1 2025-10-22 10:47:45,633 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/e1d89f2b-dec2-42c9-b5f0-dad7befb67b9 2025-10-22 10:47:45,641 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/89b66f90-8dc8-4196-ad4d-1d3f35b456c1 2025-10-22 10:47:48,907 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1031ms') 2025-10-22 10:47:48,908 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-07982278 failed! 2025-10-22 10:47:48,961 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10212591:ctest-vn1-71210344 is 160.23.93.65 and allocation pool is NOT set 2025-10-22 10:47:48,961 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10212591:ctest-vn1-71210344 is 78.96.80.1 and allocation pool is NOT set 2025-10-22 10:47:53,028 - 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=2 ttl=63 time=6.81 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 6.807/6.807/6.807/0.000 ms') 2025-10-22 10:47:53,028 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-07982278 passed 2025-10-22 10:47:53,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:47:53,177 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-07982278, IP 160.23.93.69, Port 22 2025-10-22 10:47:53,333 - DEBUG - VM ctest-vn1-vm1-07982278 is ready for SSH connections 2025-10-22 10:47:53,333 - INFO - Waiting for VM ctest-vn1-vm2-27414105 to be up.. 2025-10-22 10:47:53,410 - DEBUG - VM is in ACTIVE state now 2025-10-22 10:47:53,411 - INFO - VM name : ctest-vn1-vm2-27414105 2025-10-22 10:47:53,479 - DEBUG - VM ctest-vn1-vm2-27414105 ID is f5ee5482-e252-43e0-88e7-4bb3418aad87 2025-10-22 10:47:53,479 - DEBUG - VM ctest-vn1-vm2-27414105 launched on Node cn-jenkins-deploy-platform-ansible-os-4421-1 2025-10-22 10:47:53,555 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f5ee5482-e252-43e0-88e7-4bb3418aad87 2025-10-22 10:47:53,565 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/543b8d2e-8733-4d17-826a-003ec62ad882 2025-10-22 10:47:54,799 - 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=2.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.453 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 = 0.453/1.682/2.912/1.229 ms') 2025-10-22 10:47:54,799 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-27414105 passed 2025-10-22 10:47:54,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:47:54,949 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-27414105, IP 78.96.80.5, Port 22 2025-10-22 10:47:55,105 - DEBUG - VM ctest-vn1-vm2-27414105 is ready for SSH connections 2025-10-22 10:47:55,105 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:47:55,105 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:47:55,105 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:47:55,105 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.23.93.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-22 10:47:55,105 - DEBUG - ping -s 56 -c 3 -W 1 160.23.93.69 2025-10-22 10:47:58,797 - DEBUG - PING 160.23.93.69 (160.23.93.69): 56 data bytes 64 bytes from 160.23.93.69: seq=0 ttl=63 time=3.293 ms 64 bytes from 160.23.93.69: seq=1 ttl=63 time=0.705 ms 64 bytes from 160.23.93.69: seq=2 ttl=63 time=0.931 ms --- 160.23.93.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.705/1.643/3.293 ms 2025-10-22 10:47:58,797 - INFO - Ping to IP 160.23.93.69 from VM ctest-vn1-vm2-27414105 passed 2025-10-22 10:47:58,797 - INFO - Detaching port 543b8d2e-8733-4d17-826a-003ec62ad882 from VM ctest-vn1-vm2-27414105 2025-10-22 10:47:58,845 - INFO - Deleting VM ctest-vn1-vm2-27414105 2025-10-22 10:47:58,926 - INFO - Detaching port 89b66f90-8dc8-4196-ad4d-1d3f35b456c1 from VM ctest-vn1-vm1-07982278 2025-10-22 10:47:58,958 - INFO - Deleting VM ctest-vn1-vm1-07982278 2025-10-22 10:47:59,179 - DEBUG - Response for delete_port : () 2025-10-22 10:47:59,316 - DEBUG - Response for delete_port : () 2025-10-22 10:47:59,316 - INFO - Deleting VN ctest-vn1-71210344 2025-10-22 10:47:59,439 - DEBUG - Response for deleting network () 2025-10-22 10:47:59,698 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 10:47:59,698 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-10-22 10:47:59,698 - INFO - -------------------------------------------------------------------------------- 2025-10-22 10:48:00,394 - INFO - Deleted project: ctest-TestPorts-10212591, ID : e44d35d8-6ff4-4b83-afe2-551fd57a3163