2025-12-11 02:27:22,721 - INFO - Domain Default found not creating
2025-12-11 02:27:22,894 - INFO - Project ctest-TestPorts-46527123 not found, creating it
2025-12-11 02:27:23,435 - INFO - Created Project:ctest-TestPorts-46527123, ID : 5ad07c80-d36c-498f-aa69-0ec15dc9b8c2
2025-12-11 02:27:24,870 - INFO - ================================================================================
2025-12-11 02:27:24,870 - INFO - STARTING TEST : test_ports_bindings
2025-12-11 02:27:24,870 - 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-12-11 02:27:26,137 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.18': '0', '10.20.0.252': '0'}, '10.0.0.23': {'10.20.0.18': '0', '10.20.0.252': '0'}} with
2025-12-11 02:27:26,137 - INFO - Initial checks done. Running the testcase now
2025-12-11 02:27:26,137 - INFO -
2025-12-11 02:27:26,763 - DEBUG - Response for create_network : {'network': {'id': '5b8479aa-ad67-46b0-8918-85496981635f', 'name': 'ctest-vn-12529868', 'tenant_id': '5ad07c80d36c498faa690ec15dc9b8c2', 'project_id': '5ad07c80d36c498faa690ec15dc9b8c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-46527123', 'ctest-vn-12529868'], 'port_security_enabled': True, 'description': ''}}
2025-12-11 02:27:27,000 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a633568-38d8-4254-a737-1e027353341a', 'name': '', 'tenant_id': '5ad07c80d36c498faa690ec15dc9b8c2', 'network_id': '5b8479aa-ad67-46b0-8918-85496981635f', 'ip_version': 4, 'cidr': '130.31.128.128/26', 'allocation_pools': [{'start': '130.31.128.130', 'end': '130.31.128.190'}], 'gateway_ip': '130.31.128.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.31.128.130', 'tags': [], 'project_id': '5ad07c80d36c498faa690ec15dc9b8c2'}}
2025-12-11 02:27:27,021 - INFO - Created VN ctest-vn-12529868
2025-12-11 02:27:27,035 - DEBUG - VN ctest-vn-12529868 UUID is 5b8479aa-ad67-46b0-8918-85496981635f
2025-12-11 02:27:27,106 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-46527123', 'ctest-vmi-72412446']}
2025-12-11 02:27:27,340 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-72412446', 'id': '65930ed9-efbf-4a11-be53-049c7573e899', 'tenant_id': '5ad07c80d36c498faa690ec15dc9b8c2', 'network_id': '5b8479aa-ad67-46b0-8918-85496981635f', 'mac_address': '02:65:93:0e:d9:ef', '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': '130.31.128.131', 'subnet_id': '2a633568-38d8-4254-a737-1e027353341a'}], 'security_groups': ['576b290f-734d-47e9-8dd3-94f249b78aac'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5ad07c80d36c498faa690ec15dc9b8c2'}}
2025-12-11 02:27:27,340 - DEBUG - Created port 65930ed9-efbf-4a11-be53-049c7573e899
2025-12-11 02:27:27,407 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/65930ed9-efbf-4a11-be53-049c7573e899
2025-12-11 02:27:27,707 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/65930ed9-efbf-4a11-be53-049c7573e899
2025-12-11 02:27:27,749 - INFO - VMI 65930ed9-efbf-4a11-be53-049c7573e899 verification in API Server passed
2025-12-11 02:27:27,900 - DEBUG - Response for delete_port : ()
2025-12-11 02:27:27,900 - INFO - Deleted port 65930ed9-efbf-4a11-be53-049c7573e899
2025-12-11 02:27:27,900 - INFO - Deleting VN ctest-vn-12529868
2025-12-11 02:27:28,036 - DEBUG - Response for deleting network ()
2025-12-11 02:27:29,310 - DEBUG - No XMPP flaps were noticed during the test
2025-12-11 02:27:29,310 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2025-12-11 02:27:29,310 - INFO - --------------------------------------------------------------------------------
2025-12-11 02:27:29,312 - INFO - ================================================================================
2025-12-11 02:27:29,312 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-11 02:27:29,312 - 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-12-11 02:27:30,590 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.18': '0', '10.20.0.252': '0'}, '10.0.0.23': {'10.20.0.18': '0', '10.20.0.252': '0'}} with
2025-12-11 02:27:30,590 - INFO - Initial checks done. Running the testcase now
2025-12-11 02:27:30,590 - INFO -
2025-12-11 02:27:30,828 - DEBUG - Response for create_network : {'network': {'id': '4f1529bc-2811-4340-9a47-c29593c766f6', 'name': 'ctest-vn1-19788313', 'tenant_id': '5ad07c80d36c498faa690ec15dc9b8c2', 'project_id': '5ad07c80d36c498faa690ec15dc9b8c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-46527123', 'ctest-vn1-19788313'], 'port_security_enabled': True, 'description': ''}}
2025-12-11 02:27:31,016 - DEBUG - Response for create_subnet : {'subnet': {'id': '6dd4be04-c6be-4acd-9805-eed1da50463c', 'name': '', 'tenant_id': '5ad07c80d36c498faa690ec15dc9b8c2', 'network_id': '4f1529bc-2811-4340-9a47-c29593c766f6', 'ip_version': 4, 'cidr': '168.125.173.192/26', 'allocation_pools': [{'start': '168.125.173.194', 'end': '168.125.173.254'}], 'gateway_ip': '168.125.173.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.125.173.194', 'tags': [], 'project_id': '5ad07c80d36c498faa690ec15dc9b8c2'}}
2025-12-11 02:27:31,225 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dce41119-3992-4776-bfbc-0d0da57ddb73', 'name': '', 'tenant_id': '5ad07c80d36c498faa690ec15dc9b8c2', 'network_id': '4f1529bc-2811-4340-9a47-c29593c766f6', 'ip_version': 4, 'cidr': '34.29.12.192/26', 'allocation_pools': [{'start': '34.29.12.194', 'end': '34.29.12.254'}], 'gateway_ip': '34.29.12.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.29.12.194', 'tags': [], 'project_id': '5ad07c80d36c498faa690ec15dc9b8c2'}}
2025-12-11 02:27:31,251 - INFO - Created VN ctest-vn1-19788313
2025-12-11 02:27:31,261 - DEBUG - VN ctest-vn1-19788313 UUID is 4f1529bc-2811-4340-9a47-c29593c766f6
2025-12-11 02:27:31,564 - DEBUG - Response for create_port : {'port': {'name': '36a507e5-5cc2-443e-8a3a-f8806b7e498a', 'id': '36a507e5-5cc2-443e-8a3a-f8806b7e498a', 'tenant_id': '5ad07c80d36c498faa690ec15dc9b8c2', 'network_id': '4f1529bc-2811-4340-9a47-c29593c766f6', 'mac_address': '02:36:a5:07:e5:5c', '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': '168.125.173.197', 'subnet_id': '6dd4be04-c6be-4acd-9805-eed1da50463c'}], 'security_groups': ['576b290f-734d-47e9-8dd3-94f249b78aac'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5ad07c80d36c498faa690ec15dc9b8c2'}}
2025-12-11 02:27:31,797 - DEBUG - Response for create_port : {'port': {'name': '0f920735-57b9-45af-bc84-b8d9e2a5a89f', 'id': '0f920735-57b9-45af-bc84-b8d9e2a5a89f', 'tenant_id': '5ad07c80d36c498faa690ec15dc9b8c2', 'network_id': '4f1529bc-2811-4340-9a47-c29593c766f6', 'mac_address': '02:0f:92:07:35:57', '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': '34.29.12.197', 'subnet_id': 'dce41119-3992-4776-bfbc-0d0da57ddb73'}], 'security_groups': ['576b290f-734d-47e9-8dd3-94f249b78aac'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5ad07c80d36c498faa690ec15dc9b8c2'}}
2025-12-11 02:27:31,857 - DEBUG - Services list from nova: [, , , ]
2025-12-11 02:27:32,287 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4883-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4883-2)
2025-12-11 02:27:32,818 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4883-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4883-1)
2025-12-11 02:27:32,819 - INFO - Waiting for VM ctest-vn1-vm1-05157636 to be up..
2025-12-11 02:27:32,893 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-11 02:27:37,975 - DEBUG - VM is in ACTIVE state now
2025-12-11 02:27:37,976 - INFO - VM name : ctest-vn1-vm1-05157636
2025-12-11 02:27:38,047 - DEBUG - VM ctest-vn1-vm1-05157636 ID is 78160b06-9d3d-4818-a4d7-fe10590dd2fa
2025-12-11 02:27:38,069 - DEBUG - VM ctest-vn1-vm1-05157636 launched on Node an-jenkins-deploy-platform-ansible-os-4883-2
2025-12-11 02:27:38,145 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/78160b06-9d3d-4818-a4d7-fe10590dd2fa
2025-12-11 02:27:38,445 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/78160b06-9d3d-4818-a4d7-fe10590dd2fa
2025-12-11 02:27:38,478 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/36a507e5-5cc2-443e-8a3a-f8806b7e498a
2025-12-11 02:27:41,653 - 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-12-11 02:27:41,653 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05157636 failed!
2025-12-11 02:27:41,665 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-46527123:ctest-vn1-19788313 is 168.125.173.193 and allocation pool is NOT set
2025-12-11 02:27:41,665 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-46527123:ctest-vn1-19788313 is 34.29.12.193 and allocation pool is NOT set
2025-12-11 02:27:43,729 - 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=10.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.64 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 = 2.638/6.358/10.078/3.720 ms')
2025-12-11 02:27:43,730 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05157636 passed
2025-12-11 02:27:43,796 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-11 02:27:43,796 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05157636, IP 168.125.173.197, Port 22
2025-12-11 02:27:43,861 - 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-12-11 02:27:43,941 - DEBUG - VM ctest-vn1-vm1-05157636 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-11 02:27:48,941 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-11 02:27:48,942 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05157636, IP 168.125.173.197, Port 22
2025-12-11 02:27:49,114 - DEBUG - VM ctest-vn1-vm1-05157636 is ready for SSH connections
2025-12-11 02:27:49,114 - INFO - Waiting for VM ctest-vn1-vm2-88570107 to be up..
2025-12-11 02:27:49,194 - DEBUG - VM is in ACTIVE state now
2025-12-11 02:27:49,194 - INFO - VM name : ctest-vn1-vm2-88570107
2025-12-11 02:27:49,267 - DEBUG - VM ctest-vn1-vm2-88570107 ID is bc6f1b63-c216-4f24-b1a0-2c0fa738e7f4
2025-12-11 02:27:49,267 - DEBUG - VM ctest-vn1-vm2-88570107 launched on Node an-jenkins-deploy-platform-ansible-os-4883-1
2025-12-11 02:27:49,341 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/bc6f1b63-c216-4f24-b1a0-2c0fa738e7f4
2025-12-11 02:27:49,351 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/0f920735-57b9-45af-bc84-b8d9e2a5a89f
2025-12-11 02:27:50,500 - 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.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.389 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.389/1.890/3.392/1.501 ms')
2025-12-11 02:27:50,500 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-88570107 passed
2025-12-11 02:27:50,564 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-11 02:27:50,564 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-88570107, IP 34.29.12.197, Port 22
2025-12-11 02:27:50,718 - DEBUG - VM ctest-vn1-vm2-88570107 is ready for SSH connections
2025-12-11 02:27:50,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-11 02:27:50,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-11 02:27:50,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-11 02:27:50,718 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.125.173.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2025-12-11 02:27:50,718 - DEBUG - ping -s 56 -c 3 -W 1 168.125.173.197
2025-12-11 02:27:53,653 - DEBUG - PING 168.125.173.197 (168.125.173.197): 56 data bytes
64 bytes from 168.125.173.197: seq=0 ttl=63 time=5.769 ms
64 bytes from 168.125.173.197: seq=1 ttl=63 time=1.275 ms
64 bytes from 168.125.173.197: seq=2 ttl=63 time=1.587 ms
--- 168.125.173.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.275/2.877/5.769 ms
2025-12-11 02:27:53,653 - INFO - Ping to IP 168.125.173.197 from VM ctest-vn1-vm2-88570107 passed
2025-12-11 02:27:53,653 - INFO - Detaching port 0f920735-57b9-45af-bc84-b8d9e2a5a89f from VM ctest-vn1-vm2-88570107
2025-12-11 02:27:53,700 - INFO - Deleting VM ctest-vn1-vm2-88570107
2025-12-11 02:27:53,764 - INFO - Detaching port 36a507e5-5cc2-443e-8a3a-f8806b7e498a from VM ctest-vn1-vm1-05157636
2025-12-11 02:27:53,792 - INFO - Deleting VM ctest-vn1-vm1-05157636
2025-12-11 02:27:54,049 - DEBUG - Response for delete_port : ()
2025-12-11 02:27:54,271 - DEBUG - Response for delete_port : ()
2025-12-11 02:27:54,271 - INFO - Deleting VN ctest-vn1-19788313
2025-12-11 02:27:54,428 - DEBUG - Response for deleting network ()
2025-12-11 02:27:55,726 - DEBUG - No XMPP flaps were noticed during the test
2025-12-11 02:27:55,726 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-12-11 02:27:55,726 - INFO - --------------------------------------------------------------------------------
2025-12-11 02:27:56,429 - INFO - Deleted project: ctest-TestPorts-46527123, ID : 5ad07c80-d36c-498f-aa69-0ec15dc9b8c2