2025-12-11 17:39:00,374 - INFO - Domain Default found not creating 2025-12-11 17:39:00,625 - INFO - Project ctest-TestPorts-63702835 not found, creating it 2025-12-11 17:39:01,195 - INFO - Created Project:ctest-TestPorts-63702835, ID : afc93be7-c40c-4df8-b02c-f5da80ebcacc 2025-12-11 17:39:02,867 - INFO - ================================================================================ 2025-12-11 17:39:02,867 - INFO - STARTING TEST : test_ports_bindings 2025-12-11 17:39:02,867 - 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-12-11 17:39:03,141 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.14': '0'}} with 2025-12-11 17:39:03,141 - INFO - Initial checks done. Running the testcase now 2025-12-11 17:39:03,141 - INFO - 2025-12-11 17:39:03,744 - DEBUG - Response for create_network : {'network': {'id': '60e3fe76-079b-4738-94af-81aa17f01364', 'name': 'ctest-vn-50920249', 'tenant_id': 'afc93be7c40c4df8b02cf5da80ebcacc', 'project_id': 'afc93be7c40c4df8b02cf5da80ebcacc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-63702835', 'ctest-vn-50920249'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 17:39:03,943 - DEBUG - Response for create_subnet : {'subnet': {'id': '7814419f-c28b-4227-9132-8e0ef7f7ca5f', 'name': '', 'tenant_id': 'afc93be7c40c4df8b02cf5da80ebcacc', 'network_id': '60e3fe76-079b-4738-94af-81aa17f01364', 'ip_version': 4, 'cidr': '202.123.109.128/26', 'allocation_pools': [{'start': '202.123.109.130', 'end': '202.123.109.190'}], 'gateway_ip': '202.123.109.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.123.109.130', 'tags': [], 'project_id': 'afc93be7c40c4df8b02cf5da80ebcacc'}} 2025-12-11 17:39:03,963 - INFO - Created VN ctest-vn-50920249 2025-12-11 17:39:04,013 - DEBUG - VN ctest-vn-50920249 UUID is 60e3fe76-079b-4738-94af-81aa17f01364 2025-12-11 17:39:04,128 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-63702835', 'ctest-vmi-56936677']} 2025-12-11 17:39:04,394 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-56936677', 'id': '7cfe2834-0a7e-4004-9633-36390a9a2a66', 'tenant_id': 'afc93be7c40c4df8b02cf5da80ebcacc', 'network_id': '60e3fe76-079b-4738-94af-81aa17f01364', 'mac_address': '02:7c:fe:28:34:0a', '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': '202.123.109.131', 'subnet_id': '7814419f-c28b-4227-9132-8e0ef7f7ca5f'}], 'security_groups': ['11fe9d5d-1bf7-4718-a1dd-12723f7ba71c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'afc93be7c40c4df8b02cf5da80ebcacc'}} 2025-12-11 17:39:04,394 - DEBUG - Created port 7cfe2834-0a7e-4004-9633-36390a9a2a66 2025-12-11 17:39:04,501 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/7cfe2834-0a7e-4004-9633-36390a9a2a66 2025-12-11 17:39:04,811 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/7cfe2834-0a7e-4004-9633-36390a9a2a66 2025-12-11 17:39:04,864 - INFO - VMI 7cfe2834-0a7e-4004-9633-36390a9a2a66 verification in API Server passed 2025-12-11 17:39:04,985 - DEBUG - Response for delete_port : () 2025-12-11 17:39:04,985 - INFO - Deleted port 7cfe2834-0a7e-4004-9633-36390a9a2a66 2025-12-11 17:39:04,985 - INFO - Deleting VN ctest-vn-50920249 2025-12-11 17:39:05,115 - DEBUG - Response for deleting network () 2025-12-11 17:39:05,388 - DEBUG - No XMPP flaps were noticed during the test 2025-12-11 17:39:05,388 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-12-11 17:39:05,388 - INFO - -------------------------------------------------------------------------------- 2025-12-11 17:39:05,392 - INFO - ================================================================================ 2025-12-11 17:39:05,392 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-11 17:39:05,392 - 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-12-11 17:39:05,682 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.14': '0'}} with 2025-12-11 17:39:05,682 - INFO - Initial checks done. Running the testcase now 2025-12-11 17:39:05,682 - INFO - 2025-12-11 17:39:05,916 - DEBUG - Response for create_network : {'network': {'id': 'ee358078-8b4d-4d2c-87ac-fcedd83c109a', 'name': 'ctest-vn1-83330588', 'tenant_id': 'afc93be7c40c4df8b02cf5da80ebcacc', 'project_id': 'afc93be7c40c4df8b02cf5da80ebcacc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-63702835', 'ctest-vn1-83330588'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 17:39:06,134 - DEBUG - Response for create_subnet : {'subnet': {'id': '667765a9-035d-410e-8294-08faf29784ae', 'name': '', 'tenant_id': 'afc93be7c40c4df8b02cf5da80ebcacc', 'network_id': 'ee358078-8b4d-4d2c-87ac-fcedd83c109a', 'ip_version': 4, 'cidr': '190.59.189.128/26', 'allocation_pools': [{'start': '190.59.189.130', 'end': '190.59.189.190'}], 'gateway_ip': '190.59.189.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.59.189.130', 'tags': [], 'project_id': 'afc93be7c40c4df8b02cf5da80ebcacc'}} 2025-12-11 17:39:06,377 - DEBUG - Response for create_subnet : {'subnet': {'id': '37e331b7-51f9-4a46-893d-a6746c64db99', 'name': '', 'tenant_id': 'afc93be7c40c4df8b02cf5da80ebcacc', 'network_id': 'ee358078-8b4d-4d2c-87ac-fcedd83c109a', 'ip_version': 4, 'cidr': '193.4.147.128/26', 'allocation_pools': [{'start': '193.4.147.130', 'end': '193.4.147.190'}], 'gateway_ip': '193.4.147.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.4.147.130', 'tags': [], 'project_id': 'afc93be7c40c4df8b02cf5da80ebcacc'}} 2025-12-11 17:39:06,409 - INFO - Created VN ctest-vn1-83330588 2025-12-11 17:39:06,473 - DEBUG - VN ctest-vn1-83330588 UUID is ee358078-8b4d-4d2c-87ac-fcedd83c109a 2025-12-11 17:39:06,914 - DEBUG - Response for create_port : {'port': {'name': '457da739-6848-4bef-a9b4-6d5cb749231b', 'id': '457da739-6848-4bef-a9b4-6d5cb749231b', 'tenant_id': 'afc93be7c40c4df8b02cf5da80ebcacc', 'network_id': 'ee358078-8b4d-4d2c-87ac-fcedd83c109a', 'mac_address': '02:45:7d:a7:39:68', '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': '190.59.189.133', 'subnet_id': '667765a9-035d-410e-8294-08faf29784ae'}], 'security_groups': ['11fe9d5d-1bf7-4718-a1dd-12723f7ba71c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'afc93be7c40c4df8b02cf5da80ebcacc'}} 2025-12-11 17:39:07,157 - DEBUG - Response for create_port : {'port': {'name': '4a4efa5d-9763-45bc-a1db-dcb4f5ca3c47', 'id': '4a4efa5d-9763-45bc-a1db-dcb4f5ca3c47', 'tenant_id': 'afc93be7c40c4df8b02cf5da80ebcacc', 'network_id': 'ee358078-8b4d-4d2c-87ac-fcedd83c109a', 'mac_address': '02:4a:4e:fa:5d: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': '193.4.147.133', 'subnet_id': '37e331b7-51f9-4a46-893d-a6746c64db99'}], 'security_groups': ['11fe9d5d-1bf7-4718-a1dd-12723f7ba71c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'afc93be7c40c4df8b02cf5da80ebcacc'}} 2025-12-11 17:39:07,260 - DEBUG - Services list from nova: [, , ] 2025-12-11 17:39:07,759 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4889-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4889-1) 2025-12-11 17:39:08,258 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4889-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4889-1) 2025-12-11 17:39:08,258 - INFO - Waiting for VM ctest-vn1-vm1-94003303 to be up.. 2025-12-11 17:39:08,307 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-11 17:39:13,426 - DEBUG - VM is in ACTIVE state now 2025-12-11 17:39:13,426 - INFO - VM name : ctest-vn1-vm1-94003303 2025-12-11 17:39:13,525 - DEBUG - VM ctest-vn1-vm1-94003303 ID is a8ebcbed-88dc-4084-9560-78498388e9da 2025-12-11 17:39:13,562 - DEBUG - VM ctest-vn1-vm1-94003303 launched on Node cn-jenkins-deploy-platform-ansible-os-4889-1 2025-12-11 17:39:13,665 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/a8ebcbed-88dc-4084-9560-78498388e9da 2025-12-11 17:39:13,678 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/457da739-6848-4bef-a9b4-6d5cb749231b 2025-12-11 17:39:16,965 - 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 1027ms') 2025-12-11 17:39:16,965 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94003303 failed! 2025-12-11 17:39:17,021 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-63702835:ctest-vn1-83330588 is 190.59.189.129 and allocation pool is NOT set 2025-12-11 17:39:17,021 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-63702835:ctest-vn1-83330588 is 193.4.147.129 and allocation pool is NOT set 2025-12-11 17:39:21,087 - 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-12-11 17:39:21,087 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94003303 failed! 2025-12-11 17:39:21,145 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-63702835:ctest-vn1-83330588 is 190.59.189.129 and allocation pool is NOT set 2025-12-11 17:39:21,146 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-63702835:ctest-vn1-83330588 is 193.4.147.129 and allocation pool is NOT set 2025-12-11 17:39:23,213 - 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.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.35 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.352/3.320/4.288/0.968 ms') 2025-12-11 17:39:23,213 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94003303 passed 2025-12-11 17:39:23,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:39:23,369 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-94003303, IP 190.59.189.133, Port 22 2025-12-11 17:39:23,535 - DEBUG - VM ctest-vn1-vm1-94003303 is ready for SSH connections 2025-12-11 17:39:23,535 - INFO - Waiting for VM ctest-vn1-vm2-09219801 to be up.. 2025-12-11 17:39:23,625 - DEBUG - VM is in ACTIVE state now 2025-12-11 17:39:23,625 - INFO - VM name : ctest-vn1-vm2-09219801 2025-12-11 17:39:23,718 - DEBUG - VM ctest-vn1-vm2-09219801 ID is c2f6ec31-082b-41b7-b215-36dafccfacb3 2025-12-11 17:39:23,718 - DEBUG - VM ctest-vn1-vm2-09219801 launched on Node cn-jenkins-deploy-platform-ansible-os-4889-1 2025-12-11 17:39:23,828 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/c2f6ec31-082b-41b7-b215-36dafccfacb3 2025-12-11 17:39:23,838 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/4a4efa5d-9763-45bc-a1db-dcb4f5ca3c47 2025-12-11 17:39:25,091 - 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.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.666 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.666/1.962/3.258/1.296 ms') 2025-12-11 17:39:25,092 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-09219801 passed 2025-12-11 17:39:25,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:39:25,245 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-09219801, IP 193.4.147.133, Port 22 2025-12-11 17:39:25,420 - DEBUG - VM ctest-vn1-vm2-09219801 is ready for SSH connections 2025-12-11 17:39:25,420 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:39:25,420 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:39:25,420 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:39:25,420 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.59.189.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-12-11 17:39:25,420 - DEBUG - ping -s 56 -c 3 -W 1 190.59.189.133 2025-12-11 17:39:28,194 - DEBUG - PING 190.59.189.133 (190.59.189.133): 56 data bytes 64 bytes from 190.59.189.133: seq=0 ttl=63 time=3.894 ms 64 bytes from 190.59.189.133: seq=1 ttl=63 time=1.360 ms 64 bytes from 190.59.189.133: seq=2 ttl=63 time=0.873 ms --- 190.59.189.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.873/2.042/3.894 ms 2025-12-11 17:39:28,194 - INFO - Ping to IP 190.59.189.133 from VM ctest-vn1-vm2-09219801 passed 2025-12-11 17:39:28,195 - INFO - Detaching port 4a4efa5d-9763-45bc-a1db-dcb4f5ca3c47 from VM ctest-vn1-vm2-09219801 2025-12-11 17:39:28,258 - INFO - Deleting VM ctest-vn1-vm2-09219801 2025-12-11 17:39:28,352 - INFO - Detaching port 457da739-6848-4bef-a9b4-6d5cb749231b from VM ctest-vn1-vm1-94003303 2025-12-11 17:39:28,409 - INFO - Deleting VM ctest-vn1-vm1-94003303 2025-12-11 17:39:28,719 - DEBUG - Response for delete_port : () 2025-12-11 17:39:28,917 - DEBUG - Response for delete_port : () 2025-12-11 17:39:28,918 - INFO - Deleting VN ctest-vn1-83330588 2025-12-11 17:39:29,110 - DEBUG - Response for deleting network () 2025-12-11 17:39:29,392 - DEBUG - No XMPP flaps were noticed during the test 2025-12-11 17:39:29,392 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-12-11 17:39:29,392 - INFO - -------------------------------------------------------------------------------- 2025-12-11 17:39:30,169 - INFO - Deleted project: ctest-TestPorts-63702835, ID : afc93be7-c40c-4df8-b02c-f5da80ebcacc