2025-09-13 16:55:50,150 - INFO - Domain Default found not creating 2025-09-13 16:55:50,318 - INFO - Project ctest-TestPorts-74277773 not found, creating it 2025-09-13 16:55:50,813 - INFO - Created Project:ctest-TestPorts-74277773, ID : 650489a7-5968-4bde-a3a1-0e1ba5ac3a8b 2025-09-13 16:55:52,314 - INFO - ================================================================================ 2025-09-13 16:55:52,314 - INFO - STARTING TEST : test_ports_bindings 2025-09-13 16:55:52,314 - 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-13 16:55:52,568 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-13 16:55:52,568 - INFO - Initial checks done. Running the testcase now 2025-09-13 16:55:52,569 - INFO - 2025-09-13 16:55:53,136 - DEBUG - Response for create_network : {'network': {'id': '2e5325bd-3c43-48b4-9c31-0c74053676c7', 'name': 'ctest-vn-10424994', 'tenant_id': '650489a759684bdea3a10e1ba5ac3a8b', 'project_id': '650489a759684bdea3a10e1ba5ac3a8b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74277773', 'ctest-vn-10424994'], 'port_security_enabled': True, 'description': ''}} 2025-09-13 16:55:53,333 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac5519b1-2a78-4011-9c96-1f6119d848e7', 'name': '', 'tenant_id': '650489a759684bdea3a10e1ba5ac3a8b', 'network_id': '2e5325bd-3c43-48b4-9c31-0c74053676c7', 'ip_version': 4, 'cidr': '43.52.208.128/26', 'allocation_pools': [{'start': '43.52.208.130', 'end': '43.52.208.190'}], 'gateway_ip': '43.52.208.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.52.208.130', 'tags': [], 'project_id': '650489a759684bdea3a10e1ba5ac3a8b'}} 2025-09-13 16:55:53,353 - INFO - Created VN ctest-vn-10424994 2025-09-13 16:55:53,407 - DEBUG - VN ctest-vn-10424994 UUID is 2e5325bd-3c43-48b4-9c31-0c74053676c7 2025-09-13 16:55:53,521 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-74277773', 'ctest-vmi-24335443']} 2025-09-13 16:55:53,778 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-24335443', 'id': 'dd87cb63-a185-4d91-b1b8-835c73adeeaa', 'tenant_id': '650489a759684bdea3a10e1ba5ac3a8b', 'network_id': '2e5325bd-3c43-48b4-9c31-0c74053676c7', 'mac_address': '02:dd:87:cb:63:a1', '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': '43.52.208.131', 'subnet_id': 'ac5519b1-2a78-4011-9c96-1f6119d848e7'}], 'security_groups': ['3d7a851c-17c9-4f43-b413-039bec395b77'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '650489a759684bdea3a10e1ba5ac3a8b'}} 2025-09-13 16:55:53,778 - DEBUG - Created port dd87cb63-a185-4d91-b1b8-835c73adeeaa 2025-09-13 16:55:53,887 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/dd87cb63-a185-4d91-b1b8-835c73adeeaa 2025-09-13 16:55:54,195 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/dd87cb63-a185-4d91-b1b8-835c73adeeaa 2025-09-13 16:55:54,233 - INFO - VMI dd87cb63-a185-4d91-b1b8-835c73adeeaa verification in API Server passed 2025-09-13 16:55:54,335 - DEBUG - Response for delete_port : () 2025-09-13 16:55:54,335 - INFO - Deleted port dd87cb63-a185-4d91-b1b8-835c73adeeaa 2025-09-13 16:55:54,335 - INFO - Deleting VN ctest-vn-10424994 2025-09-13 16:55:54,460 - DEBUG - Response for deleting network () 2025-09-13 16:55:54,727 - DEBUG - No XMPP flaps were noticed during the test
2025-09-13 16:55:54,727 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-13 16:55:54,727 - INFO - -------------------------------------------------------------------------------- 2025-09-13 16:55:54,730 - INFO - ================================================================================ 2025-09-13 16:55:54,730 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-13 16:55:54,730 - 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-13 16:55:55,019 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-13 16:55:55,019 - INFO - Initial checks done. Running the testcase now 2025-09-13 16:55:55,019 - INFO - 2025-09-13 16:55:55,198 - DEBUG - Response for create_network : {'network': {'id': 'c04c2a76-3841-4ba9-a6e1-fab5255cec82', 'name': 'ctest-vn1-61162968', 'tenant_id': '650489a759684bdea3a10e1ba5ac3a8b', 'project_id': '650489a759684bdea3a10e1ba5ac3a8b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74277773', 'ctest-vn1-61162968'], 'port_security_enabled': True, 'description': ''}} 2025-09-13 16:55:55,358 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb3d502b-7102-4770-ac69-ad42102ee243', 'name': '', 'tenant_id': '650489a759684bdea3a10e1ba5ac3a8b', 'network_id': 'c04c2a76-3841-4ba9-a6e1-fab5255cec82', 'ip_version': 4, 'cidr': '25.175.126.192/26', 'allocation_pools': [{'start': '25.175.126.194', 'end': '25.175.126.254'}], 'gateway_ip': '25.175.126.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.175.126.194', 'tags': [], 'project_id': '650489a759684bdea3a10e1ba5ac3a8b'}} 2025-09-13 16:55:55,515 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d519c2c-d9eb-40d1-8dbe-c6a997a82708', 'name': '', 'tenant_id': '650489a759684bdea3a10e1ba5ac3a8b', 'network_id': 'c04c2a76-3841-4ba9-a6e1-fab5255cec82', 'ip_version': 4, 'cidr': '67.166.196.0/26', 'allocation_pools': [{'start': '67.166.196.2', 'end': '67.166.196.62'}], 'gateway_ip': '67.166.196.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.166.196.2', 'tags': [], 'project_id': '650489a759684bdea3a10e1ba5ac3a8b'}} 2025-09-13 16:55:55,536 - INFO - Created VN ctest-vn1-61162968 2025-09-13 16:55:55,591 - DEBUG - VN ctest-vn1-61162968 UUID is c04c2a76-3841-4ba9-a6e1-fab5255cec82 2025-09-13 16:55:55,897 - DEBUG - Response for create_port : {'port': {'name': 'b04f93c0-e0f1-470a-83d5-10b467c53742', 'id': 'b04f93c0-e0f1-470a-83d5-10b467c53742', 'tenant_id': '650489a759684bdea3a10e1ba5ac3a8b', 'network_id': 'c04c2a76-3841-4ba9-a6e1-fab5255cec82', 'mac_address': '02:b0:4f:93:c0:e0', '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': '25.175.126.197', 'subnet_id': 'fb3d502b-7102-4770-ac69-ad42102ee243'}], 'security_groups': ['3d7a851c-17c9-4f43-b413-039bec395b77'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '650489a759684bdea3a10e1ba5ac3a8b'}} 2025-09-13 16:55:56,071 - DEBUG - Response for create_port : {'port': {'name': '25f7e9ef-5eea-44c5-8ed2-b25fa7fe8c3a', 'id': '25f7e9ef-5eea-44c5-8ed2-b25fa7fe8c3a', 'tenant_id': '650489a759684bdea3a10e1ba5ac3a8b', 'network_id': 'c04c2a76-3841-4ba9-a6e1-fab5255cec82', 'mac_address': '02:25:f7:e9:ef: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': '67.166.196.5', 'subnet_id': '8d519c2c-d9eb-40d1-8dbe-c6a997a82708'}], 'security_groups': ['3d7a851c-17c9-4f43-b413-039bec395b77'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '650489a759684bdea3a10e1ba5ac3a8b'}} 2025-09-13 16:55:56,132 - DEBUG - Services list from nova: [, , ] 2025-09-13 16:55:56,480 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4103-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4103-1) 2025-09-13 16:55:56,873 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4103-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4103-1) 2025-09-13 16:55:56,873 - INFO - Waiting for VM ctest-vn1-vm1-81172859 to be up.. 2025-09-13 16:55:56,920 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-13 16:56:02,016 - DEBUG - VM is in ACTIVE state now 2025-09-13 16:56:02,016 - INFO - VM name : ctest-vn1-vm1-81172859 2025-09-13 16:56:02,106 - DEBUG - VM ctest-vn1-vm1-81172859 ID is d4f4e64d-ada6-4807-97cb-cb1aef3ca72b 2025-09-13 16:56:02,127 - DEBUG - VM ctest-vn1-vm1-81172859 launched on Node cn-jenkins-deploy-platform-ansible-os-4103-1 2025-09-13 16:56:02,207 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d4f4e64d-ada6-4807-97cb-cb1aef3ca72b 2025-09-13 16:56:02,216 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b04f93c0-e0f1-470a-83d5-10b467c53742 2025-09-13 16:56:05,463 - 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 1002ms') 2025-09-13 16:56:05,463 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81172859 failed! 2025-09-13 16:56:05,523 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74277773:ctest-vn1-61162968 is 25.175.126.193 and allocation pool is NOT set 2025-09-13 16:56:05,523 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74277773:ctest-vn1-61162968 is 67.166.196.1 and allocation pool is NOT set 2025-09-13 16:56:07,589 - 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=11.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.55 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.554/7.567/11.581/4.013 ms') 2025-09-13 16:56:07,589 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81172859 passed 2025-09-13 16:56:07,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 16:56:07,739 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-81172859, IP 25.175.126.197, Port 22 2025-09-13 16:56:07,805 - 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-09-13 16:56:07,887 - DEBUG - VM ctest-vn1-vm1-81172859 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-13 16:56:12,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 16:56:12,888 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-81172859, IP 25.175.126.197, Port 22 2025-09-13 16:56:13,043 - DEBUG - VM ctest-vn1-vm1-81172859 is ready for SSH connections 2025-09-13 16:56:13,043 - INFO - Waiting for VM ctest-vn1-vm2-28676486 to be up.. 2025-09-13 16:56:13,123 - DEBUG - VM is in ACTIVE state now 2025-09-13 16:56:13,123 - INFO - VM name : ctest-vn1-vm2-28676486 2025-09-13 16:56:13,196 - DEBUG - VM ctest-vn1-vm2-28676486 ID is f66014e6-9d5f-40ae-bbb0-fb37460ca916 2025-09-13 16:56:13,197 - DEBUG - VM ctest-vn1-vm2-28676486 launched on Node cn-jenkins-deploy-platform-ansible-os-4103-1 2025-09-13 16:56:13,281 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f66014e6-9d5f-40ae-bbb0-fb37460ca916 2025-09-13 16:56:13,295 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/25f7e9ef-5eea-44c5-8ed2-b25fa7fe8c3a 2025-09-13 16:56:14,533 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.546 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.546/1.721/2.897/1.175 ms') 2025-09-13 16:56:14,533 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-28676486 passed 2025-09-13 16:56:14,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 16:56:14,683 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-28676486, IP 67.166.196.5, Port 22 2025-09-13 16:56:14,861 - DEBUG - VM ctest-vn1-vm2-28676486 is ready for SSH connections 2025-09-13 16:56:14,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 16:56:14,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 16:56:14,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 16:56:14,862 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.175.126.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-13 16:56:14,862 - DEBUG - ping -s 56 -c 3 -W 1 25.175.126.197 2025-09-13 16:56:17,532 - DEBUG - PING 25.175.126.197 (25.175.126.197): 56 data bytes 64 bytes from 25.175.126.197: seq=0 ttl=63 time=4.726 ms 64 bytes from 25.175.126.197: seq=1 ttl=63 time=0.874 ms 64 bytes from 25.175.126.197: seq=2 ttl=63 time=0.948 ms --- 25.175.126.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.874/2.182/4.726 ms 2025-09-13 16:56:17,532 - INFO - Ping to IP 25.175.126.197 from VM ctest-vn1-vm2-28676486 passed 2025-09-13 16:56:17,532 - INFO - Detaching port 25f7e9ef-5eea-44c5-8ed2-b25fa7fe8c3a from VM ctest-vn1-vm2-28676486 2025-09-13 16:56:17,588 - INFO - Deleting VM ctest-vn1-vm2-28676486 2025-09-13 16:56:17,671 - INFO - Detaching port b04f93c0-e0f1-470a-83d5-10b467c53742 from VM ctest-vn1-vm1-81172859 2025-09-13 16:56:17,707 - INFO - Deleting VM ctest-vn1-vm1-81172859 2025-09-13 16:56:17,984 - DEBUG - Response for delete_port : () 2025-09-13 16:56:18,171 - DEBUG - Response for delete_port : () 2025-09-13 16:56:18,171 - INFO - Deleting VN ctest-vn1-61162968 2025-09-13 16:56:18,308 - DEBUG - Response for deleting network () 2025-09-13 16:56:18,577 - DEBUG - No XMPP flaps were noticed during the test
2025-09-13 16:56:18,577 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-09-13 16:56:18,577 - INFO - -------------------------------------------------------------------------------- 2025-09-13 16:56:19,276 - INFO - Deleted project: ctest-TestPorts-74277773, ID : 650489a7-5968-4bde-a3a1-0e1ba5ac3a8b