2026-01-31 12:20:27,473 - INFO - Domain Default found not creating 2026-01-31 12:20:27,655 - INFO - Project ctest-TestPorts-65766804 not found, creating it 2026-01-31 12:20:28,121 - INFO - Created Project:ctest-TestPorts-65766804, ID : adfaf7b1-2095-4e05-bf0c-5c8b3fd888e3 2026-01-31 12:20:29,575 - INFO - ================================================================================ 2026-01-31 12:20:29,575 - INFO - STARTING TEST : test_ports_bindings 2026-01-31 12:20:29,575 - 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-31 12:20:29,835 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-01-31 12:20:29,835 - INFO - Initial checks done. Running the testcase now 2026-01-31 12:20:29,835 - INFO - 2026-01-31 12:20:30,357 - DEBUG - Response for create_network : {'network': {'id': 'cd95beff-5637-49ae-b66c-cec0cd0e63f7', 'name': 'ctest-vn-67829807', 'tenant_id': 'adfaf7b120954e05bf0c5c8b3fd888e3', 'project_id': 'adfaf7b120954e05bf0c5c8b3fd888e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65766804', 'ctest-vn-67829807'], 'port_security_enabled': True, 'description': ''}} 2026-01-31 12:20:30,507 - DEBUG - Response for create_subnet : {'subnet': {'id': '599b2988-2b18-4250-bff2-9087ab8636be', 'name': '', 'tenant_id': 'adfaf7b120954e05bf0c5c8b3fd888e3', 'network_id': 'cd95beff-5637-49ae-b66c-cec0cd0e63f7', 'ip_version': 4, 'cidr': '78.30.118.0/26', 'allocation_pools': [{'start': '78.30.118.2', 'end': '78.30.118.62'}], 'gateway_ip': '78.30.118.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.30.118.2', 'tags': [], 'project_id': 'adfaf7b120954e05bf0c5c8b3fd888e3'}} 2026-01-31 12:20:30,523 - INFO - Created VN ctest-vn-67829807 2026-01-31 12:20:30,573 - DEBUG - VN ctest-vn-67829807 UUID is cd95beff-5637-49ae-b66c-cec0cd0e63f7 2026-01-31 12:20:30,671 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-65766804', 'ctest-vmi-89909959']} 2026-01-31 12:20:30,936 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-89909959', 'id': 'f655d160-5cab-4755-b334-dce676b57096', 'tenant_id': 'adfaf7b120954e05bf0c5c8b3fd888e3', 'network_id': 'cd95beff-5637-49ae-b66c-cec0cd0e63f7', 'mac_address': '02:f6:55:d1:60:5c', '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': '78.30.118.3', 'subnet_id': '599b2988-2b18-4250-bff2-9087ab8636be'}], 'security_groups': ['260abcb1-514f-4265-870e-fb9ba474ba47'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'adfaf7b120954e05bf0c5c8b3fd888e3'}} 2026-01-31 12:20:30,937 - DEBUG - Created port f655d160-5cab-4755-b334-dce676b57096 2026-01-31 12:20:31,045 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f655d160-5cab-4755-b334-dce676b57096 2026-01-31 12:20:31,337 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f655d160-5cab-4755-b334-dce676b57096 2026-01-31 12:20:31,366 - INFO - VMI f655d160-5cab-4755-b334-dce676b57096 verification in API Server passed 2026-01-31 12:20:31,445 - DEBUG - Response for delete_port : () 2026-01-31 12:20:31,445 - INFO - Deleted port f655d160-5cab-4755-b334-dce676b57096 2026-01-31 12:20:31,445 - INFO - Deleting VN ctest-vn-67829807 2026-01-31 12:20:31,538 - DEBUG - Response for deleting network () 2026-01-31 12:20:31,790 - DEBUG - No XMPP flaps were noticed during the test
2026-01-31 12:20:31,790 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-01-31 12:20:31,790 - INFO - -------------------------------------------------------------------------------- 2026-01-31 12:20:31,792 - INFO - ================================================================================ 2026-01-31 12:20:31,793 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-01-31 12:20:31,793 - 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-31 12:20:32,079 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-01-31 12:20:32,079 - INFO - Initial checks done. Running the testcase now 2026-01-31 12:20:32,079 - INFO - 2026-01-31 12:20:32,246 - DEBUG - Response for create_network : {'network': {'id': '866ae4bb-050e-4fbe-a45b-13b9181897c7', 'name': 'ctest-vn1-33563159', 'tenant_id': 'adfaf7b120954e05bf0c5c8b3fd888e3', 'project_id': 'adfaf7b120954e05bf0c5c8b3fd888e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65766804', 'ctest-vn1-33563159'], 'port_security_enabled': True, 'description': ''}} 2026-01-31 12:20:32,401 - DEBUG - Response for create_subnet : {'subnet': {'id': '0718b718-05b3-43fe-a0de-5b7ef2eddb20', 'name': '', 'tenant_id': 'adfaf7b120954e05bf0c5c8b3fd888e3', 'network_id': '866ae4bb-050e-4fbe-a45b-13b9181897c7', 'ip_version': 4, 'cidr': '26.22.88.0/26', 'allocation_pools': [{'start': '26.22.88.2', 'end': '26.22.88.62'}], 'gateway_ip': '26.22.88.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.22.88.2', 'tags': [], 'project_id': 'adfaf7b120954e05bf0c5c8b3fd888e3'}} 2026-01-31 12:20:32,567 - DEBUG - Response for create_subnet : {'subnet': {'id': '13548478-2a64-42da-8af2-a0cd45c87c78', 'name': '', 'tenant_id': 'adfaf7b120954e05bf0c5c8b3fd888e3', 'network_id': '866ae4bb-050e-4fbe-a45b-13b9181897c7', 'ip_version': 4, 'cidr': '106.51.12.0/26', 'allocation_pools': [{'start': '106.51.12.2', 'end': '106.51.12.62'}], 'gateway_ip': '106.51.12.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.51.12.2', 'tags': [], 'project_id': 'adfaf7b120954e05bf0c5c8b3fd888e3'}} 2026-01-31 12:20:32,583 - INFO - Created VN ctest-vn1-33563159 2026-01-31 12:20:32,633 - DEBUG - VN ctest-vn1-33563159 UUID is 866ae4bb-050e-4fbe-a45b-13b9181897c7 2026-01-31 12:20:32,933 - DEBUG - Response for create_port : {'port': {'name': 'e49e6d8b-8868-497c-8427-5f2937be9373', 'id': 'e49e6d8b-8868-497c-8427-5f2937be9373', 'tenant_id': 'adfaf7b120954e05bf0c5c8b3fd888e3', 'network_id': '866ae4bb-050e-4fbe-a45b-13b9181897c7', 'mac_address': '02:e4:9e:6d:8b:88', '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': '26.22.88.5', 'subnet_id': '0718b718-05b3-43fe-a0de-5b7ef2eddb20'}], 'security_groups': ['260abcb1-514f-4265-870e-fb9ba474ba47'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'adfaf7b120954e05bf0c5c8b3fd888e3'}} 2026-01-31 12:20:33,101 - DEBUG - Response for create_port : {'port': {'name': 'cce12770-fb49-4bab-a16f-9bff6cbd1287', 'id': 'cce12770-fb49-4bab-a16f-9bff6cbd1287', 'tenant_id': 'adfaf7b120954e05bf0c5c8b3fd888e3', 'network_id': '866ae4bb-050e-4fbe-a45b-13b9181897c7', 'mac_address': '02:cc:e1:27:70:fb', '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': '106.51.12.5', 'subnet_id': '13548478-2a64-42da-8af2-a0cd45c87c78'}], 'security_groups': ['260abcb1-514f-4265-870e-fb9ba474ba47'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'adfaf7b120954e05bf0c5c8b3fd888e3'}} 2026-01-31 12:20:33,152 - DEBUG - Services list from nova: [, , ] 2026-01-31 12:20:33,447 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5155-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5155-1) 2026-01-31 12:20:33,805 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5155-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5155-1) 2026-01-31 12:20:33,805 - INFO - Waiting for VM ctest-vn1-vm1-05778993 to be up.. 2026-01-31 12:20:33,840 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-31 12:20:38,907 - DEBUG - VM is in ACTIVE state now 2026-01-31 12:20:38,907 - INFO - VM name : ctest-vn1-vm1-05778993 2026-01-31 12:20:38,977 - DEBUG - VM ctest-vn1-vm1-05778993 ID is f10f29b1-c0d8-4080-a55f-72a7f022d3cd 2026-01-31 12:20:38,995 - DEBUG - VM ctest-vn1-vm1-05778993 launched on Node cn-jenkins-deploy-platform-ansible-os-5155-1 2026-01-31 12:20:39,066 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f10f29b1-c0d8-4080-a55f-72a7f022d3cd 2026-01-31 12:20:39,074 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e49e6d8b-8868-497c-8427-5f2937be9373 2026-01-31 12:20:42,326 - 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') 2026-01-31 12:20:42,326 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05778993 failed! 2026-01-31 12:20:42,377 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65766804:ctest-vn1-33563159 is 26.22.88.1 and allocation pool is NOT set 2026-01-31 12:20:42,378 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65766804:ctest-vn1-33563159 is 106.51.12.1 and allocation pool is NOT set 2026-01-31 12:20:44,445 - 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.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.66 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 = 2.663/2.722/2.782/0.059 ms') 2026-01-31 12:20:44,445 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05778993 passed 2026-01-31 12:20:44,593 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-31 12:20:44,593 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05778993, IP 26.22.88.5, Port 22 2026-01-31 12:20:44,659 - 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-31 12:20:44,734 - DEBUG - VM ctest-vn1-vm1-05778993 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-31 12:20:49,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-31 12:20:49,734 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05778993, IP 26.22.88.5, Port 22 2026-01-31 12:20:49,896 - DEBUG - VM ctest-vn1-vm1-05778993 is ready for SSH connections 2026-01-31 12:20:49,896 - INFO - Waiting for VM ctest-vn1-vm2-48604062 to be up.. 2026-01-31 12:20:49,961 - DEBUG - VM is in ACTIVE state now 2026-01-31 12:20:49,962 - INFO - VM name : ctest-vn1-vm2-48604062 2026-01-31 12:20:50,025 - DEBUG - VM ctest-vn1-vm2-48604062 ID is bdfc8438-c893-4ef9-b6d2-ef8a6af45ca6 2026-01-31 12:20:50,025 - DEBUG - VM ctest-vn1-vm2-48604062 launched on Node cn-jenkins-deploy-platform-ansible-os-5155-1 2026-01-31 12:20:50,090 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bdfc8438-c893-4ef9-b6d2-ef8a6af45ca6 2026-01-31 12:20:50,097 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cce12770-fb49-4bab-a16f-9bff6cbd1287 2026-01-31 12:20:51,327 - 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=3.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.343 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.343/1.692/3.041/1.349 ms') 2026-01-31 12:20:51,327 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-48604062 passed 2026-01-31 12:20:51,473 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-31 12:20:51,473 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-48604062, IP 106.51.12.5, Port 22 2026-01-31 12:20:51,625 - DEBUG - VM ctest-vn1-vm2-48604062 is ready for SSH connections 2026-01-31 12:20:51,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-31 12:20:51,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-31 12:20:51,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-31 12:20:51,625 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.22.88.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-31 12:20:51,625 - DEBUG - ping -s 56 -c 3 -W 1 26.22.88.5 2026-01-31 12:20:54,389 - DEBUG - PING 26.22.88.5 (26.22.88.5): 56 data bytes 64 bytes from 26.22.88.5: seq=0 ttl=63 time=3.630 ms 64 bytes from 26.22.88.5: seq=1 ttl=63 time=0.870 ms 64 bytes from 26.22.88.5: seq=2 ttl=63 time=0.848 ms --- 26.22.88.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.848/1.782/3.630 ms 2026-01-31 12:20:54,389 - INFO - Ping to IP 26.22.88.5 from VM ctest-vn1-vm2-48604062 passed 2026-01-31 12:20:54,389 - INFO - Detaching port cce12770-fb49-4bab-a16f-9bff6cbd1287 from VM ctest-vn1-vm2-48604062 2026-01-31 12:20:54,434 - INFO - Deleting VM ctest-vn1-vm2-48604062 2026-01-31 12:20:54,495 - INFO - Detaching port e49e6d8b-8868-497c-8427-5f2937be9373 from VM ctest-vn1-vm1-05778993 2026-01-31 12:20:54,528 - INFO - Deleting VM ctest-vn1-vm1-05778993 2026-01-31 12:20:54,708 - DEBUG - Response for delete_port : () 2026-01-31 12:20:54,835 - DEBUG - Response for delete_port : () 2026-01-31 12:20:54,835 - INFO - Deleting VN ctest-vn1-33563159 2026-01-31 12:20:54,943 - DEBUG - Response for deleting network () 2026-01-31 12:20:55,198 - DEBUG - No XMPP flaps were noticed during the test
2026-01-31 12:20:55,198 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-01-31 12:20:55,198 - INFO - -------------------------------------------------------------------------------- 2026-01-31 12:20:55,863 - INFO - Deleted project: ctest-TestPorts-65766804, ID : adfaf7b1-2095-4e05-bf0c-5c8b3fd888e3