2025-10-27 02:07:34,400 - INFO - Domain Default found not creating 2025-10-27 02:07:34,577 - INFO - Project ctest-TestPorts-19393942 not found, creating it 2025-10-27 02:07:35,087 - INFO - Created Project:ctest-TestPorts-19393942, ID : 5cf5288f-94bf-4a80-a76a-8220d8cc730e 2025-10-27 02:07:36,741 - INFO - ================================================================================ 2025-10-27 02:07:36,741 - INFO - STARTING TEST : test_ports_bindings 2025-10-27 02:07:36,741 - 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-27 02:07:37,001 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-27 02:07:37,001 - INFO - Initial checks done. Running the testcase now 2025-10-27 02:07:37,001 - INFO - 2025-10-27 02:07:37,617 - DEBUG - Response for create_network : {'network': {'id': 'ea8a854b-c6c5-4df4-91f9-ac0e9569840f', 'name': 'ctest-vn-79379253', 'tenant_id': '5cf5288f94bf4a80a76a8220d8cc730e', 'project_id': '5cf5288f94bf4a80a76a8220d8cc730e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-19393942', 'ctest-vn-79379253'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 02:07:37,842 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d6a96fd-9b22-4625-8dd5-7a4f9dd72b76', 'name': '', 'tenant_id': '5cf5288f94bf4a80a76a8220d8cc730e', 'network_id': 'ea8a854b-c6c5-4df4-91f9-ac0e9569840f', 'ip_version': 4, 'cidr': '139.214.245.128/26', 'allocation_pools': [{'start': '139.214.245.130', 'end': '139.214.245.190'}], 'gateway_ip': '139.214.245.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.214.245.130', 'tags': [], 'project_id': '5cf5288f94bf4a80a76a8220d8cc730e'}} 2025-10-27 02:07:37,863 - INFO - Created VN ctest-vn-79379253 2025-10-27 02:07:37,919 - DEBUG - VN ctest-vn-79379253 UUID is ea8a854b-c6c5-4df4-91f9-ac0e9569840f 2025-10-27 02:07:38,036 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-19393942', 'ctest-vmi-74368157']} 2025-10-27 02:07:38,306 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-74368157', 'id': '49468cf9-352b-449b-830c-bcd942cbd962', 'tenant_id': '5cf5288f94bf4a80a76a8220d8cc730e', 'network_id': 'ea8a854b-c6c5-4df4-91f9-ac0e9569840f', 'mac_address': '02:49:46:8c:f9:35', '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': '139.214.245.131', 'subnet_id': '2d6a96fd-9b22-4625-8dd5-7a4f9dd72b76'}], 'security_groups': ['033169ee-9bed-41f4-ab9b-dcb9f102a6ab'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5cf5288f94bf4a80a76a8220d8cc730e'}} 2025-10-27 02:07:38,306 - DEBUG - Created port 49468cf9-352b-449b-830c-bcd942cbd962 2025-10-27 02:07:38,419 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/49468cf9-352b-449b-830c-bcd942cbd962 2025-10-27 02:07:38,770 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/49468cf9-352b-449b-830c-bcd942cbd962 2025-10-27 02:07:38,813 - INFO - VMI 49468cf9-352b-449b-830c-bcd942cbd962 verification in API Server passed 2025-10-27 02:07:38,911 - DEBUG - Response for delete_port : () 2025-10-27 02:07:38,911 - INFO - Deleted port 49468cf9-352b-449b-830c-bcd942cbd962 2025-10-27 02:07:38,912 - INFO - Deleting VN ctest-vn-79379253 2025-10-27 02:07:39,027 - DEBUG - Response for deleting network () 2025-10-27 02:07:39,300 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 02:07:39,300 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-27 02:07:39,301 - INFO - -------------------------------------------------------------------------------- 2025-10-27 02:07:39,304 - INFO - ================================================================================ 2025-10-27 02:07:39,304 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-27 02:07:39,304 - 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-27 02:07:39,588 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-27 02:07:39,588 - INFO - Initial checks done. Running the testcase now 2025-10-27 02:07:39,588 - INFO - 2025-10-27 02:07:39,784 - DEBUG - Response for create_network : {'network': {'id': 'da0fe72c-26e1-4e39-bc73-fc86d410f295', 'name': 'ctest-vn1-73335027', 'tenant_id': '5cf5288f94bf4a80a76a8220d8cc730e', 'project_id': '5cf5288f94bf4a80a76a8220d8cc730e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-19393942', 'ctest-vn1-73335027'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 02:07:39,988 - DEBUG - Response for create_subnet : {'subnet': {'id': '15f762a2-93d9-4f78-bac6-9b7443795529', 'name': '', 'tenant_id': '5cf5288f94bf4a80a76a8220d8cc730e', 'network_id': 'da0fe72c-26e1-4e39-bc73-fc86d410f295', 'ip_version': 4, 'cidr': '202.253.74.192/26', 'allocation_pools': [{'start': '202.253.74.194', 'end': '202.253.74.254'}], 'gateway_ip': '202.253.74.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.253.74.194', 'tags': [], 'project_id': '5cf5288f94bf4a80a76a8220d8cc730e'}} 2025-10-27 02:07:40,154 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf85ac99-6b36-43de-bad8-f7dd6a6183b3', 'name': '', 'tenant_id': '5cf5288f94bf4a80a76a8220d8cc730e', 'network_id': 'da0fe72c-26e1-4e39-bc73-fc86d410f295', 'ip_version': 4, 'cidr': '174.177.161.128/26', 'allocation_pools': [{'start': '174.177.161.130', 'end': '174.177.161.190'}], 'gateway_ip': '174.177.161.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.177.161.130', 'tags': [], 'project_id': '5cf5288f94bf4a80a76a8220d8cc730e'}} 2025-10-27 02:07:40,175 - INFO - Created VN ctest-vn1-73335027 2025-10-27 02:07:40,231 - DEBUG - VN ctest-vn1-73335027 UUID is da0fe72c-26e1-4e39-bc73-fc86d410f295 2025-10-27 02:07:40,542 - DEBUG - Response for create_port : {'port': {'name': 'd9fef43a-9741-4e0d-abc0-04ac82961b2d', 'id': 'd9fef43a-9741-4e0d-abc0-04ac82961b2d', 'tenant_id': '5cf5288f94bf4a80a76a8220d8cc730e', 'network_id': 'da0fe72c-26e1-4e39-bc73-fc86d410f295', 'mac_address': '02:d9:fe:f4:3a:97', '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': '202.253.74.197', 'subnet_id': '15f762a2-93d9-4f78-bac6-9b7443795529'}], 'security_groups': ['033169ee-9bed-41f4-ab9b-dcb9f102a6ab'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5cf5288f94bf4a80a76a8220d8cc730e'}} 2025-10-27 02:07:40,715 - DEBUG - Response for create_port : {'port': {'name': '2a3b5e42-8b74-4a8c-88ed-3ef29a5e0344', 'id': '2a3b5e42-8b74-4a8c-88ed-3ef29a5e0344', 'tenant_id': '5cf5288f94bf4a80a76a8220d8cc730e', 'network_id': 'da0fe72c-26e1-4e39-bc73-fc86d410f295', 'mac_address': '02:2a:3b:5e:42:8b', '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': '174.177.161.133', 'subnet_id': 'bf85ac99-6b36-43de-bad8-f7dd6a6183b3'}], 'security_groups': ['033169ee-9bed-41f4-ab9b-dcb9f102a6ab'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5cf5288f94bf4a80a76a8220d8cc730e'}} 2025-10-27 02:07:40,780 - DEBUG - Services list from nova: [, , ] 2025-10-27 02:07:41,150 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4488-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4488-1) 2025-10-27 02:07:41,583 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4488-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4488-1) 2025-10-27 02:07:41,583 - INFO - Waiting for VM ctest-vn1-vm1-98189793 to be up.. 2025-10-27 02:07:41,627 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 02:07:46,712 - DEBUG - VM is in ACTIVE state now 2025-10-27 02:07:46,712 - INFO - VM name : ctest-vn1-vm1-98189793 2025-10-27 02:07:46,796 - DEBUG - VM ctest-vn1-vm1-98189793 ID is 508dc01d-6be5-4b29-9f91-61283d3d1d80 2025-10-27 02:07:46,819 - DEBUG - VM ctest-vn1-vm1-98189793 launched on Node cn-jenkins-deploy-platform-ansible-os-4488-1 2025-10-27 02:07:46,912 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/508dc01d-6be5-4b29-9f91-61283d3d1d80 2025-10-27 02:07:46,922 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/d9fef43a-9741-4e0d-abc0-04ac82961b2d 2025-10-27 02:07:50,179 - 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 1018ms') 2025-10-27 02:07:50,179 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98189793 failed! 2025-10-27 02:07:50,235 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-19393942:ctest-vn1-73335027 is 202.253.74.193 and allocation pool is NOT set 2025-10-27 02:07:50,235 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-19393942:ctest-vn1-73335027 is 174.177.161.129 and allocation pool is NOT set 2025-10-27 02:07:54,306 - 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-10-27 02:07:54,306 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98189793 failed! 2025-10-27 02:07:54,363 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-19393942:ctest-vn1-73335027 is 202.253.74.193 and allocation pool is NOT set 2025-10-27 02:07:54,363 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-19393942:ctest-vn1-73335027 is 174.177.161.129 and allocation pool is NOT set 2025-10-27 02:07:56,429 - 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.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.500 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 = 0.500/1.974/3.448/1.474 ms') 2025-10-27 02:07:56,429 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98189793 passed 2025-10-27 02:07:56,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:07:56,579 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-98189793, IP 202.253.74.197, Port 22 2025-10-27 02:07:56,751 - DEBUG - VM ctest-vn1-vm1-98189793 is ready for SSH connections 2025-10-27 02:07:56,751 - INFO - Waiting for VM ctest-vn1-vm2-39452501 to be up.. 2025-10-27 02:07:56,844 - DEBUG - VM is in ACTIVE state now 2025-10-27 02:07:56,844 - INFO - VM name : ctest-vn1-vm2-39452501 2025-10-27 02:07:56,926 - DEBUG - VM ctest-vn1-vm2-39452501 ID is a8de333c-ee1e-4630-8891-b9dab3236903 2025-10-27 02:07:56,926 - DEBUG - VM ctest-vn1-vm2-39452501 launched on Node cn-jenkins-deploy-platform-ansible-os-4488-1 2025-10-27 02:07:57,013 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/a8de333c-ee1e-4630-8891-b9dab3236903 2025-10-27 02:07:57,024 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/2a3b5e42-8b74-4a8c-88ed-3ef29a5e0344 2025-10-27 02:07:58,265 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.487 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.487/1.897/3.307/1.410 ms') 2025-10-27 02:07:58,265 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-39452501 passed 2025-10-27 02:07:58,431 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:07:58,431 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-39452501, IP 174.177.161.133, Port 22 2025-10-27 02:07:58,586 - DEBUG - VM ctest-vn1-vm2-39452501 is ready for SSH connections 2025-10-27 02:07:58,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:07:58,587 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:07:58,587 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:07:58,587 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.253.74.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 02:07:58,587 - DEBUG - ping -s 56 -c 3 -W 1 202.253.74.197 2025-10-27 02:08:01,299 - DEBUG - PING 202.253.74.197 (202.253.74.197): 56 data bytes 64 bytes from 202.253.74.197: seq=0 ttl=63 time=4.714 ms 64 bytes from 202.253.74.197: seq=1 ttl=63 time=1.090 ms 64 bytes from 202.253.74.197: seq=2 ttl=63 time=1.017 ms --- 202.253.74.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.017/2.273/4.714 ms 2025-10-27 02:08:01,299 - INFO - Ping to IP 202.253.74.197 from VM ctest-vn1-vm2-39452501 passed 2025-10-27 02:08:01,299 - INFO - Detaching port 2a3b5e42-8b74-4a8c-88ed-3ef29a5e0344 from VM ctest-vn1-vm2-39452501 2025-10-27 02:08:01,357 - INFO - Deleting VM ctest-vn1-vm2-39452501 2025-10-27 02:08:01,453 - INFO - Detaching port d9fef43a-9741-4e0d-abc0-04ac82961b2d from VM ctest-vn1-vm1-98189793 2025-10-27 02:08:01,495 - INFO - Deleting VM ctest-vn1-vm1-98189793 2025-10-27 02:08:01,839 - DEBUG - Response for delete_port : () 2025-10-27 02:08:02,050 - DEBUG - Response for delete_port : () 2025-10-27 02:08:02,050 - INFO - Deleting VN ctest-vn1-73335027 2025-10-27 02:08:02,190 - DEBUG - Response for deleting network () 2025-10-27 02:08:02,459 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 02:08:02,459 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-10-27 02:08:02,459 - INFO - -------------------------------------------------------------------------------- 2025-10-27 02:08:03,204 - INFO - Deleted project: ctest-TestPorts-19393942, ID : 5cf5288f-94bf-4a80-a76a-8220d8cc730e