2025-10-22 07:45:07,007 - INFO - Domain Default found not creating 2025-10-22 07:45:07,174 - INFO - Project ctest-TestPorts-64366959 not found, creating it 2025-10-22 07:45:07,663 - INFO - Created Project:ctest-TestPorts-64366959, ID : 94d00459-b44f-4674-98ca-753ea51dcda4 2025-10-22 07:45:09,147 - INFO - ================================================================================ 2025-10-22 07:45:09,147 - INFO - STARTING TEST : test_ports_bindings 2025-10-22 07:45:09,147 - 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-22 07:45:09,409 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.254': '0'}} with 2025-10-22 07:45:09,409 - INFO - Initial checks done. Running the testcase now 2025-10-22 07:45:09,409 - INFO - 2025-10-22 07:45:09,994 - DEBUG - Response for create_network : {'network': {'id': 'bace8725-c875-4c7e-8700-a3ebec470734', 'name': 'ctest-vn-40040792', 'tenant_id': '94d00459b44f467498ca753ea51dcda4', 'project_id': '94d00459b44f467498ca753ea51dcda4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-64366959', 'ctest-vn-40040792'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 07:45:10,240 - DEBUG - Response for create_subnet : {'subnet': {'id': '372cfbf9-62a5-4d52-a155-26983f57a13a', 'name': '', 'tenant_id': '94d00459b44f467498ca753ea51dcda4', 'network_id': 'bace8725-c875-4c7e-8700-a3ebec470734', 'ip_version': 4, 'cidr': '70.60.85.0/26', 'allocation_pools': [{'start': '70.60.85.2', 'end': '70.60.85.62'}], 'gateway_ip': '70.60.85.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.60.85.2', 'tags': [], 'project_id': '94d00459b44f467498ca753ea51dcda4'}} 2025-10-22 07:45:10,260 - INFO - Created VN ctest-vn-40040792 2025-10-22 07:45:10,313 - DEBUG - VN ctest-vn-40040792 UUID is bace8725-c875-4c7e-8700-a3ebec470734 2025-10-22 07:45:10,423 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-64366959', 'ctest-vmi-24910099']} 2025-10-22 07:45:10,676 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-24910099', 'id': '8e174f2f-dddf-4eb5-81d6-4d3cdf5c2741', 'tenant_id': '94d00459b44f467498ca753ea51dcda4', 'network_id': 'bace8725-c875-4c7e-8700-a3ebec470734', 'mac_address': '02:8e:17:4f:2f:dd', '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': '70.60.85.3', 'subnet_id': '372cfbf9-62a5-4d52-a155-26983f57a13a'}], 'security_groups': ['368e9827-e382-4a3b-8c75-b34d585811b1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '94d00459b44f467498ca753ea51dcda4'}} 2025-10-22 07:45:10,676 - DEBUG - Created port 8e174f2f-dddf-4eb5-81d6-4d3cdf5c2741 2025-10-22 07:45:10,781 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/8e174f2f-dddf-4eb5-81d6-4d3cdf5c2741 2025-10-22 07:45:11,078 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/8e174f2f-dddf-4eb5-81d6-4d3cdf5c2741 2025-10-22 07:45:11,112 - INFO - VMI 8e174f2f-dddf-4eb5-81d6-4d3cdf5c2741 verification in API Server passed 2025-10-22 07:45:11,214 - DEBUG - Response for delete_port : () 2025-10-22 07:45:11,215 - INFO - Deleted port 8e174f2f-dddf-4eb5-81d6-4d3cdf5c2741 2025-10-22 07:45:11,215 - INFO - Deleting VN ctest-vn-40040792 2025-10-22 07:45:11,332 - DEBUG - Response for deleting network () 2025-10-22 07:45:11,587 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 07:45:11,587 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-22 07:45:11,587 - INFO - -------------------------------------------------------------------------------- 2025-10-22 07:45:11,590 - INFO - ================================================================================ 2025-10-22 07:45:11,590 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-22 07:45:11,590 - 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-22 07:45:11,879 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.254': '0'}} with 2025-10-22 07:45:11,879 - INFO - Initial checks done. Running the testcase now 2025-10-22 07:45:11,879 - INFO - 2025-10-22 07:45:12,068 - DEBUG - Response for create_network : {'network': {'id': '9e3f5af1-18f4-404a-899a-a1b1dfb978c0', 'name': 'ctest-vn1-49912286', 'tenant_id': '94d00459b44f467498ca753ea51dcda4', 'project_id': '94d00459b44f467498ca753ea51dcda4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-64366959', 'ctest-vn1-49912286'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 07:45:12,267 - DEBUG - Response for create_subnet : {'subnet': {'id': '2ed9c27d-b5b0-45d1-a9b1-c70bd7b9a405', 'name': '', 'tenant_id': '94d00459b44f467498ca753ea51dcda4', 'network_id': '9e3f5af1-18f4-404a-899a-a1b1dfb978c0', 'ip_version': 4, 'cidr': '102.102.57.64/26', 'allocation_pools': [{'start': '102.102.57.66', 'end': '102.102.57.126'}], 'gateway_ip': '102.102.57.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.102.57.66', 'tags': [], 'project_id': '94d00459b44f467498ca753ea51dcda4'}} 2025-10-22 07:45:12,450 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd0d9fe1-c0b5-49ce-8d6d-dbec9d0e037a', 'name': '', 'tenant_id': '94d00459b44f467498ca753ea51dcda4', 'network_id': '9e3f5af1-18f4-404a-899a-a1b1dfb978c0', 'ip_version': 4, 'cidr': '120.129.150.128/26', 'allocation_pools': [{'start': '120.129.150.130', 'end': '120.129.150.190'}], 'gateway_ip': '120.129.150.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.129.150.130', 'tags': [], 'project_id': '94d00459b44f467498ca753ea51dcda4'}} 2025-10-22 07:45:12,486 - INFO - Created VN ctest-vn1-49912286 2025-10-22 07:45:12,541 - DEBUG - VN ctest-vn1-49912286 UUID is 9e3f5af1-18f4-404a-899a-a1b1dfb978c0 2025-10-22 07:45:12,858 - DEBUG - Response for create_port : {'port': {'name': '93ace15e-8a69-4959-814b-9b63b1bc4503', 'id': '93ace15e-8a69-4959-814b-9b63b1bc4503', 'tenant_id': '94d00459b44f467498ca753ea51dcda4', 'network_id': '9e3f5af1-18f4-404a-899a-a1b1dfb978c0', 'mac_address': '02:93:ac:e1:5e:8a', '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.102.57.69', 'subnet_id': '2ed9c27d-b5b0-45d1-a9b1-c70bd7b9a405'}], 'security_groups': ['368e9827-e382-4a3b-8c75-b34d585811b1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '94d00459b44f467498ca753ea51dcda4'}} 2025-10-22 07:45:13,040 - DEBUG - Response for create_port : {'port': {'name': 'ffde3a0e-466c-4884-a8a4-6b0a96a36726', 'id': 'ffde3a0e-466c-4884-a8a4-6b0a96a36726', 'tenant_id': '94d00459b44f467498ca753ea51dcda4', 'network_id': '9e3f5af1-18f4-404a-899a-a1b1dfb978c0', 'mac_address': '02:ff:de:3a:0e:46', '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': '120.129.150.133', 'subnet_id': 'dd0d9fe1-c0b5-49ce-8d6d-dbec9d0e037a'}], 'security_groups': ['368e9827-e382-4a3b-8c75-b34d585811b1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '94d00459b44f467498ca753ea51dcda4'}} 2025-10-22 07:45:13,106 - DEBUG - Services list from nova: [, , ] 2025-10-22 07:45:13,482 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4414-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4414-1) 2025-10-22 07:45:13,928 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4414-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4414-1) 2025-10-22 07:45:13,929 - INFO - Waiting for VM ctest-vn1-vm1-45826666 to be up.. 2025-10-22 07:45:13,974 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 07:45:19,055 - DEBUG - VM is in ACTIVE state now 2025-10-22 07:45:19,055 - INFO - VM name : ctest-vn1-vm1-45826666 2025-10-22 07:45:19,139 - DEBUG - VM ctest-vn1-vm1-45826666 ID is ac3a7b89-acd3-4e0a-a6c2-3f6243736c4e 2025-10-22 07:45:19,159 - DEBUG - VM ctest-vn1-vm1-45826666 launched on Node cn-jenkins-deploy-platform-ansible-os-4414-1 2025-10-22 07:45:19,244 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/ac3a7b89-acd3-4e0a-a6c2-3f6243736c4e 2025-10-22 07:45:19,252 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/93ace15e-8a69-4959-814b-9b63b1bc4503 2025-10-22 07:45:22,518 - 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 1026ms') 2025-10-22 07:45:22,518 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45826666 failed! 2025-10-22 07:45:22,577 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-64366959:ctest-vn1-49912286 is 102.102.57.65 and allocation pool is NOT set 2025-10-22 07:45:22,577 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-64366959:ctest-vn1-49912286 is 120.129.150.129 and allocation pool is NOT set 2025-10-22 07:45:26,641 - 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.17 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 6.174/6.174/6.174/0.000 ms') 2025-10-22 07:45:26,642 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45826666 passed 2025-10-22 07:45:26,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 07:45:26,793 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-45826666, IP 102.102.57.69, Port 22 2025-10-22 07:45:26,949 - DEBUG - VM ctest-vn1-vm1-45826666 is ready for SSH connections 2025-10-22 07:45:26,950 - INFO - Waiting for VM ctest-vn1-vm2-03422312 to be up.. 2025-10-22 07:45:27,044 - DEBUG - VM is in ACTIVE state now 2025-10-22 07:45:27,044 - INFO - VM name : ctest-vn1-vm2-03422312 2025-10-22 07:45:27,138 - DEBUG - VM ctest-vn1-vm2-03422312 ID is 3ab1021d-a283-42e1-bd9e-db68b3f1bce3 2025-10-22 07:45:27,139 - DEBUG - VM ctest-vn1-vm2-03422312 launched on Node cn-jenkins-deploy-platform-ansible-os-4414-1 2025-10-22 07:45:27,216 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/3ab1021d-a283-42e1-bd9e-db68b3f1bce3 2025-10-22 07:45:27,225 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/ffde3a0e-466c-4884-a8a4-6b0a96a36726 2025-10-22 07:45:28,469 - 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.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.477 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.477/1.746/3.016/1.269 ms') 2025-10-22 07:45:28,469 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-03422312 passed 2025-10-22 07:45:28,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 07:45:28,617 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-03422312, IP 120.129.150.133, Port 22 2025-10-22 07:45:28,777 - DEBUG - VM ctest-vn1-vm2-03422312 is ready for SSH connections 2025-10-22 07:45:28,777 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 07:45:28,777 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 07:45:28,777 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 07:45:28,777 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.102.57.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-10-22 07:45:28,777 - DEBUG - ping -s 56 -c 3 -W 1 102.102.57.69 2025-10-22 07:45:31,509 - DEBUG - PING 102.102.57.69 (102.102.57.69): 56 data bytes 64 bytes from 102.102.57.69: seq=0 ttl=63 time=5.353 ms 64 bytes from 102.102.57.69: seq=1 ttl=63 time=1.124 ms 64 bytes from 102.102.57.69: seq=2 ttl=63 time=0.814 ms --- 102.102.57.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.814/2.430/5.353 ms 2025-10-22 07:45:31,510 - INFO - Ping to IP 102.102.57.69 from VM ctest-vn1-vm2-03422312 passed 2025-10-22 07:45:31,510 - INFO - Detaching port ffde3a0e-466c-4884-a8a4-6b0a96a36726 from VM ctest-vn1-vm2-03422312 2025-10-22 07:45:31,574 - INFO - Deleting VM ctest-vn1-vm2-03422312 2025-10-22 07:45:31,643 - INFO - Detaching port 93ace15e-8a69-4959-814b-9b63b1bc4503 from VM ctest-vn1-vm1-45826666 2025-10-22 07:45:31,687 - INFO - Deleting VM ctest-vn1-vm1-45826666 2025-10-22 07:45:31,941 - DEBUG - Response for delete_port : () 2025-10-22 07:45:32,110 - DEBUG - Response for delete_port : () 2025-10-22 07:45:32,111 - INFO - Deleting VN ctest-vn1-49912286 2025-10-22 07:45:32,262 - DEBUG - Response for deleting network () 2025-10-22 07:45:32,535 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 07:45:32,535 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-10-22 07:45:32,535 - INFO - -------------------------------------------------------------------------------- 2025-10-22 07:45:33,183 - INFO - Deleted project: ctest-TestPorts-64366959, ID : 94d00459-b44f-4674-98ca-753ea51dcda4