2025-11-10 18:49:55,570 - INFO - Domain Default found not creating 2025-11-10 18:49:55,770 - INFO - Project ctest-TestPorts-74475621 not found, creating it 2025-11-10 18:49:56,354 - INFO - Created Project:ctest-TestPorts-74475621, ID : 71ec447f-73e9-462f-becd-14e5aaed0dc5 2025-11-10 18:49:58,074 - INFO - ================================================================================ 2025-11-10 18:49:58,074 - INFO - STARTING TEST : test_ports_bindings 2025-11-10 18:49:58,074 - 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-10 18:49:58,352 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2025-11-10 18:49:58,352 - INFO - Initial checks done. Running the testcase now 2025-11-10 18:49:58,352 - INFO - 2025-11-10 18:49:58,925 - DEBUG - Response for create_network : {'network': {'id': 'f5f06f60-f341-4405-bf92-0c34adff9d37', 'name': 'ctest-vn-16341004', 'tenant_id': '71ec447f73e9462fbecd14e5aaed0dc5', 'project_id': '71ec447f73e9462fbecd14e5aaed0dc5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74475621', 'ctest-vn-16341004'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 18:49:59,091 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a2fc526-7705-487f-b034-6bbcfc4e8f78', 'name': '', 'tenant_id': '71ec447f73e9462fbecd14e5aaed0dc5', 'network_id': 'f5f06f60-f341-4405-bf92-0c34adff9d37', 'ip_version': 4, 'cidr': '102.101.31.192/26', 'allocation_pools': [{'start': '102.101.31.194', 'end': '102.101.31.254'}], 'gateway_ip': '102.101.31.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.101.31.194', 'tags': [], 'project_id': '71ec447f73e9462fbecd14e5aaed0dc5'}} 2025-11-10 18:49:59,107 - INFO - Created VN ctest-vn-16341004 2025-11-10 18:49:59,162 - DEBUG - VN ctest-vn-16341004 UUID is f5f06f60-f341-4405-bf92-0c34adff9d37 2025-11-10 18:49:59,275 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-74475621', 'ctest-vmi-22428695']} 2025-11-10 18:49:59,532 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-22428695', 'id': '5fd261b2-73f7-402c-99fe-f66ea8e27cd4', 'tenant_id': '71ec447f73e9462fbecd14e5aaed0dc5', 'network_id': 'f5f06f60-f341-4405-bf92-0c34adff9d37', 'mac_address': '02:5f:d2:61:b2:73', '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': '102.101.31.195', 'subnet_id': '2a2fc526-7705-487f-b034-6bbcfc4e8f78'}], 'security_groups': ['108790e1-86fc-41ad-9a93-63620c25d696'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '71ec447f73e9462fbecd14e5aaed0dc5'}} 2025-11-10 18:49:59,532 - DEBUG - Created port 5fd261b2-73f7-402c-99fe-f66ea8e27cd4 2025-11-10 18:49:59,634 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/5fd261b2-73f7-402c-99fe-f66ea8e27cd4 2025-11-10 18:49:59,953 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/5fd261b2-73f7-402c-99fe-f66ea8e27cd4 2025-11-10 18:49:59,995 - INFO - VMI 5fd261b2-73f7-402c-99fe-f66ea8e27cd4 verification in API Server passed 2025-11-10 18:50:00,094 - DEBUG - Response for delete_port : () 2025-11-10 18:50:00,094 - INFO - Deleted port 5fd261b2-73f7-402c-99fe-f66ea8e27cd4 2025-11-10 18:50:00,094 - INFO - Deleting VN ctest-vn-16341004 2025-11-10 18:50:00,205 - DEBUG - Response for deleting network () 2025-11-10 18:50:00,483 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 18:50:00,483 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-10 18:50:00,483 - INFO - -------------------------------------------------------------------------------- 2025-11-10 18:50:00,486 - INFO - ================================================================================ 2025-11-10 18:50:00,486 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-10 18:50:00,486 - 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-10 18:50:00,777 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2025-11-10 18:50:00,777 - INFO - Initial checks done. Running the testcase now 2025-11-10 18:50:00,777 - INFO - 2025-11-10 18:50:01,072 - DEBUG - Response for create_network : {'network': {'id': '0a0f2f76-56ce-4ed2-a585-33e98cc5b25c', 'name': 'ctest-vn1-89609422', 'tenant_id': '71ec447f73e9462fbecd14e5aaed0dc5', 'project_id': '71ec447f73e9462fbecd14e5aaed0dc5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74475621', 'ctest-vn1-89609422'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 18:50:01,266 - DEBUG - Response for create_subnet : {'subnet': {'id': '44a97096-5254-4314-ae7f-651890b88dc0', 'name': '', 'tenant_id': '71ec447f73e9462fbecd14e5aaed0dc5', 'network_id': '0a0f2f76-56ce-4ed2-a585-33e98cc5b25c', 'ip_version': 4, 'cidr': '11.42.64.64/26', 'allocation_pools': [{'start': '11.42.64.66', 'end': '11.42.64.126'}], 'gateway_ip': '11.42.64.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.42.64.66', 'tags': [], 'project_id': '71ec447f73e9462fbecd14e5aaed0dc5'}} 2025-11-10 18:50:01,432 - DEBUG - Response for create_subnet : {'subnet': {'id': '7fcd99c0-2ccf-46bc-abed-72e1bffd3e80', 'name': '', 'tenant_id': '71ec447f73e9462fbecd14e5aaed0dc5', 'network_id': '0a0f2f76-56ce-4ed2-a585-33e98cc5b25c', 'ip_version': 4, 'cidr': '153.190.58.192/26', 'allocation_pools': [{'start': '153.190.58.194', 'end': '153.190.58.254'}], 'gateway_ip': '153.190.58.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.190.58.194', 'tags': [], 'project_id': '71ec447f73e9462fbecd14e5aaed0dc5'}} 2025-11-10 18:50:01,452 - INFO - Created VN ctest-vn1-89609422 2025-11-10 18:50:01,506 - DEBUG - VN ctest-vn1-89609422 UUID is 0a0f2f76-56ce-4ed2-a585-33e98cc5b25c 2025-11-10 18:50:01,838 - DEBUG - Response for create_port : {'port': {'name': '8d77933d-b12c-415e-912c-9e55249434d3', 'id': '8d77933d-b12c-415e-912c-9e55249434d3', 'tenant_id': '71ec447f73e9462fbecd14e5aaed0dc5', 'network_id': '0a0f2f76-56ce-4ed2-a585-33e98cc5b25c', 'mac_address': '02:8d:77:93:3d:b1', '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': '11.42.64.69', 'subnet_id': '44a97096-5254-4314-ae7f-651890b88dc0'}], 'security_groups': ['108790e1-86fc-41ad-9a93-63620c25d696'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '71ec447f73e9462fbecd14e5aaed0dc5'}} 2025-11-10 18:50:02,028 - DEBUG - Response for create_port : {'port': {'name': 'ec0bcb85-5e7a-4a7b-9f94-4dc4e5101656', 'id': 'ec0bcb85-5e7a-4a7b-9f94-4dc4e5101656', 'tenant_id': '71ec447f73e9462fbecd14e5aaed0dc5', 'network_id': '0a0f2f76-56ce-4ed2-a585-33e98cc5b25c', 'mac_address': '02:ec:0b:cb:85:5e', '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': '153.190.58.197', 'subnet_id': '7fcd99c0-2ccf-46bc-abed-72e1bffd3e80'}], 'security_groups': ['108790e1-86fc-41ad-9a93-63620c25d696'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '71ec447f73e9462fbecd14e5aaed0dc5'}} 2025-11-10 18:50:02,087 - DEBUG - Services list from nova: [, , ] 2025-11-10 18:50:02,445 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4685-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4685-1) 2025-11-10 18:50:02,870 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4685-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4685-1) 2025-11-10 18:50:02,870 - INFO - Waiting for VM ctest-vn1-vm1-69272756 to be up.. 2025-11-10 18:50:02,913 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 18:50:08,035 - DEBUG - VM is in ACTIVE state now 2025-11-10 18:50:08,035 - INFO - VM name : ctest-vn1-vm1-69272756 2025-11-10 18:50:08,135 - DEBUG - VM ctest-vn1-vm1-69272756 ID is 8fd1abbf-ad37-437d-ae9b-41a258666172 2025-11-10 18:50:08,155 - DEBUG - VM ctest-vn1-vm1-69272756 launched on Node cn-jenkins-deploy-platform-ansible-os-4685-1 2025-11-10 18:50:08,243 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8fd1abbf-ad37-437d-ae9b-41a258666172 2025-11-10 18:50:08,252 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8d77933d-b12c-415e-912c-9e55249434d3 2025-11-10 18:50:11,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 1004ms') 2025-11-10 18:50:11,503 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-69272756 failed! 2025-11-10 18:50:11,562 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74475621:ctest-vn1-89609422 is 11.42.64.65 and allocation pool is NOT set 2025-11-10 18:50:11,562 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74475621:ctest-vn1-89609422 is 153.190.58.193 and allocation pool is NOT set 2025-11-10 18:50:15,633 - 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=8.24 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1008ms\r\nrtt min/avg/max/mdev = 8.237/8.237/8.237/0.000 ms') 2025-11-10 18:50:15,633 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-69272756 passed 2025-11-10 18:50:15,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:50:15,787 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-69272756, IP 11.42.64.69, Port 22 2025-11-10 18:50:15,962 - DEBUG - VM ctest-vn1-vm1-69272756 is ready for SSH connections 2025-11-10 18:50:15,962 - INFO - Waiting for VM ctest-vn1-vm2-86368759 to be up.. 2025-11-10 18:50:16,080 - DEBUG - VM is in ACTIVE state now 2025-11-10 18:50:16,080 - INFO - VM name : ctest-vn1-vm2-86368759 2025-11-10 18:50:16,181 - DEBUG - VM ctest-vn1-vm2-86368759 ID is fb2d6ad0-ad70-4135-8bab-855bd82d6363 2025-11-10 18:50:16,181 - DEBUG - VM ctest-vn1-vm2-86368759 launched on Node cn-jenkins-deploy-platform-ansible-os-4685-1 2025-11-10 18:50:16,306 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/fb2d6ad0-ad70-4135-8bab-855bd82d6363 2025-11-10 18:50:16,316 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ec0bcb85-5e7a-4a7b-9f94-4dc4e5101656 2025-11-10 18:50:17,575 - 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=7.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.499 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.499/4.217/7.936/3.718 ms') 2025-11-10 18:50:17,575 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-86368759 passed 2025-11-10 18:50:17,730 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:50:17,730 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-86368759, IP 153.190.58.197, Port 22 2025-11-10 18:50:17,910 - DEBUG - VM ctest-vn1-vm2-86368759 is ready for SSH connections 2025-11-10 18:50:17,911 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:50:17,911 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:50:17,911 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:50:17,911 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.42.64.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-10 18:50:17,911 - DEBUG - ping -s 56 -c 3 -W 1 11.42.64.69 2025-11-10 18:50:20,723 - DEBUG - PING 11.42.64.69 (11.42.64.69): 56 data bytes 64 bytes from 11.42.64.69: seq=0 ttl=63 time=3.920 ms 64 bytes from 11.42.64.69: seq=1 ttl=63 time=1.862 ms 64 bytes from 11.42.64.69: seq=2 ttl=63 time=1.159 ms --- 11.42.64.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.159/2.313/3.920 ms 2025-11-10 18:50:20,723 - INFO - Ping to IP 11.42.64.69 from VM ctest-vn1-vm2-86368759 passed 2025-11-10 18:50:20,723 - INFO - Detaching port ec0bcb85-5e7a-4a7b-9f94-4dc4e5101656 from VM ctest-vn1-vm2-86368759 2025-11-10 18:50:20,774 - INFO - Deleting VM ctest-vn1-vm2-86368759 2025-11-10 18:50:20,850 - INFO - Detaching port 8d77933d-b12c-415e-912c-9e55249434d3 from VM ctest-vn1-vm1-69272756 2025-11-10 18:50:20,894 - INFO - Deleting VM ctest-vn1-vm1-69272756 2025-11-10 18:50:21,258 - DEBUG - Response for delete_port : () 2025-11-10 18:50:21,421 - DEBUG - Response for delete_port : () 2025-11-10 18:50:21,421 - INFO - Deleting VN ctest-vn1-89609422 2025-11-10 18:50:21,565 - DEBUG - Response for deleting network () 2025-11-10 18:50:21,833 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 18:50:21,833 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-11-10 18:50:21,834 - INFO - -------------------------------------------------------------------------------- 2025-11-10 18:50:22,541 - INFO - Deleted project: ctest-TestPorts-74475621, ID : 71ec447f-73e9-462f-becd-14e5aaed0dc5