2025-08-18 09:42:39,630 - INFO - Domain Default found not creating 2025-08-18 09:42:39,745 - INFO - Project ctest-TestPorts-50819586 not found, creating it 2025-08-18 09:42:40,219 - INFO - Created Project:ctest-TestPorts-50819586, ID : ff416c7a-c0f1-4716-aefc-1be1cd74de66 2025-08-18 09:42:41,568 - INFO - ================================================================================ 2025-08-18 09:42:41,568 - INFO - STARTING TEST : test_ports_bindings 2025-08-18 09:42:41,568 - 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-18 09:42:41,815 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.0.0.48': '0'}} with 2025-08-18 09:42:41,815 - INFO - Initial checks done. Running the testcase now 2025-08-18 09:42:41,816 - INFO - 2025-08-18 09:42:42,319 - DEBUG - Response for create_network : {'network': {'id': 'b61f8799-44f6-4d1a-bf78-66dc7c951e47', 'name': 'ctest-vn-45801847', 'tenant_id': 'ff416c7ac0f14716aefc1be1cd74de66', 'project_id': 'ff416c7ac0f14716aefc1be1cd74de66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-50819586', 'ctest-vn-45801847'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 09:42:42,457 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a16e6ed1-26a7-4902-9039-0fbe2c784149', 'name': '', 'tenant_id': 'ff416c7ac0f14716aefc1be1cd74de66', 'network_id': 'b61f8799-44f6-4d1a-bf78-66dc7c951e47', 'ip_version': 4, 'cidr': '52.250.222.64/26', 'allocation_pools': [{'start': '52.250.222.66', 'end': '52.250.222.126'}], 'gateway_ip': '52.250.222.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.250.222.66', 'tags': [], 'project_id': 'ff416c7ac0f14716aefc1be1cd74de66'}} 2025-08-18 09:42:42,472 - INFO - Created VN ctest-vn-45801847 2025-08-18 09:42:42,523 - DEBUG - VN ctest-vn-45801847 UUID is b61f8799-44f6-4d1a-bf78-66dc7c951e47 2025-08-18 09:42:42,612 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-50819586', 'ctest-vmi-07501047']} 2025-08-18 09:42:42,876 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-07501047', 'id': '79a56e5a-1231-4d0d-b718-22e43b7c651b', 'tenant_id': 'ff416c7ac0f14716aefc1be1cd74de66', 'network_id': 'b61f8799-44f6-4d1a-bf78-66dc7c951e47', 'mac_address': '02:79:a5:6e:5a:12', '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': '52.250.222.67', 'subnet_id': 'a16e6ed1-26a7-4902-9039-0fbe2c784149'}], 'security_groups': ['9db2dc12-08bc-4ff1-b848-400670a943bd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ff416c7ac0f14716aefc1be1cd74de66'}} 2025-08-18 09:42:42,876 - DEBUG - Created port 79a56e5a-1231-4d0d-b718-22e43b7c651b 2025-08-18 09:42:42,979 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/79a56e5a-1231-4d0d-b718-22e43b7c651b 2025-08-18 09:42:43,265 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/79a56e5a-1231-4d0d-b718-22e43b7c651b 2025-08-18 09:42:43,292 - INFO - VMI 79a56e5a-1231-4d0d-b718-22e43b7c651b verification in API Server passed 2025-08-18 09:42:43,371 - DEBUG - Response for delete_port : () 2025-08-18 09:42:43,371 - INFO - Deleted port 79a56e5a-1231-4d0d-b718-22e43b7c651b 2025-08-18 09:42:43,371 - INFO - Deleting VN ctest-vn-45801847 2025-08-18 09:42:43,463 - DEBUG - Response for deleting network () 2025-08-18 09:42:43,719 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 09:42:43,720 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-18 09:42:43,720 - INFO - -------------------------------------------------------------------------------- 2025-08-18 09:42:43,722 - INFO - ================================================================================ 2025-08-18 09:42:43,722 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-18 09:42:43,722 - 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-18 09:42:44,010 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.0.0.48': '0'}} with 2025-08-18 09:42:44,010 - INFO - Initial checks done. Running the testcase now 2025-08-18 09:42:44,011 - INFO - 2025-08-18 09:42:44,170 - DEBUG - Response for create_network : {'network': {'id': '1baf824f-be75-460f-890f-2ab995555444', 'name': 'ctest-vn1-92575511', 'tenant_id': 'ff416c7ac0f14716aefc1be1cd74de66', 'project_id': 'ff416c7ac0f14716aefc1be1cd74de66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-50819586', 'ctest-vn1-92575511'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 09:42:44,309 - DEBUG - Response for create_subnet : {'subnet': {'id': '9f639953-dc27-4feb-b478-9f2e8d5c266d', 'name': '', 'tenant_id': 'ff416c7ac0f14716aefc1be1cd74de66', 'network_id': '1baf824f-be75-460f-890f-2ab995555444', 'ip_version': 4, 'cidr': '84.148.183.0/26', 'allocation_pools': [{'start': '84.148.183.2', 'end': '84.148.183.62'}], 'gateway_ip': '84.148.183.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.148.183.2', 'tags': [], 'project_id': 'ff416c7ac0f14716aefc1be1cd74de66'}} 2025-08-18 09:42:44,494 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aa8708ab-0d0e-43e4-b6e6-754d838bd4ef', 'name': '', 'tenant_id': 'ff416c7ac0f14716aefc1be1cd74de66', 'network_id': '1baf824f-be75-460f-890f-2ab995555444', 'ip_version': 4, 'cidr': '217.38.178.128/26', 'allocation_pools': [{'start': '217.38.178.130', 'end': '217.38.178.190'}], 'gateway_ip': '217.38.178.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.38.178.130', 'tags': [], 'project_id': 'ff416c7ac0f14716aefc1be1cd74de66'}} 2025-08-18 09:42:44,509 - INFO - Created VN ctest-vn1-92575511 2025-08-18 09:42:44,559 - DEBUG - VN ctest-vn1-92575511 UUID is 1baf824f-be75-460f-890f-2ab995555444 2025-08-18 09:42:44,828 - DEBUG - Response for create_port : {'port': {'name': '3aa7f384-b536-4957-b07a-7f81950ca6f7', 'id': '3aa7f384-b536-4957-b07a-7f81950ca6f7', 'tenant_id': 'ff416c7ac0f14716aefc1be1cd74de66', 'network_id': '1baf824f-be75-460f-890f-2ab995555444', 'mac_address': '02:3a:a7:f3:84:b5', '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': '84.148.183.5', 'subnet_id': '9f639953-dc27-4feb-b478-9f2e8d5c266d'}], 'security_groups': ['9db2dc12-08bc-4ff1-b848-400670a943bd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ff416c7ac0f14716aefc1be1cd74de66'}} 2025-08-18 09:42:44,979 - DEBUG - Response for create_port : {'port': {'name': 'aa10c17e-a7a3-4901-a57e-bcf965cbf527', 'id': 'aa10c17e-a7a3-4901-a57e-bcf965cbf527', 'tenant_id': 'ff416c7ac0f14716aefc1be1cd74de66', 'network_id': '1baf824f-be75-460f-890f-2ab995555444', 'mac_address': '02:aa:10:c1:7e:a7', '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': '217.38.178.133', 'subnet_id': 'aa8708ab-0d0e-43e4-b6e6-754d838bd4ef'}], 'security_groups': ['9db2dc12-08bc-4ff1-b848-400670a943bd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ff416c7ac0f14716aefc1be1cd74de66'}} 2025-08-18 09:42:45,024 - DEBUG - Services list from nova: [, , ] 2025-08-18 09:42:45,292 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3875-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3875-1) 2025-08-18 09:42:45,599 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3875-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3875-1) 2025-08-18 09:42:45,599 - INFO - Waiting for VM ctest-vn1-vm1-84288079 to be up.. 2025-08-18 09:42:45,630 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-18 09:42:50,697 - DEBUG - VM is in ACTIVE state now 2025-08-18 09:42:50,697 - INFO - VM name : ctest-vn1-vm1-84288079 2025-08-18 09:42:50,758 - DEBUG - VM ctest-vn1-vm1-84288079 ID is 06daf71f-9389-4f76-b093-7c2663599914 2025-08-18 09:42:50,772 - DEBUG - VM ctest-vn1-vm1-84288079 launched on Node cn-jenkins-deploy-platform-ansible-os-3875-1. 2025-08-18 09:42:50,830 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/06daf71f-9389-4f76-b093-7c2663599914 2025-08-18 09:42:50,837 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/3aa7f384-b536-4957-b07a-7f81950ca6f7 2025-08-18 09:42:54,088 - 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 1028ms') 2025-08-18 09:42:54,088 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84288079 failed! 2025-08-18 09:42:54,139 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-50819586:ctest-vn1-92575511 is 84.148.183.1 and allocation pool is NOT set 2025-08-18 09:42:54,139 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-50819586:ctest-vn1-92575511 is 217.38.178.129 and allocation pool is NOT set 2025-08-18 09:42:56,194 - 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=3.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.20 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 = 1.204/2.457/3.711/1.253 ms') 2025-08-18 09:42:56,194 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84288079 passed 2025-08-18 09:42:56,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:42:56,343 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84288079, IP 84.148.183.5, Port 22 2025-08-18 09:42:56,402 - 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-18 09:42:56,465 - DEBUG - VM ctest-vn1-vm1-84288079 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-18 09:43:01,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:43:01,465 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84288079, IP 84.148.183.5, Port 22 2025-08-18 09:43:01,630 - DEBUG - VM ctest-vn1-vm1-84288079 is ready for SSH connections 2025-08-18 09:43:01,630 - INFO - Waiting for VM ctest-vn1-vm2-57096622 to be up.. 2025-08-18 09:43:01,706 - DEBUG - VM is in ACTIVE state now 2025-08-18 09:43:01,706 - INFO - VM name : ctest-vn1-vm2-57096622 2025-08-18 09:43:01,774 - DEBUG - VM ctest-vn1-vm2-57096622 ID is e5b76434-826e-4ba3-8c7f-912fc4b820d4 2025-08-18 09:43:01,774 - DEBUG - VM ctest-vn1-vm2-57096622 launched on Node cn-jenkins-deploy-platform-ansible-os-3875-1. 2025-08-18 09:43:01,834 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/e5b76434-826e-4ba3-8c7f-912fc4b820d4 2025-08-18 09:43:01,841 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/aa10c17e-a7a3-4901-a57e-bcf965cbf527 2025-08-18 09:43:03,070 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.316 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.316/1.454/2.593/1.138 ms') 2025-08-18 09:43:03,070 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-57096622 passed 2025-08-18 09:43:03,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:43:03,223 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-57096622, IP 217.38.178.133, Port 22 2025-08-18 09:43:03,374 - DEBUG - VM ctest-vn1-vm2-57096622 is ready for SSH connections 2025-08-18 09:43:03,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:43:03,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:43:03,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:43:03,374 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.148.183.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-18 09:43:03,374 - DEBUG - ping -s 56 -c 3 -W 1 84.148.183.5 2025-08-18 09:43:06,250 - DEBUG - PING 84.148.183.5 (84.148.183.5): 56 data bytes 64 bytes from 84.148.183.5: seq=0 ttl=63 time=3.959 ms 64 bytes from 84.148.183.5: seq=1 ttl=63 time=0.785 ms 64 bytes from 84.148.183.5: seq=2 ttl=63 time=0.752 ms --- 84.148.183.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.752/1.832/3.959 ms 2025-08-18 09:43:06,250 - INFO - Ping to IP 84.148.183.5 from VM ctest-vn1-vm2-57096622 passed 2025-08-18 09:43:06,250 - INFO - Detaching port aa10c17e-a7a3-4901-a57e-bcf965cbf527 from VM ctest-vn1-vm2-57096622 2025-08-18 09:43:06,292 - INFO - Deleting VM ctest-vn1-vm2-57096622 2025-08-18 09:43:06,347 - INFO - Detaching port 3aa7f384-b536-4957-b07a-7f81950ca6f7 from VM ctest-vn1-vm1-84288079 2025-08-18 09:43:06,377 - INFO - Deleting VM ctest-vn1-vm1-84288079 2025-08-18 09:43:06,555 - DEBUG - Response for delete_port : () 2025-08-18 09:43:06,682 - DEBUG - Response for delete_port : () 2025-08-18 09:43:06,682 - INFO - Deleting VN ctest-vn1-92575511 2025-08-18 09:43:06,821 - DEBUG - Response for deleting network () 2025-08-18 09:43:07,079 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 09:43:07,080 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-08-18 09:43:07,080 - INFO - -------------------------------------------------------------------------------- 2025-08-18 09:43:07,718 - INFO - Deleted project: ctest-TestPorts-50819586, ID : ff416c7a-c0f1-4716-aefc-1be1cd74de66