2025-09-12 20:57:20,135 - INFO - Domain Default found not creating 2025-09-12 20:57:20,298 - INFO - Project ctest-TestPorts-17776520 not found, creating it 2025-09-12 20:57:20,734 - INFO - Created Project:ctest-TestPorts-17776520, ID : cb058576-a1f2-47ea-b5f1-5eb986a13982 2025-09-12 20:57:22,089 - INFO - ================================================================================ 2025-09-12 20:57:22,089 - INFO - STARTING TEST : test_ports_bindings 2025-09-12 20:57:22,089 - 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-12 20:57:22,342 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-12 20:57:22,342 - INFO - Initial checks done. Running the testcase now 2025-09-12 20:57:22,342 - INFO - 2025-09-12 20:57:22,857 - DEBUG - Response for create_network : {'network': {'id': '34eecf4b-ff58-45ae-889f-45c05e354aef', 'name': 'ctest-vn-12195876', 'tenant_id': 'cb058576a1f247eab5f15eb986a13982', 'project_id': 'cb058576a1f247eab5f15eb986a13982', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-17776520', 'ctest-vn-12195876'], 'port_security_enabled': True, 'description': ''}} 2025-09-12 20:57:23,036 - DEBUG - Response for create_subnet : {'subnet': {'id': '30d4f45a-3798-48ad-a7c1-76231d53d855', 'name': '', 'tenant_id': 'cb058576a1f247eab5f15eb986a13982', 'network_id': '34eecf4b-ff58-45ae-889f-45c05e354aef', 'ip_version': 4, 'cidr': '213.62.37.0/26', 'allocation_pools': [{'start': '213.62.37.2', 'end': '213.62.37.62'}], 'gateway_ip': '213.62.37.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.62.37.2', 'tags': [], 'project_id': 'cb058576a1f247eab5f15eb986a13982'}} 2025-09-12 20:57:23,051 - INFO - Created VN ctest-vn-12195876 2025-09-12 20:57:23,102 - DEBUG - VN ctest-vn-12195876 UUID is 34eecf4b-ff58-45ae-889f-45c05e354aef 2025-09-12 20:57:23,199 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-17776520', 'ctest-vmi-77982250']} 2025-09-12 20:57:23,468 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-77982250', 'id': 'ca529bb9-0a09-4080-8139-7a823594ba07', 'tenant_id': 'cb058576a1f247eab5f15eb986a13982', 'network_id': '34eecf4b-ff58-45ae-889f-45c05e354aef', 'mac_address': '02:ca:52:9b:b9:0a', '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': '213.62.37.3', 'subnet_id': '30d4f45a-3798-48ad-a7c1-76231d53d855'}], 'security_groups': ['c8721890-1d85-4550-a5b4-c8ae9720caf5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cb058576a1f247eab5f15eb986a13982'}} 2025-09-12 20:57:23,468 - DEBUG - Created port ca529bb9-0a09-4080-8139-7a823594ba07 2025-09-12 20:57:23,570 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ca529bb9-0a09-4080-8139-7a823594ba07 2025-09-12 20:57:23,860 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ca529bb9-0a09-4080-8139-7a823594ba07 2025-09-12 20:57:23,888 - INFO - VMI ca529bb9-0a09-4080-8139-7a823594ba07 verification in API Server passed 2025-09-12 20:57:23,975 - DEBUG - Response for delete_port : () 2025-09-12 20:57:23,975 - INFO - Deleted port ca529bb9-0a09-4080-8139-7a823594ba07 2025-09-12 20:57:23,975 - INFO - Deleting VN ctest-vn-12195876 2025-09-12 20:57:24,075 - DEBUG - Response for deleting network () 2025-09-12 20:57:24,329 - DEBUG - No XMPP flaps were noticed during the test
2025-09-12 20:57:24,329 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-12 20:57:24,330 - INFO - -------------------------------------------------------------------------------- 2025-09-12 20:57:24,332 - INFO - ================================================================================ 2025-09-12 20:57:24,332 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-12 20:57:24,332 - 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-12 20:57:24,619 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-12 20:57:24,619 - INFO - Initial checks done. Running the testcase now 2025-09-12 20:57:24,619 - INFO - 2025-09-12 20:57:24,785 - DEBUG - Response for create_network : {'network': {'id': '16e8b2d9-cdc7-4c18-bef5-0676587c6c84', 'name': 'ctest-vn1-81377813', 'tenant_id': 'cb058576a1f247eab5f15eb986a13982', 'project_id': 'cb058576a1f247eab5f15eb986a13982', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-17776520', 'ctest-vn1-81377813'], 'port_security_enabled': True, 'description': ''}} 2025-09-12 20:57:24,928 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ef59e1a-e706-40af-99f6-917e43766449', 'name': '', 'tenant_id': 'cb058576a1f247eab5f15eb986a13982', 'network_id': '16e8b2d9-cdc7-4c18-bef5-0676587c6c84', 'ip_version': 4, 'cidr': '166.119.231.128/26', 'allocation_pools': [{'start': '166.119.231.130', 'end': '166.119.231.190'}], 'gateway_ip': '166.119.231.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.119.231.130', 'tags': [], 'project_id': 'cb058576a1f247eab5f15eb986a13982'}} 2025-09-12 20:57:25,089 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cbbedb1c-0e69-4696-90ba-b6d5a3ca8c5c', 'name': '', 'tenant_id': 'cb058576a1f247eab5f15eb986a13982', 'network_id': '16e8b2d9-cdc7-4c18-bef5-0676587c6c84', 'ip_version': 4, 'cidr': '222.183.97.0/26', 'allocation_pools': [{'start': '222.183.97.2', 'end': '222.183.97.62'}], 'gateway_ip': '222.183.97.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.183.97.2', 'tags': [], 'project_id': 'cb058576a1f247eab5f15eb986a13982'}} 2025-09-12 20:57:25,107 - INFO - Created VN ctest-vn1-81377813 2025-09-12 20:57:25,158 - DEBUG - VN ctest-vn1-81377813 UUID is 16e8b2d9-cdc7-4c18-bef5-0676587c6c84 2025-09-12 20:57:25,442 - DEBUG - Response for create_port : {'port': {'name': '6384a4f1-8ae0-4dea-8707-1746bea26a40', 'id': '6384a4f1-8ae0-4dea-8707-1746bea26a40', 'tenant_id': 'cb058576a1f247eab5f15eb986a13982', 'network_id': '16e8b2d9-cdc7-4c18-bef5-0676587c6c84', 'mac_address': '02:63:84:a4:f1:8a', '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': '166.119.231.133', 'subnet_id': '4ef59e1a-e706-40af-99f6-917e43766449'}], 'security_groups': ['c8721890-1d85-4550-a5b4-c8ae9720caf5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cb058576a1f247eab5f15eb986a13982'}} 2025-09-12 20:57:25,638 - DEBUG - Response for create_port : {'port': {'name': 'ea7b0d9d-d869-456c-a036-f3b73bc5198f', 'id': 'ea7b0d9d-d869-456c-a036-f3b73bc5198f', 'tenant_id': 'cb058576a1f247eab5f15eb986a13982', 'network_id': '16e8b2d9-cdc7-4c18-bef5-0676587c6c84', 'mac_address': '02:ea:7b:0d:9d:d8', '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': '222.183.97.5', 'subnet_id': 'cbbedb1c-0e69-4696-90ba-b6d5a3ca8c5c'}], 'security_groups': ['c8721890-1d85-4550-a5b4-c8ae9720caf5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cb058576a1f247eab5f15eb986a13982'}} 2025-09-12 20:57:25,699 - DEBUG - Services list from nova: [, , ] 2025-09-12 20:57:26,041 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4100-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4100-1) 2025-09-12 20:57:26,407 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4100-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4100-1) 2025-09-12 20:57:26,408 - INFO - Waiting for VM ctest-vn1-vm1-18199334 to be up.. 2025-09-12 20:57:26,442 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-12 20:57:31,509 - DEBUG - VM is in ACTIVE state now 2025-09-12 20:57:31,509 - INFO - VM name : ctest-vn1-vm1-18199334 2025-09-12 20:57:31,574 - DEBUG - VM ctest-vn1-vm1-18199334 ID is 27fde7b5-5498-431f-adac-098c905ec2de 2025-09-12 20:57:31,594 - DEBUG - VM ctest-vn1-vm1-18199334 launched on Node cn-jenkins-deploy-platform-ansible-os-4100-1 2025-09-12 20:57:31,668 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/27fde7b5-5498-431f-adac-098c905ec2de 2025-09-12 20:57:31,675 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6384a4f1-8ae0-4dea-8707-1746bea26a40 2025-09-12 20:57:34,910 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1008ms') 2025-09-12 20:57:34,910 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-18199334 failed! 2025-09-12 20:57:34,966 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-17776520:ctest-vn1-81377813 is 166.119.231.129 and allocation pool is NOT set 2025-09-12 20:57:34,966 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-17776520:ctest-vn1-81377813 is 222.183.97.1 and allocation pool is NOT set 2025-09-12 20:57:37,029 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.44 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 = 1.435/3.027/4.620/1.592 ms') 2025-09-12 20:57:37,029 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-18199334 passed 2025-09-12 20:57:37,182 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 20:57:37,182 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-18199334, IP 166.119.231.133, Port 22 2025-09-12 20:57:37,237 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-09-12 20:57:37,307 - DEBUG - VM ctest-vn1-vm1-18199334 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-12 20:57:42,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 20:57:42,308 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-18199334, IP 166.119.231.133, Port 22 2025-09-12 20:57:42,469 - DEBUG - VM ctest-vn1-vm1-18199334 is ready for SSH connections 2025-09-12 20:57:42,469 - INFO - Waiting for VM ctest-vn1-vm2-07818332 to be up.. 2025-09-12 20:57:42,534 - DEBUG - VM is in ACTIVE state now 2025-09-12 20:57:42,534 - INFO - VM name : ctest-vn1-vm2-07818332 2025-09-12 20:57:42,596 - DEBUG - VM ctest-vn1-vm2-07818332 ID is 334845ee-a1f8-43b8-a993-86adde778e2a 2025-09-12 20:57:42,596 - DEBUG - VM ctest-vn1-vm2-07818332 launched on Node cn-jenkins-deploy-platform-ansible-os-4100-1 2025-09-12 20:57:42,660 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/334845ee-a1f8-43b8-a993-86adde778e2a 2025-09-12 20:57:42,667 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ea7b0d9d-d869-456c-a036-f3b73bc5198f 2025-09-12 20:57:43,892 - 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.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.369 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.369/1.713/3.057/1.344 ms') 2025-09-12 20:57:43,892 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-07818332 passed 2025-09-12 20:57:44,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 20:57:44,038 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-07818332, IP 222.183.97.5, Port 22 2025-09-12 20:57:44,193 - DEBUG - VM ctest-vn1-vm2-07818332 is ready for SSH connections 2025-09-12 20:57:44,193 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 20:57:44,193 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 20:57:44,193 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 20:57:44,193 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.119.231.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-12 20:57:44,194 - DEBUG - ping -s 56 -c 3 -W 1 166.119.231.133 2025-09-12 20:57:48,158 - DEBUG - PING 166.119.231.133 (166.119.231.133): 56 data bytes 64 bytes from 166.119.231.133: seq=0 ttl=63 time=3.639 ms 64 bytes from 166.119.231.133: seq=1 ttl=63 time=0.681 ms 64 bytes from 166.119.231.133: seq=2 ttl=63 time=0.907 ms --- 166.119.231.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.681/1.742/3.639 ms 2025-09-12 20:57:48,158 - INFO - Ping to IP 166.119.231.133 from VM ctest-vn1-vm2-07818332 passed 2025-09-12 20:57:48,158 - INFO - Detaching port ea7b0d9d-d869-456c-a036-f3b73bc5198f from VM ctest-vn1-vm2-07818332 2025-09-12 20:57:48,205 - INFO - Deleting VM ctest-vn1-vm2-07818332 2025-09-12 20:57:48,277 - INFO - Detaching port 6384a4f1-8ae0-4dea-8707-1746bea26a40 from VM ctest-vn1-vm1-18199334 2025-09-12 20:57:48,320 - INFO - Deleting VM ctest-vn1-vm1-18199334 2025-09-12 20:57:48,523 - DEBUG - Response for delete_port : () 2025-09-12 20:57:48,721 - DEBUG - Response for delete_port : () 2025-09-12 20:57:48,721 - INFO - Deleting VN ctest-vn1-81377813 2025-09-12 20:57:48,834 - DEBUG - Response for deleting network () 2025-09-12 20:57:49,086 - DEBUG - No XMPP flaps were noticed during the test
2025-09-12 20:57:49,086 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-09-12 20:57:49,086 - INFO - -------------------------------------------------------------------------------- 2025-09-12 20:57:49,740 - INFO - Deleted project: ctest-TestPorts-17776520, ID : cb058576-a1f2-47ea-b5f1-5eb986a13982