2025-10-27 17:31:53,015 - INFO - Domain Default found not creating 2025-10-27 17:31:53,171 - INFO - Project ctest-TestPorts-83721176 not found, creating it 2025-10-27 17:31:53,614 - INFO - Created Project:ctest-TestPorts-83721176, ID : c3e7aebd-027f-4f87-82dc-723fd289b000 2025-10-27 17:31:55,055 - INFO - ================================================================================ 2025-10-27 17:31:55,055 - INFO - STARTING TEST : test_ports_bindings 2025-10-27 17:31:55,055 - 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 17:31:55,311 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-10-27 17:31:55,311 - INFO - Initial checks done. Running the testcase now 2025-10-27 17:31:55,311 - INFO - 2025-10-27 17:31:55,861 - DEBUG - Response for create_network : {'network': {'id': '73ebdd2c-069e-4180-b980-548c19e621ce', 'name': 'ctest-vn-71099355', 'tenant_id': 'c3e7aebd027f4f8782dc723fd289b000', 'project_id': 'c3e7aebd027f4f8782dc723fd289b000', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-83721176', 'ctest-vn-71099355'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 17:31:56,062 - DEBUG - Response for create_subnet : {'subnet': {'id': '41bd26ca-8176-41b5-a859-e56495c23a33', 'name': '', 'tenant_id': 'c3e7aebd027f4f8782dc723fd289b000', 'network_id': '73ebdd2c-069e-4180-b980-548c19e621ce', 'ip_version': 4, 'cidr': '197.30.236.128/26', 'allocation_pools': [{'start': '197.30.236.130', 'end': '197.30.236.190'}], 'gateway_ip': '197.30.236.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.30.236.130', 'tags': [], 'project_id': 'c3e7aebd027f4f8782dc723fd289b000'}} 2025-10-27 17:31:56,082 - INFO - Created VN ctest-vn-71099355 2025-10-27 17:31:56,141 - DEBUG - VN ctest-vn-71099355 UUID is 73ebdd2c-069e-4180-b980-548c19e621ce 2025-10-27 17:31:56,261 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-83721176', 'ctest-vmi-12110492']} 2025-10-27 17:31:56,502 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-12110492', 'id': '0071f19d-12a0-4b72-a285-851f67942013', 'tenant_id': 'c3e7aebd027f4f8782dc723fd289b000', 'network_id': '73ebdd2c-069e-4180-b980-548c19e621ce', 'mac_address': '02:00:71:f1:9d: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': '197.30.236.131', 'subnet_id': '41bd26ca-8176-41b5-a859-e56495c23a33'}], 'security_groups': ['3c18ca64-f95d-4905-96e1-d393699298d7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c3e7aebd027f4f8782dc723fd289b000'}} 2025-10-27 17:31:56,502 - DEBUG - Created port 0071f19d-12a0-4b72-a285-851f67942013 2025-10-27 17:31:56,609 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/0071f19d-12a0-4b72-a285-851f67942013 2025-10-27 17:31:56,913 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/0071f19d-12a0-4b72-a285-851f67942013 2025-10-27 17:31:56,954 - INFO - VMI 0071f19d-12a0-4b72-a285-851f67942013 verification in API Server passed 2025-10-27 17:31:57,051 - DEBUG - Response for delete_port : () 2025-10-27 17:31:57,051 - INFO - Deleted port 0071f19d-12a0-4b72-a285-851f67942013 2025-10-27 17:31:57,051 - INFO - Deleting VN ctest-vn-71099355 2025-10-27 17:31:57,182 - DEBUG - Response for deleting network () 2025-10-27 17:31:57,438 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 17:31:57,438 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-27 17:31:57,438 - INFO - -------------------------------------------------------------------------------- 2025-10-27 17:31:57,441 - INFO - ================================================================================ 2025-10-27 17:31:57,441 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-27 17:31:57,441 - 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 17:31:57,726 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-10-27 17:31:57,726 - INFO - Initial checks done. Running the testcase now 2025-10-27 17:31:57,726 - INFO - 2025-10-27 17:31:57,906 - DEBUG - Response for create_network : {'network': {'id': '1a4a5d6f-b197-414c-8693-97b364d245cd', 'name': 'ctest-vn1-68765338', 'tenant_id': 'c3e7aebd027f4f8782dc723fd289b000', 'project_id': 'c3e7aebd027f4f8782dc723fd289b000', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-83721176', 'ctest-vn1-68765338'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 17:31:58,105 - DEBUG - Response for create_subnet : {'subnet': {'id': '16b08f0c-9023-46aa-865e-eb9dd63518eb', 'name': '', 'tenant_id': 'c3e7aebd027f4f8782dc723fd289b000', 'network_id': '1a4a5d6f-b197-414c-8693-97b364d245cd', 'ip_version': 4, 'cidr': '101.14.16.64/26', 'allocation_pools': [{'start': '101.14.16.66', 'end': '101.14.16.126'}], 'gateway_ip': '101.14.16.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.14.16.66', 'tags': [], 'project_id': 'c3e7aebd027f4f8782dc723fd289b000'}} 2025-10-27 17:31:58,252 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c25ce40-3693-48b3-b05d-63fbf83e0a83', 'name': '', 'tenant_id': 'c3e7aebd027f4f8782dc723fd289b000', 'network_id': '1a4a5d6f-b197-414c-8693-97b364d245cd', 'ip_version': 4, 'cidr': '96.161.131.64/26', 'allocation_pools': [{'start': '96.161.131.66', 'end': '96.161.131.126'}], 'gateway_ip': '96.161.131.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.161.131.66', 'tags': [], 'project_id': 'c3e7aebd027f4f8782dc723fd289b000'}} 2025-10-27 17:31:58,273 - INFO - Created VN ctest-vn1-68765338 2025-10-27 17:31:58,325 - DEBUG - VN ctest-vn1-68765338 UUID is 1a4a5d6f-b197-414c-8693-97b364d245cd 2025-10-27 17:31:58,640 - DEBUG - Response for create_port : {'port': {'name': 'c809256c-f000-4a29-8819-aa5c0313f54c', 'id': 'c809256c-f000-4a29-8819-aa5c0313f54c', 'tenant_id': 'c3e7aebd027f4f8782dc723fd289b000', 'network_id': '1a4a5d6f-b197-414c-8693-97b364d245cd', 'mac_address': '02:c8:09:25:6c:f0', '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': '101.14.16.69', 'subnet_id': '16b08f0c-9023-46aa-865e-eb9dd63518eb'}], 'security_groups': ['3c18ca64-f95d-4905-96e1-d393699298d7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c3e7aebd027f4f8782dc723fd289b000'}} 2025-10-27 17:31:58,799 - DEBUG - Response for create_port : {'port': {'name': 'a98918b2-711b-4ce6-8d27-2018b12265f8', 'id': 'a98918b2-711b-4ce6-8d27-2018b12265f8', 'tenant_id': 'c3e7aebd027f4f8782dc723fd289b000', 'network_id': '1a4a5d6f-b197-414c-8693-97b364d245cd', 'mac_address': '02:a9:89:18:b2:71', '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': '96.161.131.69', 'subnet_id': '8c25ce40-3693-48b3-b05d-63fbf83e0a83'}], 'security_groups': ['3c18ca64-f95d-4905-96e1-d393699298d7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c3e7aebd027f4f8782dc723fd289b000'}} 2025-10-27 17:31:58,870 - DEBUG - Services list from nova: [, , ] 2025-10-27 17:31:59,257 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4509-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4509-1) 2025-10-27 17:31:59,649 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4509-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4509-1) 2025-10-27 17:31:59,649 - INFO - Waiting for VM ctest-vn1-vm1-48089866 to be up.. 2025-10-27 17:31:59,692 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 17:32:04,772 - DEBUG - VM is in ACTIVE state now 2025-10-27 17:32:04,773 - INFO - VM name : ctest-vn1-vm1-48089866 2025-10-27 17:32:05,002 - DEBUG - VM ctest-vn1-vm1-48089866 ID is b3226e54-987d-405a-9109-c569e44817fc 2025-10-27 17:32:05,023 - DEBUG - VM ctest-vn1-vm1-48089866 launched on Node cn-jenkins-deploy-platform-ansible-os-4509-1 2025-10-27 17:32:05,100 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/b3226e54-987d-405a-9109-c569e44817fc 2025-10-27 17:32:05,109 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/c809256c-f000-4a29-8819-aa5c0313f54c 2025-10-27 17:32:08,351 - 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-10-27 17:32:08,351 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-48089866 failed! 2025-10-27 17:32:08,405 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-83721176:ctest-vn1-68765338 is 101.14.16.65 and allocation pool is NOT set 2025-10-27 17:32:08,405 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-83721176:ctest-vn1-68765338 is 96.161.131.65 and allocation pool is NOT set 2025-10-27 17:32:12,481 - 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=7.48 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 = 7.478/7.478/7.478/0.000 ms') 2025-10-27 17:32:12,481 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-48089866 passed 2025-10-27 17:32:12,629 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 17:32:12,629 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-48089866, IP 101.14.16.69, Port 22 2025-10-27 17:32:12,785 - DEBUG - VM ctest-vn1-vm1-48089866 is ready for SSH connections 2025-10-27 17:32:12,785 - INFO - Waiting for VM ctest-vn1-vm2-75451020 to be up.. 2025-10-27 17:32:12,868 - DEBUG - VM is in ACTIVE state now 2025-10-27 17:32:12,868 - INFO - VM name : ctest-vn1-vm2-75451020 2025-10-27 17:32:12,945 - DEBUG - VM ctest-vn1-vm2-75451020 ID is ca2e3610-eb3c-4d6e-acbd-b65593710835 2025-10-27 17:32:12,945 - DEBUG - VM ctest-vn1-vm2-75451020 launched on Node cn-jenkins-deploy-platform-ansible-os-4509-1 2025-10-27 17:32:13,021 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/ca2e3610-eb3c-4d6e-acbd-b65593710835 2025-10-27 17:32:13,031 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/a98918b2-711b-4ce6-8d27-2018b12265f8 2025-10-27 17:32:14,266 - 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=4.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.883 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.883/2.754/4.625/1.871 ms') 2025-10-27 17:32:14,266 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-75451020 passed 2025-10-27 17:32:14,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 17:32:14,417 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-75451020, IP 96.161.131.69, Port 22 2025-10-27 17:32:14,573 - DEBUG - VM ctest-vn1-vm2-75451020 is ready for SSH connections 2025-10-27 17:32:14,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 17:32:14,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 17:32:14,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 17:32:14,573 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.14.16.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 17:32:14,573 - DEBUG - ping -s 56 -c 3 -W 1 101.14.16.69 2025-10-27 17:32:17,355 - DEBUG - PING 101.14.16.69 (101.14.16.69): 56 data bytes 64 bytes from 101.14.16.69: seq=0 ttl=63 time=4.596 ms 64 bytes from 101.14.16.69: seq=1 ttl=63 time=0.872 ms 64 bytes from 101.14.16.69: seq=2 ttl=63 time=0.870 ms --- 101.14.16.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.870/2.112/4.596 ms 2025-10-27 17:32:17,356 - INFO - Ping to IP 101.14.16.69 from VM ctest-vn1-vm2-75451020 passed 2025-10-27 17:32:17,356 - INFO - Detaching port a98918b2-711b-4ce6-8d27-2018b12265f8 from VM ctest-vn1-vm2-75451020 2025-10-27 17:32:17,406 - INFO - Deleting VM ctest-vn1-vm2-75451020 2025-10-27 17:32:17,478 - INFO - Detaching port c809256c-f000-4a29-8819-aa5c0313f54c from VM ctest-vn1-vm1-48089866 2025-10-27 17:32:17,513 - INFO - Deleting VM ctest-vn1-vm1-48089866 2025-10-27 17:32:17,769 - DEBUG - Response for delete_port : () 2025-10-27 17:32:17,936 - DEBUG - Response for delete_port : () 2025-10-27 17:32:17,936 - INFO - Deleting VN ctest-vn1-68765338 2025-10-27 17:32:18,054 - DEBUG - Response for deleting network () 2025-10-27 17:32:18,306 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 17:32:18,306 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-10-27 17:32:18,306 - INFO - -------------------------------------------------------------------------------- 2025-10-27 17:32:18,979 - INFO - Deleted project: ctest-TestPorts-83721176, ID : c3e7aebd-027f-4f87-82dc-723fd289b000