2025-10-29 19:35:20,308 - INFO - Domain Default found not creating 2025-10-29 19:35:20,445 - INFO - Project ctest-TestPorts-34742011 not found, creating it 2025-10-29 19:35:20,908 - INFO - Created Project:ctest-TestPorts-34742011, ID : 3ba74dad-29fa-4d58-b871-ec4c45bfcae0 2025-10-29 19:35:22,388 - INFO - ================================================================================ 2025-10-29 19:35:22,388 - INFO - STARTING TEST : test_ports_bindings 2025-10-29 19:35:22,388 - 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-29 19:35:22,640 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.130': '0'}} with 2025-10-29 19:35:22,641 - INFO - Initial checks done. Running the testcase now 2025-10-29 19:35:22,641 - INFO - 2025-10-29 19:35:23,222 - DEBUG - Response for create_network : {'network': {'id': 'e95ff58f-c088-42fb-9004-92555f9ef114', 'name': 'ctest-vn-04311316', 'tenant_id': '3ba74dad29fa4d58b871ec4c45bfcae0', 'project_id': '3ba74dad29fa4d58b871ec4c45bfcae0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-34742011', 'ctest-vn-04311316'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 19:35:23,421 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9df2e65-27fe-4983-a17c-7819c19f10d9', 'name': '', 'tenant_id': '3ba74dad29fa4d58b871ec4c45bfcae0', 'network_id': 'e95ff58f-c088-42fb-9004-92555f9ef114', 'ip_version': 4, 'cidr': '179.139.212.0/26', 'allocation_pools': [{'start': '179.139.212.2', 'end': '179.139.212.62'}], 'gateway_ip': '179.139.212.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.139.212.2', 'tags': [], 'project_id': '3ba74dad29fa4d58b871ec4c45bfcae0'}} 2025-10-29 19:35:23,438 - INFO - Created VN ctest-vn-04311316 2025-10-29 19:35:23,491 - DEBUG - VN ctest-vn-04311316 UUID is e95ff58f-c088-42fb-9004-92555f9ef114 2025-10-29 19:35:23,599 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-34742011', 'ctest-vmi-61164689']} 2025-10-29 19:35:23,876 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-61164689', 'id': '781139d9-6061-4ed7-95ac-164e21801ae7', 'tenant_id': '3ba74dad29fa4d58b871ec4c45bfcae0', 'network_id': 'e95ff58f-c088-42fb-9004-92555f9ef114', 'mac_address': '02:78:11:39:d9:60', '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': '179.139.212.3', 'subnet_id': 'd9df2e65-27fe-4983-a17c-7819c19f10d9'}], 'security_groups': ['2b897549-efcd-4926-aa43-c48309f34275'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3ba74dad29fa4d58b871ec4c45bfcae0'}} 2025-10-29 19:35:23,876 - DEBUG - Created port 781139d9-6061-4ed7-95ac-164e21801ae7 2025-10-29 19:35:23,979 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/781139d9-6061-4ed7-95ac-164e21801ae7 2025-10-29 19:35:24,312 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/781139d9-6061-4ed7-95ac-164e21801ae7 2025-10-29 19:35:24,349 - INFO - VMI 781139d9-6061-4ed7-95ac-164e21801ae7 verification in API Server passed 2025-10-29 19:35:24,434 - DEBUG - Response for delete_port : () 2025-10-29 19:35:24,434 - INFO - Deleted port 781139d9-6061-4ed7-95ac-164e21801ae7 2025-10-29 19:35:24,434 - INFO - Deleting VN ctest-vn-04311316 2025-10-29 19:35:24,532 - DEBUG - Response for deleting network () 2025-10-29 19:35:24,806 - DEBUG - No XMPP flaps were noticed during the test 2025-10-29 19:35:24,806 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-29 19:35:24,806 - INFO - -------------------------------------------------------------------------------- 2025-10-29 19:35:24,809 - INFO - ================================================================================ 2025-10-29 19:35:24,809 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-29 19:35:24,809 - 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-29 19:35:25,088 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.130': '0'}} with 2025-10-29 19:35:25,088 - INFO - Initial checks done. Running the testcase now 2025-10-29 19:35:25,088 - INFO - 2025-10-29 19:35:25,264 - DEBUG - Response for create_network : {'network': {'id': 'c07e476b-accb-44aa-b399-82f1428e76b4', 'name': 'ctest-vn1-49243839', 'tenant_id': '3ba74dad29fa4d58b871ec4c45bfcae0', 'project_id': '3ba74dad29fa4d58b871ec4c45bfcae0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-34742011', 'ctest-vn1-49243839'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 19:35:25,427 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ccb6cb6-2ae0-4bb5-898a-e83f5958460c', 'name': '', 'tenant_id': '3ba74dad29fa4d58b871ec4c45bfcae0', 'network_id': 'c07e476b-accb-44aa-b399-82f1428e76b4', 'ip_version': 4, 'cidr': '33.139.118.0/26', 'allocation_pools': [{'start': '33.139.118.2', 'end': '33.139.118.62'}], 'gateway_ip': '33.139.118.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.139.118.2', 'tags': [], 'project_id': '3ba74dad29fa4d58b871ec4c45bfcae0'}} 2025-10-29 19:35:25,576 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f339bab9-932a-475b-9fd1-cf4fac8a3b31', 'name': '', 'tenant_id': '3ba74dad29fa4d58b871ec4c45bfcae0', 'network_id': 'c07e476b-accb-44aa-b399-82f1428e76b4', 'ip_version': 4, 'cidr': '160.60.100.64/26', 'allocation_pools': [{'start': '160.60.100.66', 'end': '160.60.100.126'}], 'gateway_ip': '160.60.100.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.60.100.66', 'tags': [], 'project_id': '3ba74dad29fa4d58b871ec4c45bfcae0'}} 2025-10-29 19:35:25,595 - INFO - Created VN ctest-vn1-49243839 2025-10-29 19:35:25,647 - DEBUG - VN ctest-vn1-49243839 UUID is c07e476b-accb-44aa-b399-82f1428e76b4 2025-10-29 19:35:25,944 - DEBUG - Response for create_port : {'port': {'name': '6b5f128c-cc7c-4352-92ab-05c73d0a757e', 'id': '6b5f128c-cc7c-4352-92ab-05c73d0a757e', 'tenant_id': '3ba74dad29fa4d58b871ec4c45bfcae0', 'network_id': 'c07e476b-accb-44aa-b399-82f1428e76b4', 'mac_address': '02:6b:5f:12:8c:cc', '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': '33.139.118.5', 'subnet_id': '1ccb6cb6-2ae0-4bb5-898a-e83f5958460c'}], 'security_groups': ['2b897549-efcd-4926-aa43-c48309f34275'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3ba74dad29fa4d58b871ec4c45bfcae0'}} 2025-10-29 19:35:26,126 - DEBUG - Response for create_port : {'port': {'name': '684f3c98-1008-468b-aeed-f015203477d9', 'id': '684f3c98-1008-468b-aeed-f015203477d9', 'tenant_id': '3ba74dad29fa4d58b871ec4c45bfcae0', 'network_id': 'c07e476b-accb-44aa-b399-82f1428e76b4', 'mac_address': '02:68:4f:3c:98:10', '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': '160.60.100.69', 'subnet_id': 'f339bab9-932a-475b-9fd1-cf4fac8a3b31'}], 'security_groups': ['2b897549-efcd-4926-aa43-c48309f34275'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3ba74dad29fa4d58b871ec4c45bfcae0'}} 2025-10-29 19:35:26,188 - DEBUG - Services list from nova: [, , ] 2025-10-29 19:35:26,509 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4528-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4528-1) 2025-10-29 19:35:26,934 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4528-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4528-1) 2025-10-29 19:35:26,934 - INFO - Waiting for VM ctest-vn1-vm1-73091647 to be up.. 2025-10-29 19:35:26,979 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 19:35:32,060 - DEBUG - VM is in ACTIVE state now 2025-10-29 19:35:32,060 - INFO - VM name : ctest-vn1-vm1-73091647 2025-10-29 19:35:32,139 - DEBUG - VM ctest-vn1-vm1-73091647 ID is a07981fa-f4fe-49e5-b9c9-3a8e7e1c7f15 2025-10-29 19:35:32,159 - DEBUG - VM ctest-vn1-vm1-73091647 launched on Node cn-jenkins-deploy-platform-ansible-os-4528-1 2025-10-29 19:35:32,236 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a07981fa-f4fe-49e5-b9c9-3a8e7e1c7f15 2025-10-29 19:35:32,246 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6b5f128c-cc7c-4352-92ab-05c73d0a757e 2025-10-29 19:35:35,507 - 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 1022ms') 2025-10-29 19:35:35,507 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73091647 failed! 2025-10-29 19:35:35,563 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-34742011:ctest-vn1-49243839 is 33.139.118.1 and allocation pool is NOT set 2025-10-29 19:35:35,563 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-34742011:ctest-vn1-49243839 is 160.60.100.65 and allocation pool is NOT set 2025-10-29 19:35:39,638 - 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 1014ms\r\nrtt min/avg/max/mdev = 6.165/6.165/6.165/0.000 ms') 2025-10-29 19:35:39,638 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73091647 passed 2025-10-29 19:35:39,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 19:35:39,791 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-73091647, IP 33.139.118.5, Port 22 2025-10-29 19:35:39,947 - DEBUG - VM ctest-vn1-vm1-73091647 is ready for SSH connections 2025-10-29 19:35:39,947 - INFO - Waiting for VM ctest-vn1-vm2-36662942 to be up.. 2025-10-29 19:35:40,029 - DEBUG - VM is in ACTIVE state now 2025-10-29 19:35:40,029 - INFO - VM name : ctest-vn1-vm2-36662942 2025-10-29 19:35:40,103 - DEBUG - VM ctest-vn1-vm2-36662942 ID is 8cbfe6e9-7130-42a1-bec0-5afda37ccea4 2025-10-29 19:35:40,103 - DEBUG - VM ctest-vn1-vm2-36662942 launched on Node cn-jenkins-deploy-platform-ansible-os-4528-1 2025-10-29 19:35:40,180 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8cbfe6e9-7130-42a1-bec0-5afda37ccea4 2025-10-29 19:35:40,189 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/684f3c98-1008-468b-aeed-f015203477d9 2025-10-29 19:35:41,426 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.502 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.502/1.775/3.049/1.273 ms') 2025-10-29 19:35:41,426 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-36662942 passed 2025-10-29 19:35:41,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 19:35:41,579 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-36662942, IP 160.60.100.69, Port 22 2025-10-29 19:35:41,734 - DEBUG - VM ctest-vn1-vm2-36662942 is ready for SSH connections 2025-10-29 19:35:41,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 19:35:41,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 19:35:41,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 19:35:41,735 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.139.118.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-29 19:35:41,735 - DEBUG - ping -s 56 -c 3 -W 1 33.139.118.5 2025-10-29 19:35:44,421 - DEBUG - PING 33.139.118.5 (33.139.118.5): 56 data bytes 64 bytes from 33.139.118.5: seq=0 ttl=63 time=3.575 ms 64 bytes from 33.139.118.5: seq=1 ttl=63 time=0.884 ms 64 bytes from 33.139.118.5: seq=2 ttl=63 time=1.036 ms --- 33.139.118.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.884/1.831/3.575 ms 2025-10-29 19:35:44,421 - INFO - Ping to IP 33.139.118.5 from VM ctest-vn1-vm2-36662942 passed 2025-10-29 19:35:44,421 - INFO - Detaching port 684f3c98-1008-468b-aeed-f015203477d9 from VM ctest-vn1-vm2-36662942 2025-10-29 19:35:44,474 - INFO - Deleting VM ctest-vn1-vm2-36662942 2025-10-29 19:35:44,543 - INFO - Detaching port 6b5f128c-cc7c-4352-92ab-05c73d0a757e from VM ctest-vn1-vm1-73091647 2025-10-29 19:35:44,580 - INFO - Deleting VM ctest-vn1-vm1-73091647 2025-10-29 19:35:44,801 - DEBUG - Response for delete_port : () 2025-10-29 19:35:44,963 - DEBUG - Response for delete_port : () 2025-10-29 19:35:44,963 - INFO - Deleting VN ctest-vn1-49243839 2025-10-29 19:35:45,125 - DEBUG - Response for deleting network () 2025-10-29 19:35:45,384 - DEBUG - No XMPP flaps were noticed during the test 2025-10-29 19:35:45,384 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-10-29 19:35:45,384 - INFO - -------------------------------------------------------------------------------- 2025-10-29 19:35:46,106 - INFO - Deleted project: ctest-TestPorts-34742011, ID : 3ba74dad-29fa-4d58-b871-ec4c45bfcae0