2025-11-06 06:30:05,734 - INFO - Domain Default found not creating 2025-11-06 06:30:05,889 - INFO - Project ctest-TestPorts-32416842 not found, creating it 2025-11-06 06:30:06,352 - INFO - Created Project:ctest-TestPorts-32416842, ID : b2550003-efc2-484a-b50b-0b4590ba2ae2 2025-11-06 06:30:08,380 - INFO - ================================================================================ 2025-11-06 06:30:08,380 - INFO - STARTING TEST : test_ports_bindings 2025-11-06 06:30:08,380 - 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-06 06:30:08,652 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-11-06 06:30:08,652 - INFO - Initial checks done. Running the testcase now 2025-11-06 06:30:08,652 - INFO - 2025-11-06 06:30:09,184 - DEBUG - Response for create_network : {'network': {'id': 'd9288737-a643-4fc1-af99-34863ee2d149', 'name': 'ctest-vn-49167525', 'tenant_id': 'b2550003efc2484ab50b0b4590ba2ae2', 'project_id': 'b2550003efc2484ab50b0b4590ba2ae2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-32416842', 'ctest-vn-49167525'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 06:30:09,362 - DEBUG - Response for create_subnet : {'subnet': {'id': '51e12be4-d56e-489c-8eb7-4c8bebd7be24', 'name': '', 'tenant_id': 'b2550003efc2484ab50b0b4590ba2ae2', 'network_id': 'd9288737-a643-4fc1-af99-34863ee2d149', 'ip_version': 4, 'cidr': '39.83.241.192/26', 'allocation_pools': [{'start': '39.83.241.194', 'end': '39.83.241.254'}], 'gateway_ip': '39.83.241.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.83.241.194', 'tags': [], 'project_id': 'b2550003efc2484ab50b0b4590ba2ae2'}} 2025-11-06 06:30:09,377 - INFO - Created VN ctest-vn-49167525 2025-11-06 06:30:09,431 - DEBUG - VN ctest-vn-49167525 UUID is d9288737-a643-4fc1-af99-34863ee2d149 2025-11-06 06:30:09,527 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-32416842', 'ctest-vmi-22128718']} 2025-11-06 06:30:09,798 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-22128718', 'id': '05c8ee50-7520-4e41-95c7-0d6b6de41b31', 'tenant_id': 'b2550003efc2484ab50b0b4590ba2ae2', 'network_id': 'd9288737-a643-4fc1-af99-34863ee2d149', 'mac_address': '02:05:c8:ee:50:75', '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.83.241.195', 'subnet_id': '51e12be4-d56e-489c-8eb7-4c8bebd7be24'}], 'security_groups': ['15890ac4-d001-4cc3-9da1-1ce85dfb02d4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b2550003efc2484ab50b0b4590ba2ae2'}} 2025-11-06 06:30:09,798 - DEBUG - Created port 05c8ee50-7520-4e41-95c7-0d6b6de41b31 2025-11-06 06:30:09,898 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/05c8ee50-7520-4e41-95c7-0d6b6de41b31 2025-11-06 06:30:10,203 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/05c8ee50-7520-4e41-95c7-0d6b6de41b31 2025-11-06 06:30:10,230 - INFO - VMI 05c8ee50-7520-4e41-95c7-0d6b6de41b31 verification in API Server passed 2025-11-06 06:30:10,324 - DEBUG - Response for delete_port : () 2025-11-06 06:30:10,324 - INFO - Deleted port 05c8ee50-7520-4e41-95c7-0d6b6de41b31 2025-11-06 06:30:10,324 - INFO - Deleting VN ctest-vn-49167525 2025-11-06 06:30:10,419 - DEBUG - Response for deleting network () 2025-11-06 06:30:10,675 - DEBUG - No XMPP flaps were noticed during the test 2025-11-06 06:30:10,675 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-06 06:30:10,675 - INFO - -------------------------------------------------------------------------------- 2025-11-06 06:30:10,678 - INFO - ================================================================================ 2025-11-06 06:30:10,678 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-06 06:30:10,678 - 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-06 06:30:10,963 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-11-06 06:30:10,963 - INFO - Initial checks done. Running the testcase now 2025-11-06 06:30:10,963 - INFO - 2025-11-06 06:30:11,116 - DEBUG - Response for create_network : {'network': {'id': '433d044b-0fac-468a-9ef9-4d69e2100e0f', 'name': 'ctest-vn1-99866627', 'tenant_id': 'b2550003efc2484ab50b0b4590ba2ae2', 'project_id': 'b2550003efc2484ab50b0b4590ba2ae2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-32416842', 'ctest-vn1-99866627'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 06:30:11,311 - DEBUG - Response for create_subnet : {'subnet': {'id': '668c4c2d-3fa0-4f14-aaff-855a68356bb1', 'name': '', 'tenant_id': 'b2550003efc2484ab50b0b4590ba2ae2', 'network_id': '433d044b-0fac-468a-9ef9-4d69e2100e0f', 'ip_version': 4, 'cidr': '98.23.227.192/26', 'allocation_pools': [{'start': '98.23.227.194', 'end': '98.23.227.254'}], 'gateway_ip': '98.23.227.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.23.227.194', 'tags': [], 'project_id': 'b2550003efc2484ab50b0b4590ba2ae2'}} 2025-11-06 06:30:11,491 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf9437a8-8046-43a0-b40e-a15fd04e4304', 'name': '', 'tenant_id': 'b2550003efc2484ab50b0b4590ba2ae2', 'network_id': '433d044b-0fac-468a-9ef9-4d69e2100e0f', 'ip_version': 4, 'cidr': '108.98.230.64/26', 'allocation_pools': [{'start': '108.98.230.66', 'end': '108.98.230.126'}], 'gateway_ip': '108.98.230.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.98.230.66', 'tags': [], 'project_id': 'b2550003efc2484ab50b0b4590ba2ae2'}} 2025-11-06 06:30:11,508 - INFO - Created VN ctest-vn1-99866627 2025-11-06 06:30:11,559 - DEBUG - VN ctest-vn1-99866627 UUID is 433d044b-0fac-468a-9ef9-4d69e2100e0f 2025-11-06 06:30:11,848 - DEBUG - Response for create_port : {'port': {'name': 'e11c54a9-40cc-4475-a8b8-1e9b8e257564', 'id': 'e11c54a9-40cc-4475-a8b8-1e9b8e257564', 'tenant_id': 'b2550003efc2484ab50b0b4590ba2ae2', 'network_id': '433d044b-0fac-468a-9ef9-4d69e2100e0f', 'mac_address': '02:e1:1c:54:a9:40', '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': '98.23.227.197', 'subnet_id': '668c4c2d-3fa0-4f14-aaff-855a68356bb1'}], 'security_groups': ['15890ac4-d001-4cc3-9da1-1ce85dfb02d4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b2550003efc2484ab50b0b4590ba2ae2'}} 2025-11-06 06:30:12,009 - DEBUG - Response for create_port : {'port': {'name': '3d71a916-bf14-47ed-a6b8-34374d018591', 'id': '3d71a916-bf14-47ed-a6b8-34374d018591', 'tenant_id': 'b2550003efc2484ab50b0b4590ba2ae2', 'network_id': '433d044b-0fac-468a-9ef9-4d69e2100e0f', 'mac_address': '02:3d:71:a9:16:bf', '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': '108.98.230.69', 'subnet_id': 'cf9437a8-8046-43a0-b40e-a15fd04e4304'}], 'security_groups': ['15890ac4-d001-4cc3-9da1-1ce85dfb02d4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b2550003efc2484ab50b0b4590ba2ae2'}} 2025-11-06 06:30:12,059 - DEBUG - Services list from nova: [, , ] 2025-11-06 06:30:12,345 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4664-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4664-1) 2025-11-06 06:30:12,739 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4664-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4664-1) 2025-11-06 06:30:12,739 - INFO - Waiting for VM ctest-vn1-vm1-42811186 to be up.. 2025-11-06 06:30:12,775 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-06 06:30:17,843 - DEBUG - VM is in ACTIVE state now 2025-11-06 06:30:17,843 - INFO - VM name : ctest-vn1-vm1-42811186 2025-11-06 06:30:17,917 - DEBUG - VM ctest-vn1-vm1-42811186 ID is 3c1bb9a8-ea73-4daf-a419-6404bbddd26e 2025-11-06 06:30:17,940 - DEBUG - VM ctest-vn1-vm1-42811186 launched on Node cn-jenkins-deploy-platform-ansible-os-4664-1 2025-11-06 06:30:18,013 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3c1bb9a8-ea73-4daf-a419-6404bbddd26e 2025-11-06 06:30:18,021 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e11c54a9-40cc-4475-a8b8-1e9b8e257564 2025-11-06 06:30:21,291 - 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 1029ms') 2025-11-06 06:30:21,291 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-42811186 failed! 2025-11-06 06:30:21,346 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-32416842:ctest-vn1-99866627 is 98.23.227.193 and allocation pool is NOT set 2025-11-06 06:30:21,347 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-32416842:ctest-vn1-99866627 is 108.98.230.65 and allocation pool is NOT set 2025-11-06 06:30:23,409 - 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=9.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.98 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 = 2.979/6.069/9.159/3.090 ms') 2025-11-06 06:30:23,409 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-42811186 passed 2025-11-06 06:30:23,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 06:30:23,559 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-42811186, IP 98.23.227.197, Port 22 2025-11-06 06:30:23,614 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-06 06:30:23,824 - DEBUG - VM ctest-vn1-vm1-42811186 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-06 06:30:28,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 06:30:28,825 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-42811186, IP 98.23.227.197, Port 22 2025-11-06 06:30:28,983 - DEBUG - VM ctest-vn1-vm1-42811186 is ready for SSH connections 2025-11-06 06:30:28,983 - INFO - Waiting for VM ctest-vn1-vm2-06852542 to be up.. 2025-11-06 06:30:29,057 - DEBUG - VM is in ACTIVE state now 2025-11-06 06:30:29,057 - INFO - VM name : ctest-vn1-vm2-06852542 2025-11-06 06:30:29,124 - DEBUG - VM ctest-vn1-vm2-06852542 ID is 1a291ade-cff6-4e82-803e-a9af1da2bbc3 2025-11-06 06:30:29,125 - DEBUG - VM ctest-vn1-vm2-06852542 launched on Node cn-jenkins-deploy-platform-ansible-os-4664-1 2025-11-06 06:30:29,192 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1a291ade-cff6-4e82-803e-a9af1da2bbc3 2025-11-06 06:30:29,199 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3d71a916-bf14-47ed-a6b8-34374d018591 2025-11-06 06:30:30,438 - 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.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.362 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.362/2.318/4.275/1.956 ms') 2025-11-06 06:30:30,438 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-06852542 passed 2025-11-06 06:30:30,587 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 06:30:30,587 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-06852542, IP 108.98.230.69, Port 22 2025-11-06 06:30:30,742 - DEBUG - VM ctest-vn1-vm2-06852542 is ready for SSH connections 2025-11-06 06:30:30,742 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 06:30:30,742 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 06:30:30,742 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 06:30:30,742 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.23.227.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-06 06:30:30,742 - DEBUG - ping -s 56 -c 3 -W 1 98.23.227.197 2025-11-06 06:30:34,416 - DEBUG - PING 98.23.227.197 (98.23.227.197): 56 data bytes 64 bytes from 98.23.227.197: seq=0 ttl=63 time=3.186 ms 64 bytes from 98.23.227.197: seq=1 ttl=63 time=1.271 ms 64 bytes from 98.23.227.197: seq=2 ttl=63 time=1.282 ms --- 98.23.227.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.271/1.913/3.186 ms 2025-11-06 06:30:34,416 - INFO - Ping to IP 98.23.227.197 from VM ctest-vn1-vm2-06852542 passed 2025-11-06 06:30:34,416 - INFO - Detaching port 3d71a916-bf14-47ed-a6b8-34374d018591 from VM ctest-vn1-vm2-06852542 2025-11-06 06:30:34,466 - INFO - Deleting VM ctest-vn1-vm2-06852542 2025-11-06 06:30:34,540 - INFO - Detaching port e11c54a9-40cc-4475-a8b8-1e9b8e257564 from VM ctest-vn1-vm1-42811186 2025-11-06 06:30:34,573 - INFO - Deleting VM ctest-vn1-vm1-42811186 2025-11-06 06:30:34,818 - DEBUG - Response for delete_port : () 2025-11-06 06:30:35,035 - DEBUG - Response for delete_port : () 2025-11-06 06:30:35,036 - INFO - Deleting VN ctest-vn1-99866627 2025-11-06 06:30:35,234 - DEBUG - Response for deleting network () 2025-11-06 06:30:35,501 - DEBUG - No XMPP flaps were noticed during the test 2025-11-06 06:30:35,501 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25] 2025-11-06 06:30:35,501 - INFO - -------------------------------------------------------------------------------- 2025-11-06 06:30:36,228 - INFO - Deleted project: ctest-TestPorts-32416842, ID : b2550003-efc2-484a-b50b-0b4590ba2ae2