2025-10-13 02:13:35,483 - INFO - Domain Default found not creating 2025-10-13 02:13:35,644 - INFO - Project ctest-TestPorts-86309575 not found, creating it 2025-10-13 02:13:36,155 - INFO - Created Project:ctest-TestPorts-86309575, ID : 54562939-d76c-4927-afa6-871055185ca1 2025-10-13 02:13:37,619 - INFO - ================================================================================ 2025-10-13 02:13:37,619 - INFO - STARTING TEST : test_ports_bindings 2025-10-13 02:13:37,619 - 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-13 02:13:38,911 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.27': {'10.20.0.18': '0', '10.20.0.129': '0'}} with 2025-10-13 02:13:38,911 - INFO - Initial checks done. Running the testcase now 2025-10-13 02:13:38,911 - INFO - 2025-10-13 02:13:39,538 - DEBUG - Response for create_network : {'network': {'id': 'cb9a33b6-87b7-4c6e-a271-68b9cbb93230', 'name': 'ctest-vn-75038764', 'tenant_id': '54562939d76c4927afa6871055185ca1', 'project_id': '54562939d76c4927afa6871055185ca1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86309575', 'ctest-vn-75038764'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 02:13:39,804 - DEBUG - Response for create_subnet : {'subnet': {'id': '1fc4216f-745b-44dd-b0b2-1505d47eb9b8', 'name': '', 'tenant_id': '54562939d76c4927afa6871055185ca1', 'network_id': 'cb9a33b6-87b7-4c6e-a271-68b9cbb93230', 'ip_version': 4, 'cidr': '163.85.92.0/26', 'allocation_pools': [{'start': '163.85.92.2', 'end': '163.85.92.62'}], 'gateway_ip': '163.85.92.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.85.92.2', 'tags': [], 'project_id': '54562939d76c4927afa6871055185ca1'}} 2025-10-13 02:13:39,825 - INFO - Created VN ctest-vn-75038764 2025-10-13 02:13:39,837 - DEBUG - VN ctest-vn-75038764 UUID is cb9a33b6-87b7-4c6e-a271-68b9cbb93230 2025-10-13 02:13:39,971 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-86309575', 'ctest-vmi-96253884']} 2025-10-13 02:13:40,232 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-96253884', 'id': '3ccedbe7-32c1-4e79-8a5e-64e212edbe64', 'tenant_id': '54562939d76c4927afa6871055185ca1', 'network_id': 'cb9a33b6-87b7-4c6e-a271-68b9cbb93230', 'mac_address': '02:3c:ce:db:e7:32', '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': '163.85.92.3', 'subnet_id': '1fc4216f-745b-44dd-b0b2-1505d47eb9b8'}], 'security_groups': ['aa3c1e3e-808e-453e-b7ec-0d4690f31d17'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '54562939d76c4927afa6871055185ca1'}} 2025-10-13 02:13:40,232 - DEBUG - Created port 3ccedbe7-32c1-4e79-8a5e-64e212edbe64 2025-10-13 02:13:40,336 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/3ccedbe7-32c1-4e79-8a5e-64e212edbe64 2025-10-13 02:13:40,634 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/3ccedbe7-32c1-4e79-8a5e-64e212edbe64 2025-10-13 02:13:40,672 - INFO - VMI 3ccedbe7-32c1-4e79-8a5e-64e212edbe64 verification in API Server passed 2025-10-13 02:13:40,802 - DEBUG - Response for delete_port : () 2025-10-13 02:13:40,802 - INFO - Deleted port 3ccedbe7-32c1-4e79-8a5e-64e212edbe64 2025-10-13 02:13:40,807 - INFO - Deleting VN ctest-vn-75038764 2025-10-13 02:13:40,956 - DEBUG - Response for deleting network () 2025-10-13 02:13:42,226 - DEBUG - No XMPP flaps were noticed during the test 2025-10-13 02:13:42,226 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05] 2025-10-13 02:13:42,227 - INFO - -------------------------------------------------------------------------------- 2025-10-13 02:13:42,230 - INFO - ================================================================================ 2025-10-13 02:13:42,231 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-13 02:13:42,231 - 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-13 02:13:43,529 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.27': {'10.20.0.18': '0', '10.20.0.129': '0'}} with 2025-10-13 02:13:43,529 - INFO - Initial checks done. Running the testcase now 2025-10-13 02:13:43,529 - INFO - 2025-10-13 02:13:43,763 - DEBUG - Response for create_network : {'network': {'id': '89399c44-e63d-4e8d-a88a-afb2c3c69104', 'name': 'ctest-vn1-17885538', 'tenant_id': '54562939d76c4927afa6871055185ca1', 'project_id': '54562939d76c4927afa6871055185ca1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86309575', 'ctest-vn1-17885538'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 02:13:44,004 - DEBUG - Response for create_subnet : {'subnet': {'id': '50a99df7-655c-46fa-8f68-8491836115ef', 'name': '', 'tenant_id': '54562939d76c4927afa6871055185ca1', 'network_id': '89399c44-e63d-4e8d-a88a-afb2c3c69104', 'ip_version': 4, 'cidr': '132.101.185.64/26', 'allocation_pools': [{'start': '132.101.185.66', 'end': '132.101.185.126'}], 'gateway_ip': '132.101.185.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.101.185.66', 'tags': [], 'project_id': '54562939d76c4927afa6871055185ca1'}} 2025-10-13 02:13:44,249 - DEBUG - Response for create_subnet : {'subnet': {'id': '1de94248-776d-45cb-b3cf-24cf2b213098', 'name': '', 'tenant_id': '54562939d76c4927afa6871055185ca1', 'network_id': '89399c44-e63d-4e8d-a88a-afb2c3c69104', 'ip_version': 4, 'cidr': '59.148.229.128/26', 'allocation_pools': [{'start': '59.148.229.130', 'end': '59.148.229.190'}], 'gateway_ip': '59.148.229.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.148.229.130', 'tags': [], 'project_id': '54562939d76c4927afa6871055185ca1'}} 2025-10-13 02:13:44,277 - INFO - Created VN ctest-vn1-17885538 2025-10-13 02:13:44,291 - DEBUG - VN ctest-vn1-17885538 UUID is 89399c44-e63d-4e8d-a88a-afb2c3c69104 2025-10-13 02:13:44,630 - DEBUG - Response for create_port : {'port': {'name': 'b02cd152-52eb-4427-8835-71227aa376ab', 'id': 'b02cd152-52eb-4427-8835-71227aa376ab', 'tenant_id': '54562939d76c4927afa6871055185ca1', 'network_id': '89399c44-e63d-4e8d-a88a-afb2c3c69104', 'mac_address': '02:b0:2c:d1:52:52', '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': '132.101.185.69', 'subnet_id': '50a99df7-655c-46fa-8f68-8491836115ef'}], 'security_groups': ['aa3c1e3e-808e-453e-b7ec-0d4690f31d17'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '54562939d76c4927afa6871055185ca1'}} 2025-10-13 02:13:44,857 - DEBUG - Response for create_port : {'port': {'name': '0d75c8ce-0800-4790-8efe-1ad9edfb0167', 'id': '0d75c8ce-0800-4790-8efe-1ad9edfb0167', 'tenant_id': '54562939d76c4927afa6871055185ca1', 'network_id': '89399c44-e63d-4e8d-a88a-afb2c3c69104', 'mac_address': '02:0d:75:c8:ce:08', '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': '59.148.229.133', 'subnet_id': '1de94248-776d-45cb-b3cf-24cf2b213098'}], 'security_groups': ['aa3c1e3e-808e-453e-b7ec-0d4690f31d17'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '54562939d76c4927afa6871055185ca1'}} 2025-10-13 02:13:44,918 - DEBUG - Services list from nova: [, , , ] 2025-10-13 02:13:45,360 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4296-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4296-1) 2025-10-13 02:13:45,809 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4296-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4296-2) 2025-10-13 02:13:45,809 - INFO - Waiting for VM ctest-vn1-vm1-91783326 to be up.. 2025-10-13 02:13:45,849 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 02:13:50,934 - DEBUG - VM is in ACTIVE state now 2025-10-13 02:13:50,934 - INFO - VM name : ctest-vn1-vm1-91783326 2025-10-13 02:13:51,026 - DEBUG - VM ctest-vn1-vm1-91783326 ID is 491b0a2d-7719-4ac4-98ea-a37fc8aa87b7 2025-10-13 02:13:51,050 - DEBUG - VM ctest-vn1-vm1-91783326 launched on Node an-jenkins-deploy-platform-ansible-os-4296-1 2025-10-13 02:13:51,145 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/491b0a2d-7719-4ac4-98ea-a37fc8aa87b7 2025-10-13 02:13:51,453 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/491b0a2d-7719-4ac4-98ea-a37fc8aa87b7 2025-10-13 02:13:51,483 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/b02cd152-52eb-4427-8835-71227aa376ab 2025-10-13 02:13:54,658 - 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 1023ms') 2025-10-13 02:13:54,658 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-91783326 failed! 2025-10-13 02:13:54,674 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86309575:ctest-vn1-17885538 is 132.101.185.65 and allocation pool is NOT set 2025-10-13 02:13:54,674 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86309575:ctest-vn1-17885538 is 59.148.229.129 and allocation pool is NOT set 2025-10-13 02:13:56,736 - 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.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.430 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.430/2.242/4.054/1.812 ms') 2025-10-13 02:13:56,736 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-91783326 passed 2025-10-13 02:13:56,808 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 02:13:56,808 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-91783326, IP 132.101.185.69, Port 22 2025-10-13 02:13:56,884 - 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-13 02:13:56,960 - DEBUG - VM ctest-vn1-vm1-91783326 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-13 02:14:01,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 02:14:01,961 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-91783326, IP 132.101.185.69, Port 22 2025-10-13 02:14:02,130 - DEBUG - VM ctest-vn1-vm1-91783326 is ready for SSH connections 2025-10-13 02:14:02,130 - INFO - Waiting for VM ctest-vn1-vm2-98348785 to be up.. 2025-10-13 02:14:02,262 - DEBUG - VM is in ACTIVE state now 2025-10-13 02:14:02,262 - INFO - VM name : ctest-vn1-vm2-98348785 2025-10-13 02:14:02,416 - DEBUG - VM ctest-vn1-vm2-98348785 ID is 9968a76a-085f-4d3d-aff1-f0a5c68b9ff8 2025-10-13 02:14:02,416 - DEBUG - VM ctest-vn1-vm2-98348785 launched on Node an-jenkins-deploy-platform-ansible-os-4296-2 2025-10-13 02:14:02,569 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/9968a76a-085f-4d3d-aff1-f0a5c68b9ff8 2025-10-13 02:14:02,605 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/0d75c8ce-0800-4790-8efe-1ad9edfb0167 2025-10-13 02:14:03,820 - 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=2.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.645 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.645/1.776/2.908/1.131 ms') 2025-10-13 02:14:03,820 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-98348785 passed 2025-10-13 02:14:03,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 02:14:03,894 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-98348785, IP 59.148.229.133, Port 22 2025-10-13 02:14:04,052 - DEBUG - VM ctest-vn1-vm2-98348785 is ready for SSH connections 2025-10-13 02:14:04,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 02:14:04,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 02:14:04,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 02:14:04,052 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.101.185.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-13 02:14:04,052 - DEBUG - ping -s 56 -c 3 -W 1 132.101.185.69 2025-10-13 02:14:07,016 - DEBUG - PING 132.101.185.69 (132.101.185.69): 56 data bytes 64 bytes from 132.101.185.69: seq=0 ttl=63 time=6.016 ms 64 bytes from 132.101.185.69: seq=1 ttl=63 time=1.313 ms 64 bytes from 132.101.185.69: seq=2 ttl=63 time=1.900 ms --- 132.101.185.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.313/3.076/6.016 ms 2025-10-13 02:14:07,016 - INFO - Ping to IP 132.101.185.69 from VM ctest-vn1-vm2-98348785 passed 2025-10-13 02:14:07,016 - INFO - Detaching port 0d75c8ce-0800-4790-8efe-1ad9edfb0167 from VM ctest-vn1-vm2-98348785 2025-10-13 02:14:07,075 - INFO - Deleting VM ctest-vn1-vm2-98348785 2025-10-13 02:14:07,140 - INFO - Detaching port b02cd152-52eb-4427-8835-71227aa376ab from VM ctest-vn1-vm1-91783326 2025-10-13 02:14:07,175 - INFO - Deleting VM ctest-vn1-vm1-91783326 2025-10-13 02:14:07,474 - DEBUG - Response for delete_port : () 2025-10-13 02:14:07,761 - DEBUG - Response for delete_port : () 2025-10-13 02:14:07,761 - INFO - Deleting VN ctest-vn1-17885538 2025-10-13 02:14:07,956 - DEBUG - Response for deleting network () 2025-10-13 02:14:09,264 - DEBUG - No XMPP flaps were noticed during the test 2025-10-13 02:14:09,264 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27] 2025-10-13 02:14:09,264 - INFO - -------------------------------------------------------------------------------- 2025-10-13 02:14:09,958 - INFO - Deleted project: ctest-TestPorts-86309575, ID : 54562939-d76c-4927-afa6-871055185ca1