2025-09-08 12:47:31,578 - INFO - Domain Default found not creating 2025-09-08 12:47:31,742 - INFO - Project ctest-TestPorts-77497510 not found, creating it 2025-09-08 12:47:32,193 - INFO - Created Project:ctest-TestPorts-77497510, ID : 16718aa7-7857-4968-95a5-9e479475698c 2025-09-08 12:47:33,589 - INFO - ================================================================================ 2025-09-08 12:47:33,589 - INFO - STARTING TEST : test_ports_bindings 2025-09-08 12:47:33,589 - 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-08 12:47:33,846 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-08 12:47:33,846 - INFO - Initial checks done. Running the testcase now 2025-09-08 12:47:33,846 - INFO - 2025-09-08 12:47:34,387 - DEBUG - Response for create_network : {'network': {'id': '48de0713-7f58-4cd5-a215-fe9ff7983c2d', 'name': 'ctest-vn-35371362', 'tenant_id': '16718aa77857496895a59e479475698c', 'project_id': '16718aa77857496895a59e479475698c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-77497510', 'ctest-vn-35371362'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 12:47:34,569 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b612d58-329b-4a94-b87a-dfdea3b1532c', 'name': '', 'tenant_id': '16718aa77857496895a59e479475698c', 'network_id': '48de0713-7f58-4cd5-a215-fe9ff7983c2d', 'ip_version': 4, 'cidr': '103.51.80.0/26', 'allocation_pools': [{'start': '103.51.80.2', 'end': '103.51.80.62'}], 'gateway_ip': '103.51.80.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.51.80.2', 'tags': [], 'project_id': '16718aa77857496895a59e479475698c'}} 2025-09-08 12:47:34,584 - INFO - Created VN ctest-vn-35371362 2025-09-08 12:47:34,633 - DEBUG - VN ctest-vn-35371362 UUID is 48de0713-7f58-4cd5-a215-fe9ff7983c2d 2025-09-08 12:47:34,736 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-77497510', 'ctest-vmi-34375863']} 2025-09-08 12:47:35,009 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-34375863', 'id': 'e5607878-c362-481e-9451-cc9b3155aba4', 'tenant_id': '16718aa77857496895a59e479475698c', 'network_id': '48de0713-7f58-4cd5-a215-fe9ff7983c2d', 'mac_address': '02:e5:60:78:78:c3', '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': '103.51.80.3', 'subnet_id': '4b612d58-329b-4a94-b87a-dfdea3b1532c'}], 'security_groups': ['4752a119-9ade-4881-8536-da8b6a93007b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '16718aa77857496895a59e479475698c'}} 2025-09-08 12:47:35,009 - DEBUG - Created port e5607878-c362-481e-9451-cc9b3155aba4 2025-09-08 12:47:35,121 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e5607878-c362-481e-9451-cc9b3155aba4 2025-09-08 12:47:35,409 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e5607878-c362-481e-9451-cc9b3155aba4 2025-09-08 12:47:35,437 - INFO - VMI e5607878-c362-481e-9451-cc9b3155aba4 verification in API Server passed 2025-09-08 12:47:35,519 - DEBUG - Response for delete_port : () 2025-09-08 12:47:35,519 - INFO - Deleted port e5607878-c362-481e-9451-cc9b3155aba4 2025-09-08 12:47:35,519 - INFO - Deleting VN ctest-vn-35371362 2025-09-08 12:47:35,612 - DEBUG - Response for deleting network () 2025-09-08 12:47:35,869 - DEBUG - No XMPP flaps were noticed during the test 2025-09-08 12:47:35,869 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-09-08 12:47:35,869 - INFO - -------------------------------------------------------------------------------- 2025-09-08 12:47:35,871 - INFO - ================================================================================ 2025-09-08 12:47:35,871 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-08 12:47:35,871 - 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-08 12:47:36,157 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-08 12:47:36,157 - INFO - Initial checks done. Running the testcase now 2025-09-08 12:47:36,157 - INFO - 2025-09-08 12:47:36,330 - DEBUG - Response for create_network : {'network': {'id': 'd3892caa-3101-40d6-9e1b-0b37808ca5dc', 'name': 'ctest-vn1-62824334', 'tenant_id': '16718aa77857496895a59e479475698c', 'project_id': '16718aa77857496895a59e479475698c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-77497510', 'ctest-vn1-62824334'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 12:47:36,508 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db1dc18d-0ba7-402f-83b6-57fe3598a3e9', 'name': '', 'tenant_id': '16718aa77857496895a59e479475698c', 'network_id': 'd3892caa-3101-40d6-9e1b-0b37808ca5dc', 'ip_version': 4, 'cidr': '141.205.72.128/26', 'allocation_pools': [{'start': '141.205.72.130', 'end': '141.205.72.190'}], 'gateway_ip': '141.205.72.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.205.72.130', 'tags': [], 'project_id': '16718aa77857496895a59e479475698c'}} 2025-09-08 12:47:36,634 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd1c46c6d-19c2-4f57-bc00-3ef1720dae0f', 'name': '', 'tenant_id': '16718aa77857496895a59e479475698c', 'network_id': 'd3892caa-3101-40d6-9e1b-0b37808ca5dc', 'ip_version': 4, 'cidr': '221.73.10.128/26', 'allocation_pools': [{'start': '221.73.10.130', 'end': '221.73.10.190'}], 'gateway_ip': '221.73.10.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.73.10.130', 'tags': [], 'project_id': '16718aa77857496895a59e479475698c'}} 2025-09-08 12:47:36,651 - INFO - Created VN ctest-vn1-62824334 2025-09-08 12:47:36,705 - DEBUG - VN ctest-vn1-62824334 UUID is d3892caa-3101-40d6-9e1b-0b37808ca5dc 2025-09-08 12:47:36,976 - DEBUG - Response for create_port : {'port': {'name': 'd87a21da-9838-4cc2-ae06-e72a8faed5f7', 'id': 'd87a21da-9838-4cc2-ae06-e72a8faed5f7', 'tenant_id': '16718aa77857496895a59e479475698c', 'network_id': 'd3892caa-3101-40d6-9e1b-0b37808ca5dc', 'mac_address': '02:d8:7a:21:da:98', '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': '141.205.72.133', 'subnet_id': 'db1dc18d-0ba7-402f-83b6-57fe3598a3e9'}], 'security_groups': ['4752a119-9ade-4881-8536-da8b6a93007b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '16718aa77857496895a59e479475698c'}} 2025-09-08 12:47:37,131 - DEBUG - Response for create_port : {'port': {'name': '40ce67cc-75a9-47b2-ab81-1b8bef7b1566', 'id': '40ce67cc-75a9-47b2-ab81-1b8bef7b1566', 'tenant_id': '16718aa77857496895a59e479475698c', 'network_id': 'd3892caa-3101-40d6-9e1b-0b37808ca5dc', 'mac_address': '02:40:ce:67:cc:75', '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': '221.73.10.133', 'subnet_id': 'd1c46c6d-19c2-4f57-bc00-3ef1720dae0f'}], 'security_groups': ['4752a119-9ade-4881-8536-da8b6a93007b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '16718aa77857496895a59e479475698c'}} 2025-09-08 12:47:37,185 - DEBUG - Services list from nova: [, , ] 2025-09-08 12:47:37,525 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4046-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4046-1) 2025-09-08 12:47:37,873 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4046-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4046-1) 2025-09-08 12:47:37,873 - INFO - Waiting for VM ctest-vn1-vm1-48745180 to be up.. 2025-09-08 12:47:37,907 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-08 12:47:42,975 - DEBUG - VM is in ACTIVE state now 2025-09-08 12:47:42,976 - INFO - VM name : ctest-vn1-vm1-48745180 2025-09-08 12:47:43,169 - DEBUG - VM ctest-vn1-vm1-48745180 ID is fad21323-17d6-4ce0-9938-60e001423c17 2025-09-08 12:47:43,189 - DEBUG - VM ctest-vn1-vm1-48745180 launched on Node cn-jenkins-deploy-platform-ansible-os-4046-1 2025-09-08 12:47:43,269 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/fad21323-17d6-4ce0-9938-60e001423c17 2025-09-08 12:47:43,277 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d87a21da-9838-4cc2-ae06-e72a8faed5f7 2025-09-08 12:47:46,527 - 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 1015ms') 2025-09-08 12:47:46,527 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-48745180 failed! 2025-09-08 12:47:46,581 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-77497510:ctest-vn1-62824334 is 141.205.72.129 and allocation pool is NOT set 2025-09-08 12:47:46,581 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-77497510:ctest-vn1-62824334 is 221.73.10.129 and allocation pool is NOT set 2025-09-08 12:47:48,642 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.35 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.353/3.065/3.778/0.712 ms') 2025-09-08 12:47:48,642 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-48745180 passed 2025-09-08 12:47:48,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 12:47:48,793 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-48745180, IP 141.205.72.133, Port 22 2025-09-08 12:47:48,945 - DEBUG - VM ctest-vn1-vm1-48745180 is ready for SSH connections 2025-09-08 12:47:48,945 - INFO - Waiting for VM ctest-vn1-vm2-21245338 to be up.. 2025-09-08 12:47:49,020 - DEBUG - VM is in ACTIVE state now 2025-09-08 12:47:49,021 - INFO - VM name : ctest-vn1-vm2-21245338 2025-09-08 12:47:49,089 - DEBUG - VM ctest-vn1-vm2-21245338 ID is 0ead03fc-677b-425c-931c-1a9e81ec7dda 2025-09-08 12:47:49,089 - DEBUG - VM ctest-vn1-vm2-21245338 launched on Node cn-jenkins-deploy-platform-ansible-os-4046-1 2025-09-08 12:47:49,153 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0ead03fc-677b-425c-931c-1a9e81ec7dda 2025-09-08 12:47:49,161 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/40ce67cc-75a9-47b2-ab81-1b8bef7b1566 2025-09-08 12:47:50,388 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.506 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.506/1.623/2.740/1.117 ms') 2025-09-08 12:47:50,388 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-21245338 passed 2025-09-08 12:47:50,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 12:47:50,541 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-21245338, IP 221.73.10.133, Port 22 2025-09-08 12:47:50,696 - DEBUG - VM ctest-vn1-vm2-21245338 is ready for SSH connections 2025-09-08 12:47:50,696 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 12:47:50,696 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 12:47:50,696 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 12:47:50,696 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.205.72.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-08 12:47:50,697 - DEBUG - ping -s 56 -c 3 -W 1 141.205.72.133 2025-09-08 12:47:54,365 - DEBUG - PING 141.205.72.133 (141.205.72.133): 56 data bytes 64 bytes from 141.205.72.133: seq=0 ttl=63 time=3.193 ms 64 bytes from 141.205.72.133: seq=1 ttl=63 time=1.011 ms 64 bytes from 141.205.72.133: seq=2 ttl=63 time=0.896 ms --- 141.205.72.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.896/1.700/3.193 ms 2025-09-08 12:47:54,365 - INFO - Ping to IP 141.205.72.133 from VM ctest-vn1-vm2-21245338 passed 2025-09-08 12:47:54,366 - INFO - Detaching port 40ce67cc-75a9-47b2-ab81-1b8bef7b1566 from VM ctest-vn1-vm2-21245338 2025-09-08 12:47:54,414 - INFO - Deleting VM ctest-vn1-vm2-21245338 2025-09-08 12:47:54,481 - INFO - Detaching port d87a21da-9838-4cc2-ae06-e72a8faed5f7 from VM ctest-vn1-vm1-48745180 2025-09-08 12:47:54,512 - INFO - Deleting VM ctest-vn1-vm1-48745180 2025-09-08 12:47:54,709 - DEBUG - Response for delete_port : () 2025-09-08 12:47:54,912 - DEBUG - Response for delete_port : () 2025-09-08 12:47:54,912 - INFO - Deleting VN ctest-vn1-62824334 2025-09-08 12:47:55,050 - DEBUG - Response for deleting network () 2025-09-08 12:47:55,302 - DEBUG - No XMPP flaps were noticed during the test 2025-09-08 12:47:55,302 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20] 2025-09-08 12:47:55,303 - INFO - -------------------------------------------------------------------------------- 2025-09-08 12:47:55,994 - INFO - Deleted project: ctest-TestPorts-77497510, ID : 16718aa7-7857-4968-95a5-9e479475698c