2025-08-15 17:26:50,796 - INFO - Domain Default found not creating 2025-08-15 17:26:50,916 - INFO - Project ctest-TestPorts-01642747 not found, creating it 2025-08-15 17:26:51,377 - INFO - Created Project:ctest-TestPorts-01642747, ID : bd8207ab-2a28-4e85-b9c1-7437faa857dd 2025-08-15 17:26:52,730 - INFO - ================================================================================ 2025-08-15 17:26:52,730 - INFO - STARTING TEST : test_ports_bindings 2025-08-15 17:26:52,730 - 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-15 17:26:52,978 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-15 17:26:52,978 - INFO - Initial checks done. Running the testcase now 2025-08-15 17:26:52,978 - INFO - 2025-08-15 17:26:53,563 - DEBUG - Response for create_network : {'network': {'id': 'cabe9506-d849-4a69-bc40-605f26bc2ece', 'name': 'ctest-vn-44472897', 'tenant_id': 'bd8207ab2a284e85b9c17437faa857dd', 'project_id': 'bd8207ab2a284e85b9c17437faa857dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-01642747', 'ctest-vn-44472897'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 17:26:53,757 - DEBUG - Response for create_subnet : {'subnet': {'id': '431c0d79-6714-45f8-8966-c3eb2ae029ed', 'name': '', 'tenant_id': 'bd8207ab2a284e85b9c17437faa857dd', 'network_id': 'cabe9506-d849-4a69-bc40-605f26bc2ece', 'ip_version': 4, 'cidr': '153.56.166.0/26', 'allocation_pools': [{'start': '153.56.166.2', 'end': '153.56.166.62'}], 'gateway_ip': '153.56.166.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.56.166.2', 'tags': [], 'project_id': 'bd8207ab2a284e85b9c17437faa857dd'}} 2025-08-15 17:26:53,771 - INFO - Created VN ctest-vn-44472897 2025-08-15 17:26:53,821 - DEBUG - VN ctest-vn-44472897 UUID is cabe9506-d849-4a69-bc40-605f26bc2ece 2025-08-15 17:26:53,918 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-01642747', 'ctest-vmi-33534264']} 2025-08-15 17:26:54,173 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-33534264', 'id': 'a58fe673-7fd8-406d-b8f9-b4bbc6c22181', 'tenant_id': 'bd8207ab2a284e85b9c17437faa857dd', 'network_id': 'cabe9506-d849-4a69-bc40-605f26bc2ece', 'mac_address': '02:a5:8f:e6:73:7f', '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': '153.56.166.3', 'subnet_id': '431c0d79-6714-45f8-8966-c3eb2ae029ed'}], 'security_groups': ['0e9cf682-4dfc-48e3-96eb-8cf0b88c35a5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bd8207ab2a284e85b9c17437faa857dd'}} 2025-08-15 17:26:54,174 - DEBUG - Created port a58fe673-7fd8-406d-b8f9-b4bbc6c22181 2025-08-15 17:26:54,277 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a58fe673-7fd8-406d-b8f9-b4bbc6c22181 2025-08-15 17:26:54,566 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a58fe673-7fd8-406d-b8f9-b4bbc6c22181 2025-08-15 17:26:54,593 - INFO - VMI a58fe673-7fd8-406d-b8f9-b4bbc6c22181 verification in API Server passed 2025-08-15 17:26:54,666 - DEBUG - Response for delete_port : () 2025-08-15 17:26:54,666 - INFO - Deleted port a58fe673-7fd8-406d-b8f9-b4bbc6c22181 2025-08-15 17:26:54,666 - INFO - Deleting VN ctest-vn-44472897 2025-08-15 17:26:54,749 - DEBUG - Response for deleting network () 2025-08-15 17:26:55,005 - DEBUG - No XMPP flaps were noticed during the test 2025-08-15 17:26:55,006 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-08-15 17:26:55,006 - INFO - -------------------------------------------------------------------------------- 2025-08-15 17:26:55,008 - INFO - ================================================================================ 2025-08-15 17:26:55,008 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-15 17:26:55,008 - 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-15 17:26:55,290 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-15 17:26:55,290 - INFO - Initial checks done. Running the testcase now 2025-08-15 17:26:55,290 - INFO - 2025-08-15 17:26:55,454 - DEBUG - Response for create_network : {'network': {'id': '80357168-7809-4a9a-af3c-89def8f04e58', 'name': 'ctest-vn1-74689877', 'tenant_id': 'bd8207ab2a284e85b9c17437faa857dd', 'project_id': 'bd8207ab2a284e85b9c17437faa857dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-01642747', 'ctest-vn1-74689877'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 17:26:55,668 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd257783a-65a8-494f-8f00-137d04e22274', 'name': '', 'tenant_id': 'bd8207ab2a284e85b9c17437faa857dd', 'network_id': '80357168-7809-4a9a-af3c-89def8f04e58', 'ip_version': 4, 'cidr': '151.29.225.64/26', 'allocation_pools': [{'start': '151.29.225.66', 'end': '151.29.225.126'}], 'gateway_ip': '151.29.225.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.29.225.66', 'tags': [], 'project_id': 'bd8207ab2a284e85b9c17437faa857dd'}} 2025-08-15 17:26:55,847 - DEBUG - Response for create_subnet : {'subnet': {'id': '265fe2c6-7d96-4f2d-84f9-5db311e2edcd', 'name': '', 'tenant_id': 'bd8207ab2a284e85b9c17437faa857dd', 'network_id': '80357168-7809-4a9a-af3c-89def8f04e58', 'ip_version': 4, 'cidr': '99.151.156.0/26', 'allocation_pools': [{'start': '99.151.156.2', 'end': '99.151.156.62'}], 'gateway_ip': '99.151.156.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.151.156.2', 'tags': [], 'project_id': 'bd8207ab2a284e85b9c17437faa857dd'}} 2025-08-15 17:26:55,862 - INFO - Created VN ctest-vn1-74689877 2025-08-15 17:26:55,913 - DEBUG - VN ctest-vn1-74689877 UUID is 80357168-7809-4a9a-af3c-89def8f04e58 2025-08-15 17:26:56,171 - DEBUG - Response for create_port : {'port': {'name': '2e6de9ae-a804-4a21-8b70-ba67d24459bf', 'id': '2e6de9ae-a804-4a21-8b70-ba67d24459bf', 'tenant_id': 'bd8207ab2a284e85b9c17437faa857dd', 'network_id': '80357168-7809-4a9a-af3c-89def8f04e58', 'mac_address': '02:2e:6d:e9:ae:a8', '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': '151.29.225.69', 'subnet_id': 'd257783a-65a8-494f-8f00-137d04e22274'}], 'security_groups': ['0e9cf682-4dfc-48e3-96eb-8cf0b88c35a5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bd8207ab2a284e85b9c17437faa857dd'}} 2025-08-15 17:26:56,329 - DEBUG - Response for create_port : {'port': {'name': '13997ddf-c483-4987-9d4e-39fcbe7d8944', 'id': '13997ddf-c483-4987-9d4e-39fcbe7d8944', 'tenant_id': 'bd8207ab2a284e85b9c17437faa857dd', 'network_id': '80357168-7809-4a9a-af3c-89def8f04e58', 'mac_address': '02:13:99:7d:df:c4', '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': '99.151.156.5', 'subnet_id': '265fe2c6-7d96-4f2d-84f9-5db311e2edcd'}], 'security_groups': ['0e9cf682-4dfc-48e3-96eb-8cf0b88c35a5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bd8207ab2a284e85b9c17437faa857dd'}} 2025-08-15 17:26:56,375 - DEBUG - Services list from nova: [, , ] 2025-08-15 17:26:56,634 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3868-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3868-1) 2025-08-15 17:26:56,936 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3868-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3868-1) 2025-08-15 17:26:56,936 - INFO - Waiting for VM ctest-vn1-vm1-09583514 to be up.. 2025-08-15 17:26:56,965 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-15 17:27:02,029 - DEBUG - VM is in ACTIVE state now 2025-08-15 17:27:02,029 - INFO - VM name : ctest-vn1-vm1-09583514 2025-08-15 17:27:02,090 - DEBUG - VM ctest-vn1-vm1-09583514 ID is 6459727d-fae0-4c87-bf2f-4c275575c5f0 2025-08-15 17:27:02,106 - DEBUG - VM ctest-vn1-vm1-09583514 launched on Node cn-jenkins-deploy-platform-ansible-os-3868-1 2025-08-15 17:27:02,167 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6459727d-fae0-4c87-bf2f-4c275575c5f0 2025-08-15 17:27:02,175 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2e6de9ae-a804-4a21-8b70-ba67d24459bf 2025-08-15 17:27:05,422 - 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 1004ms') 2025-08-15 17:27:05,422 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09583514 failed! 2025-08-15 17:27:05,477 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-01642747:ctest-vn1-74689877 is 151.29.225.65 and allocation pool is NOT set 2025-08-15 17:27:05,477 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-01642747:ctest-vn1-74689877 is 99.151.156.1 and allocation pool is NOT set 2025-08-15 17:27:07,542 - 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.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.604 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.604/1.745/2.886/1.141 ms') 2025-08-15 17:27:07,542 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09583514 passed 2025-08-15 17:27:07,689 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:27:07,690 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-09583514, IP 151.29.225.69, Port 22 2025-08-15 17:27:07,844 - DEBUG - VM ctest-vn1-vm1-09583514 is ready for SSH connections 2025-08-15 17:27:07,844 - INFO - Waiting for VM ctest-vn1-vm2-72614062 to be up.. 2025-08-15 17:27:07,906 - DEBUG - VM is in ACTIVE state now 2025-08-15 17:27:07,906 - INFO - VM name : ctest-vn1-vm2-72614062 2025-08-15 17:27:07,962 - DEBUG - VM ctest-vn1-vm2-72614062 ID is 9003625b-ef7e-4e6e-a43d-8d2772d3d87b 2025-08-15 17:27:07,962 - DEBUG - VM ctest-vn1-vm2-72614062 launched on Node cn-jenkins-deploy-platform-ansible-os-3868-1 2025-08-15 17:27:08,017 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9003625b-ef7e-4e6e-a43d-8d2772d3d87b 2025-08-15 17:27:08,023 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/13997ddf-c483-4987-9d4e-39fcbe7d8944 2025-08-15 17:27:09,248 - 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.380 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.380/1.621/2.862/1.241 ms') 2025-08-15 17:27:09,249 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-72614062 passed 2025-08-15 17:27:09,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:27:09,397 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-72614062, IP 99.151.156.5, Port 22 2025-08-15 17:27:09,549 - DEBUG - VM ctest-vn1-vm2-72614062 is ready for SSH connections 2025-08-15 17:27:09,549 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:27:09,549 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:27:09,549 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:27:09,549 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.29.225.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-15 17:27:09,549 - DEBUG - ping -s 56 -c 3 -W 1 151.29.225.69 2025-08-15 17:27:12,448 - DEBUG - PING 151.29.225.69 (151.29.225.69): 56 data bytes 64 bytes from 151.29.225.69: seq=0 ttl=63 time=3.130 ms 64 bytes from 151.29.225.69: seq=1 ttl=63 time=0.726 ms 64 bytes from 151.29.225.69: seq=2 ttl=63 time=0.695 ms --- 151.29.225.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.695/1.517/3.130 ms 2025-08-15 17:27:12,448 - INFO - Ping to IP 151.29.225.69 from VM ctest-vn1-vm2-72614062 passed 2025-08-15 17:27:12,448 - INFO - Detaching port 13997ddf-c483-4987-9d4e-39fcbe7d8944 from VM ctest-vn1-vm2-72614062 2025-08-15 17:27:12,489 - INFO - Deleting VM ctest-vn1-vm2-72614062 2025-08-15 17:27:12,545 - INFO - Detaching port 2e6de9ae-a804-4a21-8b70-ba67d24459bf from VM ctest-vn1-vm1-09583514 2025-08-15 17:27:12,573 - INFO - Deleting VM ctest-vn1-vm1-09583514 2025-08-15 17:27:12,766 - DEBUG - Response for delete_port : () 2025-08-15 17:27:12,911 - DEBUG - Response for delete_port : () 2025-08-15 17:27:12,911 - INFO - Deleting VN ctest-vn1-74689877 2025-08-15 17:27:13,048 - DEBUG - Response for deleting network () 2025-08-15 17:27:13,306 - DEBUG - No XMPP flaps were noticed during the test 2025-08-15 17:27:13,306 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-08-15 17:27:13,306 - INFO - -------------------------------------------------------------------------------- 2025-08-15 17:27:13,939 - INFO - Deleted project: ctest-TestPorts-01642747, ID : bd8207ab-2a28-4e85-b9c1-7437faa857dd