2025-07-28 02:21:47,958 - INFO - Domain Default found not creating 2025-07-28 02:21:48,125 - INFO - Project ctest-TestPorts-27336924 not found, creating it 2025-07-28 02:21:48,610 - INFO - Created Project:ctest-TestPorts-27336924, ID : 98a3e765-ec1e-4911-9b16-814366dd50e7 2025-07-28 02:21:50,096 - INFO - ================================================================================ 2025-07-28 02:21:50,096 - INFO - STARTING TEST : test_ports_bindings 2025-07-28 02:21:50,096 - 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-07-28 02:21:50,366 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.14': '0'}} with 2025-07-28 02:21:50,366 - INFO - Initial checks done. Running the testcase now 2025-07-28 02:21:50,366 - INFO - 2025-07-28 02:21:50,987 - DEBUG - Response for create_network : {'network': {'id': '5178cebc-e856-4dcd-8135-8122c0d8f9b1', 'name': 'ctest-vn-65376711', 'tenant_id': '98a3e765ec1e49119b16814366dd50e7', 'project_id': '98a3e765ec1e49119b16814366dd50e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-27336924', 'ctest-vn-65376711'], 'port_security_enabled': True, 'description': ''}} 2025-07-28 02:21:51,181 - DEBUG - Response for create_subnet : {'subnet': {'id': '80350190-8757-4caf-99c3-654b422b026f', 'name': '', 'tenant_id': '98a3e765ec1e49119b16814366dd50e7', 'network_id': '5178cebc-e856-4dcd-8135-8122c0d8f9b1', 'ip_version': 4, 'cidr': '1.23.165.128/26', 'allocation_pools': [{'start': '1.23.165.130', 'end': '1.23.165.190'}], 'gateway_ip': '1.23.165.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.23.165.130', 'tags': [], 'project_id': '98a3e765ec1e49119b16814366dd50e7'}} 2025-07-28 02:21:51,199 - INFO - Created VN ctest-vn-65376711 2025-07-28 02:21:51,252 - DEBUG - VN ctest-vn-65376711 UUID is 5178cebc-e856-4dcd-8135-8122c0d8f9b1 2025-07-28 02:21:51,370 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-27336924', 'ctest-vmi-11365673']} 2025-07-28 02:21:51,634 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-11365673', 'id': '53425e67-50ba-4fe6-ae63-e97429ecc227', 'tenant_id': '98a3e765ec1e49119b16814366dd50e7', 'network_id': '5178cebc-e856-4dcd-8135-8122c0d8f9b1', 'mac_address': '02:53:42:5e:67:50', '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': '1.23.165.131', 'subnet_id': '80350190-8757-4caf-99c3-654b422b026f'}], 'security_groups': ['353e5ef4-2ace-42a9-86f3-6867be0f4b71'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '98a3e765ec1e49119b16814366dd50e7'}} 2025-07-28 02:21:51,634 - DEBUG - Created port 53425e67-50ba-4fe6-ae63-e97429ecc227 2025-07-28 02:21:51,744 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/53425e67-50ba-4fe6-ae63-e97429ecc227 2025-07-28 02:21:52,054 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/53425e67-50ba-4fe6-ae63-e97429ecc227 2025-07-28 02:21:52,090 - INFO - VMI 53425e67-50ba-4fe6-ae63-e97429ecc227 verification in API Server passed 2025-07-28 02:21:52,200 - DEBUG - Response for delete_port : () 2025-07-28 02:21:52,200 - INFO - Deleted port 53425e67-50ba-4fe6-ae63-e97429ecc227 2025-07-28 02:21:52,201 - INFO - Deleting VN ctest-vn-65376711 2025-07-28 02:21:52,314 - DEBUG - Response for deleting network () 2025-07-28 02:21:52,575 - DEBUG - No XMPP flaps were noticed during the test 2025-07-28 02:21:52,575 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-07-28 02:21:52,575 - INFO - -------------------------------------------------------------------------------- 2025-07-28 02:21:52,578 - INFO - ================================================================================ 2025-07-28 02:21:52,578 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-07-28 02:21:52,578 - 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-07-28 02:21:52,865 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.14': '0'}} with 2025-07-28 02:21:52,865 - INFO - Initial checks done. Running the testcase now 2025-07-28 02:21:52,865 - INFO - 2025-07-28 02:21:53,090 - DEBUG - Response for create_network : {'network': {'id': 'f226f2ca-6bb3-4f44-823e-b9f415209c3c', 'name': 'ctest-vn1-65285185', 'tenant_id': '98a3e765ec1e49119b16814366dd50e7', 'project_id': '98a3e765ec1e49119b16814366dd50e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-27336924', 'ctest-vn1-65285185'], 'port_security_enabled': True, 'description': ''}} 2025-07-28 02:21:53,290 - DEBUG - Response for create_subnet : {'subnet': {'id': '3401b5f3-58e3-4709-8f69-6319644e1644', 'name': '', 'tenant_id': '98a3e765ec1e49119b16814366dd50e7', 'network_id': 'f226f2ca-6bb3-4f44-823e-b9f415209c3c', 'ip_version': 4, 'cidr': '77.26.216.192/26', 'allocation_pools': [{'start': '77.26.216.194', 'end': '77.26.216.254'}], 'gateway_ip': '77.26.216.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.26.216.194', 'tags': [], 'project_id': '98a3e765ec1e49119b16814366dd50e7'}} 2025-07-28 02:21:53,489 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fdd6c61c-3272-45b4-90d3-578617fe24a2', 'name': '', 'tenant_id': '98a3e765ec1e49119b16814366dd50e7', 'network_id': 'f226f2ca-6bb3-4f44-823e-b9f415209c3c', 'ip_version': 4, 'cidr': '1.10.122.192/26', 'allocation_pools': [{'start': '1.10.122.194', 'end': '1.10.122.254'}], 'gateway_ip': '1.10.122.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.10.122.194', 'tags': [], 'project_id': '98a3e765ec1e49119b16814366dd50e7'}} 2025-07-28 02:21:53,511 - INFO - Created VN ctest-vn1-65285185 2025-07-28 02:21:53,568 - DEBUG - VN ctest-vn1-65285185 UUID is f226f2ca-6bb3-4f44-823e-b9f415209c3c 2025-07-28 02:21:53,892 - DEBUG - Response for create_port : {'port': {'name': 'ee91e906-b880-4459-be66-db7aa93778bc', 'id': 'ee91e906-b880-4459-be66-db7aa93778bc', 'tenant_id': '98a3e765ec1e49119b16814366dd50e7', 'network_id': 'f226f2ca-6bb3-4f44-823e-b9f415209c3c', 'mac_address': '02:ee:91:e9:06:b8', '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': '77.26.216.197', 'subnet_id': '3401b5f3-58e3-4709-8f69-6319644e1644'}], 'security_groups': ['353e5ef4-2ace-42a9-86f3-6867be0f4b71'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '98a3e765ec1e49119b16814366dd50e7'}} 2025-07-28 02:21:54,101 - DEBUG - Response for create_port : {'port': {'name': '4485d619-9fd5-4813-8fe3-b1c022d93e92', 'id': '4485d619-9fd5-4813-8fe3-b1c022d93e92', 'tenant_id': '98a3e765ec1e49119b16814366dd50e7', 'network_id': 'f226f2ca-6bb3-4f44-823e-b9f415209c3c', 'mac_address': '02:44:85:d6:19:9f', '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': '1.10.122.197', 'subnet_id': 'fdd6c61c-3272-45b4-90d3-578617fe24a2'}], 'security_groups': ['353e5ef4-2ace-42a9-86f3-6867be0f4b71'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '98a3e765ec1e49119b16814366dd50e7'}} 2025-07-28 02:21:54,165 - DEBUG - Services list from nova: [, , ] 2025-07-28 02:21:54,668 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3718-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3718-1) 2025-07-28 02:21:55,139 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3718-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3718-1) 2025-07-28 02:21:55,139 - INFO - Waiting for VM ctest-vn1-vm1-67884863 to be up.. 2025-07-28 02:21:55,211 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-28 02:22:00,307 - DEBUG - VM is in ACTIVE state now 2025-07-28 02:22:00,307 - INFO - VM name : ctest-vn1-vm1-67884863 2025-07-28 02:22:00,400 - DEBUG - VM ctest-vn1-vm1-67884863 ID is 138cb7c8-1c11-453b-987f-6ac6b7395244 2025-07-28 02:22:00,425 - DEBUG - VM ctest-vn1-vm1-67884863 launched on Node cn-jenkins-deploy-platform-ansible-os-3718-1 2025-07-28 02:22:00,509 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/138cb7c8-1c11-453b-987f-6ac6b7395244 2025-07-28 02:22:00,521 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/ee91e906-b880-4459-be66-db7aa93778bc 2025-07-28 02:22:03,782 - 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 1009ms') 2025-07-28 02:22:03,783 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67884863 failed! 2025-07-28 02:22:03,840 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-27336924:ctest-vn1-65285185 is 77.26.216.193 and allocation pool is NOT set 2025-07-28 02:22:03,841 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-27336924:ctest-vn1-65285185 is 1.10.122.193 and allocation pool is NOT set 2025-07-28 02:22:05,910 - 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=9.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.53 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 = 2.530/5.865/9.200/3.335 ms') 2025-07-28 02:22:05,910 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67884863 passed 2025-07-28 02:22:06,068 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:22:06,068 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-67884863, IP 77.26.216.197, Port 22 2025-07-28 02:22:06,134 - 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-07-28 02:22:06,232 - DEBUG - VM ctest-vn1-vm1-67884863 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-28 02:22:11,233 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:22:11,233 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-67884863, IP 77.26.216.197, Port 22 2025-07-28 02:22:11,402 - DEBUG - VM ctest-vn1-vm1-67884863 is ready for SSH connections 2025-07-28 02:22:11,402 - INFO - Waiting for VM ctest-vn1-vm2-00553772 to be up.. 2025-07-28 02:22:11,491 - DEBUG - VM is in ACTIVE state now 2025-07-28 02:22:11,491 - INFO - VM name : ctest-vn1-vm2-00553772 2025-07-28 02:22:11,571 - DEBUG - VM ctest-vn1-vm2-00553772 ID is 5d5efac0-f42a-420b-9b61-b65d4ebf44de 2025-07-28 02:22:11,571 - DEBUG - VM ctest-vn1-vm2-00553772 launched on Node cn-jenkins-deploy-platform-ansible-os-3718-1 2025-07-28 02:22:11,663 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/5d5efac0-f42a-420b-9b61-b65d4ebf44de 2025-07-28 02:22:11,674 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/4485d619-9fd5-4813-8fe3-b1c022d93e92 2025-07-28 02:22:12,926 - 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.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.419 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.419/1.984/3.550/1.565 ms') 2025-07-28 02:22:12,926 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-00553772 passed 2025-07-28 02:22:13,092 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:22:13,093 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-00553772, IP 1.10.122.197, Port 22 2025-07-28 02:22:13,252 - DEBUG - VM ctest-vn1-vm2-00553772 is ready for SSH connections 2025-07-28 02:22:13,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:22:13,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:22:13,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:22:13,252 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.26.216.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-07-28 02:22:13,253 - DEBUG - ping -s 56 -c 3 -W 1 77.26.216.197 2025-07-28 02:22:15,887 - DEBUG - PING 77.26.216.197 (77.26.216.197): 56 data bytes 64 bytes from 77.26.216.197: seq=0 ttl=63 time=4.061 ms 64 bytes from 77.26.216.197: seq=1 ttl=63 time=0.741 ms 64 bytes from 77.26.216.197: seq=2 ttl=63 time=1.506 ms --- 77.26.216.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.741/2.102/4.061 ms 2025-07-28 02:22:15,887 - INFO - Ping to IP 77.26.216.197 from VM ctest-vn1-vm2-00553772 passed 2025-07-28 02:22:15,887 - INFO - Detaching port 4485d619-9fd5-4813-8fe3-b1c022d93e92 from VM ctest-vn1-vm2-00553772 2025-07-28 02:22:15,937 - INFO - Deleting VM ctest-vn1-vm2-00553772 2025-07-28 02:22:16,021 - INFO - Detaching port ee91e906-b880-4459-be66-db7aa93778bc from VM ctest-vn1-vm1-67884863 2025-07-28 02:22:16,062 - INFO - Deleting VM ctest-vn1-vm1-67884863 2025-07-28 02:22:16,344 - DEBUG - Response for delete_port : () 2025-07-28 02:22:16,531 - DEBUG - Response for delete_port : () 2025-07-28 02:22:16,531 - INFO - Deleting VN ctest-vn1-65285185 2025-07-28 02:22:16,711 - DEBUG - Response for deleting network () 2025-07-28 02:22:16,970 - DEBUG - No XMPP flaps were noticed during the test 2025-07-28 02:22:16,970 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-07-28 02:22:16,970 - INFO - -------------------------------------------------------------------------------- 2025-07-28 02:22:17,680 - INFO - Deleted project: ctest-TestPorts-27336924, ID : 98a3e765-ec1e-4911-9b16-814366dd50e7