2025-10-09 10:15:17,935 - INFO - Domain Default found not creating 2025-10-09 10:15:18,106 - INFO - Project ctest-TestPorts-94067165 not found, creating it 2025-10-09 10:15:18,538 - INFO - Created Project:ctest-TestPorts-94067165, ID : 563a9eda-0b10-4d97-8d0c-2aab899e6d69 2025-10-09 10:15:19,854 - INFO - ================================================================================ 2025-10-09 10:15:19,854 - INFO - STARTING TEST : test_ports_bindings 2025-10-09 10:15:19,854 - 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-09 10:15:20,110 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-09 10:15:20,110 - INFO - Initial checks done. Running the testcase now 2025-10-09 10:15:20,110 - INFO - 2025-10-09 10:15:20,640 - DEBUG - Response for create_network : {'network': {'id': 'b212423a-e602-42f3-9d92-3b1a9f43dcca', 'name': 'ctest-vn-38819984', 'tenant_id': '563a9eda0b104d978d0c2aab899e6d69', 'project_id': '563a9eda0b104d978d0c2aab899e6d69', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94067165', 'ctest-vn-38819984'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 10:15:20,775 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f5e0b7ed-9ea5-471a-85f7-fb090ed5771a', 'name': '', 'tenant_id': '563a9eda0b104d978d0c2aab899e6d69', 'network_id': 'b212423a-e602-42f3-9d92-3b1a9f43dcca', 'ip_version': 4, 'cidr': '163.175.163.0/26', 'allocation_pools': [{'start': '163.175.163.2', 'end': '163.175.163.62'}], 'gateway_ip': '163.175.163.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.175.163.2', 'tags': [], 'project_id': '563a9eda0b104d978d0c2aab899e6d69'}} 2025-10-09 10:15:20,791 - INFO - Created VN ctest-vn-38819984 2025-10-09 10:15:20,839 - DEBUG - VN ctest-vn-38819984 UUID is b212423a-e602-42f3-9d92-3b1a9f43dcca 2025-10-09 10:15:20,936 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-94067165', 'ctest-vmi-84505166']} 2025-10-09 10:15:21,198 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-84505166', 'id': '04b25783-4151-45f6-b350-a75987b83049', 'tenant_id': '563a9eda0b104d978d0c2aab899e6d69', 'network_id': 'b212423a-e602-42f3-9d92-3b1a9f43dcca', 'mac_address': '02:04:b2:57:83:41', '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': '163.175.163.3', 'subnet_id': 'f5e0b7ed-9ea5-471a-85f7-fb090ed5771a'}], 'security_groups': ['1cbe7873-c2c0-41a1-b9ff-7b69d381e90c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '563a9eda0b104d978d0c2aab899e6d69'}} 2025-10-09 10:15:21,198 - DEBUG - Created port 04b25783-4151-45f6-b350-a75987b83049 2025-10-09 10:15:21,304 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/04b25783-4151-45f6-b350-a75987b83049 2025-10-09 10:15:21,766 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/04b25783-4151-45f6-b350-a75987b83049 2025-10-09 10:15:21,805 - INFO - VMI 04b25783-4151-45f6-b350-a75987b83049 verification in API Server passed 2025-10-09 10:15:21,890 - DEBUG - Response for delete_port : () 2025-10-09 10:15:21,890 - INFO - Deleted port 04b25783-4151-45f6-b350-a75987b83049 2025-10-09 10:15:21,890 - INFO - Deleting VN ctest-vn-38819984 2025-10-09 10:15:21,983 - DEBUG - Response for deleting network () 2025-10-09 10:15:22,239 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 10:15:22,239 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-09 10:15:22,239 - INFO - -------------------------------------------------------------------------------- 2025-10-09 10:15:22,242 - INFO - ================================================================================ 2025-10-09 10:15:22,242 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-09 10:15:22,242 - 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-09 10:15:22,528 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-09 10:15:22,528 - INFO - Initial checks done. Running the testcase now 2025-10-09 10:15:22,528 - INFO - 2025-10-09 10:15:22,693 - DEBUG - Response for create_network : {'network': {'id': 'a115a0c1-a111-40ed-bc88-5200b5be692a', 'name': 'ctest-vn1-27921504', 'tenant_id': '563a9eda0b104d978d0c2aab899e6d69', 'project_id': '563a9eda0b104d978d0c2aab899e6d69', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94067165', 'ctest-vn1-27921504'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 10:15:22,841 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8f97e3c-ecf8-408f-a533-f978efb6124c', 'name': '', 'tenant_id': '563a9eda0b104d978d0c2aab899e6d69', 'network_id': 'a115a0c1-a111-40ed-bc88-5200b5be692a', 'ip_version': 4, 'cidr': '68.97.153.0/26', 'allocation_pools': [{'start': '68.97.153.2', 'end': '68.97.153.62'}], 'gateway_ip': '68.97.153.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.97.153.2', 'tags': [], 'project_id': '563a9eda0b104d978d0c2aab899e6d69'}} 2025-10-09 10:15:22,987 - DEBUG - Response for create_subnet : {'subnet': {'id': '27cb4656-4070-424a-b718-032913bbf830', 'name': '', 'tenant_id': '563a9eda0b104d978d0c2aab899e6d69', 'network_id': 'a115a0c1-a111-40ed-bc88-5200b5be692a', 'ip_version': 4, 'cidr': '199.123.244.128/26', 'allocation_pools': [{'start': '199.123.244.130', 'end': '199.123.244.190'}], 'gateway_ip': '199.123.244.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.123.244.130', 'tags': [], 'project_id': '563a9eda0b104d978d0c2aab899e6d69'}} 2025-10-09 10:15:23,003 - INFO - Created VN ctest-vn1-27921504 2025-10-09 10:15:23,059 - DEBUG - VN ctest-vn1-27921504 UUID is a115a0c1-a111-40ed-bc88-5200b5be692a 2025-10-09 10:15:23,340 - DEBUG - Response for create_port : {'port': {'name': '0b87bebd-c4fb-41b5-9247-3ad0d4636f4b', 'id': '0b87bebd-c4fb-41b5-9247-3ad0d4636f4b', 'tenant_id': '563a9eda0b104d978d0c2aab899e6d69', 'network_id': 'a115a0c1-a111-40ed-bc88-5200b5be692a', 'mac_address': '02:0b:87:be:bd:c4', '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': '68.97.153.5', 'subnet_id': 'a8f97e3c-ecf8-408f-a533-f978efb6124c'}], 'security_groups': ['1cbe7873-c2c0-41a1-b9ff-7b69d381e90c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '563a9eda0b104d978d0c2aab899e6d69'}} 2025-10-09 10:15:23,505 - DEBUG - Response for create_port : {'port': {'name': 'f099251f-ccd1-4841-b02f-2cabe0698059', 'id': 'f099251f-ccd1-4841-b02f-2cabe0698059', 'tenant_id': '563a9eda0b104d978d0c2aab899e6d69', 'network_id': 'a115a0c1-a111-40ed-bc88-5200b5be692a', 'mac_address': '02:f0:99:25:1f:cc', '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': '199.123.244.133', 'subnet_id': '27cb4656-4070-424a-b718-032913bbf830'}], 'security_groups': ['1cbe7873-c2c0-41a1-b9ff-7b69d381e90c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '563a9eda0b104d978d0c2aab899e6d69'}} 2025-10-09 10:15:23,560 - DEBUG - Services list from nova: [, , ] 2025-10-09 10:15:23,882 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4257-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4257-1) 2025-10-09 10:15:24,230 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4257-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4257-1) 2025-10-09 10:15:24,230 - INFO - Waiting for VM ctest-vn1-vm1-87219754 to be up.. 2025-10-09 10:15:24,266 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 10:15:29,334 - DEBUG - VM is in ACTIVE state now 2025-10-09 10:15:29,334 - INFO - VM name : ctest-vn1-vm1-87219754 2025-10-09 10:15:29,398 - DEBUG - VM ctest-vn1-vm1-87219754 ID is cee52921-3bca-4a72-8614-6a830ad28d2f 2025-10-09 10:15:29,415 - DEBUG - VM ctest-vn1-vm1-87219754 launched on Node cn-jenkins-deploy-platform-ansible-os-4257-1 2025-10-09 10:15:29,476 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cee52921-3bca-4a72-8614-6a830ad28d2f 2025-10-09 10:15:29,483 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0b87bebd-c4fb-41b5-9247-3ad0d4636f4b 2025-10-09 10:15:32,719 - 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 1004ms') 2025-10-09 10:15:32,720 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-87219754 failed! 2025-10-09 10:15:32,772 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94067165:ctest-vn1-27921504 is 68.97.153.1 and allocation pool is NOT set 2025-10-09 10:15:32,772 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94067165:ctest-vn1-27921504 is 199.123.244.129 and allocation pool is NOT set 2025-10-09 10:15:34,835 - 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=4.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.22 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.215/3.114/4.014/0.899 ms') 2025-10-09 10:15:34,836 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-87219754 passed 2025-10-09 10:15:34,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:15:34,984 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-87219754, IP 68.97.153.5, Port 22 2025-10-09 10:15:35,151 - DEBUG - VM ctest-vn1-vm1-87219754 is ready for SSH connections 2025-10-09 10:15:35,151 - INFO - Waiting for VM ctest-vn1-vm2-93590121 to be up.. 2025-10-09 10:15:35,226 - DEBUG - VM is in ACTIVE state now 2025-10-09 10:15:35,226 - INFO - VM name : ctest-vn1-vm2-93590121 2025-10-09 10:15:35,302 - DEBUG - VM ctest-vn1-vm2-93590121 ID is ef362874-7647-4eef-a762-7461c7381e8d 2025-10-09 10:15:35,302 - DEBUG - VM ctest-vn1-vm2-93590121 launched on Node cn-jenkins-deploy-platform-ansible-os-4257-1 2025-10-09 10:15:35,507 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ef362874-7647-4eef-a762-7461c7381e8d 2025-10-09 10:15:35,516 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f099251f-ccd1-4841-b02f-2cabe0698059 2025-10-09 10:15:36,749 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.372 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.372/1.548/2.724/1.176 ms') 2025-10-09 10:15:36,749 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-93590121 passed 2025-10-09 10:15:36,895 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:15:36,896 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-93590121, IP 199.123.244.133, Port 22 2025-10-09 10:15:37,047 - DEBUG - VM ctest-vn1-vm2-93590121 is ready for SSH connections 2025-10-09 10:15:37,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:15:37,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:15:37,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:15:37,047 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.97.153.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-09 10:15:37,047 - DEBUG - ping -s 56 -c 3 -W 1 68.97.153.5 2025-10-09 10:15:40,029 - DEBUG - PING 68.97.153.5 (68.97.153.5): 56 data bytes 64 bytes from 68.97.153.5: seq=0 ttl=63 time=3.834 ms 64 bytes from 68.97.153.5: seq=1 ttl=63 time=0.886 ms 64 bytes from 68.97.153.5: seq=2 ttl=63 time=0.827 ms --- 68.97.153.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.827/1.849/3.834 ms 2025-10-09 10:15:40,029 - INFO - Ping to IP 68.97.153.5 from VM ctest-vn1-vm2-93590121 passed 2025-10-09 10:15:40,029 - INFO - Detaching port f099251f-ccd1-4841-b02f-2cabe0698059 from VM ctest-vn1-vm2-93590121 2025-10-09 10:15:40,073 - INFO - Deleting VM ctest-vn1-vm2-93590121 2025-10-09 10:15:40,135 - INFO - Detaching port 0b87bebd-c4fb-41b5-9247-3ad0d4636f4b from VM ctest-vn1-vm1-87219754 2025-10-09 10:15:40,166 - INFO - Deleting VM ctest-vn1-vm1-87219754 2025-10-09 10:15:40,396 - DEBUG - Response for delete_port : () 2025-10-09 10:15:40,561 - DEBUG - Response for delete_port : () 2025-10-09 10:15:40,561 - INFO - Deleting VN ctest-vn1-27921504 2025-10-09 10:15:40,672 - DEBUG - Response for deleting network () 2025-10-09 10:15:40,924 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 10:15:40,925 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-10-09 10:15:40,925 - INFO - -------------------------------------------------------------------------------- 2025-10-09 10:15:41,581 - INFO - Deleted project: ctest-TestPorts-94067165, ID : 563a9eda-0b10-4d97-8d0c-2aab899e6d69