2026-01-26 13:09:32,315 - INFO - Domain Default found not creating 2026-01-26 13:09:32,533 - INFO - Project ctest-TestPorts-27225862 not found, creating it 2026-01-26 13:09:33,220 - INFO - Created Project:ctest-TestPorts-27225862, ID : dd6fa6f8-0ca4-4c1e-a598-1711693ab30a 2026-01-26 13:09:34,946 - INFO - ================================================================================ 2026-01-26 13:09:34,946 - INFO - STARTING TEST : test_ports_bindings 2026-01-26 13:09:34,946 - 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 2026-01-26 13:09:36,240 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0', '10.20.0.14': '0'}, '10.0.0.249': {'10.20.0.14': '0', '10.20.0.254': '0'}} with 2026-01-26 13:09:36,241 - INFO - Initial checks done. Running the testcase now 2026-01-26 13:09:36,241 - INFO - 2026-01-26 13:09:37,069 - DEBUG - Response for create_network : {'network': {'id': '38cb9d61-0bae-4b43-a814-f03c7ab11107', 'name': 'ctest-vn-49857415', 'tenant_id': 'dd6fa6f80ca44c1ea5981711693ab30a', 'project_id': 'dd6fa6f80ca44c1ea5981711693ab30a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-27225862', 'ctest-vn-49857415'], 'port_security_enabled': True, 'description': ''}} 2026-01-26 13:09:37,466 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff5ceb4c-dcb3-4b27-b180-63498ea02041', 'name': '', 'tenant_id': 'dd6fa6f80ca44c1ea5981711693ab30a', 'network_id': '38cb9d61-0bae-4b43-a814-f03c7ab11107', 'ip_version': 4, 'cidr': '126.136.75.192/26', 'allocation_pools': [{'start': '126.136.75.194', 'end': '126.136.75.254'}], 'gateway_ip': '126.136.75.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.136.75.194', 'tags': [], 'project_id': 'dd6fa6f80ca44c1ea5981711693ab30a'}} 2026-01-26 13:09:37,489 - INFO - Created VN ctest-vn-49857415 2026-01-26 13:09:37,501 - DEBUG - VN ctest-vn-49857415 UUID is 38cb9d61-0bae-4b43-a814-f03c7ab11107 2026-01-26 13:09:37,582 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-27225862', 'ctest-vmi-93559598']} 2026-01-26 13:09:37,956 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-93559598', 'id': 'c776bc38-833e-4ff5-9efa-0523e5b8d95f', 'tenant_id': 'dd6fa6f80ca44c1ea5981711693ab30a', 'network_id': '38cb9d61-0bae-4b43-a814-f03c7ab11107', 'mac_address': '02:c7:76:bc:38:83', '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': '126.136.75.195', 'subnet_id': 'ff5ceb4c-dcb3-4b27-b180-63498ea02041'}], 'security_groups': ['223ddea7-1f98-4a93-8493-0f7714011f2d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dd6fa6f80ca44c1ea5981711693ab30a'}} 2026-01-26 13:09:37,956 - DEBUG - Created port c776bc38-833e-4ff5-9efa-0523e5b8d95f 2026-01-26 13:09:38,028 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c776bc38-833e-4ff5-9efa-0523e5b8d95f 2026-01-26 13:09:38,363 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c776bc38-833e-4ff5-9efa-0523e5b8d95f 2026-01-26 13:09:38,402 - INFO - VMI c776bc38-833e-4ff5-9efa-0523e5b8d95f verification in API Server passed 2026-01-26 13:09:38,598 - DEBUG - Response for delete_port : () 2026-01-26 13:09:38,598 - INFO - Deleted port c776bc38-833e-4ff5-9efa-0523e5b8d95f 2026-01-26 13:09:38,598 - INFO - Deleting VN ctest-vn-49857415 2026-01-26 13:09:38,793 - DEBUG - Response for deleting network () 2026-01-26 13:09:40,082 - DEBUG - No XMPP flaps were noticed during the test
2026-01-26 13:09:40,082 - INFO - END TEST : test_ports_bindings : PASSED[0:00:06]
2026-01-26 13:09:40,083 - INFO - -------------------------------------------------------------------------------- 2026-01-26 13:09:40,086 - INFO - ================================================================================ 2026-01-26 13:09:40,086 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-01-26 13:09:40,086 - 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 2026-01-26 13:09:41,392 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0', '10.20.0.14': '0'}, '10.0.0.249': {'10.20.0.14': '0', '10.20.0.254': '0'}} with 2026-01-26 13:09:41,392 - INFO - Initial checks done. Running the testcase now 2026-01-26 13:09:41,392 - INFO - 2026-01-26 13:09:41,729 - DEBUG - Response for create_network : {'network': {'id': 'c1720a4b-ed1f-4a7a-862b-02153bbed6e5', 'name': 'ctest-vn1-25068438', 'tenant_id': 'dd6fa6f80ca44c1ea5981711693ab30a', 'project_id': 'dd6fa6f80ca44c1ea5981711693ab30a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-27225862', 'ctest-vn1-25068438'], 'port_security_enabled': True, 'description': ''}} 2026-01-26 13:09:42,035 - DEBUG - Response for create_subnet : {'subnet': {'id': '4560b366-8584-4022-9388-06822fad9c5c', 'name': '', 'tenant_id': 'dd6fa6f80ca44c1ea5981711693ab30a', 'network_id': 'c1720a4b-ed1f-4a7a-862b-02153bbed6e5', 'ip_version': 4, 'cidr': '123.144.53.64/26', 'allocation_pools': [{'start': '123.144.53.66', 'end': '123.144.53.126'}], 'gateway_ip': '123.144.53.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.144.53.66', 'tags': [], 'project_id': 'dd6fa6f80ca44c1ea5981711693ab30a'}} 2026-01-26 13:09:42,253 - DEBUG - Response for create_subnet : {'subnet': {'id': '9bbd6e42-fa12-4dbd-b119-4c418637dd36', 'name': '', 'tenant_id': 'dd6fa6f80ca44c1ea5981711693ab30a', 'network_id': 'c1720a4b-ed1f-4a7a-862b-02153bbed6e5', 'ip_version': 4, 'cidr': '5.122.153.0/26', 'allocation_pools': [{'start': '5.122.153.2', 'end': '5.122.153.62'}], 'gateway_ip': '5.122.153.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.122.153.2', 'tags': [], 'project_id': 'dd6fa6f80ca44c1ea5981711693ab30a'}} 2026-01-26 13:09:42,279 - INFO - Created VN ctest-vn1-25068438 2026-01-26 13:09:42,293 - DEBUG - VN ctest-vn1-25068438 UUID is c1720a4b-ed1f-4a7a-862b-02153bbed6e5 2026-01-26 13:09:42,753 - DEBUG - Response for create_port : {'port': {'name': 'a4fd56d9-c01c-42a1-9030-7290c2defa7c', 'id': 'a4fd56d9-c01c-42a1-9030-7290c2defa7c', 'tenant_id': 'dd6fa6f80ca44c1ea5981711693ab30a', 'network_id': 'c1720a4b-ed1f-4a7a-862b-02153bbed6e5', 'mac_address': '02:a4:fd:56:d9:c0', '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': '123.144.53.69', 'subnet_id': '4560b366-8584-4022-9388-06822fad9c5c'}], 'security_groups': ['223ddea7-1f98-4a93-8493-0f7714011f2d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dd6fa6f80ca44c1ea5981711693ab30a'}} 2026-01-26 13:09:43,114 - DEBUG - Response for create_port : {'port': {'name': '39b14335-38f8-484a-a0c4-f1f4fe81ac66', 'id': '39b14335-38f8-484a-a0c4-f1f4fe81ac66', 'tenant_id': 'dd6fa6f80ca44c1ea5981711693ab30a', 'network_id': 'c1720a4b-ed1f-4a7a-862b-02153bbed6e5', 'mac_address': '02:39:b1:43:35:38', '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': '5.122.153.5', 'subnet_id': '9bbd6e42-fa12-4dbd-b119-4c418637dd36'}], 'security_groups': ['223ddea7-1f98-4a93-8493-0f7714011f2d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dd6fa6f80ca44c1ea5981711693ab30a'}} 2026-01-26 13:09:43,190 - DEBUG - Services list from nova: [, , , ] 2026-01-26 13:09:43,695 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5080-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5080-2) 2026-01-26 13:09:44,249 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5080-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5080-1) 2026-01-26 13:09:44,249 - INFO - Waiting for VM ctest-vn1-vm1-38307524 to be up.. 2026-01-26 13:09:44,332 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-26 13:09:49,430 - DEBUG - VM is in ACTIVE state now 2026-01-26 13:09:49,430 - INFO - VM name : ctest-vn1-vm1-38307524 2026-01-26 13:09:49,522 - DEBUG - VM ctest-vn1-vm1-38307524 ID is e4a7c891-df63-4a01-a603-c91befd9756a 2026-01-26 13:09:49,546 - DEBUG - VM ctest-vn1-vm1-38307524 launched on Node an-jenkins-deploy-platform-ansible-os-5080-2 2026-01-26 13:09:49,636 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e4a7c891-df63-4a01-a603-c91befd9756a 2026-01-26 13:09:49,971 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e4a7c891-df63-4a01-a603-c91befd9756a 2026-01-26 13:09:50,015 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/a4fd56d9-c01c-42a1-9030-7290c2defa7c 2026-01-26 13:09:53,267 - 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 1032ms') 2026-01-26 13:09:53,267 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38307524 failed! 2026-01-26 13:09:53,283 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-27225862:ctest-vn1-25068438 is 123.144.53.65 and allocation pool is NOT set 2026-01-26 13:09:53,283 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-27225862:ctest-vn1-25068438 is 5.122.153.1 and allocation pool is NOT set 2026-01-26 13:09:57,355 - 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=2 ttl=63 time=12.3 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 12.314/12.314/12.314/0.000 ms') 2026-01-26 13:09:57,355 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38307524 passed 2026-01-26 13:09:57,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 13:09:57,474 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-38307524, IP 123.144.53.69, Port 22 2026-01-26 13:09:57,542 - 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': ''} 2026-01-26 13:09:57,633 - DEBUG - VM ctest-vn1-vm1-38307524 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-26 13:10:02,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 13:10:02,633 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-38307524, IP 123.144.53.69, Port 22 2026-01-26 13:10:02,792 - DEBUG - VM ctest-vn1-vm1-38307524 is ready for SSH connections 2026-01-26 13:10:02,793 - INFO - Waiting for VM ctest-vn1-vm2-33839695 to be up.. 2026-01-26 13:10:02,903 - DEBUG - VM is in ACTIVE state now 2026-01-26 13:10:02,903 - INFO - VM name : ctest-vn1-vm2-33839695 2026-01-26 13:10:03,002 - DEBUG - VM ctest-vn1-vm2-33839695 ID is 07a1f29a-2913-4d18-ac9b-de011aa4ee8d 2026-01-26 13:10:03,002 - DEBUG - VM ctest-vn1-vm2-33839695 launched on Node an-jenkins-deploy-platform-ansible-os-5080-1 2026-01-26 13:10:03,106 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/07a1f29a-2913-4d18-ac9b-de011aa4ee8d 2026-01-26 13:10:03,121 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/39b14335-38f8-484a-a0c4-f1f4fe81ac66 2026-01-26 13:10:05,335 - 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.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.386 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.386/2.407/4.429/2.021 ms') 2026-01-26 13:10:05,335 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-33839695 passed 2026-01-26 13:10:05,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 13:10:05,449 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-33839695, IP 5.122.153.5, Port 22 2026-01-26 13:10:05,621 - DEBUG - VM ctest-vn1-vm2-33839695 is ready for SSH connections 2026-01-26 13:10:05,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 13:10:05,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 13:10:05,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 13:10:05,621 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.144.53.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-26 13:10:05,621 - DEBUG - ping -s 56 -c 3 -W 1 123.144.53.69 2026-01-26 13:10:08,616 - DEBUG - PING 123.144.53.69 (123.144.53.69): 56 data bytes 64 bytes from 123.144.53.69: seq=0 ttl=63 time=6.319 ms 64 bytes from 123.144.53.69: seq=1 ttl=63 time=1.519 ms 64 bytes from 123.144.53.69: seq=2 ttl=63 time=1.230 ms --- 123.144.53.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.230/3.022/6.319 ms 2026-01-26 13:10:08,616 - INFO - Ping to IP 123.144.53.69 from VM ctest-vn1-vm2-33839695 passed 2026-01-26 13:10:08,616 - INFO - Detaching port 39b14335-38f8-484a-a0c4-f1f4fe81ac66 from VM ctest-vn1-vm2-33839695 2026-01-26 13:10:08,686 - INFO - Deleting VM ctest-vn1-vm2-33839695 2026-01-26 13:10:08,780 - INFO - Detaching port a4fd56d9-c01c-42a1-9030-7290c2defa7c from VM ctest-vn1-vm1-38307524 2026-01-26 13:10:08,822 - INFO - Deleting VM ctest-vn1-vm1-38307524 2026-01-26 13:10:09,303 - DEBUG - Response for delete_port : () 2026-01-26 13:10:09,656 - DEBUG - Response for delete_port : () 2026-01-26 13:10:09,656 - INFO - Deleting VN ctest-vn1-25068438 2026-01-26 13:10:09,906 - DEBUG - Response for deleting network () 2026-01-26 13:10:11,212 - DEBUG - No XMPP flaps were noticed during the test
2026-01-26 13:10:11,212 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:31]
2026-01-26 13:10:11,212 - INFO - -------------------------------------------------------------------------------- 2026-01-26 13:10:12,064 - INFO - Deleted project: ctest-TestPorts-27225862, ID : dd6fa6f8-0ca4-4c1e-a598-1711693ab30a