2025-07-23 14:55:18,030 - INFO - Domain Default found not creating 2025-07-23 14:55:18,197 - INFO - Project ctest-TestPorts-81102161 not found, creating it 2025-07-23 14:55:18,715 - INFO - Created Project:ctest-TestPorts-81102161, ID : 9fdcaeee-a2ca-4f0c-8045-0022566e5455 2025-07-23 14:55:20,258 - INFO - ================================================================================ 2025-07-23 14:55:20,258 - INFO - STARTING TEST : test_ports_bindings 2025-07-23 14:55:20,258 - 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-07-23 14:55:20,524 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.25': '0'}} with 2025-07-23 14:55:20,524 - INFO - Initial checks done. Running the testcase now 2025-07-23 14:55:20,524 - INFO - 2025-07-23 14:55:21,121 - DEBUG - Response for create_network : {'network': {'id': 'b971b2ec-d0ab-4913-8966-cf5efc5fc3da', 'name': 'ctest-vn-95486799', 'tenant_id': '9fdcaeeea2ca4f0c80450022566e5455', 'project_id': '9fdcaeeea2ca4f0c80450022566e5455', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-81102161', 'ctest-vn-95486799'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 14:55:21,308 - DEBUG - Response for create_subnet : {'subnet': {'id': '2dd37981-d9eb-406d-a0ba-a442dd992ad7', 'name': '', 'tenant_id': '9fdcaeeea2ca4f0c80450022566e5455', 'network_id': 'b971b2ec-d0ab-4913-8966-cf5efc5fc3da', 'ip_version': 4, 'cidr': '116.104.45.0/26', 'allocation_pools': [{'start': '116.104.45.2', 'end': '116.104.45.62'}], 'gateway_ip': '116.104.45.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.104.45.2', 'tags': [], 'project_id': '9fdcaeeea2ca4f0c80450022566e5455'}} 2025-07-23 14:55:21,332 - INFO - Created VN ctest-vn-95486799 2025-07-23 14:55:21,389 - DEBUG - VN ctest-vn-95486799 UUID is b971b2ec-d0ab-4913-8966-cf5efc5fc3da 2025-07-23 14:55:21,505 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-81102161', 'ctest-vmi-78373672']} 2025-07-23 14:55:21,820 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-78373672', 'id': 'c870da7b-9b6e-4aea-9064-a43d64e8ec50', 'tenant_id': '9fdcaeeea2ca4f0c80450022566e5455', 'network_id': 'b971b2ec-d0ab-4913-8966-cf5efc5fc3da', 'mac_address': '02:c8:70:da:7b:9b', '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': '116.104.45.3', 'subnet_id': '2dd37981-d9eb-406d-a0ba-a442dd992ad7'}], 'security_groups': ['1766e423-bfdc-48e6-86b5-e48b0d355f94'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9fdcaeeea2ca4f0c80450022566e5455'}} 2025-07-23 14:55:21,820 - DEBUG - Created port c870da7b-9b6e-4aea-9064-a43d64e8ec50 2025-07-23 14:55:21,933 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/c870da7b-9b6e-4aea-9064-a43d64e8ec50 2025-07-23 14:55:22,264 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/c870da7b-9b6e-4aea-9064-a43d64e8ec50 2025-07-23 14:55:22,321 - INFO - VMI c870da7b-9b6e-4aea-9064-a43d64e8ec50 verification in API Server passed 2025-07-23 14:55:22,442 - DEBUG - Response for delete_port : () 2025-07-23 14:55:22,442 - INFO - Deleted port c870da7b-9b6e-4aea-9064-a43d64e8ec50 2025-07-23 14:55:22,442 - INFO - Deleting VN ctest-vn-95486799 2025-07-23 14:55:22,583 - DEBUG - Response for deleting network () 2025-07-23 14:55:22,840 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 14:55:22,840 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-07-23 14:55:22,840 - INFO - -------------------------------------------------------------------------------- 2025-07-23 14:55:22,842 - INFO - ================================================================================ 2025-07-23 14:55:22,843 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-07-23 14:55:22,843 - 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-07-23 14:55:23,139 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.25': '0'}} with 2025-07-23 14:55:23,139 - INFO - Initial checks done. Running the testcase now 2025-07-23 14:55:23,139 - INFO - 2025-07-23 14:55:23,351 - DEBUG - Response for create_network : {'network': {'id': '0f67acc1-81c8-4ab0-a597-56358c2b8f43', 'name': 'ctest-vn1-31735684', 'tenant_id': '9fdcaeeea2ca4f0c80450022566e5455', 'project_id': '9fdcaeeea2ca4f0c80450022566e5455', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-81102161', 'ctest-vn1-31735684'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 14:55:23,595 - DEBUG - Response for create_subnet : {'subnet': {'id': '249ef2c4-8fe6-4222-beec-8b8bdcdd181f', 'name': '', 'tenant_id': '9fdcaeeea2ca4f0c80450022566e5455', 'network_id': '0f67acc1-81c8-4ab0-a597-56358c2b8f43', 'ip_version': 4, 'cidr': '94.50.26.0/26', 'allocation_pools': [{'start': '94.50.26.2', 'end': '94.50.26.62'}], 'gateway_ip': '94.50.26.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.50.26.2', 'tags': [], 'project_id': '9fdcaeeea2ca4f0c80450022566e5455'}} 2025-07-23 14:55:23,763 - DEBUG - Response for create_subnet : {'subnet': {'id': '699c3984-8cae-4a93-9fd3-29a4a10375ff', 'name': '', 'tenant_id': '9fdcaeeea2ca4f0c80450022566e5455', 'network_id': '0f67acc1-81c8-4ab0-a597-56358c2b8f43', 'ip_version': 4, 'cidr': '69.96.230.0/26', 'allocation_pools': [{'start': '69.96.230.2', 'end': '69.96.230.62'}], 'gateway_ip': '69.96.230.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.96.230.2', 'tags': [], 'project_id': '9fdcaeeea2ca4f0c80450022566e5455'}} 2025-07-23 14:55:23,785 - INFO - Created VN ctest-vn1-31735684 2025-07-23 14:55:23,837 - DEBUG - VN ctest-vn1-31735684 UUID is 0f67acc1-81c8-4ab0-a597-56358c2b8f43 2025-07-23 14:55:24,176 - DEBUG - Response for create_port : {'port': {'name': 'da10dac2-4719-4fc0-8a3c-bea2239905d3', 'id': 'da10dac2-4719-4fc0-8a3c-bea2239905d3', 'tenant_id': '9fdcaeeea2ca4f0c80450022566e5455', 'network_id': '0f67acc1-81c8-4ab0-a597-56358c2b8f43', 'mac_address': '02:da:10:da:c2:47', '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': '94.50.26.5', 'subnet_id': '249ef2c4-8fe6-4222-beec-8b8bdcdd181f'}], 'security_groups': ['1766e423-bfdc-48e6-86b5-e48b0d355f94'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9fdcaeeea2ca4f0c80450022566e5455'}} 2025-07-23 14:55:24,389 - DEBUG - Response for create_port : {'port': {'name': 'd0f878bd-82f9-4c24-bd7c-b608c2f39ee6', 'id': 'd0f878bd-82f9-4c24-bd7c-b608c2f39ee6', 'tenant_id': '9fdcaeeea2ca4f0c80450022566e5455', 'network_id': '0f67acc1-81c8-4ab0-a597-56358c2b8f43', 'mac_address': '02:d0:f8:78:bd:82', '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': '69.96.230.5', 'subnet_id': '699c3984-8cae-4a93-9fd3-29a4a10375ff'}], 'security_groups': ['1766e423-bfdc-48e6-86b5-e48b0d355f94'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9fdcaeeea2ca4f0c80450022566e5455'}} 2025-07-23 14:55:24,452 - DEBUG - Services list from nova: [, , ] 2025-07-23 14:55:24,839 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3705-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3705-1) 2025-07-23 14:55:25,267 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3705-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3705-1) 2025-07-23 14:55:25,267 - INFO - Waiting for VM ctest-vn1-vm1-91371385 to be up.. 2025-07-23 14:55:25,310 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-23 14:55:30,405 - DEBUG - VM is in ACTIVE state now 2025-07-23 14:55:30,405 - INFO - VM name : ctest-vn1-vm1-91371385 2025-07-23 14:55:30,486 - DEBUG - VM ctest-vn1-vm1-91371385 ID is 38827509-a804-42c2-ad78-f5ff6f45b143 2025-07-23 14:55:30,505 - DEBUG - VM ctest-vn1-vm1-91371385 launched on Node cn-jenkins-deploy-platform-ansible-os-3705-1 2025-07-23 14:55:30,588 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/38827509-a804-42c2-ad78-f5ff6f45b143 2025-07-23 14:55:30,599 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/da10dac2-4719-4fc0-8a3c-bea2239905d3 2025-07-23 14:55:33,870 - 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-07-23 14:55:33,870 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-91371385 failed! 2025-07-23 14:55:33,929 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-81102161:ctest-vn1-31735684 is 94.50.26.1 and allocation pool is NOT set 2025-07-23 14:55:33,929 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-81102161:ctest-vn1-31735684 is 69.96.230.1 and allocation pool is NOT set 2025-07-23 14:55:37,996 - 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=6.73 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1005ms\r\nrtt min/avg/max/mdev = 6.734/6.734/6.734/0.000 ms') 2025-07-23 14:55:37,997 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-91371385 passed 2025-07-23 14:55:38,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 14:55:38,157 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-91371385, IP 94.50.26.5, Port 22 2025-07-23 14:55:38,313 - DEBUG - VM ctest-vn1-vm1-91371385 is ready for SSH connections 2025-07-23 14:55:38,313 - INFO - Waiting for VM ctest-vn1-vm2-46443574 to be up.. 2025-07-23 14:55:38,391 - DEBUG - VM is in ACTIVE state now 2025-07-23 14:55:38,392 - INFO - VM name : ctest-vn1-vm2-46443574 2025-07-23 14:55:38,474 - DEBUG - VM ctest-vn1-vm2-46443574 ID is f4c823ae-af28-41d9-a799-1d61230de18f 2025-07-23 14:55:38,474 - DEBUG - VM ctest-vn1-vm2-46443574 launched on Node cn-jenkins-deploy-platform-ansible-os-3705-1 2025-07-23 14:55:38,559 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/f4c823ae-af28-41d9-a799-1d61230de18f 2025-07-23 14:55:38,569 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/d0f878bd-82f9-4c24-bd7c-b608c2f39ee6 2025-07-23 14:55:39,821 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.364 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.364/1.714/3.064/1.350 ms') 2025-07-23 14:55:39,821 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-46443574 passed 2025-07-23 14:55:39,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 14:55:39,977 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-46443574, IP 69.96.230.5, Port 22 2025-07-23 14:55:40,132 - DEBUG - VM ctest-vn1-vm2-46443574 is ready for SSH connections 2025-07-23 14:55:40,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 14:55:40,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 14:55:40,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 14:55:40,133 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.50.26.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-07-23 14:55:40,133 - DEBUG - ping -s 56 -c 3 -W 1 94.50.26.5 2025-07-23 14:55:43,119 - DEBUG - PING 94.50.26.5 (94.50.26.5): 56 data bytes 64 bytes from 94.50.26.5: seq=0 ttl=63 time=3.530 ms 64 bytes from 94.50.26.5: seq=1 ttl=63 time=1.185 ms 64 bytes from 94.50.26.5: seq=2 ttl=63 time=0.924 ms --- 94.50.26.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.924/1.879/3.530 ms 2025-07-23 14:55:43,119 - INFO - Ping to IP 94.50.26.5 from VM ctest-vn1-vm2-46443574 passed 2025-07-23 14:55:43,119 - INFO - Detaching port d0f878bd-82f9-4c24-bd7c-b608c2f39ee6 from VM ctest-vn1-vm2-46443574 2025-07-23 14:55:43,180 - INFO - Deleting VM ctest-vn1-vm2-46443574 2025-07-23 14:55:43,252 - INFO - Detaching port da10dac2-4719-4fc0-8a3c-bea2239905d3 from VM ctest-vn1-vm1-91371385 2025-07-23 14:55:43,291 - INFO - Deleting VM ctest-vn1-vm1-91371385 2025-07-23 14:55:43,547 - DEBUG - Response for delete_port : () 2025-07-23 14:55:43,751 - DEBUG - Response for delete_port : () 2025-07-23 14:55:43,751 - INFO - Deleting VN ctest-vn1-31735684 2025-07-23 14:55:43,921 - DEBUG - Response for deleting network () 2025-07-23 14:55:44,181 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 14:55:44,181 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22]
2025-07-23 14:55:44,181 - INFO - -------------------------------------------------------------------------------- 2025-07-23 14:55:44,897 - INFO - Deleted project: ctest-TestPorts-81102161, ID : 9fdcaeee-a2ca-4f0c-8045-0022566e5455