2025-10-26 22:36:46,895 - INFO - Domain Default found not creating 2025-10-26 22:36:47,048 - INFO - Project ctest-TestPorts-25213297 not found, creating it 2025-10-26 22:36:47,509 - INFO - Created Project:ctest-TestPorts-25213297, ID : c9f63280-fef6-414b-bab7-b2160e0c77b9 2025-10-26 22:36:48,917 - INFO - ================================================================================ 2025-10-26 22:36:48,919 - INFO - STARTING TEST : test_ports_bindings 2025-10-26 22:36:48,919 - 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-26 22:36:49,190 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-10-26 22:36:49,190 - INFO - Initial checks done. Running the testcase now 2025-10-26 22:36:49,190 - INFO - 2025-10-26 22:36:49,746 - DEBUG - Response for create_network : {'network': {'id': '1d640f60-bf75-4139-9f7c-d877233c77df', 'name': 'ctest-vn-91174802', 'tenant_id': 'c9f63280fef6414bbab7b2160e0c77b9', 'project_id': 'c9f63280fef6414bbab7b2160e0c77b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-25213297', 'ctest-vn-91174802'], 'port_security_enabled': True, 'description': ''}} 2025-10-26 22:36:49,915 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b89c1fa-2d33-4870-963e-a6adfc6bdb29', 'name': '', 'tenant_id': 'c9f63280fef6414bbab7b2160e0c77b9', 'network_id': '1d640f60-bf75-4139-9f7c-d877233c77df', 'ip_version': 4, 'cidr': '38.186.47.192/26', 'allocation_pools': [{'start': '38.186.47.194', 'end': '38.186.47.254'}], 'gateway_ip': '38.186.47.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.186.47.194', 'tags': [], 'project_id': 'c9f63280fef6414bbab7b2160e0c77b9'}} 2025-10-26 22:36:49,936 - INFO - Created VN ctest-vn-91174802 2025-10-26 22:36:49,992 - DEBUG - VN ctest-vn-91174802 UUID is 1d640f60-bf75-4139-9f7c-d877233c77df 2025-10-26 22:36:50,107 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-25213297', 'ctest-vmi-53865760']} 2025-10-26 22:36:50,360 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-53865760', 'id': '45a41372-3aef-4362-9ae4-aa6172d2a4f9', 'tenant_id': 'c9f63280fef6414bbab7b2160e0c77b9', 'network_id': '1d640f60-bf75-4139-9f7c-d877233c77df', 'mac_address': '02:45:a4:13:72:3a', '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': '38.186.47.195', 'subnet_id': '5b89c1fa-2d33-4870-963e-a6adfc6bdb29'}], 'security_groups': ['742cd5f7-2f15-440b-9371-88fd1a1b45a1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c9f63280fef6414bbab7b2160e0c77b9'}} 2025-10-26 22:36:50,360 - DEBUG - Created port 45a41372-3aef-4362-9ae4-aa6172d2a4f9 2025-10-26 22:36:50,468 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/45a41372-3aef-4362-9ae4-aa6172d2a4f9 2025-10-26 22:36:50,758 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/45a41372-3aef-4362-9ae4-aa6172d2a4f9 2025-10-26 22:36:50,793 - INFO - VMI 45a41372-3aef-4362-9ae4-aa6172d2a4f9 verification in API Server passed 2025-10-26 22:36:50,889 - DEBUG - Response for delete_port : () 2025-10-26 22:36:50,890 - INFO - Deleted port 45a41372-3aef-4362-9ae4-aa6172d2a4f9 2025-10-26 22:36:50,890 - INFO - Deleting VN ctest-vn-91174802 2025-10-26 22:36:50,986 - DEBUG - Response for deleting network () 2025-10-26 22:36:51,250 - DEBUG - No XMPP flaps were noticed during the test
2025-10-26 22:36:51,250 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-26 22:36:51,250 - INFO - -------------------------------------------------------------------------------- 2025-10-26 22:36:51,253 - INFO - ================================================================================ 2025-10-26 22:36:51,253 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-26 22:36:51,253 - 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-26 22:36:51,549 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-10-26 22:36:51,549 - INFO - Initial checks done. Running the testcase now 2025-10-26 22:36:51,549 - INFO - 2025-10-26 22:36:51,731 - DEBUG - Response for create_network : {'network': {'id': 'c6018c6f-e6a7-41d7-a472-17ab8af87ecd', 'name': 'ctest-vn1-28569523', 'tenant_id': 'c9f63280fef6414bbab7b2160e0c77b9', 'project_id': 'c9f63280fef6414bbab7b2160e0c77b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-25213297', 'ctest-vn1-28569523'], 'port_security_enabled': True, 'description': ''}} 2025-10-26 22:36:51,894 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db138026-dbad-40d2-832a-7300ff46e46d', 'name': '', 'tenant_id': 'c9f63280fef6414bbab7b2160e0c77b9', 'network_id': 'c6018c6f-e6a7-41d7-a472-17ab8af87ecd', 'ip_version': 4, 'cidr': '70.232.10.0/26', 'allocation_pools': [{'start': '70.232.10.2', 'end': '70.232.10.62'}], 'gateway_ip': '70.232.10.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.232.10.2', 'tags': [], 'project_id': 'c9f63280fef6414bbab7b2160e0c77b9'}} 2025-10-26 22:36:52,095 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb2ce9c3-a271-4766-8632-3421f220024b', 'name': '', 'tenant_id': 'c9f63280fef6414bbab7b2160e0c77b9', 'network_id': 'c6018c6f-e6a7-41d7-a472-17ab8af87ecd', 'ip_version': 4, 'cidr': '25.183.69.192/26', 'allocation_pools': [{'start': '25.183.69.194', 'end': '25.183.69.254'}], 'gateway_ip': '25.183.69.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.183.69.194', 'tags': [], 'project_id': 'c9f63280fef6414bbab7b2160e0c77b9'}} 2025-10-26 22:36:52,114 - INFO - Created VN ctest-vn1-28569523 2025-10-26 22:36:52,164 - DEBUG - VN ctest-vn1-28569523 UUID is c6018c6f-e6a7-41d7-a472-17ab8af87ecd 2025-10-26 22:36:52,475 - DEBUG - Response for create_port : {'port': {'name': '87775850-2944-4fb9-8953-756e2d0a518c', 'id': '87775850-2944-4fb9-8953-756e2d0a518c', 'tenant_id': 'c9f63280fef6414bbab7b2160e0c77b9', 'network_id': 'c6018c6f-e6a7-41d7-a472-17ab8af87ecd', 'mac_address': '02:87:77:58:50:29', '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': '70.232.10.5', 'subnet_id': 'db138026-dbad-40d2-832a-7300ff46e46d'}], 'security_groups': ['742cd5f7-2f15-440b-9371-88fd1a1b45a1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c9f63280fef6414bbab7b2160e0c77b9'}} 2025-10-26 22:36:52,638 - DEBUG - Response for create_port : {'port': {'name': '70bcff47-b645-428e-aac2-91228be9dabb', 'id': '70bcff47-b645-428e-aac2-91228be9dabb', 'tenant_id': 'c9f63280fef6414bbab7b2160e0c77b9', 'network_id': 'c6018c6f-e6a7-41d7-a472-17ab8af87ecd', 'mac_address': '02:70:bc:ff:47:b6', '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.183.69.197', 'subnet_id': 'cb2ce9c3-a271-4766-8632-3421f220024b'}], 'security_groups': ['742cd5f7-2f15-440b-9371-88fd1a1b45a1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c9f63280fef6414bbab7b2160e0c77b9'}} 2025-10-26 22:36:52,693 - DEBUG - Services list from nova: [, , ] 2025-10-26 22:36:53,020 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4483-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4483-1) 2025-10-26 22:36:53,407 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4483-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4483-1) 2025-10-26 22:36:53,408 - INFO - Waiting for VM ctest-vn1-vm1-89112109 to be up.. 2025-10-26 22:36:53,447 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-26 22:36:58,524 - DEBUG - VM is in ACTIVE state now 2025-10-26 22:36:58,524 - INFO - VM name : ctest-vn1-vm1-89112109 2025-10-26 22:36:58,622 - DEBUG - VM ctest-vn1-vm1-89112109 ID is 1b2833c7-8a77-4f29-92eb-56632f139c3d 2025-10-26 22:36:58,645 - DEBUG - VM ctest-vn1-vm1-89112109 launched on Node cn-jenkins-deploy-platform-ansible-os-4483-1 2025-10-26 22:36:58,726 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/1b2833c7-8a77-4f29-92eb-56632f139c3d 2025-10-26 22:36:58,736 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/87775850-2944-4fb9-8953-756e2d0a518c 2025-10-26 22:37:02,004 - 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 1019ms') 2025-10-26 22:37:02,004 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-89112109 failed! 2025-10-26 22:37:02,056 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-25213297:ctest-vn1-28569523 is 70.232.10.1 and allocation pool is NOT set 2025-10-26 22:37:02,057 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-25213297:ctest-vn1-28569523 is 25.183.69.193 and allocation pool is NOT set 2025-10-26 22:37:04,126 - 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=12.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.43 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 = 3.425/7.768/12.111/4.343 ms') 2025-10-26 22:37:04,127 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-89112109 passed 2025-10-26 22:37:04,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-26 22:37:04,280 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-89112109, IP 70.232.10.5, Port 22 2025-10-26 22:37:04,336 - 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-10-26 22:37:04,409 - DEBUG - VM ctest-vn1-vm1-89112109 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-26 22:37:09,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-26 22:37:09,410 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-89112109, IP 70.232.10.5, Port 22 2025-10-26 22:37:09,568 - DEBUG - VM ctest-vn1-vm1-89112109 is ready for SSH connections 2025-10-26 22:37:09,568 - INFO - Waiting for VM ctest-vn1-vm2-60897811 to be up.. 2025-10-26 22:37:09,643 - DEBUG - VM is in ACTIVE state now 2025-10-26 22:37:09,643 - INFO - VM name : ctest-vn1-vm2-60897811 2025-10-26 22:37:09,725 - DEBUG - VM ctest-vn1-vm2-60897811 ID is 7a9e6576-711e-4a04-b0ed-17bbb2805466 2025-10-26 22:37:09,725 - DEBUG - VM ctest-vn1-vm2-60897811 launched on Node cn-jenkins-deploy-platform-ansible-os-4483-1 2025-10-26 22:37:09,802 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/7a9e6576-711e-4a04-b0ed-17bbb2805466 2025-10-26 22:37:09,811 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/70bcff47-b645-428e-aac2-91228be9dabb 2025-10-26 22:37:11,050 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.416 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.416/1.594/2.773/1.178 ms') 2025-10-26 22:37:11,050 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-60897811 passed 2025-10-26 22:37:11,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-26 22:37:11,200 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-60897811, IP 25.183.69.197, Port 22 2025-10-26 22:37:11,378 - DEBUG - VM ctest-vn1-vm2-60897811 is ready for SSH connections 2025-10-26 22:37:11,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-26 22:37:11,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-26 22:37:11,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-26 22:37:11,379 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.232.10.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-26 22:37:11,379 - DEBUG - ping -s 56 -c 3 -W 1 70.232.10.5 2025-10-26 22:37:14,037 - DEBUG - PING 70.232.10.5 (70.232.10.5): 56 data bytes 64 bytes from 70.232.10.5: seq=0 ttl=63 time=3.693 ms 64 bytes from 70.232.10.5: seq=1 ttl=63 time=0.982 ms 64 bytes from 70.232.10.5: seq=2 ttl=63 time=1.368 ms --- 70.232.10.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.982/2.014/3.693 ms 2025-10-26 22:37:14,037 - INFO - Ping to IP 70.232.10.5 from VM ctest-vn1-vm2-60897811 passed 2025-10-26 22:37:14,037 - INFO - Detaching port 70bcff47-b645-428e-aac2-91228be9dabb from VM ctest-vn1-vm2-60897811 2025-10-26 22:37:14,091 - INFO - Deleting VM ctest-vn1-vm2-60897811 2025-10-26 22:37:14,160 - INFO - Detaching port 87775850-2944-4fb9-8953-756e2d0a518c from VM ctest-vn1-vm1-89112109 2025-10-26 22:37:14,195 - INFO - Deleting VM ctest-vn1-vm1-89112109 2025-10-26 22:37:14,448 - DEBUG - Response for delete_port : () 2025-10-26 22:37:14,630 - DEBUG - Response for delete_port : () 2025-10-26 22:37:14,630 - INFO - Deleting VN ctest-vn1-28569523 2025-10-26 22:37:14,789 - DEBUG - Response for deleting network () 2025-10-26 22:37:15,042 - DEBUG - No XMPP flaps were noticed during the test
2025-10-26 22:37:15,042 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-10-26 22:37:15,042 - INFO - -------------------------------------------------------------------------------- 2025-10-26 22:37:15,750 - INFO - Deleted project: ctest-TestPorts-25213297, ID : c9f63280-fef6-414b-bab7-b2160e0c77b9