2025-08-29 14:26:52,739 - INFO - Domain Default found not creating 2025-08-29 14:26:52,875 - INFO - Project ctest-TestPorts-65823832 not found, creating it 2025-08-29 14:26:53,306 - INFO - Created Project:ctest-TestPorts-65823832, ID : 620e688e-c65e-49b8-991e-ce1e4037e4cd 2025-08-29 14:26:54,631 - INFO - ================================================================================ 2025-08-29 14:26:54,631 - INFO - STARTING TEST : test_ports_bindings 2025-08-29 14:26:54,631 - 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-29 14:26:54,890 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-29 14:26:54,890 - INFO - Initial checks done. Running the testcase now 2025-08-29 14:26:54,891 - INFO - 2025-08-29 14:26:55,506 - DEBUG - Response for create_network : {'network': {'id': '49f71440-940a-46fd-84e8-b5fa406ef914', 'name': 'ctest-vn-11625710', 'tenant_id': '620e688ec65e49b8991ece1e4037e4cd', 'project_id': '620e688ec65e49b8991ece1e4037e4cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65823832', 'ctest-vn-11625710'], 'port_security_enabled': True, 'description': ''}} 2025-08-29 14:26:55,698 - DEBUG - Response for create_subnet : {'subnet': {'id': '9052c68b-74c3-474c-b1b1-d70d833edc7f', 'name': '', 'tenant_id': '620e688ec65e49b8991ece1e4037e4cd', 'network_id': '49f71440-940a-46fd-84e8-b5fa406ef914', 'ip_version': 4, 'cidr': '77.55.7.128/26', 'allocation_pools': [{'start': '77.55.7.130', 'end': '77.55.7.190'}], 'gateway_ip': '77.55.7.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.55.7.130', 'tags': [], 'project_id': '620e688ec65e49b8991ece1e4037e4cd'}} 2025-08-29 14:26:55,715 - INFO - Created VN ctest-vn-11625710 2025-08-29 14:26:55,765 - DEBUG - VN ctest-vn-11625710 UUID is 49f71440-940a-46fd-84e8-b5fa406ef914 2025-08-29 14:26:55,862 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-65823832', 'ctest-vmi-44466654']} 2025-08-29 14:26:56,135 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-44466654', 'id': '7fdbd1ba-0b80-421f-a590-6f323bcefb1f', 'tenant_id': '620e688ec65e49b8991ece1e4037e4cd', 'network_id': '49f71440-940a-46fd-84e8-b5fa406ef914', 'mac_address': '02:7f:db:d1:ba:0b', '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': '77.55.7.131', 'subnet_id': '9052c68b-74c3-474c-b1b1-d70d833edc7f'}], 'security_groups': ['9ee3cacc-0d5a-4b15-80dc-8b4dcb30abdb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '620e688ec65e49b8991ece1e4037e4cd'}} 2025-08-29 14:26:56,135 - DEBUG - Created port 7fdbd1ba-0b80-421f-a590-6f323bcefb1f 2025-08-29 14:26:56,241 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7fdbd1ba-0b80-421f-a590-6f323bcefb1f 2025-08-29 14:26:56,740 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7fdbd1ba-0b80-421f-a590-6f323bcefb1f 2025-08-29 14:26:56,777 - INFO - VMI 7fdbd1ba-0b80-421f-a590-6f323bcefb1f verification in API Server passed 2025-08-29 14:26:56,854 - DEBUG - Response for delete_port : () 2025-08-29 14:26:56,854 - INFO - Deleted port 7fdbd1ba-0b80-421f-a590-6f323bcefb1f 2025-08-29 14:26:56,854 - INFO - Deleting VN ctest-vn-11625710 2025-08-29 14:26:56,951 - DEBUG - Response for deleting network () 2025-08-29 14:26:57,205 - DEBUG - No XMPP flaps were noticed during the test
2025-08-29 14:26:57,205 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-29 14:26:57,205 - INFO - -------------------------------------------------------------------------------- 2025-08-29 14:26:57,208 - INFO - ================================================================================ 2025-08-29 14:26:57,208 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-29 14:26:57,208 - 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-29 14:26:57,498 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-29 14:26:57,498 - INFO - Initial checks done. Running the testcase now 2025-08-29 14:26:57,498 - INFO - 2025-08-29 14:26:57,652 - DEBUG - Response for create_network : {'network': {'id': 'a024a4f5-dfec-416d-9ee5-73004c0261f3', 'name': 'ctest-vn1-50897130', 'tenant_id': '620e688ec65e49b8991ece1e4037e4cd', 'project_id': '620e688ec65e49b8991ece1e4037e4cd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65823832', 'ctest-vn1-50897130'], 'port_security_enabled': True, 'description': ''}} 2025-08-29 14:26:57,796 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e498fb97-4765-455a-8521-278523d4023f', 'name': '', 'tenant_id': '620e688ec65e49b8991ece1e4037e4cd', 'network_id': 'a024a4f5-dfec-416d-9ee5-73004c0261f3', 'ip_version': 4, 'cidr': '144.178.226.128/26', 'allocation_pools': [{'start': '144.178.226.130', 'end': '144.178.226.190'}], 'gateway_ip': '144.178.226.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.178.226.130', 'tags': [], 'project_id': '620e688ec65e49b8991ece1e4037e4cd'}} 2025-08-29 14:26:57,991 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee3ba406-a9dc-45a6-a883-fe94d73a5ea4', 'name': '', 'tenant_id': '620e688ec65e49b8991ece1e4037e4cd', 'network_id': 'a024a4f5-dfec-416d-9ee5-73004c0261f3', 'ip_version': 4, 'cidr': '87.78.41.0/26', 'allocation_pools': [{'start': '87.78.41.2', 'end': '87.78.41.62'}], 'gateway_ip': '87.78.41.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.78.41.2', 'tags': [], 'project_id': '620e688ec65e49b8991ece1e4037e4cd'}} 2025-08-29 14:26:58,008 - INFO - Created VN ctest-vn1-50897130 2025-08-29 14:26:58,057 - DEBUG - VN ctest-vn1-50897130 UUID is a024a4f5-dfec-416d-9ee5-73004c0261f3 2025-08-29 14:26:58,339 - DEBUG - Response for create_port : {'port': {'name': 'f02e8a3e-1383-4872-8ff1-46a32fc091b1', 'id': 'f02e8a3e-1383-4872-8ff1-46a32fc091b1', 'tenant_id': '620e688ec65e49b8991ece1e4037e4cd', 'network_id': 'a024a4f5-dfec-416d-9ee5-73004c0261f3', 'mac_address': '02:f0:2e:8a:3e:13', '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': '144.178.226.133', 'subnet_id': 'e498fb97-4765-455a-8521-278523d4023f'}], 'security_groups': ['9ee3cacc-0d5a-4b15-80dc-8b4dcb30abdb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '620e688ec65e49b8991ece1e4037e4cd'}} 2025-08-29 14:26:58,489 - DEBUG - Response for create_port : {'port': {'name': '451bc3ba-8397-479e-a9e2-38f5c1516cb2', 'id': '451bc3ba-8397-479e-a9e2-38f5c1516cb2', 'tenant_id': '620e688ec65e49b8991ece1e4037e4cd', 'network_id': 'a024a4f5-dfec-416d-9ee5-73004c0261f3', 'mac_address': '02:45:1b:c3:ba:83', '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': '87.78.41.5', 'subnet_id': 'ee3ba406-a9dc-45a6-a883-fe94d73a5ea4'}], 'security_groups': ['9ee3cacc-0d5a-4b15-80dc-8b4dcb30abdb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '620e688ec65e49b8991ece1e4037e4cd'}} 2025-08-29 14:26:58,538 - DEBUG - Services list from nova: [, , ] 2025-08-29 14:26:58,823 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3973-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3973-1) 2025-08-29 14:26:59,170 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3973-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3973-1) 2025-08-29 14:26:59,170 - INFO - Waiting for VM ctest-vn1-vm1-40262491 to be up.. 2025-08-29 14:26:59,209 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-29 14:27:04,275 - DEBUG - VM is in ACTIVE state now 2025-08-29 14:27:04,275 - INFO - VM name : ctest-vn1-vm1-40262491 2025-08-29 14:27:04,341 - DEBUG - VM ctest-vn1-vm1-40262491 ID is 0e80cea1-2d68-42af-8c3f-d08ba248bb41 2025-08-29 14:27:04,358 - DEBUG - VM ctest-vn1-vm1-40262491 launched on Node cn-jenkins-deploy-platform-ansible-os-3973-1 2025-08-29 14:27:04,425 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0e80cea1-2d68-42af-8c3f-d08ba248bb41 2025-08-29 14:27:04,432 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f02e8a3e-1383-4872-8ff1-46a32fc091b1 2025-08-29 14:27:07,670 - 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-08-29 14:27:07,670 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-40262491 failed! 2025-08-29 14:27:07,725 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65823832:ctest-vn1-50897130 is 144.178.226.129 and allocation pool is NOT set 2025-08-29 14:27:07,725 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65823832:ctest-vn1-50897130 is 87.78.41.1 and allocation pool is NOT set 2025-08-29 14:27:09,787 - 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=4.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.49 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 3.485/3.808/4.132/0.323 ms') 2025-08-29 14:27:09,787 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-40262491 passed 2025-08-29 14:27:09,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 14:27:09,933 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-40262491, IP 144.178.226.133, Port 22 2025-08-29 14:27:09,992 - 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-29 14:27:10,062 - DEBUG - VM ctest-vn1-vm1-40262491 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-29 14:27:15,063 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 14:27:15,063 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-40262491, IP 144.178.226.133, Port 22 2025-08-29 14:27:15,231 - DEBUG - VM ctest-vn1-vm1-40262491 is ready for SSH connections 2025-08-29 14:27:15,231 - INFO - Waiting for VM ctest-vn1-vm2-23904819 to be up.. 2025-08-29 14:27:15,302 - DEBUG - VM is in ACTIVE state now 2025-08-29 14:27:15,302 - INFO - VM name : ctest-vn1-vm2-23904819 2025-08-29 14:27:15,370 - DEBUG - VM ctest-vn1-vm2-23904819 ID is faf6e171-71ee-400c-a59a-d72b3c09e3a2 2025-08-29 14:27:15,370 - DEBUG - VM ctest-vn1-vm2-23904819 launched on Node cn-jenkins-deploy-platform-ansible-os-3973-1 2025-08-29 14:27:15,435 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/faf6e171-71ee-400c-a59a-d72b3c09e3a2 2025-08-29 14:27:15,442 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/451bc3ba-8397-479e-a9e2-38f5c1516cb2 2025-08-29 14:27:16,669 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 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.444/1.691/2.938/1.247 ms') 2025-08-29 14:27:16,669 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-23904819 passed 2025-08-29 14:27:16,821 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 14:27:16,821 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-23904819, IP 87.78.41.5, Port 22 2025-08-29 14:27:16,973 - DEBUG - VM ctest-vn1-vm2-23904819 is ready for SSH connections 2025-08-29 14:27:16,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 14:27:16,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 14:27:16,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 14:27:16,973 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.178.226.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-29 14:27:16,973 - DEBUG - ping -s 56 -c 3 -W 1 144.178.226.133 2025-08-29 14:27:19,883 - DEBUG - PING 144.178.226.133 (144.178.226.133): 56 data bytes 64 bytes from 144.178.226.133: seq=0 ttl=63 time=3.303 ms 64 bytes from 144.178.226.133: seq=1 ttl=63 time=0.970 ms 64 bytes from 144.178.226.133: seq=2 ttl=63 time=1.022 ms --- 144.178.226.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.970/1.765/3.303 ms 2025-08-29 14:27:19,883 - INFO - Ping to IP 144.178.226.133 from VM ctest-vn1-vm2-23904819 passed 2025-08-29 14:27:19,883 - INFO - Detaching port 451bc3ba-8397-479e-a9e2-38f5c1516cb2 from VM ctest-vn1-vm2-23904819 2025-08-29 14:27:19,929 - INFO - Deleting VM ctest-vn1-vm2-23904819 2025-08-29 14:27:19,994 - INFO - Detaching port f02e8a3e-1383-4872-8ff1-46a32fc091b1 from VM ctest-vn1-vm1-40262491 2025-08-29 14:27:20,031 - INFO - Deleting VM ctest-vn1-vm1-40262491 2025-08-29 14:27:20,276 - DEBUG - Response for delete_port : () 2025-08-29 14:27:20,424 - DEBUG - Response for delete_port : () 2025-08-29 14:27:20,424 - INFO - Deleting VN ctest-vn1-50897130 2025-08-29 14:27:20,526 - DEBUG - Response for deleting network () 2025-08-29 14:27:20,790 - DEBUG - No XMPP flaps were noticed during the test
2025-08-29 14:27:20,790 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-08-29 14:27:20,790 - INFO - -------------------------------------------------------------------------------- 2025-08-29 14:27:21,458 - INFO - Deleted project: ctest-TestPorts-65823832, ID : 620e688e-c65e-49b8-991e-ce1e4037e4cd