2025-10-24 10:44:46,176 - INFO - Domain Default found not creating 2025-10-24 10:44:46,333 - INFO - Project ctest-TestPorts-38405372 not found, creating it 2025-10-24 10:44:46,800 - INFO - Created Project:ctest-TestPorts-38405372, ID : b5be7eaa-4ad5-434d-9150-9b6176f64b91 2025-10-24 10:44:48,558 - INFO - ================================================================================ 2025-10-24 10:44:48,558 - INFO - STARTING TEST : test_ports_bindings 2025-10-24 10:44:48,558 - 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-10-24 10:44:48,817 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-24 10:44:48,817 - INFO - Initial checks done. Running the testcase now 2025-10-24 10:44:48,818 - INFO - 2025-10-24 10:44:49,422 - DEBUG - Response for create_network : {'network': {'id': '76d6a2ca-c8d1-4318-811e-710b998a87a1', 'name': 'ctest-vn-51518509', 'tenant_id': 'b5be7eaa4ad5434d91509b6176f64b91', 'project_id': 'b5be7eaa4ad5434d91509b6176f64b91', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38405372', 'ctest-vn-51518509'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 10:44:49,599 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c13ee132-b189-4b59-87dc-5ab2b0d27e2e', 'name': '', 'tenant_id': 'b5be7eaa4ad5434d91509b6176f64b91', 'network_id': '76d6a2ca-c8d1-4318-811e-710b998a87a1', 'ip_version': 4, 'cidr': '209.14.250.192/26', 'allocation_pools': [{'start': '209.14.250.194', 'end': '209.14.250.254'}], 'gateway_ip': '209.14.250.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.14.250.194', 'tags': [], 'project_id': 'b5be7eaa4ad5434d91509b6176f64b91'}} 2025-10-24 10:44:49,617 - INFO - Created VN ctest-vn-51518509 2025-10-24 10:44:49,668 - DEBUG - VN ctest-vn-51518509 UUID is 76d6a2ca-c8d1-4318-811e-710b998a87a1 2025-10-24 10:44:49,780 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-38405372', 'ctest-vmi-16904385']} 2025-10-24 10:44:50,028 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-16904385', 'id': '70f0200e-99dd-40f0-849a-c4be14597d31', 'tenant_id': 'b5be7eaa4ad5434d91509b6176f64b91', 'network_id': '76d6a2ca-c8d1-4318-811e-710b998a87a1', 'mac_address': '02:70:f0:20:0e:99', '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': '209.14.250.195', 'subnet_id': 'c13ee132-b189-4b59-87dc-5ab2b0d27e2e'}], 'security_groups': ['6631a5cf-ab6b-480f-8fd4-943e20c93ffb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b5be7eaa4ad5434d91509b6176f64b91'}} 2025-10-24 10:44:50,029 - DEBUG - Created port 70f0200e-99dd-40f0-849a-c4be14597d31 2025-10-24 10:44:50,136 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/70f0200e-99dd-40f0-849a-c4be14597d31 2025-10-24 10:44:50,469 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/70f0200e-99dd-40f0-849a-c4be14597d31 2025-10-24 10:44:50,502 - INFO - VMI 70f0200e-99dd-40f0-849a-c4be14597d31 verification in API Server passed 2025-10-24 10:44:50,589 - DEBUG - Response for delete_port : () 2025-10-24 10:44:50,590 - INFO - Deleted port 70f0200e-99dd-40f0-849a-c4be14597d31 2025-10-24 10:44:50,590 - INFO - Deleting VN ctest-vn-51518509 2025-10-24 10:44:50,702 - DEBUG - Response for deleting network () 2025-10-24 10:44:50,981 - DEBUG - No XMPP flaps were noticed during the test
2025-10-24 10:44:50,981 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-24 10:44:50,981 - INFO - -------------------------------------------------------------------------------- 2025-10-24 10:44:50,985 - INFO - ================================================================================ 2025-10-24 10:44:50,986 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-24 10:44:50,986 - 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-10-24 10:44:51,272 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-24 10:44:51,272 - INFO - Initial checks done. Running the testcase now 2025-10-24 10:44:51,272 - INFO - 2025-10-24 10:44:51,467 - DEBUG - Response for create_network : {'network': {'id': '0bb6238f-18f2-4ece-80e1-e6e904f004f2', 'name': 'ctest-vn1-27884483', 'tenant_id': 'b5be7eaa4ad5434d91509b6176f64b91', 'project_id': 'b5be7eaa4ad5434d91509b6176f64b91', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38405372', 'ctest-vn1-27884483'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 10:44:51,616 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba6bb6ea-c301-44f0-b00b-819997c39a3a', 'name': '', 'tenant_id': 'b5be7eaa4ad5434d91509b6176f64b91', 'network_id': '0bb6238f-18f2-4ece-80e1-e6e904f004f2', 'ip_version': 4, 'cidr': '205.212.31.128/26', 'allocation_pools': [{'start': '205.212.31.130', 'end': '205.212.31.190'}], 'gateway_ip': '205.212.31.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.212.31.130', 'tags': [], 'project_id': 'b5be7eaa4ad5434d91509b6176f64b91'}} 2025-10-24 10:44:51,828 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f28a344a-b53b-4745-8502-e8d98143757c', 'name': '', 'tenant_id': 'b5be7eaa4ad5434d91509b6176f64b91', 'network_id': '0bb6238f-18f2-4ece-80e1-e6e904f004f2', 'ip_version': 4, 'cidr': '199.44.52.128/26', 'allocation_pools': [{'start': '199.44.52.130', 'end': '199.44.52.190'}], 'gateway_ip': '199.44.52.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.44.52.130', 'tags': [], 'project_id': 'b5be7eaa4ad5434d91509b6176f64b91'}} 2025-10-24 10:44:51,849 - INFO - Created VN ctest-vn1-27884483 2025-10-24 10:44:51,900 - DEBUG - VN ctest-vn1-27884483 UUID is 0bb6238f-18f2-4ece-80e1-e6e904f004f2 2025-10-24 10:44:52,214 - DEBUG - Response for create_port : {'port': {'name': 'ecaecf0a-6415-464d-9012-8eb402e35f14', 'id': 'ecaecf0a-6415-464d-9012-8eb402e35f14', 'tenant_id': 'b5be7eaa4ad5434d91509b6176f64b91', 'network_id': '0bb6238f-18f2-4ece-80e1-e6e904f004f2', 'mac_address': '02:ec:ae:cf:0a:64', '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': '205.212.31.133', 'subnet_id': 'ba6bb6ea-c301-44f0-b00b-819997c39a3a'}], 'security_groups': ['6631a5cf-ab6b-480f-8fd4-943e20c93ffb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b5be7eaa4ad5434d91509b6176f64b91'}} 2025-10-24 10:44:52,388 - DEBUG - Response for create_port : {'port': {'name': 'c59f547b-b4f2-41fa-9454-cb8cd9f8d2f4', 'id': 'c59f547b-b4f2-41fa-9454-cb8cd9f8d2f4', 'tenant_id': 'b5be7eaa4ad5434d91509b6176f64b91', 'network_id': '0bb6238f-18f2-4ece-80e1-e6e904f004f2', 'mac_address': '02:c5:9f:54:7b:b4', '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': '199.44.52.133', 'subnet_id': 'f28a344a-b53b-4745-8502-e8d98143757c'}], 'security_groups': ['6631a5cf-ab6b-480f-8fd4-943e20c93ffb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b5be7eaa4ad5434d91509b6176f64b91'}} 2025-10-24 10:44:52,452 - DEBUG - Services list from nova: [, , ] 2025-10-24 10:44:52,799 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4475-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4475-1) 2025-10-24 10:44:53,208 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4475-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4475-1) 2025-10-24 10:44:53,208 - INFO - Waiting for VM ctest-vn1-vm1-56400176 to be up.. 2025-10-24 10:44:53,253 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-24 10:44:58,331 - DEBUG - VM is in ACTIVE state now 2025-10-24 10:44:58,332 - INFO - VM name : ctest-vn1-vm1-56400176 2025-10-24 10:44:58,408 - DEBUG - VM ctest-vn1-vm1-56400176 ID is c902ebd2-7f48-437c-b322-cd0c352b850b 2025-10-24 10:44:58,428 - DEBUG - VM ctest-vn1-vm1-56400176 launched on Node cn-jenkins-deploy-platform-ansible-os-4475-1 2025-10-24 10:44:58,500 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c902ebd2-7f48-437c-b322-cd0c352b850b 2025-10-24 10:44:58,508 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ecaecf0a-6415-464d-9012-8eb402e35f14 2025-10-24 10:45:01,773 - 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 1024ms') 2025-10-24 10:45:01,774 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56400176 failed! 2025-10-24 10:45:01,832 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38405372:ctest-vn1-27884483 is 205.212.31.129 and allocation pool is NOT set 2025-10-24 10:45:01,832 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38405372:ctest-vn1-27884483 is 199.44.52.129 and allocation pool is NOT set 2025-10-24 10:45:05,907 - 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=9.41 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 9.406/9.406/9.406/0.000 ms') 2025-10-24 10:45:05,907 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56400176 passed 2025-10-24 10:45:06,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 10:45:06,068 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-56400176, IP 205.212.31.133, Port 22 2025-10-24 10:45:06,223 - DEBUG - VM ctest-vn1-vm1-56400176 is ready for SSH connections 2025-10-24 10:45:06,223 - INFO - Waiting for VM ctest-vn1-vm2-93623215 to be up.. 2025-10-24 10:45:06,311 - DEBUG - VM is in ACTIVE state now 2025-10-24 10:45:06,312 - INFO - VM name : ctest-vn1-vm2-93623215 2025-10-24 10:45:06,399 - DEBUG - VM ctest-vn1-vm2-93623215 ID is 046c338a-b156-40a0-8f63-32f03d35b7d1 2025-10-24 10:45:06,399 - DEBUG - VM ctest-vn1-vm2-93623215 launched on Node cn-jenkins-deploy-platform-ansible-os-4475-1 2025-10-24 10:45:06,480 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/046c338a-b156-40a0-8f63-32f03d35b7d1 2025-10-24 10:45:06,490 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c59f547b-b4f2-41fa-9454-cb8cd9f8d2f4 2025-10-24 10:45:07,724 - 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=4.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.881 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.881/2.626/4.371/1.745 ms') 2025-10-24 10:45:07,724 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-93623215 passed 2025-10-24 10:45:07,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 10:45:07,880 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-93623215, IP 199.44.52.133, Port 22 2025-10-24 10:45:08,035 - DEBUG - VM ctest-vn1-vm2-93623215 is ready for SSH connections 2025-10-24 10:45:08,035 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 10:45:08,035 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 10:45:08,035 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 10:45:08,036 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.212.31.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-24 10:45:08,036 - DEBUG - ping -s 56 -c 3 -W 1 205.212.31.133 2025-10-24 10:45:10,732 - DEBUG - PING 205.212.31.133 (205.212.31.133): 56 data bytes 64 bytes from 205.212.31.133: seq=0 ttl=63 time=3.779 ms 64 bytes from 205.212.31.133: seq=1 ttl=63 time=1.196 ms 64 bytes from 205.212.31.133: seq=2 ttl=63 time=0.964 ms --- 205.212.31.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.964/1.979/3.779 ms 2025-10-24 10:45:10,732 - INFO - Ping to IP 205.212.31.133 from VM ctest-vn1-vm2-93623215 passed 2025-10-24 10:45:10,732 - INFO - Detaching port c59f547b-b4f2-41fa-9454-cb8cd9f8d2f4 from VM ctest-vn1-vm2-93623215 2025-10-24 10:45:10,785 - INFO - Deleting VM ctest-vn1-vm2-93623215 2025-10-24 10:45:10,867 - INFO - Detaching port ecaecf0a-6415-464d-9012-8eb402e35f14 from VM ctest-vn1-vm1-56400176 2025-10-24 10:45:10,904 - INFO - Deleting VM ctest-vn1-vm1-56400176 2025-10-24 10:45:11,140 - DEBUG - Response for delete_port : () 2025-10-24 10:45:11,303 - DEBUG - Response for delete_port : () 2025-10-24 10:45:11,303 - INFO - Deleting VN ctest-vn1-27884483 2025-10-24 10:45:11,440 - DEBUG - Response for deleting network () 2025-10-24 10:45:11,693 - DEBUG - No XMPP flaps were noticed during the test
2025-10-24 10:45:11,693 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-10-24 10:45:11,693 - INFO - -------------------------------------------------------------------------------- 2025-10-24 10:45:12,439 - INFO - Deleted project: ctest-TestPorts-38405372, ID : b5be7eaa-4ad5-434d-9150-9b6176f64b91