2026-03-27 11:12:48,321 - INFO - Domain Default found not creating
2026-03-27 11:12:48,477 - INFO - Project ctest-TestPorts-00618480 not found, creating it
2026-03-27 11:12:48,934 - INFO - Created Project:ctest-TestPorts-00618480, ID : f4c2f67f-4d8a-407a-b25f-9f3676971b12
2026-03-27 11:12:50,330 - INFO - ================================================================================
2026-03-27 11:12:50,330 - INFO - STARTING TEST : test_ports_bindings
2026-03-27 11:12:50,330 - 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-03-27 11:12:50,579 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with
2026-03-27 11:12:50,579 - INFO - Initial checks done. Running the testcase now
2026-03-27 11:12:50,580 - INFO -
2026-03-27 11:12:51,135 - DEBUG - Response for create_network : {'network': {'id': 'b4bc728a-cf7f-49b0-a9a9-c4154f210e04', 'name': 'ctest-vn-42775359', 'tenant_id': 'f4c2f67f4d8a407ab25f9f3676971b12', 'project_id': 'f4c2f67f4d8a407ab25f9f3676971b12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-00618480', 'ctest-vn-42775359'], 'port_security_enabled': True, 'description': ''}}
2026-03-27 11:12:51,325 - DEBUG - Response for create_subnet : {'subnet': {'id': '48c24bdc-3e53-4406-bf92-5747140a4c58', 'name': '', 'tenant_id': 'f4c2f67f4d8a407ab25f9f3676971b12', 'network_id': 'b4bc728a-cf7f-49b0-a9a9-c4154f210e04', 'ip_version': 4, 'cidr': '28.70.68.64/26', 'allocation_pools': [{'start': '28.70.68.66', 'end': '28.70.68.126'}], 'gateway_ip': '28.70.68.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.70.68.66', 'tags': [], 'project_id': 'f4c2f67f4d8a407ab25f9f3676971b12'}}
2026-03-27 11:12:51,341 - INFO - Created VN ctest-vn-42775359
2026-03-27 11:12:51,391 - DEBUG - VN ctest-vn-42775359 UUID is b4bc728a-cf7f-49b0-a9a9-c4154f210e04
2026-03-27 11:12:51,494 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-00618480', 'ctest-vmi-99026096']}
2026-03-27 11:12:51,772 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-99026096', 'id': '7275f07f-9f52-4135-83c0-3b7006c8ce7a', 'tenant_id': 'f4c2f67f4d8a407ab25f9f3676971b12', 'network_id': 'b4bc728a-cf7f-49b0-a9a9-c4154f210e04', 'mac_address': '02:72:75:f0:7f:9f', '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': '28.70.68.67', 'subnet_id': '48c24bdc-3e53-4406-bf92-5747140a4c58'}], 'security_groups': ['144f9063-6f2c-4c6d-9ac9-2b6d65cd141f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f4c2f67f4d8a407ab25f9f3676971b12'}}
2026-03-27 11:12:51,773 - DEBUG - Created port 7275f07f-9f52-4135-83c0-3b7006c8ce7a
2026-03-27 11:12:51,875 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/7275f07f-9f52-4135-83c0-3b7006c8ce7a
2026-03-27 11:12:52,167 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/7275f07f-9f52-4135-83c0-3b7006c8ce7a
2026-03-27 11:12:52,199 - INFO - VMI 7275f07f-9f52-4135-83c0-3b7006c8ce7a verification in API Server passed
2026-03-27 11:12:52,283 - DEBUG - Response for delete_port : ()
2026-03-27 11:12:52,283 - INFO - Deleted port 7275f07f-9f52-4135-83c0-3b7006c8ce7a
2026-03-27 11:12:52,283 - INFO - Deleting VN ctest-vn-42775359
2026-03-27 11:12:52,378 - DEBUG - Response for deleting network ()
2026-03-27 11:12:52,635 - DEBUG - No XMPP flaps were noticed during the test
2026-03-27 11:12:52,635 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-03-27 11:12:52,635 - INFO - --------------------------------------------------------------------------------
2026-03-27 11:12:52,637 - INFO - ================================================================================
2026-03-27 11:12:52,637 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-03-27 11:12:52,638 - 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-03-27 11:12:52,924 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with
2026-03-27 11:12:52,924 - INFO - Initial checks done. Running the testcase now
2026-03-27 11:12:52,924 - INFO -
2026-03-27 11:12:53,085 - DEBUG - Response for create_network : {'network': {'id': '50821aca-b8bc-43f2-8dc6-3d5f55d165fd', 'name': 'ctest-vn1-95467156', 'tenant_id': 'f4c2f67f4d8a407ab25f9f3676971b12', 'project_id': 'f4c2f67f4d8a407ab25f9f3676971b12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-00618480', 'ctest-vn1-95467156'], 'port_security_enabled': True, 'description': ''}}
2026-03-27 11:12:53,304 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ec0579b-b59a-442e-995f-f18889f30dc8', 'name': '', 'tenant_id': 'f4c2f67f4d8a407ab25f9f3676971b12', 'network_id': '50821aca-b8bc-43f2-8dc6-3d5f55d165fd', 'ip_version': 4, 'cidr': '77.46.81.64/26', 'allocation_pools': [{'start': '77.46.81.66', 'end': '77.46.81.126'}], 'gateway_ip': '77.46.81.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.46.81.66', 'tags': [], 'project_id': 'f4c2f67f4d8a407ab25f9f3676971b12'}}
2026-03-27 11:12:53,470 - DEBUG - Response for create_subnet : {'subnet': {'id': '983d5fe4-0ae4-48fe-a54f-338ec35ea486', 'name': '', 'tenant_id': 'f4c2f67f4d8a407ab25f9f3676971b12', 'network_id': '50821aca-b8bc-43f2-8dc6-3d5f55d165fd', 'ip_version': 4, 'cidr': '171.21.171.192/26', 'allocation_pools': [{'start': '171.21.171.194', 'end': '171.21.171.254'}], 'gateway_ip': '171.21.171.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.21.171.194', 'tags': [], 'project_id': 'f4c2f67f4d8a407ab25f9f3676971b12'}}
2026-03-27 11:12:53,489 - INFO - Created VN ctest-vn1-95467156
2026-03-27 11:12:53,539 - DEBUG - VN ctest-vn1-95467156 UUID is 50821aca-b8bc-43f2-8dc6-3d5f55d165fd
2026-03-27 11:12:53,821 - DEBUG - Response for create_port : {'port': {'name': '950282bc-8b90-428b-bd1c-fb8b32717fa4', 'id': '950282bc-8b90-428b-bd1c-fb8b32717fa4', 'tenant_id': 'f4c2f67f4d8a407ab25f9f3676971b12', 'network_id': '50821aca-b8bc-43f2-8dc6-3d5f55d165fd', 'mac_address': '02:95:02:82:bc:8b', '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': '77.46.81.69', 'subnet_id': '1ec0579b-b59a-442e-995f-f18889f30dc8'}], 'security_groups': ['144f9063-6f2c-4c6d-9ac9-2b6d65cd141f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f4c2f67f4d8a407ab25f9f3676971b12'}}
2026-03-27 11:12:53,969 - DEBUG - Response for create_port : {'port': {'name': '609c55d8-caa1-4816-929a-08ef08de3480', 'id': '609c55d8-caa1-4816-929a-08ef08de3480', 'tenant_id': 'f4c2f67f4d8a407ab25f9f3676971b12', 'network_id': '50821aca-b8bc-43f2-8dc6-3d5f55d165fd', 'mac_address': '02:60:9c:55:d8:ca', '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': '171.21.171.197', 'subnet_id': '983d5fe4-0ae4-48fe-a54f-338ec35ea486'}], 'security_groups': ['144f9063-6f2c-4c6d-9ac9-2b6d65cd141f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f4c2f67f4d8a407ab25f9f3676971b12'}}
2026-03-27 11:12:54,023 - DEBUG - Services list from nova: [, , ]
2026-03-27 11:12:54,330 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5549-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5549-1)
2026-03-27 11:12:54,675 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5549-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5549-1)
2026-03-27 11:12:54,675 - INFO - Waiting for VM ctest-vn1-vm1-29242321 to be up..
2026-03-27 11:12:54,710 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-03-27 11:12:59,780 - DEBUG - VM is in ACTIVE state now
2026-03-27 11:12:59,780 - INFO - VM name : ctest-vn1-vm1-29242321
2026-03-27 11:12:59,854 - DEBUG - VM ctest-vn1-vm1-29242321 ID is fb681e70-ae1e-4d1a-ad01-d07e484ca1a5
2026-03-27 11:12:59,871 - DEBUG - VM ctest-vn1-vm1-29242321 launched on Node cn-jenkins-deploy-platform-ansible-os-5549-1
2026-03-27 11:12:59,934 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/fb681e70-ae1e-4d1a-ad01-d07e484ca1a5
2026-03-27 11:12:59,941 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/950282bc-8b90-428b-bd1c-fb8b32717fa4
2026-03-27 11:13:03,181 - 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 1007ms')
2026-03-27 11:13:03,181 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-29242321 failed!
2026-03-27 11:13:03,235 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-00618480:ctest-vn1-95467156 is 77.46.81.65 and allocation pool is NOT set
2026-03-27 11:13:03,236 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-00618480:ctest-vn1-95467156 is 171.21.171.193 and allocation pool is NOT set
2026-03-27 11:13:05,297 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.84 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.836/3.285/4.734/1.449 ms')
2026-03-27 11:13:05,297 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-29242321 passed
2026-03-27 11:13:05,443 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-27 11:13:05,444 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-29242321, IP 77.46.81.69, Port 22
2026-03-27 11:13:05,499 - 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': ''}
2026-03-27 11:13:05,577 - DEBUG - VM ctest-vn1-vm1-29242321 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-27 11:13:10,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-27 11:13:10,579 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-29242321, IP 77.46.81.69, Port 22
2026-03-27 11:13:10,735 - DEBUG - VM ctest-vn1-vm1-29242321 is ready for SSH connections
2026-03-27 11:13:10,735 - INFO - Waiting for VM ctest-vn1-vm2-42679282 to be up..
2026-03-27 11:13:10,799 - DEBUG - VM is in ACTIVE state now
2026-03-27 11:13:10,799 - INFO - VM name : ctest-vn1-vm2-42679282
2026-03-27 11:13:10,866 - DEBUG - VM ctest-vn1-vm2-42679282 ID is 8df29184-9567-4262-aca0-8f41a7b4939c
2026-03-27 11:13:10,866 - DEBUG - VM ctest-vn1-vm2-42679282 launched on Node cn-jenkins-deploy-platform-ansible-os-5549-1
2026-03-27 11:13:10,932 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/8df29184-9567-4262-aca0-8f41a7b4939c
2026-03-27 11:13:10,939 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/609c55d8-caa1-4816-929a-08ef08de3480
2026-03-27 11:13:12,170 - 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.75 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 1002ms\r\nrtt min/avg/max/mdev = 0.369/1.558/2.747/1.189 ms')
2026-03-27 11:13:12,171 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-42679282 passed
2026-03-27 11:13:12,319 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-27 11:13:12,320 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-42679282, IP 171.21.171.197, Port 22
2026-03-27 11:13:12,471 - DEBUG - VM ctest-vn1-vm2-42679282 is ready for SSH connections
2026-03-27 11:13:12,471 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-27 11:13:12,471 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-27 11:13:12,471 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-27 11:13:12,471 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.46.81.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2026-03-27 11:13:12,471 - DEBUG - ping -s 56 -c 3 -W 1 77.46.81.69
2026-03-27 11:13:16,463 - DEBUG - PING 77.46.81.69 (77.46.81.69): 56 data bytes
64 bytes from 77.46.81.69: seq=0 ttl=63 time=4.953 ms
64 bytes from 77.46.81.69: seq=1 ttl=63 time=0.738 ms
64 bytes from 77.46.81.69: seq=2 ttl=63 time=0.755 ms
--- 77.46.81.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.738/2.148/4.953 ms
2026-03-27 11:13:16,463 - INFO - Ping to IP 77.46.81.69 from VM ctest-vn1-vm2-42679282 passed
2026-03-27 11:13:16,463 - INFO - Detaching port 609c55d8-caa1-4816-929a-08ef08de3480 from VM ctest-vn1-vm2-42679282
2026-03-27 11:13:16,512 - INFO - Deleting VM ctest-vn1-vm2-42679282
2026-03-27 11:13:16,583 - INFO - Detaching port 950282bc-8b90-428b-bd1c-fb8b32717fa4 from VM ctest-vn1-vm1-29242321
2026-03-27 11:13:16,616 - INFO - Deleting VM ctest-vn1-vm1-29242321
2026-03-27 11:13:16,835 - DEBUG - Response for delete_port : ()
2026-03-27 11:13:16,985 - DEBUG - Response for delete_port : ()
2026-03-27 11:13:16,985 - INFO - Deleting VN ctest-vn1-95467156
2026-03-27 11:13:17,137 - DEBUG - Response for deleting network ()
2026-03-27 11:13:17,387 - DEBUG - No XMPP flaps were noticed during the test
2026-03-27 11:13:17,388 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2026-03-27 11:13:17,388 - INFO - --------------------------------------------------------------------------------
2026-03-27 11:13:18,039 - INFO - Deleted project: ctest-TestPorts-00618480, ID : f4c2f67f-4d8a-407a-b25f-9f3676971b12