2025-09-22 07:45:39,476 - INFO - Domain Default found not creating 2025-09-22 07:45:39,651 - INFO - Project ctest-TestPorts-07770036 not found, creating it 2025-09-22 07:45:40,188 - INFO - Created Project:ctest-TestPorts-07770036, ID : 47380b8d-8ca5-4f40-ba00-3ba6a6d6c0b6 2025-09-22 07:45:41,772 - INFO - ================================================================================ 2025-09-22 07:45:41,772 - INFO - STARTING TEST : test_ports_bindings 2025-09-22 07:45:41,772 - 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-09-22 07:45:42,032 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-09-22 07:45:42,032 - INFO - Initial checks done. Running the testcase now 2025-09-22 07:45:42,032 - INFO - 2025-09-22 07:45:42,648 - DEBUG - Response for create_network : {'network': {'id': '371365cf-4c40-4bbc-a67d-ca3e9c5b8561', 'name': 'ctest-vn-65713869', 'tenant_id': '47380b8d8ca54f40ba003ba6a6d6c0b6', 'project_id': '47380b8d8ca54f40ba003ba6a6d6c0b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-07770036', 'ctest-vn-65713869'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 07:45:42,818 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4e97d02-7df8-4d2f-bd47-966719855af6', 'name': '', 'tenant_id': '47380b8d8ca54f40ba003ba6a6d6c0b6', 'network_id': '371365cf-4c40-4bbc-a67d-ca3e9c5b8561', 'ip_version': 4, 'cidr': '25.101.126.64/26', 'allocation_pools': [{'start': '25.101.126.66', 'end': '25.101.126.126'}], 'gateway_ip': '25.101.126.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.101.126.66', 'tags': [], 'project_id': '47380b8d8ca54f40ba003ba6a6d6c0b6'}} 2025-09-22 07:45:42,838 - INFO - Created VN ctest-vn-65713869 2025-09-22 07:45:42,895 - DEBUG - VN ctest-vn-65713869 UUID is 371365cf-4c40-4bbc-a67d-ca3e9c5b8561 2025-09-22 07:45:43,010 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-07770036', 'ctest-vmi-62877104']} 2025-09-22 07:45:43,257 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-62877104', 'id': '31294b5b-4fdf-47dd-8088-72440f853e68', 'tenant_id': '47380b8d8ca54f40ba003ba6a6d6c0b6', 'network_id': '371365cf-4c40-4bbc-a67d-ca3e9c5b8561', 'mac_address': '02:31:29:4b:5b:4f', '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': '25.101.126.67', 'subnet_id': 'b4e97d02-7df8-4d2f-bd47-966719855af6'}], 'security_groups': ['0547fbcb-9288-4f58-8cf3-1b3874d4df7c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '47380b8d8ca54f40ba003ba6a6d6c0b6'}} 2025-09-22 07:45:43,258 - DEBUG - Created port 31294b5b-4fdf-47dd-8088-72440f853e68 2025-09-22 07:45:43,363 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/31294b5b-4fdf-47dd-8088-72440f853e68 2025-09-22 07:45:43,694 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/31294b5b-4fdf-47dd-8088-72440f853e68 2025-09-22 07:45:43,728 - INFO - VMI 31294b5b-4fdf-47dd-8088-72440f853e68 verification in API Server passed 2025-09-22 07:45:43,817 - DEBUG - Response for delete_port : () 2025-09-22 07:45:43,817 - INFO - Deleted port 31294b5b-4fdf-47dd-8088-72440f853e68 2025-09-22 07:45:43,817 - INFO - Deleting VN ctest-vn-65713869 2025-09-22 07:45:43,932 - DEBUG - Response for deleting network () 2025-09-22 07:45:44,194 - DEBUG - No XMPP flaps were noticed during the test
2025-09-22 07:45:44,194 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-22 07:45:44,194 - INFO - -------------------------------------------------------------------------------- 2025-09-22 07:45:44,198 - INFO - ================================================================================ 2025-09-22 07:45:44,198 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-22 07:45:44,198 - 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-09-22 07:45:44,482 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-09-22 07:45:44,483 - INFO - Initial checks done. Running the testcase now 2025-09-22 07:45:44,483 - INFO - 2025-09-22 07:45:44,662 - DEBUG - Response for create_network : {'network': {'id': '6a3e0d8b-c668-4015-ad30-2e5a5f0758fc', 'name': 'ctest-vn1-09507628', 'tenant_id': '47380b8d8ca54f40ba003ba6a6d6c0b6', 'project_id': '47380b8d8ca54f40ba003ba6a6d6c0b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-07770036', 'ctest-vn1-09507628'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 07:45:44,816 - DEBUG - Response for create_subnet : {'subnet': {'id': '000c1f44-bbea-4484-983c-0fbd8fce1b01', 'name': '', 'tenant_id': '47380b8d8ca54f40ba003ba6a6d6c0b6', 'network_id': '6a3e0d8b-c668-4015-ad30-2e5a5f0758fc', 'ip_version': 4, 'cidr': '185.166.7.192/26', 'allocation_pools': [{'start': '185.166.7.194', 'end': '185.166.7.254'}], 'gateway_ip': '185.166.7.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.166.7.194', 'tags': [], 'project_id': '47380b8d8ca54f40ba003ba6a6d6c0b6'}} 2025-09-22 07:45:45,206 - DEBUG - Response for create_subnet : {'subnet': {'id': '75b249f0-5d4e-4f8c-aac7-2cc4966d3367', 'name': '', 'tenant_id': '47380b8d8ca54f40ba003ba6a6d6c0b6', 'network_id': '6a3e0d8b-c668-4015-ad30-2e5a5f0758fc', 'ip_version': 4, 'cidr': '207.186.31.64/26', 'allocation_pools': [{'start': '207.186.31.66', 'end': '207.186.31.126'}], 'gateway_ip': '207.186.31.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.186.31.66', 'tags': [], 'project_id': '47380b8d8ca54f40ba003ba6a6d6c0b6'}} 2025-09-22 07:45:45,249 - INFO - Created VN ctest-vn1-09507628 2025-09-22 07:45:45,307 - DEBUG - VN ctest-vn1-09507628 UUID is 6a3e0d8b-c668-4015-ad30-2e5a5f0758fc 2025-09-22 07:45:45,778 - DEBUG - Response for create_port : {'port': {'name': 'ace70647-4451-41ab-93c1-4208ab8b51eb', 'id': 'ace70647-4451-41ab-93c1-4208ab8b51eb', 'tenant_id': '47380b8d8ca54f40ba003ba6a6d6c0b6', 'network_id': '6a3e0d8b-c668-4015-ad30-2e5a5f0758fc', 'mac_address': '02:ac:e7:06:47:44', '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': '185.166.7.197', 'subnet_id': '000c1f44-bbea-4484-983c-0fbd8fce1b01'}], 'security_groups': ['0547fbcb-9288-4f58-8cf3-1b3874d4df7c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '47380b8d8ca54f40ba003ba6a6d6c0b6'}} 2025-09-22 07:45:45,959 - DEBUG - Response for create_port : {'port': {'name': '06d5d6b4-f13f-4a7b-825d-9be1417ec0ce', 'id': '06d5d6b4-f13f-4a7b-825d-9be1417ec0ce', 'tenant_id': '47380b8d8ca54f40ba003ba6a6d6c0b6', 'network_id': '6a3e0d8b-c668-4015-ad30-2e5a5f0758fc', 'mac_address': '02:06:d5:d6:b4:f1', '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': '207.186.31.69', 'subnet_id': '75b249f0-5d4e-4f8c-aac7-2cc4966d3367'}], 'security_groups': ['0547fbcb-9288-4f58-8cf3-1b3874d4df7c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '47380b8d8ca54f40ba003ba6a6d6c0b6'}} 2025-09-22 07:45:46,033 - DEBUG - Services list from nova: [, , ] 2025-09-22 07:45:46,421 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4165-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4165-1) 2025-09-22 07:45:46,846 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4165-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4165-1) 2025-09-22 07:45:46,846 - INFO - Waiting for VM ctest-vn1-vm1-68049985 to be up.. 2025-09-22 07:45:46,893 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-22 07:45:51,988 - DEBUG - VM is in ACTIVE state now 2025-09-22 07:45:51,988 - INFO - VM name : ctest-vn1-vm1-68049985 2025-09-22 07:45:52,068 - DEBUG - VM ctest-vn1-vm1-68049985 ID is 4c154cbd-08af-4fa5-a1b9-ecfa5bc2f7b0 2025-09-22 07:45:52,087 - DEBUG - VM ctest-vn1-vm1-68049985 launched on Node cn-jenkins-deploy-platform-ansible-os-4165-1 2025-09-22 07:45:52,159 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/4c154cbd-08af-4fa5-a1b9-ecfa5bc2f7b0 2025-09-22 07:45:52,170 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/ace70647-4451-41ab-93c1-4208ab8b51eb 2025-09-22 07:45:55,408 - 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 1006ms') 2025-09-22 07:45:55,408 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-68049985 failed! 2025-09-22 07:45:55,463 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-07770036:ctest-vn1-09507628 is 185.166.7.193 and allocation pool is NOT set 2025-09-22 07:45:55,463 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-07770036:ctest-vn1-09507628 is 207.186.31.65 and allocation pool is NOT set 2025-09-22 07:45:59,533 - 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.67 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 8.668/8.668/8.668/0.000 ms') 2025-09-22 07:45:59,533 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-68049985 passed 2025-09-22 07:45:59,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 07:45:59,687 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-68049985, IP 185.166.7.197, Port 22 2025-09-22 07:45:59,846 - DEBUG - VM ctest-vn1-vm1-68049985 is ready for SSH connections 2025-09-22 07:45:59,846 - INFO - Waiting for VM ctest-vn1-vm2-76648176 to be up.. 2025-09-22 07:45:59,936 - DEBUG - VM is in ACTIVE state now 2025-09-22 07:45:59,936 - INFO - VM name : ctest-vn1-vm2-76648176 2025-09-22 07:46:00,011 - DEBUG - VM ctest-vn1-vm2-76648176 ID is 0777fd53-7b60-458f-9961-dd783fdfb2cc 2025-09-22 07:46:00,011 - DEBUG - VM ctest-vn1-vm2-76648176 launched on Node cn-jenkins-deploy-platform-ansible-os-4165-1 2025-09-22 07:46:00,091 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/0777fd53-7b60-458f-9961-dd783fdfb2cc 2025-09-22 07:46:00,101 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/06d5d6b4-f13f-4a7b-825d-9be1417ec0ce 2025-09-22 07:46:01,343 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.501 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.501/1.827/3.154/1.326 ms') 2025-09-22 07:46:01,343 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-76648176 passed 2025-09-22 07:46:01,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 07:46:01,495 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-76648176, IP 207.186.31.69, Port 22 2025-09-22 07:46:01,654 - DEBUG - VM ctest-vn1-vm2-76648176 is ready for SSH connections 2025-09-22 07:46:01,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 07:46:01,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 07:46:01,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 07:46:01,654 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.166.7.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-22 07:46:01,655 - DEBUG - ping -s 56 -c 3 -W 1 185.166.7.197 2025-09-22 07:46:04,358 - DEBUG - PING 185.166.7.197 (185.166.7.197): 56 data bytes 64 bytes from 185.166.7.197: seq=0 ttl=63 time=4.309 ms 64 bytes from 185.166.7.197: seq=1 ttl=63 time=0.910 ms 64 bytes from 185.166.7.197: seq=2 ttl=63 time=0.991 ms --- 185.166.7.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.910/2.070/4.309 ms 2025-09-22 07:46:04,358 - INFO - Ping to IP 185.166.7.197 from VM ctest-vn1-vm2-76648176 passed 2025-09-22 07:46:04,359 - INFO - Detaching port 06d5d6b4-f13f-4a7b-825d-9be1417ec0ce from VM ctest-vn1-vm2-76648176 2025-09-22 07:46:04,411 - INFO - Deleting VM ctest-vn1-vm2-76648176 2025-09-22 07:46:04,480 - INFO - Detaching port ace70647-4451-41ab-93c1-4208ab8b51eb from VM ctest-vn1-vm1-68049985 2025-09-22 07:46:04,519 - INFO - Deleting VM ctest-vn1-vm1-68049985 2025-09-22 07:46:04,779 - DEBUG - Response for delete_port : () 2025-09-22 07:46:04,974 - DEBUG - Response for delete_port : () 2025-09-22 07:46:04,974 - INFO - Deleting VN ctest-vn1-09507628 2025-09-22 07:46:05,108 - DEBUG - Response for deleting network () 2025-09-22 07:46:05,370 - DEBUG - No XMPP flaps were noticed during the test
2025-09-22 07:46:05,370 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-09-22 07:46:05,370 - INFO - -------------------------------------------------------------------------------- 2025-09-22 07:46:06,116 - INFO - Deleted project: ctest-TestPorts-07770036, ID : 47380b8d-8ca5-4f40-ba00-3ba6a6d6c0b6