2025-08-29 09:38:42,251 - INFO - Domain Default found not creating 2025-08-29 09:38:42,378 - INFO - Project ctest-TestPorts-50079385 not found, creating it 2025-08-29 09:38:42,796 - INFO - Created Project:ctest-TestPorts-50079385, ID : 96a8ef29-761a-4a8e-8e8f-68519514d3fb 2025-08-29 09:38:44,266 - INFO - ================================================================================ 2025-08-29 09:38:44,266 - INFO - STARTING TEST : test_ports_bindings 2025-08-29 09:38:44,266 - 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-08-29 09:38:44,525 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-29 09:38:44,525 - INFO - Initial checks done. Running the testcase now 2025-08-29 09:38:44,525 - INFO - 2025-08-29 09:38:45,096 - DEBUG - Response for create_network : {'network': {'id': 'c29437de-56a8-4c16-a17b-7f0999893bd0', 'name': 'ctest-vn-67109006', 'tenant_id': '96a8ef29761a4a8e8e8f68519514d3fb', 'project_id': '96a8ef29761a4a8e8e8f68519514d3fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-50079385', 'ctest-vn-67109006'], 'port_security_enabled': True, 'description': ''}} 2025-08-29 09:38:45,320 - DEBUG - Response for create_subnet : {'subnet': {'id': '93d180ab-17d2-46aa-b45f-cfec4cefdcc1', 'name': '', 'tenant_id': '96a8ef29761a4a8e8e8f68519514d3fb', 'network_id': 'c29437de-56a8-4c16-a17b-7f0999893bd0', 'ip_version': 4, 'cidr': '201.20.35.64/26', 'allocation_pools': [{'start': '201.20.35.66', 'end': '201.20.35.126'}], 'gateway_ip': '201.20.35.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.20.35.66', 'tags': [], 'project_id': '96a8ef29761a4a8e8e8f68519514d3fb'}} 2025-08-29 09:38:45,338 - INFO - Created VN ctest-vn-67109006 2025-08-29 09:38:45,393 - DEBUG - VN ctest-vn-67109006 UUID is c29437de-56a8-4c16-a17b-7f0999893bd0 2025-08-29 09:38:45,494 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-50079385', 'ctest-vmi-44819515']} 2025-08-29 09:38:45,764 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-44819515', 'id': '6d28c105-611f-4f51-94b1-a934f0a4a51f', 'tenant_id': '96a8ef29761a4a8e8e8f68519514d3fb', 'network_id': 'c29437de-56a8-4c16-a17b-7f0999893bd0', 'mac_address': '02:6d:28:c1:05:61', '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': '201.20.35.67', 'subnet_id': '93d180ab-17d2-46aa-b45f-cfec4cefdcc1'}], 'security_groups': ['da82907a-59b3-4caa-8558-c9dfc619ecd2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '96a8ef29761a4a8e8e8f68519514d3fb'}} 2025-08-29 09:38:45,764 - DEBUG - Created port 6d28c105-611f-4f51-94b1-a934f0a4a51f 2025-08-29 09:38:45,869 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6d28c105-611f-4f51-94b1-a934f0a4a51f 2025-08-29 09:38:46,172 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6d28c105-611f-4f51-94b1-a934f0a4a51f 2025-08-29 09:38:46,202 - INFO - VMI 6d28c105-611f-4f51-94b1-a934f0a4a51f verification in API Server passed 2025-08-29 09:38:46,299 - DEBUG - Response for delete_port : () 2025-08-29 09:38:46,299 - INFO - Deleted port 6d28c105-611f-4f51-94b1-a934f0a4a51f 2025-08-29 09:38:46,300 - INFO - Deleting VN ctest-vn-67109006 2025-08-29 09:38:46,404 - DEBUG - Response for deleting network () 2025-08-29 09:38:46,658 - DEBUG - No XMPP flaps were noticed during the test
2025-08-29 09:38:46,658 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-29 09:38:46,658 - INFO - -------------------------------------------------------------------------------- 2025-08-29 09:38:46,660 - INFO - ================================================================================ 2025-08-29 09:38:46,660 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-29 09:38:46,660 - 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-08-29 09:38:46,945 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-29 09:38:46,945 - INFO - Initial checks done. Running the testcase now 2025-08-29 09:38:46,945 - INFO - 2025-08-29 09:38:47,131 - DEBUG - Response for create_network : {'network': {'id': 'dba06fe2-41e9-40ef-bf3e-5114aa560da8', 'name': 'ctest-vn1-60572175', 'tenant_id': '96a8ef29761a4a8e8e8f68519514d3fb', 'project_id': '96a8ef29761a4a8e8e8f68519514d3fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-50079385', 'ctest-vn1-60572175'], 'port_security_enabled': True, 'description': ''}} 2025-08-29 09:38:47,299 - DEBUG - Response for create_subnet : {'subnet': {'id': '095a6432-e9cb-40bd-bf34-32c36f747a6c', 'name': '', 'tenant_id': '96a8ef29761a4a8e8e8f68519514d3fb', 'network_id': 'dba06fe2-41e9-40ef-bf3e-5114aa560da8', 'ip_version': 4, 'cidr': '144.158.137.0/26', 'allocation_pools': [{'start': '144.158.137.2', 'end': '144.158.137.62'}], 'gateway_ip': '144.158.137.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.158.137.2', 'tags': [], 'project_id': '96a8ef29761a4a8e8e8f68519514d3fb'}} 2025-08-29 09:38:47,456 - DEBUG - Response for create_subnet : {'subnet': {'id': '86e4c10d-3d6a-4da5-b3d8-00fcb5f8665a', 'name': '', 'tenant_id': '96a8ef29761a4a8e8e8f68519514d3fb', 'network_id': 'dba06fe2-41e9-40ef-bf3e-5114aa560da8', 'ip_version': 4, 'cidr': '214.0.89.192/26', 'allocation_pools': [{'start': '214.0.89.194', 'end': '214.0.89.254'}], 'gateway_ip': '214.0.89.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.0.89.194', 'tags': [], 'project_id': '96a8ef29761a4a8e8e8f68519514d3fb'}} 2025-08-29 09:38:47,475 - INFO - Created VN ctest-vn1-60572175 2025-08-29 09:38:47,525 - DEBUG - VN ctest-vn1-60572175 UUID is dba06fe2-41e9-40ef-bf3e-5114aa560da8 2025-08-29 09:38:47,805 - DEBUG - Response for create_port : {'port': {'name': 'a2fe3c1c-0128-4072-8fa8-ec9c162eb286', 'id': 'a2fe3c1c-0128-4072-8fa8-ec9c162eb286', 'tenant_id': '96a8ef29761a4a8e8e8f68519514d3fb', 'network_id': 'dba06fe2-41e9-40ef-bf3e-5114aa560da8', 'mac_address': '02:a2:fe:3c:1c:01', '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': '144.158.137.5', 'subnet_id': '095a6432-e9cb-40bd-bf34-32c36f747a6c'}], 'security_groups': ['da82907a-59b3-4caa-8558-c9dfc619ecd2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '96a8ef29761a4a8e8e8f68519514d3fb'}} 2025-08-29 09:38:47,969 - DEBUG - Response for create_port : {'port': {'name': '9c1fc5b3-be56-4253-a6f3-01af0e2e1785', 'id': '9c1fc5b3-be56-4253-a6f3-01af0e2e1785', 'tenant_id': '96a8ef29761a4a8e8e8f68519514d3fb', 'network_id': 'dba06fe2-41e9-40ef-bf3e-5114aa560da8', 'mac_address': '02:9c:1f:c5:b3:be', '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': '214.0.89.197', 'subnet_id': '86e4c10d-3d6a-4da5-b3d8-00fcb5f8665a'}], 'security_groups': ['da82907a-59b3-4caa-8558-c9dfc619ecd2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '96a8ef29761a4a8e8e8f68519514d3fb'}} 2025-08-29 09:38:48,023 - DEBUG - Services list from nova: [, , ] 2025-08-29 09:38:48,332 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3970-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3970-1) 2025-08-29 09:38:48,688 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3970-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3970-1) 2025-08-29 09:38:48,688 - INFO - Waiting for VM ctest-vn1-vm1-48824499 to be up.. 2025-08-29 09:38:48,726 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-29 09:38:53,801 - DEBUG - VM is in ACTIVE state now 2025-08-29 09:38:53,801 - INFO - VM name : ctest-vn1-vm1-48824499 2025-08-29 09:38:53,869 - DEBUG - VM ctest-vn1-vm1-48824499 ID is 28dad825-9f9c-493b-9409-47100fd81f04 2025-08-29 09:38:53,888 - DEBUG - VM ctest-vn1-vm1-48824499 launched on Node cn-jenkins-deploy-platform-ansible-os-3970-1 2025-08-29 09:38:53,965 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/28dad825-9f9c-493b-9409-47100fd81f04 2025-08-29 09:38:53,973 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a2fe3c1c-0128-4072-8fa8-ec9c162eb286 2025-08-29 09:38:57,216 - 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 1001ms') 2025-08-29 09:38:57,216 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-48824499 failed! 2025-08-29 09:38:57,269 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-50079385:ctest-vn1-60572175 is 144.158.137.1 and allocation pool is NOT set 2025-08-29 09:38:57,269 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-50079385:ctest-vn1-60572175 is 214.0.89.193 and allocation pool is NOT set 2025-08-29 09:38:59,332 - 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=15.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.24 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 = 3.236/9.129/15.022/5.893 ms') 2025-08-29 09:38:59,332 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-48824499 passed 2025-08-29 09:38:59,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 09:38:59,481 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-48824499, IP 144.158.137.5, Port 22 2025-08-29 09:38:59,547 - 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-08-29 09:38:59,621 - DEBUG - VM ctest-vn1-vm1-48824499 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-29 09:39:04,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 09:39:04,622 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-48824499, IP 144.158.137.5, Port 22 2025-08-29 09:39:04,777 - DEBUG - VM ctest-vn1-vm1-48824499 is ready for SSH connections 2025-08-29 09:39:04,777 - INFO - Waiting for VM ctest-vn1-vm2-57890747 to be up.. 2025-08-29 09:39:04,848 - DEBUG - VM is in ACTIVE state now 2025-08-29 09:39:04,848 - INFO - VM name : ctest-vn1-vm2-57890747 2025-08-29 09:39:04,913 - DEBUG - VM ctest-vn1-vm2-57890747 ID is cf174914-f294-4139-98ff-a406cb7bd392 2025-08-29 09:39:04,913 - DEBUG - VM ctest-vn1-vm2-57890747 launched on Node cn-jenkins-deploy-platform-ansible-os-3970-1 2025-08-29 09:39:04,981 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cf174914-f294-4139-98ff-a406cb7bd392 2025-08-29 09:39:04,989 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9c1fc5b3-be56-4253-a6f3-01af0e2e1785 2025-08-29 09:39:06,218 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.416 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 = 0.416/1.639/2.862/1.223 ms') 2025-08-29 09:39:06,218 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-57890747 passed 2025-08-29 09:39:06,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 09:39:06,369 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-57890747, IP 214.0.89.197, Port 22 2025-08-29 09:39:06,525 - DEBUG - VM ctest-vn1-vm2-57890747 is ready for SSH connections 2025-08-29 09:39:06,525 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 09:39:06,525 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 09:39:06,525 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 09:39:06,525 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.158.137.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-29 09:39:06,525 - DEBUG - ping -s 56 -c 3 -W 1 144.158.137.5 2025-08-29 09:39:09,226 - DEBUG - PING 144.158.137.5 (144.158.137.5): 56 data bytes 64 bytes from 144.158.137.5: seq=0 ttl=63 time=3.999 ms 64 bytes from 144.158.137.5: seq=1 ttl=63 time=0.772 ms 64 bytes from 144.158.137.5: seq=2 ttl=63 time=0.975 ms --- 144.158.137.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.772/1.915/3.999 ms 2025-08-29 09:39:09,227 - INFO - Ping to IP 144.158.137.5 from VM ctest-vn1-vm2-57890747 passed 2025-08-29 09:39:09,227 - INFO - Detaching port 9c1fc5b3-be56-4253-a6f3-01af0e2e1785 from VM ctest-vn1-vm2-57890747 2025-08-29 09:39:09,273 - INFO - Deleting VM ctest-vn1-vm2-57890747 2025-08-29 09:39:09,334 - INFO - Detaching port a2fe3c1c-0128-4072-8fa8-ec9c162eb286 from VM ctest-vn1-vm1-48824499 2025-08-29 09:39:09,369 - INFO - Deleting VM ctest-vn1-vm1-48824499 2025-08-29 09:39:09,607 - DEBUG - Response for delete_port : () 2025-08-29 09:39:09,783 - DEBUG - Response for delete_port : () 2025-08-29 09:39:09,783 - INFO - Deleting VN ctest-vn1-60572175 2025-08-29 09:39:09,899 - DEBUG - Response for deleting network () 2025-08-29 09:39:10,154 - DEBUG - No XMPP flaps were noticed during the test
2025-08-29 09:39:10,154 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-08-29 09:39:10,154 - INFO - -------------------------------------------------------------------------------- 2025-08-29 09:39:10,868 - INFO - Deleted project: ctest-TestPorts-50079385, ID : 96a8ef29-761a-4a8e-8e8f-68519514d3fb