2025-10-29 16:52:36,495 - INFO - Domain Default found not creating 2025-10-29 16:52:36,663 - INFO - Project ctest-TestPorts-24486119 not found, creating it 2025-10-29 16:52:37,129 - INFO - Created Project:ctest-TestPorts-24486119, ID : 290abc69-59d0-4070-a435-ae4dbf634303 2025-10-29 16:52:38,694 - INFO - ================================================================================ 2025-10-29 16:52:38,695 - INFO - STARTING TEST : test_ports_bindings 2025-10-29 16:52:38,695 - 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-29 16:52:38,948 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.18': '0'}} with 2025-10-29 16:52:38,948 - INFO - Initial checks done. Running the testcase now 2025-10-29 16:52:38,948 - INFO - 2025-10-29 16:52:39,532 - DEBUG - Response for create_network : {'network': {'id': 'd625b76f-3a29-4974-b318-8fee109f3237', 'name': 'ctest-vn-04357892', 'tenant_id': '290abc6959d04070a435ae4dbf634303', 'project_id': '290abc6959d04070a435ae4dbf634303', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-24486119', 'ctest-vn-04357892'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 16:52:39,694 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d7e5550-8b2e-487e-9d6f-d4f3fad0e0a5', 'name': '', 'tenant_id': '290abc6959d04070a435ae4dbf634303', 'network_id': 'd625b76f-3a29-4974-b318-8fee109f3237', 'ip_version': 4, 'cidr': '48.113.184.0/26', 'allocation_pools': [{'start': '48.113.184.2', 'end': '48.113.184.62'}], 'gateway_ip': '48.113.184.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.113.184.2', 'tags': [], 'project_id': '290abc6959d04070a435ae4dbf634303'}} 2025-10-29 16:52:39,711 - INFO - Created VN ctest-vn-04357892 2025-10-29 16:52:39,763 - DEBUG - VN ctest-vn-04357892 UUID is d625b76f-3a29-4974-b318-8fee109f3237 2025-10-29 16:52:39,875 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-24486119', 'ctest-vmi-07399960']} 2025-10-29 16:52:40,106 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-07399960', 'id': '93b58fd8-8d10-4ca0-84d9-13792849ebf8', 'tenant_id': '290abc6959d04070a435ae4dbf634303', 'network_id': 'd625b76f-3a29-4974-b318-8fee109f3237', 'mac_address': '02:93:b5:8f:d8:8d', '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': '48.113.184.3', 'subnet_id': '6d7e5550-8b2e-487e-9d6f-d4f3fad0e0a5'}], 'security_groups': ['3ce38821-5573-4d3f-bf2a-2a57e4e7f83b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '290abc6959d04070a435ae4dbf634303'}} 2025-10-29 16:52:40,106 - DEBUG - Created port 93b58fd8-8d10-4ca0-84d9-13792849ebf8 2025-10-29 16:52:40,211 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/93b58fd8-8d10-4ca0-84d9-13792849ebf8 2025-10-29 16:52:40,546 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/93b58fd8-8d10-4ca0-84d9-13792849ebf8 2025-10-29 16:52:40,581 - INFO - VMI 93b58fd8-8d10-4ca0-84d9-13792849ebf8 verification in API Server passed 2025-10-29 16:52:40,691 - DEBUG - Response for delete_port : () 2025-10-29 16:52:40,692 - INFO - Deleted port 93b58fd8-8d10-4ca0-84d9-13792849ebf8 2025-10-29 16:52:40,692 - INFO - Deleting VN ctest-vn-04357892 2025-10-29 16:52:40,804 - DEBUG - Response for deleting network () 2025-10-29 16:52:41,060 - DEBUG - No XMPP flaps were noticed during the test 2025-10-29 16:52:41,060 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-29 16:52:41,060 - INFO - -------------------------------------------------------------------------------- 2025-10-29 16:52:41,063 - INFO - ================================================================================ 2025-10-29 16:52:41,063 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-29 16:52:41,063 - 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-29 16:52:41,348 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.18': '0'}} with 2025-10-29 16:52:41,348 - INFO - Initial checks done. Running the testcase now 2025-10-29 16:52:41,348 - INFO - 2025-10-29 16:52:41,519 - DEBUG - Response for create_network : {'network': {'id': '7a3057ff-54fa-4647-a12a-67d864a83055', 'name': 'ctest-vn1-20804665', 'tenant_id': '290abc6959d04070a435ae4dbf634303', 'project_id': '290abc6959d04070a435ae4dbf634303', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-24486119', 'ctest-vn1-20804665'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 16:52:41,692 - DEBUG - Response for create_subnet : {'subnet': {'id': '52b25143-e275-4341-a8d8-cbad773a032b', 'name': '', 'tenant_id': '290abc6959d04070a435ae4dbf634303', 'network_id': '7a3057ff-54fa-4647-a12a-67d864a83055', 'ip_version': 4, 'cidr': '48.143.137.64/26', 'allocation_pools': [{'start': '48.143.137.66', 'end': '48.143.137.126'}], 'gateway_ip': '48.143.137.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.143.137.66', 'tags': [], 'project_id': '290abc6959d04070a435ae4dbf634303'}} 2025-10-29 16:52:41,852 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a03cae0e-c172-4af0-98de-41209ea4a309', 'name': '', 'tenant_id': '290abc6959d04070a435ae4dbf634303', 'network_id': '7a3057ff-54fa-4647-a12a-67d864a83055', 'ip_version': 4, 'cidr': '160.152.185.192/26', 'allocation_pools': [{'start': '160.152.185.194', 'end': '160.152.185.254'}], 'gateway_ip': '160.152.185.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.152.185.194', 'tags': [], 'project_id': '290abc6959d04070a435ae4dbf634303'}} 2025-10-29 16:52:41,872 - INFO - Created VN ctest-vn1-20804665 2025-10-29 16:52:41,923 - DEBUG - VN ctest-vn1-20804665 UUID is 7a3057ff-54fa-4647-a12a-67d864a83055 2025-10-29 16:52:42,226 - DEBUG - Response for create_port : {'port': {'name': 'a2ebec3c-dac5-40bf-8a27-43ee2f58b371', 'id': 'a2ebec3c-dac5-40bf-8a27-43ee2f58b371', 'tenant_id': '290abc6959d04070a435ae4dbf634303', 'network_id': '7a3057ff-54fa-4647-a12a-67d864a83055', 'mac_address': '02:a2:eb:ec:3c:da', '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': '48.143.137.69', 'subnet_id': '52b25143-e275-4341-a8d8-cbad773a032b'}], 'security_groups': ['3ce38821-5573-4d3f-bf2a-2a57e4e7f83b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '290abc6959d04070a435ae4dbf634303'}} 2025-10-29 16:52:42,386 - DEBUG - Response for create_port : {'port': {'name': 'f283373e-14ed-422a-9117-6a85439357b0', 'id': 'f283373e-14ed-422a-9117-6a85439357b0', 'tenant_id': '290abc6959d04070a435ae4dbf634303', 'network_id': '7a3057ff-54fa-4647-a12a-67d864a83055', 'mac_address': '02:f2:83:37:3e:14', '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': '160.152.185.197', 'subnet_id': 'a03cae0e-c172-4af0-98de-41209ea4a309'}], 'security_groups': ['3ce38821-5573-4d3f-bf2a-2a57e4e7f83b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '290abc6959d04070a435ae4dbf634303'}} 2025-10-29 16:52:42,448 - DEBUG - Services list from nova: [, , ] 2025-10-29 16:52:42,761 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4524-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4524-1) 2025-10-29 16:52:43,207 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4524-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4524-1) 2025-10-29 16:52:43,207 - INFO - Waiting for VM ctest-vn1-vm1-23188485 to be up.. 2025-10-29 16:52:43,253 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 16:52:48,329 - DEBUG - VM is in ACTIVE state now 2025-10-29 16:52:48,329 - INFO - VM name : ctest-vn1-vm1-23188485 2025-10-29 16:52:48,399 - DEBUG - VM ctest-vn1-vm1-23188485 ID is 36db989c-693d-4121-87bc-9166f83fc928 2025-10-29 16:52:48,418 - DEBUG - VM ctest-vn1-vm1-23188485 launched on Node cn-jenkins-deploy-platform-ansible-os-4524-1 2025-10-29 16:52:48,498 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/36db989c-693d-4121-87bc-9166f83fc928 2025-10-29 16:52:48,507 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/a2ebec3c-dac5-40bf-8a27-43ee2f58b371 2025-10-29 16:52:51,770 - 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 1026ms') 2025-10-29 16:52:51,771 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23188485 failed! 2025-10-29 16:52:51,831 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-24486119:ctest-vn1-20804665 is 48.143.137.65 and allocation pool is NOT set 2025-10-29 16:52:51,831 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-24486119:ctest-vn1-20804665 is 160.152.185.193 and allocation pool is NOT set 2025-10-29 16:52:55,903 - 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=2 ttl=63 time=8.21 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 8.214/8.214/8.214/0.000 ms') 2025-10-29 16:52:55,903 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23188485 passed 2025-10-29 16:52:56,055 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 16:52:56,055 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-23188485, IP 48.143.137.69, Port 22 2025-10-29 16:52:56,120 - 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-29 16:52:56,196 - DEBUG - VM ctest-vn1-vm1-23188485 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 16:53:01,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 16:53:01,197 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-23188485, IP 48.143.137.69, Port 22 2025-10-29 16:53:01,365 - DEBUG - VM ctest-vn1-vm1-23188485 is ready for SSH connections 2025-10-29 16:53:01,365 - INFO - Waiting for VM ctest-vn1-vm2-77525207 to be up.. 2025-10-29 16:53:01,441 - DEBUG - VM is in ACTIVE state now 2025-10-29 16:53:01,441 - INFO - VM name : ctest-vn1-vm2-77525207 2025-10-29 16:53:01,516 - DEBUG - VM ctest-vn1-vm2-77525207 ID is 559b4ded-49f9-4a3a-b7ee-7c5f1feb80f2 2025-10-29 16:53:01,516 - DEBUG - VM ctest-vn1-vm2-77525207 launched on Node cn-jenkins-deploy-platform-ansible-os-4524-1 2025-10-29 16:53:01,592 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/559b4ded-49f9-4a3a-b7ee-7c5f1feb80f2 2025-10-29 16:53:01,600 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/f283373e-14ed-422a-9117-6a85439357b0 2025-10-29 16:53:02,846 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.409 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.409/1.841/3.273/1.432 ms') 2025-10-29 16:53:02,846 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-77525207 passed 2025-10-29 16:53:02,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 16:53:02,999 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-77525207, IP 160.152.185.197, Port 22 2025-10-29 16:53:03,155 - DEBUG - VM ctest-vn1-vm2-77525207 is ready for SSH connections 2025-10-29 16:53:03,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 16:53:03,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 16:53:03,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 16:53:03,156 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.143.137.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-29 16:53:03,156 - DEBUG - ping -s 56 -c 3 -W 1 48.143.137.69 2025-10-29 16:53:05,838 - DEBUG - PING 48.143.137.69 (48.143.137.69): 56 data bytes 64 bytes from 48.143.137.69: seq=0 ttl=63 time=4.634 ms 64 bytes from 48.143.137.69: seq=1 ttl=63 time=1.044 ms 64 bytes from 48.143.137.69: seq=2 ttl=63 time=0.812 ms --- 48.143.137.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.812/2.163/4.634 ms 2025-10-29 16:53:05,838 - INFO - Ping to IP 48.143.137.69 from VM ctest-vn1-vm2-77525207 passed 2025-10-29 16:53:05,839 - INFO - Detaching port f283373e-14ed-422a-9117-6a85439357b0 from VM ctest-vn1-vm2-77525207 2025-10-29 16:53:05,897 - INFO - Deleting VM ctest-vn1-vm2-77525207 2025-10-29 16:53:05,979 - INFO - Detaching port a2ebec3c-dac5-40bf-8a27-43ee2f58b371 from VM ctest-vn1-vm1-23188485 2025-10-29 16:53:06,019 - INFO - Deleting VM ctest-vn1-vm1-23188485 2025-10-29 16:53:06,256 - DEBUG - Response for delete_port : () 2025-10-29 16:53:06,425 - DEBUG - Response for delete_port : () 2025-10-29 16:53:06,425 - INFO - Deleting VN ctest-vn1-20804665 2025-10-29 16:53:06,560 - DEBUG - Response for deleting network () 2025-10-29 16:53:06,828 - DEBUG - No XMPP flaps were noticed during the test 2025-10-29 16:53:06,829 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25] 2025-10-29 16:53:06,829 - INFO - -------------------------------------------------------------------------------- 2025-10-29 16:53:07,587 - INFO - Deleted project: ctest-TestPorts-24486119, ID : 290abc69-59d0-4070-a435-ae4dbf634303