2025-10-27 02:31:38,908 - INFO - Domain Default found not creating 2025-10-27 02:31:39,047 - INFO - Project ctest-TestPorts-39994022 not found, creating it 2025-10-27 02:31:39,468 - INFO - Created Project:ctest-TestPorts-39994022, ID : 191dccc6-6c97-41c7-8d94-9e2ff84e50a4 2025-10-27 02:31:40,917 - INFO - ================================================================================ 2025-10-27 02:31:40,917 - INFO - STARTING TEST : test_ports_bindings 2025-10-27 02:31:40,917 - 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 02:31:41,177 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.201': '0'}} with 2025-10-27 02:31:41,177 - INFO - Initial checks done. Running the testcase now 2025-10-27 02:31:41,177 - INFO - 2025-10-27 02:31:41,741 - DEBUG - Response for create_network : {'network': {'id': '993b1f92-bd33-41c8-9d5c-a77b0a06a8a8', 'name': 'ctest-vn-42283977', 'tenant_id': '191dccc66c9741c78d949e2ff84e50a4', 'project_id': '191dccc66c9741c78d949e2ff84e50a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-39994022', 'ctest-vn-42283977'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 02:31:41,927 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e1e6845-8e6f-43f7-9ad6-7e8c101524f7', 'name': '', 'tenant_id': '191dccc66c9741c78d949e2ff84e50a4', 'network_id': '993b1f92-bd33-41c8-9d5c-a77b0a06a8a8', 'ip_version': 4, 'cidr': '102.47.48.128/26', 'allocation_pools': [{'start': '102.47.48.130', 'end': '102.47.48.190'}], 'gateway_ip': '102.47.48.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.47.48.130', 'tags': [], 'project_id': '191dccc66c9741c78d949e2ff84e50a4'}} 2025-10-27 02:31:41,941 - INFO - Created VN ctest-vn-42283977 2025-10-27 02:31:41,991 - DEBUG - VN ctest-vn-42283977 UUID is 993b1f92-bd33-41c8-9d5c-a77b0a06a8a8 2025-10-27 02:31:42,093 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-39994022', 'ctest-vmi-75853420']} 2025-10-27 02:31:42,372 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-75853420', 'id': '1f956039-3182-433f-8f50-8b99603d7d19', 'tenant_id': '191dccc66c9741c78d949e2ff84e50a4', 'network_id': '993b1f92-bd33-41c8-9d5c-a77b0a06a8a8', 'mac_address': '02:1f:95:60:39:31', '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': '102.47.48.131', 'subnet_id': '7e1e6845-8e6f-43f7-9ad6-7e8c101524f7'}], 'security_groups': ['e8975081-0be8-476d-8ec0-600cfa6ef3d0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '191dccc66c9741c78d949e2ff84e50a4'}} 2025-10-27 02:31:42,372 - DEBUG - Created port 1f956039-3182-433f-8f50-8b99603d7d19 2025-10-27 02:31:42,475 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/1f956039-3182-433f-8f50-8b99603d7d19 2025-10-27 02:31:42,767 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/1f956039-3182-433f-8f50-8b99603d7d19 2025-10-27 02:31:42,798 - INFO - VMI 1f956039-3182-433f-8f50-8b99603d7d19 verification in API Server passed 2025-10-27 02:31:42,889 - DEBUG - Response for delete_port : () 2025-10-27 02:31:42,890 - INFO - Deleted port 1f956039-3182-433f-8f50-8b99603d7d19 2025-10-27 02:31:42,890 - INFO - Deleting VN ctest-vn-42283977 2025-10-27 02:31:42,996 - DEBUG - Response for deleting network () 2025-10-27 02:31:43,247 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 02:31:43,247 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-27 02:31:43,247 - INFO - -------------------------------------------------------------------------------- 2025-10-27 02:31:43,250 - INFO - ================================================================================ 2025-10-27 02:31:43,250 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-27 02:31:43,250 - 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 02:31:43,536 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.201': '0'}} with 2025-10-27 02:31:43,536 - INFO - Initial checks done. Running the testcase now 2025-10-27 02:31:43,536 - INFO - 2025-10-27 02:31:43,697 - DEBUG - Response for create_network : {'network': {'id': '2ebc8e38-bb23-427b-8718-f17ab1458684', 'name': 'ctest-vn1-60830439', 'tenant_id': '191dccc66c9741c78d949e2ff84e50a4', 'project_id': '191dccc66c9741c78d949e2ff84e50a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-39994022', 'ctest-vn1-60830439'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 02:31:43,921 - DEBUG - Response for create_subnet : {'subnet': {'id': '23b8dc1e-7930-4f18-bc66-077677fd982f', 'name': '', 'tenant_id': '191dccc66c9741c78d949e2ff84e50a4', 'network_id': '2ebc8e38-bb23-427b-8718-f17ab1458684', 'ip_version': 4, 'cidr': '117.172.198.192/26', 'allocation_pools': [{'start': '117.172.198.194', 'end': '117.172.198.254'}], 'gateway_ip': '117.172.198.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.172.198.194', 'tags': [], 'project_id': '191dccc66c9741c78d949e2ff84e50a4'}} 2025-10-27 02:31:44,126 - DEBUG - Response for create_subnet : {'subnet': {'id': '22b32bdb-6508-42d4-aa20-ea48be4545f2', 'name': '', 'tenant_id': '191dccc66c9741c78d949e2ff84e50a4', 'network_id': '2ebc8e38-bb23-427b-8718-f17ab1458684', 'ip_version': 4, 'cidr': '180.179.127.0/26', 'allocation_pools': [{'start': '180.179.127.2', 'end': '180.179.127.62'}], 'gateway_ip': '180.179.127.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.179.127.2', 'tags': [], 'project_id': '191dccc66c9741c78d949e2ff84e50a4'}} 2025-10-27 02:31:44,144 - INFO - Created VN ctest-vn1-60830439 2025-10-27 02:31:44,199 - DEBUG - VN ctest-vn1-60830439 UUID is 2ebc8e38-bb23-427b-8718-f17ab1458684 2025-10-27 02:31:44,477 - DEBUG - Response for create_port : {'port': {'name': 'f37b1fd5-40d6-4229-8ae1-898844d19686', 'id': 'f37b1fd5-40d6-4229-8ae1-898844d19686', 'tenant_id': '191dccc66c9741c78d949e2ff84e50a4', 'network_id': '2ebc8e38-bb23-427b-8718-f17ab1458684', 'mac_address': '02:f3:7b:1f:d5: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': '117.172.198.197', 'subnet_id': '23b8dc1e-7930-4f18-bc66-077677fd982f'}], 'security_groups': ['e8975081-0be8-476d-8ec0-600cfa6ef3d0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '191dccc66c9741c78d949e2ff84e50a4'}} 2025-10-27 02:31:44,651 - DEBUG - Response for create_port : {'port': {'name': 'd14c3db7-1fc2-4e07-9110-40455e908341', 'id': 'd14c3db7-1fc2-4e07-9110-40455e908341', 'tenant_id': '191dccc66c9741c78d949e2ff84e50a4', 'network_id': '2ebc8e38-bb23-427b-8718-f17ab1458684', 'mac_address': '02:d1:4c:3d:b7:1f', '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': '180.179.127.5', 'subnet_id': '22b32bdb-6508-42d4-aa20-ea48be4545f2'}], 'security_groups': ['e8975081-0be8-476d-8ec0-600cfa6ef3d0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '191dccc66c9741c78d949e2ff84e50a4'}} 2025-10-27 02:31:44,700 - DEBUG - Services list from nova: [, , ] 2025-10-27 02:31:45,017 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4490-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4490-1) 2025-10-27 02:31:45,402 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4490-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4490-1) 2025-10-27 02:31:45,402 - INFO - Waiting for VM ctest-vn1-vm1-52204556 to be up.. 2025-10-27 02:31:45,435 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 02:31:50,517 - DEBUG - VM is in ACTIVE state now 2025-10-27 02:31:50,517 - INFO - VM name : ctest-vn1-vm1-52204556 2025-10-27 02:31:50,613 - DEBUG - VM ctest-vn1-vm1-52204556 ID is d9dc3837-094e-42a0-92a8-8aaef33e5149 2025-10-27 02:31:50,639 - DEBUG - VM ctest-vn1-vm1-52204556 launched on Node cn-jenkins-deploy-platform-ansible-os-4490-1 2025-10-27 02:31:50,885 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/d9dc3837-094e-42a0-92a8-8aaef33e5149 2025-10-27 02:31:50,893 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/f37b1fd5-40d6-4229-8ae1-898844d19686 2025-10-27 02:31:54,143 - 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-10-27 02:31:54,143 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52204556 failed! 2025-10-27 02:31:54,199 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39994022:ctest-vn1-60830439 is 117.172.198.193 and allocation pool is NOT set 2025-10-27 02:31:54,199 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39994022:ctest-vn1-60830439 is 180.179.127.1 and allocation pool is NOT set 2025-10-27 02:31:56,257 - 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=13.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.12 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 = 2.121/7.787/13.453/5.666 ms') 2025-10-27 02:31:56,257 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52204556 passed 2025-10-27 02:31:56,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:31:56,412 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52204556, IP 117.172.198.197, Port 22 2025-10-27 02:31:56,481 - 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-10-27 02:31:56,574 - DEBUG - VM ctest-vn1-vm1-52204556 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 02:32:01,575 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:32:01,575 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52204556, IP 117.172.198.197, Port 22 2025-10-27 02:32:01,731 - DEBUG - VM ctest-vn1-vm1-52204556 is ready for SSH connections 2025-10-27 02:32:01,731 - INFO - Waiting for VM ctest-vn1-vm2-52254706 to be up.. 2025-10-27 02:32:01,802 - DEBUG - VM is in ACTIVE state now 2025-10-27 02:32:01,802 - INFO - VM name : ctest-vn1-vm2-52254706 2025-10-27 02:32:01,863 - DEBUG - VM ctest-vn1-vm2-52254706 ID is bde3b215-1998-486e-9b92-9cf6725a8e74 2025-10-27 02:32:01,863 - DEBUG - VM ctest-vn1-vm2-52254706 launched on Node cn-jenkins-deploy-platform-ansible-os-4490-1 2025-10-27 02:32:01,925 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/bde3b215-1998-486e-9b92-9cf6725a8e74 2025-10-27 02:32:01,932 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/d14c3db7-1fc2-4e07-9110-40455e908341 2025-10-27 02:32:03,165 - 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=2.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.491 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.491/1.609/2.727/1.118 ms') 2025-10-27 02:32:03,165 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-52254706 passed 2025-10-27 02:32:03,319 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:32:03,319 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-52254706, IP 180.179.127.5, Port 22 2025-10-27 02:32:03,485 - DEBUG - VM ctest-vn1-vm2-52254706 is ready for SSH connections 2025-10-27 02:32:03,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:32:03,486 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:32:03,486 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:32:03,486 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.172.198.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-27 02:32:03,486 - DEBUG - ping -s 56 -c 3 -W 1 117.172.198.197 2025-10-27 02:32:06,132 - DEBUG - PING 117.172.198.197 (117.172.198.197): 56 data bytes 64 bytes from 117.172.198.197: seq=0 ttl=63 time=4.293 ms 64 bytes from 117.172.198.197: seq=1 ttl=63 time=1.358 ms 64 bytes from 117.172.198.197: seq=2 ttl=63 time=1.277 ms --- 117.172.198.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.277/2.309/4.293 ms 2025-10-27 02:32:06,133 - INFO - Ping to IP 117.172.198.197 from VM ctest-vn1-vm2-52254706 passed 2025-10-27 02:32:06,133 - INFO - Detaching port d14c3db7-1fc2-4e07-9110-40455e908341 from VM ctest-vn1-vm2-52254706 2025-10-27 02:32:06,179 - INFO - Deleting VM ctest-vn1-vm2-52254706 2025-10-27 02:32:06,238 - INFO - Detaching port f37b1fd5-40d6-4229-8ae1-898844d19686 from VM ctest-vn1-vm1-52204556 2025-10-27 02:32:06,270 - INFO - Deleting VM ctest-vn1-vm1-52204556 2025-10-27 02:32:06,467 - DEBUG - Response for delete_port : () 2025-10-27 02:32:06,611 - DEBUG - Response for delete_port : () 2025-10-27 02:32:06,611 - INFO - Deleting VN ctest-vn1-60830439 2025-10-27 02:32:06,725 - DEBUG - Response for deleting network () 2025-10-27 02:32:06,979 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 02:32:06,980 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-10-27 02:32:06,980 - INFO - -------------------------------------------------------------------------------- 2025-10-27 02:32:07,667 - INFO - Deleted project: ctest-TestPorts-39994022, ID : 191dccc6-6c97-41c7-8d94-9e2ff84e50a4