2025-08-19 13:14:43,368 - INFO - Domain Default found not creating 2025-08-19 13:14:43,506 - INFO - Project ctest-TestPorts-99948590 not found, creating it 2025-08-19 13:14:43,939 - INFO - Created Project:ctest-TestPorts-99948590, ID : 3c14b5b5-3b59-4499-a4df-3e55dcd8933f 2025-08-19 13:14:45,503 - INFO - ================================================================================ 2025-08-19 13:14:45,503 - INFO - STARTING TEST : test_ports_bindings 2025-08-19 13:14:45,503 - 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-08-19 13:14:45,763 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-19 13:14:45,763 - INFO - Initial checks done. Running the testcase now 2025-08-19 13:14:45,763 - INFO - 2025-08-19 13:14:46,334 - DEBUG - Response for create_network : {'network': {'id': '529c52bb-e74c-4c23-82c7-b1f29d3a9944', 'name': 'ctest-vn-75579642', 'tenant_id': '3c14b5b53b594499a4df3e55dcd8933f', 'project_id': '3c14b5b53b594499a4df3e55dcd8933f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99948590', 'ctest-vn-75579642'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 13:14:46,554 - DEBUG - Response for create_subnet : {'subnet': {'id': '21b56e4f-fa88-452d-9fea-a0083b255d03', 'name': '', 'tenant_id': '3c14b5b53b594499a4df3e55dcd8933f', 'network_id': '529c52bb-e74c-4c23-82c7-b1f29d3a9944', 'ip_version': 4, 'cidr': '140.66.210.192/26', 'allocation_pools': [{'start': '140.66.210.194', 'end': '140.66.210.254'}], 'gateway_ip': '140.66.210.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.66.210.194', 'tags': [], 'project_id': '3c14b5b53b594499a4df3e55dcd8933f'}} 2025-08-19 13:14:46,575 - INFO - Created VN ctest-vn-75579642 2025-08-19 13:14:46,629 - DEBUG - VN ctest-vn-75579642 UUID is 529c52bb-e74c-4c23-82c7-b1f29d3a9944 2025-08-19 13:14:46,735 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-99948590', 'ctest-vmi-00342498']} 2025-08-19 13:14:47,021 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-00342498', 'id': '398e9c38-6fdb-4919-9611-ef7b694e4e16', 'tenant_id': '3c14b5b53b594499a4df3e55dcd8933f', 'network_id': '529c52bb-e74c-4c23-82c7-b1f29d3a9944', 'mac_address': '02:39:8e:9c:38:6f', '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': '140.66.210.195', 'subnet_id': '21b56e4f-fa88-452d-9fea-a0083b255d03'}], 'security_groups': ['c03133a7-c224-40c0-91af-c2e7f8e9467f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3c14b5b53b594499a4df3e55dcd8933f'}} 2025-08-19 13:14:47,021 - DEBUG - Created port 398e9c38-6fdb-4919-9611-ef7b694e4e16 2025-08-19 13:14:47,129 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/398e9c38-6fdb-4919-9611-ef7b694e4e16 2025-08-19 13:14:47,460 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/398e9c38-6fdb-4919-9611-ef7b694e4e16 2025-08-19 13:14:47,492 - INFO - VMI 398e9c38-6fdb-4919-9611-ef7b694e4e16 verification in API Server passed 2025-08-19 13:14:47,586 - DEBUG - Response for delete_port : () 2025-08-19 13:14:47,586 - INFO - Deleted port 398e9c38-6fdb-4919-9611-ef7b694e4e16 2025-08-19 13:14:47,586 - INFO - Deleting VN ctest-vn-75579642 2025-08-19 13:14:47,686 - DEBUG - Response for deleting network () 2025-08-19 13:14:47,938 - DEBUG - No XMPP flaps were noticed during the test
2025-08-19 13:14:47,938 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-19 13:14:47,939 - INFO - -------------------------------------------------------------------------------- 2025-08-19 13:14:47,941 - INFO - ================================================================================ 2025-08-19 13:14:47,941 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-19 13:14:47,941 - 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-08-19 13:14:48,231 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-19 13:14:48,231 - INFO - Initial checks done. Running the testcase now 2025-08-19 13:14:48,231 - INFO - 2025-08-19 13:14:48,427 - DEBUG - Response for create_network : {'network': {'id': '0e62f1b4-df7c-4cd7-874e-b688c365e994', 'name': 'ctest-vn1-15255641', 'tenant_id': '3c14b5b53b594499a4df3e55dcd8933f', 'project_id': '3c14b5b53b594499a4df3e55dcd8933f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99948590', 'ctest-vn1-15255641'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 13:14:48,619 - DEBUG - Response for create_subnet : {'subnet': {'id': '603803b7-6ab4-434c-8e02-0c56a46eb4d0', 'name': '', 'tenant_id': '3c14b5b53b594499a4df3e55dcd8933f', 'network_id': '0e62f1b4-df7c-4cd7-874e-b688c365e994', 'ip_version': 4, 'cidr': '171.67.154.0/26', 'allocation_pools': [{'start': '171.67.154.2', 'end': '171.67.154.62'}], 'gateway_ip': '171.67.154.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.67.154.2', 'tags': [], 'project_id': '3c14b5b53b594499a4df3e55dcd8933f'}} 2025-08-19 13:14:48,808 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a681f46c-7d64-4996-9cad-aeaecd4228c3', 'name': '', 'tenant_id': '3c14b5b53b594499a4df3e55dcd8933f', 'network_id': '0e62f1b4-df7c-4cd7-874e-b688c365e994', 'ip_version': 4, 'cidr': '168.126.33.64/26', 'allocation_pools': [{'start': '168.126.33.66', 'end': '168.126.33.126'}], 'gateway_ip': '168.126.33.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.126.33.66', 'tags': [], 'project_id': '3c14b5b53b594499a4df3e55dcd8933f'}} 2025-08-19 13:14:48,830 - INFO - Created VN ctest-vn1-15255641 2025-08-19 13:14:48,885 - DEBUG - VN ctest-vn1-15255641 UUID is 0e62f1b4-df7c-4cd7-874e-b688c365e994 2025-08-19 13:14:49,196 - DEBUG - Response for create_port : {'port': {'name': '118e6824-1959-45b6-b0b6-2bc50e55cf12', 'id': '118e6824-1959-45b6-b0b6-2bc50e55cf12', 'tenant_id': '3c14b5b53b594499a4df3e55dcd8933f', 'network_id': '0e62f1b4-df7c-4cd7-874e-b688c365e994', 'mac_address': '02:11:8e:68:24:19', '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': '171.67.154.5', 'subnet_id': '603803b7-6ab4-434c-8e02-0c56a46eb4d0'}], 'security_groups': ['c03133a7-c224-40c0-91af-c2e7f8e9467f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3c14b5b53b594499a4df3e55dcd8933f'}} 2025-08-19 13:14:49,393 - DEBUG - Response for create_port : {'port': {'name': '9cd68b7f-65c2-48a4-9018-6d42ff409fe1', 'id': '9cd68b7f-65c2-48a4-9018-6d42ff409fe1', 'tenant_id': '3c14b5b53b594499a4df3e55dcd8933f', 'network_id': '0e62f1b4-df7c-4cd7-874e-b688c365e994', 'mac_address': '02:9c:d6:8b:7f:65', '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': '168.126.33.69', 'subnet_id': 'a681f46c-7d64-4996-9cad-aeaecd4228c3'}], 'security_groups': ['c03133a7-c224-40c0-91af-c2e7f8e9467f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3c14b5b53b594499a4df3e55dcd8933f'}} 2025-08-19 13:14:49,450 - DEBUG - Services list from nova: [, , ] 2025-08-19 13:14:49,774 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3884-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3884-1) 2025-08-19 13:14:50,154 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3884-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3884-1) 2025-08-19 13:14:50,154 - INFO - Waiting for VM ctest-vn1-vm1-78799765 to be up.. 2025-08-19 13:14:50,192 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-19 13:14:55,267 - DEBUG - VM is in ACTIVE state now 2025-08-19 13:14:55,267 - INFO - VM name : ctest-vn1-vm1-78799765 2025-08-19 13:14:55,337 - DEBUG - VM ctest-vn1-vm1-78799765 ID is e242b6f9-64ce-4985-962b-d988426f0a6d 2025-08-19 13:14:55,355 - DEBUG - VM ctest-vn1-vm1-78799765 launched on Node cn-jenkins-deploy-platform-ansible-os-3884-1 2025-08-19 13:14:55,427 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e242b6f9-64ce-4985-962b-d988426f0a6d 2025-08-19 13:14:55,435 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/118e6824-1959-45b6-b0b6-2bc50e55cf12 2025-08-19 13:14:58,699 - 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-08-19 13:14:58,699 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78799765 failed! 2025-08-19 13:14:58,757 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99948590:ctest-vn1-15255641 is 171.67.154.1 and allocation pool is NOT set 2025-08-19 13:14:58,757 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99948590:ctest-vn1-15255641 is 168.126.33.65 and allocation pool is NOT set 2025-08-19 13:15:02,833 - 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=7.79 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 = 7.787/7.787/7.787/0.000 ms') 2025-08-19 13:15:02,833 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78799765 passed 2025-08-19 13:15:02,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 13:15:02,985 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-78799765, IP 171.67.154.5, Port 22 2025-08-19 13:15:03,052 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-19 13:15:03,123 - DEBUG - VM ctest-vn1-vm1-78799765 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-19 13:15:08,124 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 13:15:08,124 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-78799765, IP 171.67.154.5, Port 22 2025-08-19 13:15:08,280 - DEBUG - VM ctest-vn1-vm1-78799765 is ready for SSH connections 2025-08-19 13:15:08,280 - INFO - Waiting for VM ctest-vn1-vm2-25420348 to be up.. 2025-08-19 13:15:08,354 - DEBUG - VM is in ACTIVE state now 2025-08-19 13:15:08,354 - INFO - VM name : ctest-vn1-vm2-25420348 2025-08-19 13:15:08,429 - DEBUG - VM ctest-vn1-vm2-25420348 ID is 346698f1-94fe-4c10-95ff-49720bd1a183 2025-08-19 13:15:08,429 - DEBUG - VM ctest-vn1-vm2-25420348 launched on Node cn-jenkins-deploy-platform-ansible-os-3884-1 2025-08-19 13:15:08,502 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/346698f1-94fe-4c10-95ff-49720bd1a183 2025-08-19 13:15:08,510 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9cd68b7f-65c2-48a4-9018-6d42ff409fe1 2025-08-19 13:15:09,746 - 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=2.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.329 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.329/1.604/2.880/1.275 ms') 2025-08-19 13:15:09,747 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-25420348 passed 2025-08-19 13:15:09,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 13:15:09,901 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-25420348, IP 168.126.33.69, Port 22 2025-08-19 13:15:10,061 - DEBUG - VM ctest-vn1-vm2-25420348 is ready for SSH connections 2025-08-19 13:15:10,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 13:15:10,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 13:15:10,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 13:15:10,061 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.67.154.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-19 13:15:10,062 - DEBUG - ping -s 56 -c 3 -W 1 171.67.154.5 2025-08-19 13:15:12,721 - DEBUG - PING 171.67.154.5 (171.67.154.5): 56 data bytes 64 bytes from 171.67.154.5: seq=0 ttl=63 time=3.512 ms 64 bytes from 171.67.154.5: seq=1 ttl=63 time=0.789 ms 64 bytes from 171.67.154.5: seq=2 ttl=63 time=0.852 ms --- 171.67.154.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.789/1.717/3.512 ms 2025-08-19 13:15:12,722 - INFO - Ping to IP 171.67.154.5 from VM ctest-vn1-vm2-25420348 passed 2025-08-19 13:15:12,722 - INFO - Detaching port 9cd68b7f-65c2-48a4-9018-6d42ff409fe1 from VM ctest-vn1-vm2-25420348 2025-08-19 13:15:12,769 - INFO - Deleting VM ctest-vn1-vm2-25420348 2025-08-19 13:15:12,834 - INFO - Detaching port 118e6824-1959-45b6-b0b6-2bc50e55cf12 from VM ctest-vn1-vm1-78799765 2025-08-19 13:15:12,869 - INFO - Deleting VM ctest-vn1-vm1-78799765 2025-08-19 13:15:13,151 - DEBUG - Response for delete_port : () 2025-08-19 13:15:13,351 - DEBUG - Response for delete_port : () 2025-08-19 13:15:13,352 - INFO - Deleting VN ctest-vn1-15255641 2025-08-19 13:15:13,479 - DEBUG - Response for deleting network () 2025-08-19 13:15:13,735 - DEBUG - No XMPP flaps were noticed during the test
2025-08-19 13:15:13,735 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-08-19 13:15:13,735 - INFO - -------------------------------------------------------------------------------- 2025-08-19 13:15:14,454 - INFO - Deleted project: ctest-TestPorts-99948590, ID : 3c14b5b5-3b59-4499-a4df-3e55dcd8933f