2025-09-11 16:56:14,236 - INFO - Domain Default found not creating 2025-09-11 16:56:14,380 - INFO - Project ctest-TestPorts-37540411 not found, creating it 2025-09-11 16:56:14,814 - INFO - Created Project:ctest-TestPorts-37540411, ID : 1e9b8065-91ff-4f5f-8fd8-cec36350a9a5 2025-09-11 16:56:16,806 - INFO - ================================================================================ 2025-09-11 16:56:16,806 - INFO - STARTING TEST : test_ports_bindings 2025-09-11 16:56:16,806 - 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-09-11 16:56:17,065 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-09-11 16:56:17,065 - INFO - Initial checks done. Running the testcase now 2025-09-11 16:56:17,065 - INFO - 2025-09-11 16:56:17,556 - DEBUG - Response for create_network : {'network': {'id': 'fb47e07c-3891-40c1-b0a1-3bc07af19a03', 'name': 'ctest-vn-17207592', 'tenant_id': '1e9b806591ff4f5f8fd8cec36350a9a5', 'project_id': '1e9b806591ff4f5f8fd8cec36350a9a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-37540411', 'ctest-vn-17207592'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 16:56:17,720 - DEBUG - Response for create_subnet : {'subnet': {'id': 'df825948-0291-4531-aff5-ef5578b99dee', 'name': '', 'tenant_id': '1e9b806591ff4f5f8fd8cec36350a9a5', 'network_id': 'fb47e07c-3891-40c1-b0a1-3bc07af19a03', 'ip_version': 4, 'cidr': '137.140.160.128/26', 'allocation_pools': [{'start': '137.140.160.130', 'end': '137.140.160.190'}], 'gateway_ip': '137.140.160.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.140.160.130', 'tags': [], 'project_id': '1e9b806591ff4f5f8fd8cec36350a9a5'}} 2025-09-11 16:56:17,737 - INFO - Created VN ctest-vn-17207592 2025-09-11 16:56:17,791 - DEBUG - VN ctest-vn-17207592 UUID is fb47e07c-3891-40c1-b0a1-3bc07af19a03 2025-09-11 16:56:17,896 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-37540411', 'ctest-vmi-23059656']} 2025-09-11 16:56:18,161 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-23059656', 'id': '1628831d-383f-4059-92ba-4c407f140b5e', 'tenant_id': '1e9b806591ff4f5f8fd8cec36350a9a5', 'network_id': 'fb47e07c-3891-40c1-b0a1-3bc07af19a03', 'mac_address': '02:16:28:83:1d:38', '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': '137.140.160.131', 'subnet_id': 'df825948-0291-4531-aff5-ef5578b99dee'}], 'security_groups': ['a558eb80-1996-4a84-9522-88fd86eda2fd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1e9b806591ff4f5f8fd8cec36350a9a5'}} 2025-09-11 16:56:18,161 - DEBUG - Created port 1628831d-383f-4059-92ba-4c407f140b5e 2025-09-11 16:56:18,263 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1628831d-383f-4059-92ba-4c407f140b5e 2025-09-11 16:56:18,556 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1628831d-383f-4059-92ba-4c407f140b5e 2025-09-11 16:56:18,585 - INFO - VMI 1628831d-383f-4059-92ba-4c407f140b5e verification in API Server passed 2025-09-11 16:56:18,688 - DEBUG - Response for delete_port : () 2025-09-11 16:56:18,689 - INFO - Deleted port 1628831d-383f-4059-92ba-4c407f140b5e 2025-09-11 16:56:18,689 - INFO - Deleting VN ctest-vn-17207592 2025-09-11 16:56:18,782 - DEBUG - Response for deleting network () 2025-09-11 16:56:19,035 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 16:56:19,035 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-11 16:56:19,036 - INFO - -------------------------------------------------------------------------------- 2025-09-11 16:56:19,038 - INFO - ================================================================================ 2025-09-11 16:56:19,038 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-11 16:56:19,038 - 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-09-11 16:56:19,324 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-09-11 16:56:19,324 - INFO - Initial checks done. Running the testcase now 2025-09-11 16:56:19,324 - INFO - 2025-09-11 16:56:19,498 - DEBUG - Response for create_network : {'network': {'id': 'e1dd5008-a663-4195-8151-560f391abbb2', 'name': 'ctest-vn1-07548736', 'tenant_id': '1e9b806591ff4f5f8fd8cec36350a9a5', 'project_id': '1e9b806591ff4f5f8fd8cec36350a9a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-37540411', 'ctest-vn1-07548736'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 16:56:19,652 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd524929a-0cf6-4b7d-8239-471647084407', 'name': '', 'tenant_id': '1e9b806591ff4f5f8fd8cec36350a9a5', 'network_id': 'e1dd5008-a663-4195-8151-560f391abbb2', 'ip_version': 4, 'cidr': '45.174.26.64/26', 'allocation_pools': [{'start': '45.174.26.66', 'end': '45.174.26.126'}], 'gateway_ip': '45.174.26.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.174.26.66', 'tags': [], 'project_id': '1e9b806591ff4f5f8fd8cec36350a9a5'}} 2025-09-11 16:56:19,816 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa6f70a5-b922-4798-80e4-bc98d794fdf8', 'name': '', 'tenant_id': '1e9b806591ff4f5f8fd8cec36350a9a5', 'network_id': 'e1dd5008-a663-4195-8151-560f391abbb2', 'ip_version': 4, 'cidr': '209.218.68.128/26', 'allocation_pools': [{'start': '209.218.68.130', 'end': '209.218.68.190'}], 'gateway_ip': '209.218.68.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.218.68.130', 'tags': [], 'project_id': '1e9b806591ff4f5f8fd8cec36350a9a5'}} 2025-09-11 16:56:19,835 - INFO - Created VN ctest-vn1-07548736 2025-09-11 16:56:19,887 - DEBUG - VN ctest-vn1-07548736 UUID is e1dd5008-a663-4195-8151-560f391abbb2 2025-09-11 16:56:20,189 - DEBUG - Response for create_port : {'port': {'name': '8e3c42c3-53b8-4f2e-b1da-4789364e7cfb', 'id': '8e3c42c3-53b8-4f2e-b1da-4789364e7cfb', 'tenant_id': '1e9b806591ff4f5f8fd8cec36350a9a5', 'network_id': 'e1dd5008-a663-4195-8151-560f391abbb2', 'mac_address': '02:8e:3c:42:c3:53', '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': '45.174.26.69', 'subnet_id': 'd524929a-0cf6-4b7d-8239-471647084407'}], 'security_groups': ['a558eb80-1996-4a84-9522-88fd86eda2fd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1e9b806591ff4f5f8fd8cec36350a9a5'}} 2025-09-11 16:56:20,361 - DEBUG - Response for create_port : {'port': {'name': 'c3848510-1ef4-4cce-ac32-de04c9345b10', 'id': 'c3848510-1ef4-4cce-ac32-de04c9345b10', 'tenant_id': '1e9b806591ff4f5f8fd8cec36350a9a5', 'network_id': 'e1dd5008-a663-4195-8151-560f391abbb2', 'mac_address': '02:c3:84:85:10:1e', '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': '209.218.68.133', 'subnet_id': 'fa6f70a5-b922-4798-80e4-bc98d794fdf8'}], 'security_groups': ['a558eb80-1996-4a84-9522-88fd86eda2fd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1e9b806591ff4f5f8fd8cec36350a9a5'}} 2025-09-11 16:56:20,421 - DEBUG - Services list from nova: [, , ] 2025-09-11 16:56:20,762 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4096-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4096-1) 2025-09-11 16:56:21,320 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4096-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4096-1) 2025-09-11 16:56:21,320 - INFO - Waiting for VM ctest-vn1-vm1-34396425 to be up.. 2025-09-11 16:56:21,357 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 16:56:26,424 - DEBUG - VM is in ACTIVE state now 2025-09-11 16:56:26,424 - INFO - VM name : ctest-vn1-vm1-34396425 2025-09-11 16:56:26,489 - DEBUG - VM ctest-vn1-vm1-34396425 ID is de04fb0f-b507-4bcc-8392-c5e96180b3df 2025-09-11 16:56:26,506 - DEBUG - VM ctest-vn1-vm1-34396425 launched on Node cn-jenkins-deploy-platform-ansible-os-4096-1 2025-09-11 16:56:26,579 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/de04fb0f-b507-4bcc-8392-c5e96180b3df 2025-09-11 16:56:26,586 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8e3c42c3-53b8-4f2e-b1da-4789364e7cfb 2025-09-11 16:56:29,828 - 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 1007ms') 2025-09-11 16:56:29,829 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-34396425 failed! 2025-09-11 16:56:29,883 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-37540411:ctest-vn1-07548736 is 45.174.26.65 and allocation pool is NOT set 2025-09-11 16:56:29,883 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-37540411:ctest-vn1-07548736 is 209.218.68.129 and allocation pool is NOT set 2025-09-11 16:56:31,947 - 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=5.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.331 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.331/2.741/5.152/2.410 ms') 2025-09-11 16:56:31,947 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-34396425 passed 2025-09-11 16:56:32,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 16:56:32,095 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-34396425, IP 45.174.26.69, Port 22 2025-09-11 16:56:32,254 - DEBUG - VM ctest-vn1-vm1-34396425 is ready for SSH connections 2025-09-11 16:56:32,254 - INFO - Waiting for VM ctest-vn1-vm2-81917270 to be up.. 2025-09-11 16:56:32,322 - DEBUG - VM is in ACTIVE state now 2025-09-11 16:56:32,322 - INFO - VM name : ctest-vn1-vm2-81917270 2025-09-11 16:56:32,400 - DEBUG - VM ctest-vn1-vm2-81917270 ID is 3145aa95-c6d3-46e3-9601-1b17b61963b9 2025-09-11 16:56:32,400 - DEBUG - VM ctest-vn1-vm2-81917270 launched on Node cn-jenkins-deploy-platform-ansible-os-4096-1 2025-09-11 16:56:32,474 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3145aa95-c6d3-46e3-9601-1b17b61963b9 2025-09-11 16:56:32,482 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c3848510-1ef4-4cce-ac32-de04c9345b10 2025-09-11 16:56:33,723 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.518 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.518/1.854/3.191/1.336 ms') 2025-09-11 16:56:33,724 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-81917270 passed 2025-09-11 16:56:33,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 16:56:33,875 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-81917270, IP 209.218.68.133, Port 22 2025-09-11 16:56:34,031 - DEBUG - VM ctest-vn1-vm2-81917270 is ready for SSH connections 2025-09-11 16:56:34,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 16:56:34,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 16:56:34,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 16:56:34,031 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.174.26.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-11 16:56:34,031 - DEBUG - ping -s 56 -c 3 -W 1 45.174.26.69 2025-09-11 16:56:36,962 - DEBUG - PING 45.174.26.69 (45.174.26.69): 56 data bytes 64 bytes from 45.174.26.69: seq=0 ttl=63 time=3.573 ms 64 bytes from 45.174.26.69: seq=1 ttl=63 time=0.782 ms 64 bytes from 45.174.26.69: seq=2 ttl=63 time=0.698 ms --- 45.174.26.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.698/1.684/3.573 ms 2025-09-11 16:56:36,962 - INFO - Ping to IP 45.174.26.69 from VM ctest-vn1-vm2-81917270 passed 2025-09-11 16:56:36,963 - INFO - Detaching port c3848510-1ef4-4cce-ac32-de04c9345b10 from VM ctest-vn1-vm2-81917270 2025-09-11 16:56:37,012 - INFO - Deleting VM ctest-vn1-vm2-81917270 2025-09-11 16:56:37,077 - INFO - Detaching port 8e3c42c3-53b8-4f2e-b1da-4789364e7cfb from VM ctest-vn1-vm1-34396425 2025-09-11 16:56:37,108 - INFO - Deleting VM ctest-vn1-vm1-34396425 2025-09-11 16:56:37,294 - DEBUG - Response for delete_port : () 2025-09-11 16:56:37,448 - DEBUG - Response for delete_port : () 2025-09-11 16:56:37,448 - INFO - Deleting VN ctest-vn1-07548736 2025-09-11 16:56:37,567 - DEBUG - Response for deleting network () 2025-09-11 16:56:37,823 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 16:56:37,823 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-09-11 16:56:37,823 - INFO - -------------------------------------------------------------------------------- 2025-09-11 16:56:38,482 - INFO - Deleted project: ctest-TestPorts-37540411, ID : 1e9b8065-91ff-4f5f-8fd8-cec36350a9a5