2025-11-05 15:27:43,305 - INFO - Domain Default found not creating 2025-11-05 15:27:43,442 - INFO - Project ctest-TestPorts-76491625 not found, creating it 2025-11-05 15:27:43,891 - INFO - Created Project:ctest-TestPorts-76491625, ID : 50a69607-de48-449c-8881-44fc2c6e665b 2025-11-05 15:27:45,309 - INFO - ================================================================================ 2025-11-05 15:27:45,310 - INFO - STARTING TEST : test_ports_bindings 2025-11-05 15:27:45,310 - 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-11-05 15:27:45,573 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.18': '0'}} with 2025-11-05 15:27:45,573 - INFO - Initial checks done. Running the testcase now 2025-11-05 15:27:45,573 - INFO - 2025-11-05 15:27:46,230 - DEBUG - Response for create_network : {'network': {'id': '6bc0c305-2997-4965-9fe5-170667d92d11', 'name': 'ctest-vn-30888785', 'tenant_id': '50a69607de48449c888144fc2c6e665b', 'project_id': '50a69607de48449c888144fc2c6e665b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-76491625', 'ctest-vn-30888785'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 15:27:46,368 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e798117-39e4-4576-8f5c-c78fcde3e129', 'name': '', 'tenant_id': '50a69607de48449c888144fc2c6e665b', 'network_id': '6bc0c305-2997-4965-9fe5-170667d92d11', 'ip_version': 4, 'cidr': '23.51.111.64/26', 'allocation_pools': [{'start': '23.51.111.66', 'end': '23.51.111.126'}], 'gateway_ip': '23.51.111.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.51.111.66', 'tags': [], 'project_id': '50a69607de48449c888144fc2c6e665b'}} 2025-11-05 15:27:46,383 - INFO - Created VN ctest-vn-30888785 2025-11-05 15:27:46,436 - DEBUG - VN ctest-vn-30888785 UUID is 6bc0c305-2997-4965-9fe5-170667d92d11 2025-11-05 15:27:46,534 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-76491625', 'ctest-vmi-31817545']} 2025-11-05 15:27:46,788 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-31817545', 'id': 'cc71bfe3-e979-447a-95e3-495b4edaa5a0', 'tenant_id': '50a69607de48449c888144fc2c6e665b', 'network_id': '6bc0c305-2997-4965-9fe5-170667d92d11', 'mac_address': '02:cc:71:bf:e3:e9', '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': '23.51.111.67', 'subnet_id': '5e798117-39e4-4576-8f5c-c78fcde3e129'}], 'security_groups': ['626f230b-3bfd-4ac8-844c-d2ac8f54109f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50a69607de48449c888144fc2c6e665b'}} 2025-11-05 15:27:46,788 - DEBUG - Created port cc71bfe3-e979-447a-95e3-495b4edaa5a0 2025-11-05 15:27:46,892 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cc71bfe3-e979-447a-95e3-495b4edaa5a0 2025-11-05 15:27:47,180 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cc71bfe3-e979-447a-95e3-495b4edaa5a0 2025-11-05 15:27:47,208 - INFO - VMI cc71bfe3-e979-447a-95e3-495b4edaa5a0 verification in API Server passed 2025-11-05 15:27:47,295 - DEBUG - Response for delete_port : () 2025-11-05 15:27:47,295 - INFO - Deleted port cc71bfe3-e979-447a-95e3-495b4edaa5a0 2025-11-05 15:27:47,295 - INFO - Deleting VN ctest-vn-30888785 2025-11-05 15:27:47,386 - DEBUG - Response for deleting network () 2025-11-05 15:27:47,640 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 15:27:47,640 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-05 15:27:47,640 - INFO - -------------------------------------------------------------------------------- 2025-11-05 15:27:47,642 - INFO - ================================================================================ 2025-11-05 15:27:47,643 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-05 15:27:47,643 - 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-11-05 15:27:47,934 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.18': '0'}} with 2025-11-05 15:27:47,934 - INFO - Initial checks done. Running the testcase now 2025-11-05 15:27:47,934 - INFO - 2025-11-05 15:27:48,094 - DEBUG - Response for create_network : {'network': {'id': 'e60ac008-5c1d-4657-a45d-2d179c186304', 'name': 'ctest-vn1-53628026', 'tenant_id': '50a69607de48449c888144fc2c6e665b', 'project_id': '50a69607de48449c888144fc2c6e665b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-76491625', 'ctest-vn1-53628026'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 15:27:48,232 - DEBUG - Response for create_subnet : {'subnet': {'id': '2737b683-7217-420e-88fc-941be692aee9', 'name': '', 'tenant_id': '50a69607de48449c888144fc2c6e665b', 'network_id': 'e60ac008-5c1d-4657-a45d-2d179c186304', 'ip_version': 4, 'cidr': '34.64.202.64/26', 'allocation_pools': [{'start': '34.64.202.66', 'end': '34.64.202.126'}], 'gateway_ip': '34.64.202.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.64.202.66', 'tags': [], 'project_id': '50a69607de48449c888144fc2c6e665b'}} 2025-11-05 15:27:48,370 - DEBUG - Response for create_subnet : {'subnet': {'id': '81e5f580-2bae-45d9-9506-9424e736f858', 'name': '', 'tenant_id': '50a69607de48449c888144fc2c6e665b', 'network_id': 'e60ac008-5c1d-4657-a45d-2d179c186304', 'ip_version': 4, 'cidr': '115.76.59.192/26', 'allocation_pools': [{'start': '115.76.59.194', 'end': '115.76.59.254'}], 'gateway_ip': '115.76.59.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.76.59.194', 'tags': [], 'project_id': '50a69607de48449c888144fc2c6e665b'}} 2025-11-05 15:27:48,390 - INFO - Created VN ctest-vn1-53628026 2025-11-05 15:27:48,440 - DEBUG - VN ctest-vn1-53628026 UUID is e60ac008-5c1d-4657-a45d-2d179c186304 2025-11-05 15:27:48,725 - DEBUG - Response for create_port : {'port': {'name': '4d2b6091-5885-4c0a-86fc-243bf9f6f02d', 'id': '4d2b6091-5885-4c0a-86fc-243bf9f6f02d', 'tenant_id': '50a69607de48449c888144fc2c6e665b', 'network_id': 'e60ac008-5c1d-4657-a45d-2d179c186304', 'mac_address': '02:4d:2b:60:91:58', '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': '34.64.202.69', 'subnet_id': '2737b683-7217-420e-88fc-941be692aee9'}], 'security_groups': ['626f230b-3bfd-4ac8-844c-d2ac8f54109f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50a69607de48449c888144fc2c6e665b'}} 2025-11-05 15:27:48,884 - DEBUG - Response for create_port : {'port': {'name': '429638aa-6d39-476e-b01f-3b9d1dce5d3a', 'id': '429638aa-6d39-476e-b01f-3b9d1dce5d3a', 'tenant_id': '50a69607de48449c888144fc2c6e665b', 'network_id': 'e60ac008-5c1d-4657-a45d-2d179c186304', 'mac_address': '02:42:96:38:aa:6d', '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': '115.76.59.197', 'subnet_id': '81e5f580-2bae-45d9-9506-9424e736f858'}], 'security_groups': ['626f230b-3bfd-4ac8-844c-d2ac8f54109f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50a69607de48449c888144fc2c6e665b'}} 2025-11-05 15:27:48,936 - DEBUG - Services list from nova: [, , ] 2025-11-05 15:27:49,252 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4644-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4644-1) 2025-11-05 15:27:49,630 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4644-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4644-1) 2025-11-05 15:27:49,631 - INFO - Waiting for VM ctest-vn1-vm1-68331193 to be up.. 2025-11-05 15:27:49,667 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 15:27:54,734 - DEBUG - VM is in ACTIVE state now 2025-11-05 15:27:54,734 - INFO - VM name : ctest-vn1-vm1-68331193 2025-11-05 15:27:54,799 - DEBUG - VM ctest-vn1-vm1-68331193 ID is 52f118bf-7bee-4f0f-9134-241496acb95f 2025-11-05 15:27:54,817 - DEBUG - VM ctest-vn1-vm1-68331193 launched on Node cn-jenkins-deploy-platform-ansible-os-4644-1 2025-11-05 15:27:54,880 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/52f118bf-7bee-4f0f-9134-241496acb95f 2025-11-05 15:27:54,888 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4d2b6091-5885-4c0a-86fc-243bf9f6f02d 2025-11-05 15:27:58,129 - 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 1011ms') 2025-11-05 15:27:58,129 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-68331193 failed! 2025-11-05 15:27:58,184 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-76491625:ctest-vn1-53628026 is 34.64.202.65 and allocation pool is NOT set 2025-11-05 15:27:58,184 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-76491625:ctest-vn1-53628026 is 115.76.59.193 and allocation pool is NOT set 2025-11-05 15:28:00,246 - 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=6.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.55 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.550/4.404/6.259/1.854 ms') 2025-11-05 15:28:00,246 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-68331193 passed 2025-11-05 15:28:00,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 15:28:00,392 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-68331193, IP 34.64.202.69, Port 22 2025-11-05 15:28:00,556 - DEBUG - VM ctest-vn1-vm1-68331193 is ready for SSH connections 2025-11-05 15:28:00,556 - INFO - Waiting for VM ctest-vn1-vm2-44083563 to be up.. 2025-11-05 15:28:00,628 - DEBUG - VM is in ACTIVE state now 2025-11-05 15:28:00,628 - INFO - VM name : ctest-vn1-vm2-44083563 2025-11-05 15:28:00,709 - DEBUG - VM ctest-vn1-vm2-44083563 ID is cb49215b-ea5e-4a50-a3e1-865a10a7625d 2025-11-05 15:28:00,709 - DEBUG - VM ctest-vn1-vm2-44083563 launched on Node cn-jenkins-deploy-platform-ansible-os-4644-1 2025-11-05 15:28:00,776 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/cb49215b-ea5e-4a50-a3e1-865a10a7625d 2025-11-05 15:28:00,784 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/429638aa-6d39-476e-b01f-3b9d1dce5d3a 2025-11-05 15:28:02,008 - 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.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.688 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.688/2.013/3.339/1.325 ms') 2025-11-05 15:28:02,008 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-44083563 passed 2025-11-05 15:28:02,156 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 15:28:02,156 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-44083563, IP 115.76.59.197, Port 22 2025-11-05 15:28:02,316 - DEBUG - VM ctest-vn1-vm2-44083563 is ready for SSH connections 2025-11-05 15:28:02,316 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 15:28:02,316 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 15:28:02,316 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 15:28:02,316 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.64.202.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-05 15:28:02,316 - DEBUG - ping -s 56 -c 3 -W 1 34.64.202.69 2025-11-05 15:28:04,961 - DEBUG - PING 34.64.202.69 (34.64.202.69): 56 data bytes 64 bytes from 34.64.202.69: seq=0 ttl=63 time=3.478 ms 64 bytes from 34.64.202.69: seq=1 ttl=63 time=0.789 ms 64 bytes from 34.64.202.69: seq=2 ttl=63 time=0.855 ms --- 34.64.202.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.789/1.707/3.478 ms 2025-11-05 15:28:04,961 - INFO - Ping to IP 34.64.202.69 from VM ctest-vn1-vm2-44083563 passed 2025-11-05 15:28:04,961 - INFO - Detaching port 429638aa-6d39-476e-b01f-3b9d1dce5d3a from VM ctest-vn1-vm2-44083563 2025-11-05 15:28:05,005 - INFO - Deleting VM ctest-vn1-vm2-44083563 2025-11-05 15:28:05,065 - INFO - Detaching port 4d2b6091-5885-4c0a-86fc-243bf9f6f02d from VM ctest-vn1-vm1-68331193 2025-11-05 15:28:05,101 - INFO - Deleting VM ctest-vn1-vm1-68331193 2025-11-05 15:28:05,391 - DEBUG - Response for delete_port : () 2025-11-05 15:28:05,557 - DEBUG - Response for delete_port : () 2025-11-05 15:28:05,558 - INFO - Deleting VN ctest-vn1-53628026 2025-11-05 15:28:05,696 - DEBUG - Response for deleting network () 2025-11-05 15:28:05,949 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 15:28:05,949 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-11-05 15:28:05,949 - INFO - -------------------------------------------------------------------------------- 2025-11-05 15:28:06,598 - INFO - Deleted project: ctest-TestPorts-76491625, ID : 50a69607-de48-449c-8881-44fc2c6e665b