2025-09-25 10:10:33,456 - INFO - Domain Default found not creating 2025-09-25 10:10:33,606 - INFO - Project ctest-TestPorts-24148579 not found, creating it 2025-09-25 10:10:34,037 - INFO - Created Project:ctest-TestPorts-24148579, ID : e445b15e-35cb-499a-9e40-4e1439375b35 2025-09-25 10:10:35,418 - INFO - ================================================================================ 2025-09-25 10:10:35,418 - INFO - STARTING TEST : test_ports_bindings 2025-09-25 10:10:35,418 - 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-25 10:10:35,674 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-09-25 10:10:35,674 - INFO - Initial checks done. Running the testcase now 2025-09-25 10:10:35,674 - INFO - 2025-09-25 10:10:36,195 - DEBUG - Response for create_network : {'network': {'id': '5965d0a2-0398-46ae-9bec-33e64fc81120', 'name': 'ctest-vn-48943185', 'tenant_id': 'e445b15e35cb499a9e404e1439375b35', 'project_id': 'e445b15e35cb499a9e404e1439375b35', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-24148579', 'ctest-vn-48943185'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 10:10:36,382 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3d6535d-88f6-4203-9c38-4fb37b7b4c59', 'name': '', 'tenant_id': 'e445b15e35cb499a9e404e1439375b35', 'network_id': '5965d0a2-0398-46ae-9bec-33e64fc81120', 'ip_version': 4, 'cidr': '108.229.122.0/26', 'allocation_pools': [{'start': '108.229.122.2', 'end': '108.229.122.62'}], 'gateway_ip': '108.229.122.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.229.122.2', 'tags': [], 'project_id': 'e445b15e35cb499a9e404e1439375b35'}} 2025-09-25 10:10:36,398 - INFO - Created VN ctest-vn-48943185 2025-09-25 10:10:36,449 - DEBUG - VN ctest-vn-48943185 UUID is 5965d0a2-0398-46ae-9bec-33e64fc81120 2025-09-25 10:10:36,628 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-24148579', 'ctest-vmi-79818641']} 2025-09-25 10:10:36,886 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-79818641', 'id': '30747ebf-b99c-4d03-b4a4-6a6563d65872', 'tenant_id': 'e445b15e35cb499a9e404e1439375b35', 'network_id': '5965d0a2-0398-46ae-9bec-33e64fc81120', 'mac_address': '02:30:74:7e:bf:b9', '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': '108.229.122.3', 'subnet_id': 'e3d6535d-88f6-4203-9c38-4fb37b7b4c59'}], 'security_groups': ['01ac0fde-a03f-42e4-af43-41afc6ea372c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e445b15e35cb499a9e404e1439375b35'}} 2025-09-25 10:10:36,886 - DEBUG - Created port 30747ebf-b99c-4d03-b4a4-6a6563d65872 2025-09-25 10:10:36,989 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/30747ebf-b99c-4d03-b4a4-6a6563d65872 2025-09-25 10:10:37,279 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/30747ebf-b99c-4d03-b4a4-6a6563d65872 2025-09-25 10:10:37,307 - INFO - VMI 30747ebf-b99c-4d03-b4a4-6a6563d65872 verification in API Server passed 2025-09-25 10:10:37,389 - DEBUG - Response for delete_port : () 2025-09-25 10:10:37,390 - INFO - Deleted port 30747ebf-b99c-4d03-b4a4-6a6563d65872 2025-09-25 10:10:37,390 - INFO - Deleting VN ctest-vn-48943185 2025-09-25 10:10:37,486 - DEBUG - Response for deleting network () 2025-09-25 10:10:37,783 - DEBUG - No XMPP flaps were noticed during the test
2025-09-25 10:10:37,783 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-25 10:10:37,783 - INFO - -------------------------------------------------------------------------------- 2025-09-25 10:10:37,786 - INFO - ================================================================================ 2025-09-25 10:10:37,786 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-25 10:10:37,786 - 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-25 10:10:38,066 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-09-25 10:10:38,066 - INFO - Initial checks done. Running the testcase now 2025-09-25 10:10:38,066 - INFO - 2025-09-25 10:10:38,239 - DEBUG - Response for create_network : {'network': {'id': 'b1e98b9d-4621-4cc0-80c1-5db017e55a9f', 'name': 'ctest-vn1-97285985', 'tenant_id': 'e445b15e35cb499a9e404e1439375b35', 'project_id': 'e445b15e35cb499a9e404e1439375b35', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-24148579', 'ctest-vn1-97285985'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 10:10:38,438 - DEBUG - Response for create_subnet : {'subnet': {'id': '36e2a9a1-b01c-43ca-a805-148c5f2aceb0', 'name': '', 'tenant_id': 'e445b15e35cb499a9e404e1439375b35', 'network_id': 'b1e98b9d-4621-4cc0-80c1-5db017e55a9f', 'ip_version': 4, 'cidr': '185.39.139.128/26', 'allocation_pools': [{'start': '185.39.139.130', 'end': '185.39.139.190'}], 'gateway_ip': '185.39.139.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.39.139.130', 'tags': [], 'project_id': 'e445b15e35cb499a9e404e1439375b35'}} 2025-09-25 10:10:38,628 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c5b7901-cd81-447a-a76d-299174ee6fc8', 'name': '', 'tenant_id': 'e445b15e35cb499a9e404e1439375b35', 'network_id': 'b1e98b9d-4621-4cc0-80c1-5db017e55a9f', 'ip_version': 4, 'cidr': '216.159.140.128/26', 'allocation_pools': [{'start': '216.159.140.130', 'end': '216.159.140.190'}], 'gateway_ip': '216.159.140.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.159.140.130', 'tags': [], 'project_id': 'e445b15e35cb499a9e404e1439375b35'}} 2025-09-25 10:10:38,646 - INFO - Created VN ctest-vn1-97285985 2025-09-25 10:10:38,697 - DEBUG - VN ctest-vn1-97285985 UUID is b1e98b9d-4621-4cc0-80c1-5db017e55a9f 2025-09-25 10:10:38,987 - DEBUG - Response for create_port : {'port': {'name': '6ef95a07-35c3-4b7a-8181-5b499bc3b457', 'id': '6ef95a07-35c3-4b7a-8181-5b499bc3b457', 'tenant_id': 'e445b15e35cb499a9e404e1439375b35', 'network_id': 'b1e98b9d-4621-4cc0-80c1-5db017e55a9f', 'mac_address': '02:6e:f9:5a:07:35', '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': '185.39.139.133', 'subnet_id': '36e2a9a1-b01c-43ca-a805-148c5f2aceb0'}], 'security_groups': ['01ac0fde-a03f-42e4-af43-41afc6ea372c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e445b15e35cb499a9e404e1439375b35'}} 2025-09-25 10:10:39,147 - DEBUG - Response for create_port : {'port': {'name': 'a4630aae-4e3e-4ab3-8380-c0c2f04b842c', 'id': 'a4630aae-4e3e-4ab3-8380-c0c2f04b842c', 'tenant_id': 'e445b15e35cb499a9e404e1439375b35', 'network_id': 'b1e98b9d-4621-4cc0-80c1-5db017e55a9f', 'mac_address': '02:a4:63:0a:ae:4e', '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': '216.159.140.133', 'subnet_id': '2c5b7901-cd81-447a-a76d-299174ee6fc8'}], 'security_groups': ['01ac0fde-a03f-42e4-af43-41afc6ea372c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e445b15e35cb499a9e404e1439375b35'}} 2025-09-25 10:10:39,202 - DEBUG - Services list from nova: [, , ] 2025-09-25 10:10:39,503 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4191-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4191-1) 2025-09-25 10:10:39,883 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4191-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4191-1) 2025-09-25 10:10:39,883 - INFO - Waiting for VM ctest-vn1-vm1-23334144 to be up.. 2025-09-25 10:10:39,918 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-25 10:10:44,986 - DEBUG - VM is in ACTIVE state now 2025-09-25 10:10:44,986 - INFO - VM name : ctest-vn1-vm1-23334144 2025-09-25 10:10:45,054 - DEBUG - VM ctest-vn1-vm1-23334144 ID is 0e0e51ce-c169-4d2e-a38a-5be808ea9368 2025-09-25 10:10:45,072 - DEBUG - VM ctest-vn1-vm1-23334144 launched on Node cn-jenkins-deploy-platform-ansible-os-4191-1 2025-09-25 10:10:45,139 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0e0e51ce-c169-4d2e-a38a-5be808ea9368 2025-09-25 10:10:45,148 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6ef95a07-35c3-4b7a-8181-5b499bc3b457 2025-09-25 10:10:48,398 - 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 1020ms') 2025-09-25 10:10:48,399 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23334144 failed! 2025-09-25 10:10:48,453 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-24148579:ctest-vn1-97285985 is 185.39.139.129 and allocation pool is NOT set 2025-09-25 10:10:48,453 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-24148579:ctest-vn1-97285985 is 216.159.140.129 and allocation pool is NOT set 2025-09-25 10:10:50,517 - 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=3.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.893 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 = 0.893/1.987/3.082/1.094 ms') 2025-09-25 10:10:50,517 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23334144 passed 2025-09-25 10:10:50,669 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 10:10:50,669 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-23334144, IP 185.39.139.133, Port 22 2025-09-25 10:10:50,824 - DEBUG - VM ctest-vn1-vm1-23334144 is ready for SSH connections 2025-09-25 10:10:50,824 - INFO - Waiting for VM ctest-vn1-vm2-96614870 to be up.. 2025-09-25 10:10:50,894 - DEBUG - VM is in ACTIVE state now 2025-09-25 10:10:50,894 - INFO - VM name : ctest-vn1-vm2-96614870 2025-09-25 10:10:50,962 - DEBUG - VM ctest-vn1-vm2-96614870 ID is 2a098b21-d0cb-4159-8319-34d7b0a9a516 2025-09-25 10:10:50,962 - DEBUG - VM ctest-vn1-vm2-96614870 launched on Node cn-jenkins-deploy-platform-ansible-os-4191-1 2025-09-25 10:10:51,034 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2a098b21-d0cb-4159-8319-34d7b0a9a516 2025-09-25 10:10:51,043 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a4630aae-4e3e-4ab3-8380-c0c2f04b842c 2025-09-25 10:10:52,285 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.07 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 = 2.067/3.116/4.165/1.049 ms') 2025-09-25 10:10:52,285 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-96614870 passed 2025-09-25 10:10:52,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 10:10:52,433 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-96614870, IP 216.159.140.133, Port 22 2025-09-25 10:10:52,584 - DEBUG - VM ctest-vn1-vm2-96614870 is ready for SSH connections 2025-09-25 10:10:52,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 10:10:52,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 10:10:52,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 10:10:52,585 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.39.139.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-25 10:10:52,585 - DEBUG - ping -s 56 -c 3 -W 1 185.39.139.133 2025-09-25 10:10:55,589 - DEBUG - PING 185.39.139.133 (185.39.139.133): 56 data bytes 64 bytes from 185.39.139.133: seq=0 ttl=63 time=3.893 ms 64 bytes from 185.39.139.133: seq=1 ttl=63 time=0.877 ms 64 bytes from 185.39.139.133: seq=2 ttl=63 time=0.799 ms --- 185.39.139.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.799/1.856/3.893 ms 2025-09-25 10:10:55,589 - INFO - Ping to IP 185.39.139.133 from VM ctest-vn1-vm2-96614870 passed 2025-09-25 10:10:55,589 - INFO - Detaching port a4630aae-4e3e-4ab3-8380-c0c2f04b842c from VM ctest-vn1-vm2-96614870 2025-09-25 10:10:55,635 - INFO - Deleting VM ctest-vn1-vm2-96614870 2025-09-25 10:10:55,691 - INFO - Detaching port 6ef95a07-35c3-4b7a-8181-5b499bc3b457 from VM ctest-vn1-vm1-23334144 2025-09-25 10:10:55,723 - INFO - Deleting VM ctest-vn1-vm1-23334144 2025-09-25 10:10:55,926 - DEBUG - Response for delete_port : () 2025-09-25 10:10:56,075 - DEBUG - Response for delete_port : () 2025-09-25 10:10:56,075 - INFO - Deleting VN ctest-vn1-97285985 2025-09-25 10:10:56,233 - DEBUG - Response for deleting network () 2025-09-25 10:10:56,485 - DEBUG - No XMPP flaps were noticed during the test
2025-09-25 10:10:56,485 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-09-25 10:10:56,485 - INFO - -------------------------------------------------------------------------------- 2025-09-25 10:10:57,166 - INFO - Deleted project: ctest-TestPorts-24148579, ID : e445b15e-35cb-499a-9e40-4e1439375b35