2025-11-21 18:33:20,336 - INFO - Domain Default found not creating 2025-11-21 18:33:20,531 - INFO - Project ctest-TestPorts-72237119 not found, creating it 2025-11-21 18:33:21,056 - INFO - Created Project:ctest-TestPorts-72237119, ID : 3c076b02-2c95-4c84-b0b5-d65ed0cfd1e8 2025-11-21 18:33:22,659 - INFO - ================================================================================ 2025-11-21 18:33:22,659 - INFO - STARTING TEST : test_ports_bindings 2025-11-21 18:33:22,659 - 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-21 18:33:22,925 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.18': '0'}} with 2025-11-21 18:33:22,925 - INFO - Initial checks done. Running the testcase now 2025-11-21 18:33:22,925 - INFO - 2025-11-21 18:33:23,513 - DEBUG - Response for create_network : {'network': {'id': 'fc02b4f7-2bd5-418a-b8ad-babe8fa6946d', 'name': 'ctest-vn-66863475', 'tenant_id': '3c076b022c954c84b0b5d65ed0cfd1e8', 'project_id': '3c076b022c954c84b0b5d65ed0cfd1e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-72237119', 'ctest-vn-66863475'], 'port_security_enabled': True, 'description': ''}} 2025-11-21 18:33:23,721 - DEBUG - Response for create_subnet : {'subnet': {'id': '7606b8e1-5f26-467b-bec2-a09f4b5097b5', 'name': '', 'tenant_id': '3c076b022c954c84b0b5d65ed0cfd1e8', 'network_id': 'fc02b4f7-2bd5-418a-b8ad-babe8fa6946d', 'ip_version': 4, 'cidr': '155.64.137.0/26', 'allocation_pools': [{'start': '155.64.137.2', 'end': '155.64.137.62'}], 'gateway_ip': '155.64.137.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.64.137.2', 'tags': [], 'project_id': '3c076b022c954c84b0b5d65ed0cfd1e8'}} 2025-11-21 18:33:23,740 - INFO - Created VN ctest-vn-66863475 2025-11-21 18:33:23,793 - DEBUG - VN ctest-vn-66863475 UUID is fc02b4f7-2bd5-418a-b8ad-babe8fa6946d 2025-11-21 18:33:23,902 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-72237119', 'ctest-vmi-92615437']} 2025-11-21 18:33:24,190 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-92615437', 'id': 'd45cb0bb-5f50-43f2-9ada-26324e13e494', 'tenant_id': '3c076b022c954c84b0b5d65ed0cfd1e8', 'network_id': 'fc02b4f7-2bd5-418a-b8ad-babe8fa6946d', 'mac_address': '02:d4:5c:b0:bb:5f', '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': '155.64.137.3', 'subnet_id': '7606b8e1-5f26-467b-bec2-a09f4b5097b5'}], 'security_groups': ['b0ef6233-9685-425b-8bf8-b89eec5c545c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3c076b022c954c84b0b5d65ed0cfd1e8'}} 2025-11-21 18:33:24,190 - DEBUG - Created port d45cb0bb-5f50-43f2-9ada-26324e13e494 2025-11-21 18:33:24,296 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d45cb0bb-5f50-43f2-9ada-26324e13e494 2025-11-21 18:33:24,599 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d45cb0bb-5f50-43f2-9ada-26324e13e494 2025-11-21 18:33:24,649 - INFO - VMI d45cb0bb-5f50-43f2-9ada-26324e13e494 verification in API Server passed 2025-11-21 18:33:24,763 - DEBUG - Response for delete_port : () 2025-11-21 18:33:24,763 - INFO - Deleted port d45cb0bb-5f50-43f2-9ada-26324e13e494 2025-11-21 18:33:24,763 - INFO - Deleting VN ctest-vn-66863475 2025-11-21 18:33:24,894 - DEBUG - Response for deleting network () 2025-11-21 18:33:25,154 - DEBUG - No XMPP flaps were noticed during the test
2025-11-21 18:33:25,154 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-21 18:33:25,155 - INFO - -------------------------------------------------------------------------------- 2025-11-21 18:33:25,157 - INFO - ================================================================================ 2025-11-21 18:33:25,157 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-21 18:33:25,157 - 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-21 18:33:25,445 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.18': '0'}} with 2025-11-21 18:33:25,446 - INFO - Initial checks done. Running the testcase now 2025-11-21 18:33:25,446 - INFO - 2025-11-21 18:33:25,633 - DEBUG - Response for create_network : {'network': {'id': 'd0aad737-88fe-4011-b38f-771248c59068', 'name': 'ctest-vn1-41785033', 'tenant_id': '3c076b022c954c84b0b5d65ed0cfd1e8', 'project_id': '3c076b022c954c84b0b5d65ed0cfd1e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-72237119', 'ctest-vn1-41785033'], 'port_security_enabled': True, 'description': ''}} 2025-11-21 18:33:25,815 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c878cea3-472c-4220-861c-c4562ded72f8', 'name': '', 'tenant_id': '3c076b022c954c84b0b5d65ed0cfd1e8', 'network_id': 'd0aad737-88fe-4011-b38f-771248c59068', 'ip_version': 4, 'cidr': '64.101.179.128/26', 'allocation_pools': [{'start': '64.101.179.130', 'end': '64.101.179.190'}], 'gateway_ip': '64.101.179.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.101.179.130', 'tags': [], 'project_id': '3c076b022c954c84b0b5d65ed0cfd1e8'}} 2025-11-21 18:33:25,985 - DEBUG - Response for create_subnet : {'subnet': {'id': '772797e3-b816-45a8-bc2d-b852c6b073b3', 'name': '', 'tenant_id': '3c076b022c954c84b0b5d65ed0cfd1e8', 'network_id': 'd0aad737-88fe-4011-b38f-771248c59068', 'ip_version': 4, 'cidr': '206.61.92.0/26', 'allocation_pools': [{'start': '206.61.92.2', 'end': '206.61.92.62'}], 'gateway_ip': '206.61.92.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.61.92.2', 'tags': [], 'project_id': '3c076b022c954c84b0b5d65ed0cfd1e8'}} 2025-11-21 18:33:26,011 - INFO - Created VN ctest-vn1-41785033 2025-11-21 18:33:26,068 - DEBUG - VN ctest-vn1-41785033 UUID is d0aad737-88fe-4011-b38f-771248c59068 2025-11-21 18:33:26,387 - DEBUG - Response for create_port : {'port': {'name': '35873170-226e-4c38-afcc-8606db3c5ced', 'id': '35873170-226e-4c38-afcc-8606db3c5ced', 'tenant_id': '3c076b022c954c84b0b5d65ed0cfd1e8', 'network_id': 'd0aad737-88fe-4011-b38f-771248c59068', 'mac_address': '02:35:87:31:70:22', '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': '64.101.179.133', 'subnet_id': 'c878cea3-472c-4220-861c-c4562ded72f8'}], 'security_groups': ['b0ef6233-9685-425b-8bf8-b89eec5c545c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3c076b022c954c84b0b5d65ed0cfd1e8'}} 2025-11-21 18:33:26,564 - DEBUG - Response for create_port : {'port': {'name': '37c0d73d-4e96-42eb-bf13-bb737807cd08', 'id': '37c0d73d-4e96-42eb-bf13-bb737807cd08', 'tenant_id': '3c076b022c954c84b0b5d65ed0cfd1e8', 'network_id': 'd0aad737-88fe-4011-b38f-771248c59068', 'mac_address': '02:37:c0:d7:3d:4e', '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': '206.61.92.5', 'subnet_id': '772797e3-b816-45a8-bc2d-b852c6b073b3'}], 'security_groups': ['b0ef6233-9685-425b-8bf8-b89eec5c545c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3c076b022c954c84b0b5d65ed0cfd1e8'}} 2025-11-21 18:33:26,629 - DEBUG - Services list from nova: [, , ] 2025-11-21 18:33:26,989 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4793-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4793-1) 2025-11-21 18:33:27,435 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4793-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4793-1) 2025-11-21 18:33:27,435 - INFO - Waiting for VM ctest-vn1-vm1-94825246 to be up.. 2025-11-21 18:33:27,477 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-21 18:33:32,564 - DEBUG - VM is in ACTIVE state now 2025-11-21 18:33:32,564 - INFO - VM name : ctest-vn1-vm1-94825246 2025-11-21 18:33:32,644 - DEBUG - VM ctest-vn1-vm1-94825246 ID is 68dda9ab-d1b7-4c25-b07c-6a47dfd001ea 2025-11-21 18:33:32,663 - DEBUG - VM ctest-vn1-vm1-94825246 launched on Node cn-jenkins-deploy-platform-ansible-os-4793-1 2025-11-21 18:33:32,740 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/68dda9ab-d1b7-4c25-b07c-6a47dfd001ea 2025-11-21 18:33:32,749 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/35873170-226e-4c38-afcc-8606db3c5ced 2025-11-21 18:33:36,017 - 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 1030ms') 2025-11-21 18:33:36,018 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94825246 failed! 2025-11-21 18:33:36,072 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-72237119:ctest-vn1-41785033 is 64.101.179.129 and allocation pool is NOT set 2025-11-21 18:33:36,072 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-72237119:ctest-vn1-41785033 is 206.61.92.1 and allocation pool is NOT set 2025-11-21 18:33:40,150 - 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=10.8 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1017ms\r\nrtt min/avg/max/mdev = 10.807/10.807/10.807/0.000 ms') 2025-11-21 18:33:40,150 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94825246 passed 2025-11-21 18:33:40,300 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 18:33:40,301 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-94825246, IP 64.101.179.133, Port 22 2025-11-21 18:33:40,471 - DEBUG - VM ctest-vn1-vm1-94825246 is ready for SSH connections 2025-11-21 18:33:40,471 - INFO - Waiting for VM ctest-vn1-vm2-78355913 to be up.. 2025-11-21 18:33:40,568 - DEBUG - VM is in ACTIVE state now 2025-11-21 18:33:40,568 - INFO - VM name : ctest-vn1-vm2-78355913 2025-11-21 18:33:40,652 - DEBUG - VM ctest-vn1-vm2-78355913 ID is 82743b9f-6ecf-43c7-bf19-471690906882 2025-11-21 18:33:40,652 - DEBUG - VM ctest-vn1-vm2-78355913 launched on Node cn-jenkins-deploy-platform-ansible-os-4793-1 2025-11-21 18:33:40,747 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/82743b9f-6ecf-43c7-bf19-471690906882 2025-11-21 18:33:40,756 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/37c0d73d-4e96-42eb-bf13-bb737807cd08 2025-11-21 18:33:41,994 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.554 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.554/1.835/3.117/1.281 ms') 2025-11-21 18:33:41,994 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-78355913 passed 2025-11-21 18:33:42,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 18:33:42,145 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-78355913, IP 206.61.92.5, Port 22 2025-11-21 18:33:42,304 - DEBUG - VM ctest-vn1-vm2-78355913 is ready for SSH connections 2025-11-21 18:33:42,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 18:33:42,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 18:33:42,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 18:33:42,305 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.101.179.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-21 18:33:42,305 - DEBUG - ping -s 56 -c 3 -W 1 64.101.179.133 2025-11-21 18:33:44,984 - DEBUG - PING 64.101.179.133 (64.101.179.133): 56 data bytes 64 bytes from 64.101.179.133: seq=0 ttl=63 time=5.085 ms 64 bytes from 64.101.179.133: seq=1 ttl=63 time=0.980 ms 64 bytes from 64.101.179.133: seq=2 ttl=63 time=0.921 ms --- 64.101.179.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.921/2.328/5.085 ms 2025-11-21 18:33:44,985 - INFO - Ping to IP 64.101.179.133 from VM ctest-vn1-vm2-78355913 passed 2025-11-21 18:33:44,985 - INFO - Detaching port 37c0d73d-4e96-42eb-bf13-bb737807cd08 from VM ctest-vn1-vm2-78355913 2025-11-21 18:33:45,045 - INFO - Deleting VM ctest-vn1-vm2-78355913 2025-11-21 18:33:45,118 - INFO - Detaching port 35873170-226e-4c38-afcc-8606db3c5ced from VM ctest-vn1-vm1-94825246 2025-11-21 18:33:45,153 - INFO - Deleting VM ctest-vn1-vm1-94825246 2025-11-21 18:33:45,415 - DEBUG - Response for delete_port : () 2025-11-21 18:33:45,586 - DEBUG - Response for delete_port : () 2025-11-21 18:33:45,586 - INFO - Deleting VN ctest-vn1-41785033 2025-11-21 18:33:45,766 - DEBUG - Response for deleting network () 2025-11-21 18:33:46,036 - DEBUG - No XMPP flaps were noticed during the test
2025-11-21 18:33:46,036 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-11-21 18:33:46,036 - INFO - -------------------------------------------------------------------------------- 2025-11-21 18:33:46,748 - INFO - Deleted project: ctest-TestPorts-72237119, ID : 3c076b02-2c95-4c84-b0b5-d65ed0cfd1e8