2025-08-05 07:15:57,013 - INFO - Domain Default found not creating 2025-08-05 07:15:57,154 - INFO - Project ctest-TestPorts-30197522 not found, creating it 2025-08-05 07:15:57,625 - INFO - Created Project:ctest-TestPorts-30197522, ID : 56fe823f-cfcf-45d2-80aa-5ba676241ad9 2025-08-05 07:15:59,034 - INFO - ================================================================================ 2025-08-05 07:15:59,034 - INFO - STARTING TEST : test_ports_bindings 2025-08-05 07:15:59,034 - 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-08-05 07:15:59,297 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.25': '0'}} with 2025-08-05 07:15:59,297 - INFO - Initial checks done. Running the testcase now 2025-08-05 07:15:59,297 - INFO - 2025-08-05 07:16:00,063 - DEBUG - Response for create_network : {'network': {'id': '6e368833-ef22-4c0b-95a3-ae700979373d', 'name': 'ctest-vn-69525753', 'tenant_id': '56fe823fcfcf45d280aa5ba676241ad9', 'project_id': '56fe823fcfcf45d280aa5ba676241ad9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-30197522', 'ctest-vn-69525753'], 'port_security_enabled': True, 'description': ''}} 2025-08-05 07:16:00,263 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c95324a3-9afa-4d3a-86b2-ab54f424d94d', 'name': '', 'tenant_id': '56fe823fcfcf45d280aa5ba676241ad9', 'network_id': '6e368833-ef22-4c0b-95a3-ae700979373d', 'ip_version': 4, 'cidr': '38.133.254.0/26', 'allocation_pools': [{'start': '38.133.254.2', 'end': '38.133.254.62'}], 'gateway_ip': '38.133.254.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.133.254.2', 'tags': [], 'project_id': '56fe823fcfcf45d280aa5ba676241ad9'}} 2025-08-05 07:16:00,283 - INFO - Created VN ctest-vn-69525753 2025-08-05 07:16:00,337 - DEBUG - VN ctest-vn-69525753 UUID is 6e368833-ef22-4c0b-95a3-ae700979373d 2025-08-05 07:16:00,450 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-30197522', 'ctest-vmi-73011127']} 2025-08-05 07:16:00,695 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-73011127', 'id': '05999ee0-6f5f-402c-b5e5-1105f0a79f8e', 'tenant_id': '56fe823fcfcf45d280aa5ba676241ad9', 'network_id': '6e368833-ef22-4c0b-95a3-ae700979373d', 'mac_address': '02:05:99:9e:e0:6f', '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': '38.133.254.3', 'subnet_id': 'c95324a3-9afa-4d3a-86b2-ab54f424d94d'}], 'security_groups': ['177148f0-7d65-493b-baee-4c8c2d839b06'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '56fe823fcfcf45d280aa5ba676241ad9'}} 2025-08-05 07:16:00,695 - DEBUG - Created port 05999ee0-6f5f-402c-b5e5-1105f0a79f8e 2025-08-05 07:16:00,801 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/05999ee0-6f5f-402c-b5e5-1105f0a79f8e 2025-08-05 07:16:01,098 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/05999ee0-6f5f-402c-b5e5-1105f0a79f8e 2025-08-05 07:16:01,137 - INFO - VMI 05999ee0-6f5f-402c-b5e5-1105f0a79f8e verification in API Server passed 2025-08-05 07:16:01,234 - DEBUG - Response for delete_port : () 2025-08-05 07:16:01,234 - INFO - Deleted port 05999ee0-6f5f-402c-b5e5-1105f0a79f8e 2025-08-05 07:16:01,235 - INFO - Deleting VN ctest-vn-69525753 2025-08-05 07:16:01,365 - DEBUG - Response for deleting network () 2025-08-05 07:16:01,624 - DEBUG - No XMPP flaps were noticed during the test
2025-08-05 07:16:01,624 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-05 07:16:01,624 - INFO - -------------------------------------------------------------------------------- 2025-08-05 07:16:01,627 - INFO - ================================================================================ 2025-08-05 07:16:01,627 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-05 07:16:01,627 - 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-08-05 07:16:01,912 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.25': '0'}} with 2025-08-05 07:16:01,912 - INFO - Initial checks done. Running the testcase now 2025-08-05 07:16:01,912 - INFO - 2025-08-05 07:16:02,104 - DEBUG - Response for create_network : {'network': {'id': '5effabc1-45d3-49ba-b2e9-16ee49a41813', 'name': 'ctest-vn1-01704130', 'tenant_id': '56fe823fcfcf45d280aa5ba676241ad9', 'project_id': '56fe823fcfcf45d280aa5ba676241ad9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-30197522', 'ctest-vn1-01704130'], 'port_security_enabled': True, 'description': ''}} 2025-08-05 07:16:02,274 - DEBUG - Response for create_subnet : {'subnet': {'id': '47fc0ded-dec6-42a1-91cf-a10a8c647d9b', 'name': '', 'tenant_id': '56fe823fcfcf45d280aa5ba676241ad9', 'network_id': '5effabc1-45d3-49ba-b2e9-16ee49a41813', 'ip_version': 4, 'cidr': '183.129.228.192/26', 'allocation_pools': [{'start': '183.129.228.194', 'end': '183.129.228.254'}], 'gateway_ip': '183.129.228.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.129.228.194', 'tags': [], 'project_id': '56fe823fcfcf45d280aa5ba676241ad9'}} 2025-08-05 07:16:02,491 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf8e5164-f938-4907-9da6-351986238b4d', 'name': '', 'tenant_id': '56fe823fcfcf45d280aa5ba676241ad9', 'network_id': '5effabc1-45d3-49ba-b2e9-16ee49a41813', 'ip_version': 4, 'cidr': '102.78.223.192/26', 'allocation_pools': [{'start': '102.78.223.194', 'end': '102.78.223.254'}], 'gateway_ip': '102.78.223.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.78.223.194', 'tags': [], 'project_id': '56fe823fcfcf45d280aa5ba676241ad9'}} 2025-08-05 07:16:02,512 - INFO - Created VN ctest-vn1-01704130 2025-08-05 07:16:02,569 - DEBUG - VN ctest-vn1-01704130 UUID is 5effabc1-45d3-49ba-b2e9-16ee49a41813 2025-08-05 07:16:02,890 - DEBUG - Response for create_port : {'port': {'name': '23991029-69a2-455a-8963-5386915ab2e2', 'id': '23991029-69a2-455a-8963-5386915ab2e2', 'tenant_id': '56fe823fcfcf45d280aa5ba676241ad9', 'network_id': '5effabc1-45d3-49ba-b2e9-16ee49a41813', 'mac_address': '02:23:99:10:29:69', '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': '183.129.228.197', 'subnet_id': '47fc0ded-dec6-42a1-91cf-a10a8c647d9b'}], 'security_groups': ['177148f0-7d65-493b-baee-4c8c2d839b06'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '56fe823fcfcf45d280aa5ba676241ad9'}} 2025-08-05 07:16:03,059 - DEBUG - Response for create_port : {'port': {'name': 'f341da6f-fb7b-4d51-bf1a-3e0ae6893e28', 'id': 'f341da6f-fb7b-4d51-bf1a-3e0ae6893e28', 'tenant_id': '56fe823fcfcf45d280aa5ba676241ad9', 'network_id': '5effabc1-45d3-49ba-b2e9-16ee49a41813', 'mac_address': '02:f3:41:da:6f:fb', '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': '102.78.223.197', 'subnet_id': 'cf8e5164-f938-4907-9da6-351986238b4d'}], 'security_groups': ['177148f0-7d65-493b-baee-4c8c2d839b06'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '56fe823fcfcf45d280aa5ba676241ad9'}} 2025-08-05 07:16:03,112 - DEBUG - Services list from nova: [, , ] 2025-08-05 07:16:03,423 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3757-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3757-1) 2025-08-05 07:16:03,804 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3757-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3757-1) 2025-08-05 07:16:03,804 - INFO - Waiting for VM ctest-vn1-vm1-84163755 to be up.. 2025-08-05 07:16:03,980 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-05 07:16:09,056 - DEBUG - VM is in ACTIVE state now 2025-08-05 07:16:09,056 - INFO - VM name : ctest-vn1-vm1-84163755 2025-08-05 07:16:09,134 - DEBUG - VM ctest-vn1-vm1-84163755 ID is 0297f2a2-4db7-45d4-9c83-747c1a035d5b 2025-08-05 07:16:09,156 - DEBUG - VM ctest-vn1-vm1-84163755 launched on Node cn-jenkins-deploy-platform-ansible-os-3757-1 2025-08-05 07:16:09,228 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/0297f2a2-4db7-45d4-9c83-747c1a035d5b 2025-08-05 07:16:09,237 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/23991029-69a2-455a-8963-5386915ab2e2 2025-08-05 07:16:12,503 - 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 1023ms') 2025-08-05 07:16:12,503 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84163755 failed! 2025-08-05 07:16:12,561 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-30197522:ctest-vn1-01704130 is 183.129.228.193 and allocation pool is NOT set 2025-08-05 07:16:12,561 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-30197522:ctest-vn1-01704130 is 102.78.223.193 and allocation pool is NOT set 2025-08-05 07:16:14,623 - 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=6.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.70 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 = 3.704/5.129/6.555/1.425 ms') 2025-08-05 07:16:14,623 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84163755 passed 2025-08-05 07:16:14,785 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-05 07:16:14,785 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84163755, IP 183.129.228.197, Port 22 2025-08-05 07:16:14,941 - DEBUG - VM ctest-vn1-vm1-84163755 is ready for SSH connections 2025-08-05 07:16:14,941 - INFO - Waiting for VM ctest-vn1-vm2-61105818 to be up.. 2025-08-05 07:16:15,031 - DEBUG - VM is in ACTIVE state now 2025-08-05 07:16:15,031 - INFO - VM name : ctest-vn1-vm2-61105818 2025-08-05 07:16:15,119 - DEBUG - VM ctest-vn1-vm2-61105818 ID is 860cc573-8383-46b5-84d2-de0c9095f6f5 2025-08-05 07:16:15,120 - DEBUG - VM ctest-vn1-vm2-61105818 launched on Node cn-jenkins-deploy-platform-ansible-os-3757-1 2025-08-05 07:16:15,195 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/860cc573-8383-46b5-84d2-de0c9095f6f5 2025-08-05 07:16:15,207 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/f341da6f-fb7b-4d51-bf1a-3e0ae6893e28 2025-08-05 07:16:16,455 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.430 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.430/2.004/3.578/1.574 ms') 2025-08-05 07:16:16,455 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-61105818 passed 2025-08-05 07:16:16,613 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-05 07:16:16,613 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-61105818, IP 102.78.223.197, Port 22 2025-08-05 07:16:16,765 - DEBUG - VM ctest-vn1-vm2-61105818 is ready for SSH connections 2025-08-05 07:16:16,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-05 07:16:16,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-05 07:16:16,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-05 07:16:16,765 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.129.228.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-05 07:16:16,765 - DEBUG - ping -s 56 -c 3 -W 1 183.129.228.197 2025-08-05 07:16:19,769 - DEBUG - PING 183.129.228.197 (183.129.228.197): 56 data bytes 64 bytes from 183.129.228.197: seq=0 ttl=63 time=4.433 ms 64 bytes from 183.129.228.197: seq=1 ttl=63 time=0.859 ms 64 bytes from 183.129.228.197: seq=2 ttl=63 time=0.828 ms --- 183.129.228.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.828/2.040/4.433 ms 2025-08-05 07:16:19,769 - INFO - Ping to IP 183.129.228.197 from VM ctest-vn1-vm2-61105818 passed 2025-08-05 07:16:19,769 - INFO - Detaching port f341da6f-fb7b-4d51-bf1a-3e0ae6893e28 from VM ctest-vn1-vm2-61105818 2025-08-05 07:16:19,819 - INFO - Deleting VM ctest-vn1-vm2-61105818 2025-08-05 07:16:19,894 - INFO - Detaching port 23991029-69a2-455a-8963-5386915ab2e2 from VM ctest-vn1-vm1-84163755 2025-08-05 07:16:19,934 - INFO - Deleting VM ctest-vn1-vm1-84163755 2025-08-05 07:16:20,159 - DEBUG - Response for delete_port : () 2025-08-05 07:16:20,345 - DEBUG - Response for delete_port : () 2025-08-05 07:16:20,345 - INFO - Deleting VN ctest-vn1-01704130 2025-08-05 07:16:20,517 - DEBUG - Response for deleting network () 2025-08-05 07:16:20,781 - DEBUG - No XMPP flaps were noticed during the test
2025-08-05 07:16:20,781 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-08-05 07:16:20,781 - INFO - -------------------------------------------------------------------------------- 2025-08-05 07:16:21,471 - INFO - Deleted project: ctest-TestPorts-30197522, ID : 56fe823f-cfcf-45d2-80aa-5ba676241ad9