2025-11-20 01:53:12,496 - INFO - Domain Default found not creating 2025-11-20 01:53:12,652 - INFO - Project ctest-TestPorts-51272590 not found, creating it 2025-11-20 01:53:13,271 - INFO - Created Project:ctest-TestPorts-51272590, ID : ca73847b-3ef1-4705-9703-6747fcbd8bbf 2025-11-20 01:53:14,750 - INFO - ================================================================================ 2025-11-20 01:53:14,750 - INFO - STARTING TEST : test_ports_bindings 2025-11-20 01:53:14,751 - 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-20 01:53:15,008 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.192': '0'}} with 2025-11-20 01:53:15,008 - INFO - Initial checks done. Running the testcase now 2025-11-20 01:53:15,008 - INFO - 2025-11-20 01:53:15,560 - DEBUG - Response for create_network : {'network': {'id': '8834c548-d244-4456-9a95-cb43da75fb4f', 'name': 'ctest-vn-19407828', 'tenant_id': 'ca73847b3ef1470597036747fcbd8bbf', 'project_id': 'ca73847b3ef1470597036747fcbd8bbf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-51272590', 'ctest-vn-19407828'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 01:53:15,831 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb804672-f719-4e2b-9930-4b3674c0c6d6', 'name': '', 'tenant_id': 'ca73847b3ef1470597036747fcbd8bbf', 'network_id': '8834c548-d244-4456-9a95-cb43da75fb4f', 'ip_version': 4, 'cidr': '136.163.223.128/26', 'allocation_pools': [{'start': '136.163.223.130', 'end': '136.163.223.190'}], 'gateway_ip': '136.163.223.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.163.223.130', 'tags': [], 'project_id': 'ca73847b3ef1470597036747fcbd8bbf'}} 2025-11-20 01:53:15,846 - INFO - Created VN ctest-vn-19407828 2025-11-20 01:53:15,895 - DEBUG - VN ctest-vn-19407828 UUID is 8834c548-d244-4456-9a95-cb43da75fb4f 2025-11-20 01:53:15,996 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-51272590', 'ctest-vmi-24302439']} 2025-11-20 01:53:16,256 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-24302439', 'id': 'a1d9e079-d2b0-4030-81c7-b17ed89b31a6', 'tenant_id': 'ca73847b3ef1470597036747fcbd8bbf', 'network_id': '8834c548-d244-4456-9a95-cb43da75fb4f', 'mac_address': '02:a1:d9:e0:79:d2', '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': '136.163.223.131', 'subnet_id': 'cb804672-f719-4e2b-9930-4b3674c0c6d6'}], 'security_groups': ['9fdddea0-948a-4443-8f3b-56478d467318'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ca73847b3ef1470597036747fcbd8bbf'}} 2025-11-20 01:53:16,257 - DEBUG - Created port a1d9e079-d2b0-4030-81c7-b17ed89b31a6 2025-11-20 01:53:16,358 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/a1d9e079-d2b0-4030-81c7-b17ed89b31a6 2025-11-20 01:53:16,649 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/a1d9e079-d2b0-4030-81c7-b17ed89b31a6 2025-11-20 01:53:16,682 - INFO - VMI a1d9e079-d2b0-4030-81c7-b17ed89b31a6 verification in API Server passed 2025-11-20 01:53:16,768 - DEBUG - Response for delete_port : () 2025-11-20 01:53:16,768 - INFO - Deleted port a1d9e079-d2b0-4030-81c7-b17ed89b31a6 2025-11-20 01:53:16,769 - INFO - Deleting VN ctest-vn-19407828 2025-11-20 01:53:16,860 - DEBUG - Response for deleting network () 2025-11-20 01:53:17,119 - DEBUG - No XMPP flaps were noticed during the test
2025-11-20 01:53:17,119 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-20 01:53:17,119 - INFO - -------------------------------------------------------------------------------- 2025-11-20 01:53:17,122 - INFO - ================================================================================ 2025-11-20 01:53:17,122 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-20 01:53:17,122 - 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-20 01:53:17,415 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.192': '0'}} with 2025-11-20 01:53:17,415 - INFO - Initial checks done. Running the testcase now 2025-11-20 01:53:17,415 - INFO - 2025-11-20 01:53:17,578 - DEBUG - Response for create_network : {'network': {'id': '72c022da-41a6-4db7-ae7e-463de90c8cd3', 'name': 'ctest-vn1-42159218', 'tenant_id': 'ca73847b3ef1470597036747fcbd8bbf', 'project_id': 'ca73847b3ef1470597036747fcbd8bbf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-51272590', 'ctest-vn1-42159218'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 01:53:17,733 - DEBUG - Response for create_subnet : {'subnet': {'id': '49c50542-94e7-4071-ae18-bdcc6f70093b', 'name': '', 'tenant_id': 'ca73847b3ef1470597036747fcbd8bbf', 'network_id': '72c022da-41a6-4db7-ae7e-463de90c8cd3', 'ip_version': 4, 'cidr': '85.238.160.0/26', 'allocation_pools': [{'start': '85.238.160.2', 'end': '85.238.160.62'}], 'gateway_ip': '85.238.160.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.238.160.2', 'tags': [], 'project_id': 'ca73847b3ef1470597036747fcbd8bbf'}} 2025-11-20 01:53:17,925 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c8b1e8a1-f14f-4875-80a2-942c7daeaa1d', 'name': '', 'tenant_id': 'ca73847b3ef1470597036747fcbd8bbf', 'network_id': '72c022da-41a6-4db7-ae7e-463de90c8cd3', 'ip_version': 4, 'cidr': '52.173.33.0/26', 'allocation_pools': [{'start': '52.173.33.2', 'end': '52.173.33.62'}], 'gateway_ip': '52.173.33.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.173.33.2', 'tags': [], 'project_id': 'ca73847b3ef1470597036747fcbd8bbf'}} 2025-11-20 01:53:17,943 - INFO - Created VN ctest-vn1-42159218 2025-11-20 01:53:17,994 - DEBUG - VN ctest-vn1-42159218 UUID is 72c022da-41a6-4db7-ae7e-463de90c8cd3 2025-11-20 01:53:18,291 - DEBUG - Response for create_port : {'port': {'name': 'dd3ee412-30d4-420a-af4a-d5f0c52f1dad', 'id': 'dd3ee412-30d4-420a-af4a-d5f0c52f1dad', 'tenant_id': 'ca73847b3ef1470597036747fcbd8bbf', 'network_id': '72c022da-41a6-4db7-ae7e-463de90c8cd3', 'mac_address': '02:dd:3e:e4:12:30', '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': '85.238.160.5', 'subnet_id': '49c50542-94e7-4071-ae18-bdcc6f70093b'}], 'security_groups': ['9fdddea0-948a-4443-8f3b-56478d467318'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ca73847b3ef1470597036747fcbd8bbf'}} 2025-11-20 01:53:18,469 - DEBUG - Response for create_port : {'port': {'name': 'eafe3e15-0e6a-42eb-bdb8-ba5138b7b235', 'id': 'eafe3e15-0e6a-42eb-bdb8-ba5138b7b235', 'tenant_id': 'ca73847b3ef1470597036747fcbd8bbf', 'network_id': '72c022da-41a6-4db7-ae7e-463de90c8cd3', 'mac_address': '02:ea:fe:3e:15:0e', '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': '52.173.33.5', 'subnet_id': 'c8b1e8a1-f14f-4875-80a2-942c7daeaa1d'}], 'security_groups': ['9fdddea0-948a-4443-8f3b-56478d467318'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ca73847b3ef1470597036747fcbd8bbf'}} 2025-11-20 01:53:18,522 - DEBUG - Services list from nova: [, , ] 2025-11-20 01:53:18,840 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4769-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4769-1) 2025-11-20 01:53:19,230 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4769-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4769-1) 2025-11-20 01:53:19,230 - INFO - Waiting for VM ctest-vn1-vm1-61316460 to be up.. 2025-11-20 01:53:19,272 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 01:53:24,352 - DEBUG - VM is in ACTIVE state now 2025-11-20 01:53:24,352 - INFO - VM name : ctest-vn1-vm1-61316460 2025-11-20 01:53:24,420 - DEBUG - VM ctest-vn1-vm1-61316460 ID is ad02c1ec-55dd-4199-aaf0-cf2d83ca55cd 2025-11-20 01:53:24,438 - DEBUG - VM ctest-vn1-vm1-61316460 launched on Node cn-jenkins-deploy-platform-ansible-os-4769-1 2025-11-20 01:53:24,507 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/ad02c1ec-55dd-4199-aaf0-cf2d83ca55cd 2025-11-20 01:53:24,515 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/dd3ee412-30d4-420a-af4a-d5f0c52f1dad 2025-11-20 01:53:27,773 - 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-11-20 01:53:27,773 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61316460 failed! 2025-11-20 01:53:27,826 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-51272590:ctest-vn1-42159218 is 85.238.160.1 and allocation pool is NOT set 2025-11-20 01:53:27,827 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-51272590:ctest-vn1-42159218 is 52.173.33.1 and allocation pool is NOT set 2025-11-20 01:53:29,894 - 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=9.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.82 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.815/5.710/9.606/3.895 ms') 2025-11-20 01:53:29,894 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61316460 passed 2025-11-20 01:53:30,050 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:53:30,051 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-61316460, IP 85.238.160.5, Port 22 2025-11-20 01:53:30,220 - DEBUG - VM ctest-vn1-vm1-61316460 is ready for SSH connections 2025-11-20 01:53:30,220 - INFO - Waiting for VM ctest-vn1-vm2-79771953 to be up.. 2025-11-20 01:53:30,296 - DEBUG - VM is in ACTIVE state now 2025-11-20 01:53:30,296 - INFO - VM name : ctest-vn1-vm2-79771953 2025-11-20 01:53:30,365 - DEBUG - VM ctest-vn1-vm2-79771953 ID is dc2c13d2-f626-4951-b0a4-df41224196f8 2025-11-20 01:53:30,365 - DEBUG - VM ctest-vn1-vm2-79771953 launched on Node cn-jenkins-deploy-platform-ansible-os-4769-1 2025-11-20 01:53:30,434 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/dc2c13d2-f626-4951-b0a4-df41224196f8 2025-11-20 01:53:30,442 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/eafe3e15-0e6a-42eb-bdb8-ba5138b7b235 2025-11-20 01:53:31,679 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.447 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.447/1.993/3.539/1.546 ms') 2025-11-20 01:53:31,679 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-79771953 passed 2025-11-20 01:53:31,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:53:31,827 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-79771953, IP 52.173.33.5, Port 22 2025-11-20 01:53:31,982 - DEBUG - VM ctest-vn1-vm2-79771953 is ready for SSH connections 2025-11-20 01:53:31,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:53:31,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:53:31,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:53:31,982 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.238.160.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-20 01:53:31,982 - DEBUG - ping -s 56 -c 3 -W 1 85.238.160.5 2025-11-20 01:53:34,762 - DEBUG - PING 85.238.160.5 (85.238.160.5): 56 data bytes 64 bytes from 85.238.160.5: seq=0 ttl=63 time=4.304 ms 64 bytes from 85.238.160.5: seq=1 ttl=63 time=0.971 ms 64 bytes from 85.238.160.5: seq=2 ttl=63 time=0.993 ms --- 85.238.160.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.971/2.089/4.304 ms 2025-11-20 01:53:34,762 - INFO - Ping to IP 85.238.160.5 from VM ctest-vn1-vm2-79771953 passed 2025-11-20 01:53:34,763 - INFO - Detaching port eafe3e15-0e6a-42eb-bdb8-ba5138b7b235 from VM ctest-vn1-vm2-79771953 2025-11-20 01:53:34,812 - INFO - Deleting VM ctest-vn1-vm2-79771953 2025-11-20 01:53:34,874 - INFO - Detaching port dd3ee412-30d4-420a-af4a-d5f0c52f1dad from VM ctest-vn1-vm1-61316460 2025-11-20 01:53:34,904 - INFO - Deleting VM ctest-vn1-vm1-61316460 2025-11-20 01:53:35,127 - DEBUG - Response for delete_port : () 2025-11-20 01:53:35,277 - DEBUG - Response for delete_port : () 2025-11-20 01:53:35,277 - INFO - Deleting VN ctest-vn1-42159218 2025-11-20 01:53:35,396 - DEBUG - Response for deleting network () 2025-11-20 01:53:35,653 - DEBUG - No XMPP flaps were noticed during the test
2025-11-20 01:53:35,653 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-11-20 01:53:35,653 - INFO - -------------------------------------------------------------------------------- 2025-11-20 01:53:36,344 - INFO - Deleted project: ctest-TestPorts-51272590, ID : ca73847b-3ef1-4705-9703-6747fcbd8bbf