2025-09-25 01:47:53,395 - INFO - Domain Default found not creating 2025-09-25 01:47:53,536 - INFO - Project ctest-TestPorts-47614770 not found, creating it 2025-09-25 01:47:54,002 - INFO - Created Project:ctest-TestPorts-47614770, ID : 7a96ab3c-5ffe-4342-aeee-883716facc70 2025-09-25 01:47:55,492 - INFO - ================================================================================ 2025-09-25 01:47:55,493 - INFO - STARTING TEST : test_ports_bindings 2025-09-25 01:47:55,493 - 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-25 01:47:55,749 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-09-25 01:47:55,750 - INFO - Initial checks done. Running the testcase now 2025-09-25 01:47:55,750 - INFO - 2025-09-25 01:47:56,321 - DEBUG - Response for create_network : {'network': {'id': '40bb76a1-931f-43df-b5c7-ee3b84c8d855', 'name': 'ctest-vn-11311973', 'tenant_id': '7a96ab3c5ffe4342aeee883716facc70', 'project_id': '7a96ab3c5ffe4342aeee883716facc70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-47614770', 'ctest-vn-11311973'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 01:47:56,507 - DEBUG - Response for create_subnet : {'subnet': {'id': '129b1d72-e368-47da-916b-1036d83a933e', 'name': '', 'tenant_id': '7a96ab3c5ffe4342aeee883716facc70', 'network_id': '40bb76a1-931f-43df-b5c7-ee3b84c8d855', 'ip_version': 4, 'cidr': '39.209.135.128/26', 'allocation_pools': [{'start': '39.209.135.130', 'end': '39.209.135.190'}], 'gateway_ip': '39.209.135.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.209.135.130', 'tags': [], 'project_id': '7a96ab3c5ffe4342aeee883716facc70'}} 2025-09-25 01:47:56,524 - INFO - Created VN ctest-vn-11311973 2025-09-25 01:47:56,575 - DEBUG - VN ctest-vn-11311973 UUID is 40bb76a1-931f-43df-b5c7-ee3b84c8d855 2025-09-25 01:47:56,677 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-47614770', 'ctest-vmi-54610291']} 2025-09-25 01:47:56,943 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-54610291', 'id': 'c43bb504-6bea-4348-9169-bbb7a9f054d8', 'tenant_id': '7a96ab3c5ffe4342aeee883716facc70', 'network_id': '40bb76a1-931f-43df-b5c7-ee3b84c8d855', 'mac_address': '02:c4:3b:b5:04:6b', '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.209.135.131', 'subnet_id': '129b1d72-e368-47da-916b-1036d83a933e'}], 'security_groups': ['a9435bb9-52be-46e0-9bc7-3ad8a88ef2c5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7a96ab3c5ffe4342aeee883716facc70'}} 2025-09-25 01:47:56,943 - DEBUG - Created port c43bb504-6bea-4348-9169-bbb7a9f054d8 2025-09-25 01:47:57,047 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c43bb504-6bea-4348-9169-bbb7a9f054d8 2025-09-25 01:47:57,377 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c43bb504-6bea-4348-9169-bbb7a9f054d8 2025-09-25 01:47:57,408 - INFO - VMI c43bb504-6bea-4348-9169-bbb7a9f054d8 verification in API Server passed 2025-09-25 01:47:57,506 - DEBUG - Response for delete_port : () 2025-09-25 01:47:57,506 - INFO - Deleted port c43bb504-6bea-4348-9169-bbb7a9f054d8 2025-09-25 01:47:57,506 - INFO - Deleting VN ctest-vn-11311973 2025-09-25 01:47:57,596 - DEBUG - Response for deleting network () 2025-09-25 01:47:57,852 - DEBUG - No XMPP flaps were noticed during the test
2025-09-25 01:47:57,852 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-25 01:47:57,852 - INFO - -------------------------------------------------------------------------------- 2025-09-25 01:47:57,855 - INFO - ================================================================================ 2025-09-25 01:47:57,855 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-25 01:47:57,855 - 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-25 01:47:58,140 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-09-25 01:47:58,140 - INFO - Initial checks done. Running the testcase now 2025-09-25 01:47:58,140 - INFO - 2025-09-25 01:47:58,312 - DEBUG - Response for create_network : {'network': {'id': '6e5ed471-b441-40fc-8734-08b4a4582508', 'name': 'ctest-vn1-90933698', 'tenant_id': '7a96ab3c5ffe4342aeee883716facc70', 'project_id': '7a96ab3c5ffe4342aeee883716facc70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-47614770', 'ctest-vn1-90933698'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 01:47:58,524 - DEBUG - Response for create_subnet : {'subnet': {'id': '56f56b6a-df5b-4bf4-83e1-81f0b1f99b9b', 'name': '', 'tenant_id': '7a96ab3c5ffe4342aeee883716facc70', 'network_id': '6e5ed471-b441-40fc-8734-08b4a4582508', 'ip_version': 4, 'cidr': '177.86.56.192/26', 'allocation_pools': [{'start': '177.86.56.194', 'end': '177.86.56.254'}], 'gateway_ip': '177.86.56.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.86.56.194', 'tags': [], 'project_id': '7a96ab3c5ffe4342aeee883716facc70'}} 2025-09-25 01:47:58,687 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc39f819-9964-42f4-a85c-472287b9fdec', 'name': '', 'tenant_id': '7a96ab3c5ffe4342aeee883716facc70', 'network_id': '6e5ed471-b441-40fc-8734-08b4a4582508', 'ip_version': 4, 'cidr': '160.56.49.128/26', 'allocation_pools': [{'start': '160.56.49.130', 'end': '160.56.49.190'}], 'gateway_ip': '160.56.49.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.56.49.130', 'tags': [], 'project_id': '7a96ab3c5ffe4342aeee883716facc70'}} 2025-09-25 01:47:58,711 - INFO - Created VN ctest-vn1-90933698 2025-09-25 01:47:58,767 - DEBUG - VN ctest-vn1-90933698 UUID is 6e5ed471-b441-40fc-8734-08b4a4582508 2025-09-25 01:47:59,052 - DEBUG - Response for create_port : {'port': {'name': 'acd554e1-8a30-4fc6-9d5b-afdf55ddd2c0', 'id': 'acd554e1-8a30-4fc6-9d5b-afdf55ddd2c0', 'tenant_id': '7a96ab3c5ffe4342aeee883716facc70', 'network_id': '6e5ed471-b441-40fc-8734-08b4a4582508', 'mac_address': '02:ac:d5:54:e1:8a', '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': '177.86.56.197', 'subnet_id': '56f56b6a-df5b-4bf4-83e1-81f0b1f99b9b'}], 'security_groups': ['a9435bb9-52be-46e0-9bc7-3ad8a88ef2c5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7a96ab3c5ffe4342aeee883716facc70'}} 2025-09-25 01:47:59,210 - DEBUG - Response for create_port : {'port': {'name': 'da9c1203-6a74-4118-8640-f7381a8b6800', 'id': 'da9c1203-6a74-4118-8640-f7381a8b6800', 'tenant_id': '7a96ab3c5ffe4342aeee883716facc70', 'network_id': '6e5ed471-b441-40fc-8734-08b4a4582508', 'mac_address': '02:da:9c:12:03:6a', '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.56.49.133', 'subnet_id': 'cc39f819-9964-42f4-a85c-472287b9fdec'}], 'security_groups': ['a9435bb9-52be-46e0-9bc7-3ad8a88ef2c5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7a96ab3c5ffe4342aeee883716facc70'}} 2025-09-25 01:47:59,263 - DEBUG - Services list from nova: [, , ] 2025-09-25 01:47:59,569 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4187-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4187-1) 2025-09-25 01:47:59,930 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4187-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4187-1) 2025-09-25 01:47:59,930 - INFO - Waiting for VM ctest-vn1-vm1-76729334 to be up.. 2025-09-25 01:47:59,968 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-25 01:48:05,042 - DEBUG - VM is in ACTIVE state now 2025-09-25 01:48:05,042 - INFO - VM name : ctest-vn1-vm1-76729334 2025-09-25 01:48:05,114 - DEBUG - VM ctest-vn1-vm1-76729334 ID is dc99abd0-5a44-4651-a5ed-428bdd086eb3 2025-09-25 01:48:05,133 - DEBUG - VM ctest-vn1-vm1-76729334 launched on Node cn-jenkins-deploy-platform-ansible-os-4187-1 2025-09-25 01:48:05,203 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/dc99abd0-5a44-4651-a5ed-428bdd086eb3 2025-09-25 01:48:05,211 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/acd554e1-8a30-4fc6-9d5b-afdf55ddd2c0 2025-09-25 01:48:08,448 - 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 1011ms') 2025-09-25 01:48:08,448 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76729334 failed! 2025-09-25 01:48:08,511 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-47614770:ctest-vn1-90933698 is 177.86.56.193 and allocation pool is NOT set 2025-09-25 01:48:08,511 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-47614770:ctest-vn1-90933698 is 160.56.49.129 and allocation pool is NOT set 2025-09-25 01:48:12,575 - 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=6.48 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 6.483/6.483/6.483/0.000 ms') 2025-09-25 01:48:12,575 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76729334 passed 2025-09-25 01:48:12,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 01:48:12,731 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76729334, IP 177.86.56.197, Port 22 2025-09-25 01:48:12,801 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-09-25 01:48:12,878 - DEBUG - VM ctest-vn1-vm1-76729334 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-25 01:48:17,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 01:48:17,879 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76729334, IP 177.86.56.197, Port 22 2025-09-25 01:48:18,034 - DEBUG - VM ctest-vn1-vm1-76729334 is ready for SSH connections 2025-09-25 01:48:18,034 - INFO - Waiting for VM ctest-vn1-vm2-88068076 to be up.. 2025-09-25 01:48:18,104 - DEBUG - VM is in ACTIVE state now 2025-09-25 01:48:18,104 - INFO - VM name : ctest-vn1-vm2-88068076 2025-09-25 01:48:18,169 - DEBUG - VM ctest-vn1-vm2-88068076 ID is 66409a59-dd50-4103-b8a1-44da78f46d59 2025-09-25 01:48:18,169 - DEBUG - VM ctest-vn1-vm2-88068076 launched on Node cn-jenkins-deploy-platform-ansible-os-4187-1 2025-09-25 01:48:18,239 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/66409a59-dd50-4103-b8a1-44da78f46d59 2025-09-25 01:48:18,247 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/da9c1203-6a74-4118-8640-f7381a8b6800 2025-09-25 01:48:19,477 - 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.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.340 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.340/1.869/3.398/1.529 ms') 2025-09-25 01:48:19,478 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-88068076 passed 2025-09-25 01:48:19,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 01:48:19,635 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-88068076, IP 160.56.49.133, Port 22 2025-09-25 01:48:19,805 - DEBUG - VM ctest-vn1-vm2-88068076 is ready for SSH connections 2025-09-25 01:48:19,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 01:48:19,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 01:48:19,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 01:48:19,805 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.86.56.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-25 01:48:19,805 - DEBUG - ping -s 56 -c 3 -W 1 177.86.56.197 2025-09-25 01:48:22,519 - DEBUG - PING 177.86.56.197 (177.86.56.197): 56 data bytes 64 bytes from 177.86.56.197: seq=0 ttl=63 time=3.684 ms 64 bytes from 177.86.56.197: seq=1 ttl=63 time=0.886 ms 64 bytes from 177.86.56.197: seq=2 ttl=63 time=0.933 ms --- 177.86.56.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.886/1.834/3.684 ms 2025-09-25 01:48:22,519 - INFO - Ping to IP 177.86.56.197 from VM ctest-vn1-vm2-88068076 passed 2025-09-25 01:48:22,520 - INFO - Detaching port da9c1203-6a74-4118-8640-f7381a8b6800 from VM ctest-vn1-vm2-88068076 2025-09-25 01:48:22,570 - INFO - Deleting VM ctest-vn1-vm2-88068076 2025-09-25 01:48:22,637 - INFO - Detaching port acd554e1-8a30-4fc6-9d5b-afdf55ddd2c0 from VM ctest-vn1-vm1-76729334 2025-09-25 01:48:22,669 - INFO - Deleting VM ctest-vn1-vm1-76729334 2025-09-25 01:48:22,869 - DEBUG - Response for delete_port : () 2025-09-25 01:48:23,010 - DEBUG - Response for delete_port : () 2025-09-25 01:48:23,010 - INFO - Deleting VN ctest-vn1-90933698 2025-09-25 01:48:23,119 - DEBUG - Response for deleting network () 2025-09-25 01:48:23,372 - DEBUG - No XMPP flaps were noticed during the test
2025-09-25 01:48:23,372 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-09-25 01:48:23,373 - INFO - -------------------------------------------------------------------------------- 2025-09-25 01:48:24,103 - INFO - Deleted project: ctest-TestPorts-47614770, ID : 7a96ab3c-5ffe-4342-aeee-883716facc70