2026-02-02 02:09:21,694 - INFO - Domain Default found not creating 2026-02-02 02:09:21,849 - INFO - Project ctest-TestPorts-96653162 not found, creating it 2026-02-02 02:09:22,339 - INFO - Created Project:ctest-TestPorts-96653162, ID : f3968649-7f33-4597-bd72-bda6c173ab24 2026-02-02 02:09:23,778 - INFO - ================================================================================ 2026-02-02 02:09:23,778 - INFO - STARTING TEST : test_ports_bindings 2026-02-02 02:09:23,778 - 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-02-02 02:09:24,033 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.18': '0'}} with 2026-02-02 02:09:24,034 - INFO - Initial checks done. Running the testcase now 2026-02-02 02:09:24,034 - INFO - 2026-02-02 02:09:25,096 - DEBUG - Response for create_network : {'network': {'id': '7d92a984-2782-42a0-b42b-f38632cee0fc', 'name': 'ctest-vn-74182445', 'tenant_id': 'f39686497f334597bd72bda6c173ab24', 'project_id': 'f39686497f334597bd72bda6c173ab24', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-96653162', 'ctest-vn-74182445'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 02:09:25,310 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e2f3a9d3-59d7-46d3-9a62-02112c211396', 'name': '', 'tenant_id': 'f39686497f334597bd72bda6c173ab24', 'network_id': '7d92a984-2782-42a0-b42b-f38632cee0fc', 'ip_version': 4, 'cidr': '2.240.1.192/26', 'allocation_pools': [{'start': '2.240.1.194', 'end': '2.240.1.254'}], 'gateway_ip': '2.240.1.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.240.1.194', 'tags': [], 'project_id': 'f39686497f334597bd72bda6c173ab24'}} 2026-02-02 02:09:25,327 - INFO - Created VN ctest-vn-74182445 2026-02-02 02:09:25,380 - DEBUG - VN ctest-vn-74182445 UUID is 7d92a984-2782-42a0-b42b-f38632cee0fc 2026-02-02 02:09:25,483 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-96653162', 'ctest-vmi-09965336']} 2026-02-02 02:09:25,776 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-09965336', 'id': '4e3f456c-e5b5-41fb-946d-429d790d4a44', 'tenant_id': 'f39686497f334597bd72bda6c173ab24', 'network_id': '7d92a984-2782-42a0-b42b-f38632cee0fc', 'mac_address': '02:4e:3f:45:6c:e5', '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': '2.240.1.195', 'subnet_id': 'e2f3a9d3-59d7-46d3-9a62-02112c211396'}], 'security_groups': ['d2a19c1f-2baa-40c7-87f3-44b78d462b0e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f39686497f334597bd72bda6c173ab24'}} 2026-02-02 02:09:25,776 - DEBUG - Created port 4e3f456c-e5b5-41fb-946d-429d790d4a44 2026-02-02 02:09:25,880 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/4e3f456c-e5b5-41fb-946d-429d790d4a44 2026-02-02 02:09:26,175 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/4e3f456c-e5b5-41fb-946d-429d790d4a44 2026-02-02 02:09:26,208 - INFO - VMI 4e3f456c-e5b5-41fb-946d-429d790d4a44 verification in API Server passed 2026-02-02 02:09:26,323 - DEBUG - Response for delete_port : () 2026-02-02 02:09:26,323 - INFO - Deleted port 4e3f456c-e5b5-41fb-946d-429d790d4a44 2026-02-02 02:09:26,323 - INFO - Deleting VN ctest-vn-74182445 2026-02-02 02:09:26,431 - DEBUG - Response for deleting network () 2026-02-02 02:09:26,689 - DEBUG - No XMPP flaps were noticed during the test
2026-02-02 02:09:26,689 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-02-02 02:09:26,689 - INFO - -------------------------------------------------------------------------------- 2026-02-02 02:09:26,691 - INFO - ================================================================================ 2026-02-02 02:09:26,691 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-02-02 02:09:26,691 - 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-02-02 02:09:26,978 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.18': '0'}} with 2026-02-02 02:09:26,978 - INFO - Initial checks done. Running the testcase now 2026-02-02 02:09:26,978 - INFO - 2026-02-02 02:09:27,162 - DEBUG - Response for create_network : {'network': {'id': '3c227aba-d8e1-49d4-8de2-3018764ce61d', 'name': 'ctest-vn1-29716649', 'tenant_id': 'f39686497f334597bd72bda6c173ab24', 'project_id': 'f39686497f334597bd72bda6c173ab24', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-96653162', 'ctest-vn1-29716649'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 02:09:27,371 - DEBUG - Response for create_subnet : {'subnet': {'id': '1cf86596-8a98-43f5-b717-66eefb983778', 'name': '', 'tenant_id': 'f39686497f334597bd72bda6c173ab24', 'network_id': '3c227aba-d8e1-49d4-8de2-3018764ce61d', 'ip_version': 4, 'cidr': '126.30.210.64/26', 'allocation_pools': [{'start': '126.30.210.66', 'end': '126.30.210.126'}], 'gateway_ip': '126.30.210.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.30.210.66', 'tags': [], 'project_id': 'f39686497f334597bd72bda6c173ab24'}} 2026-02-02 02:09:27,583 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f60cd29e-4845-43e7-9589-93c705cef3ff', 'name': '', 'tenant_id': 'f39686497f334597bd72bda6c173ab24', 'network_id': '3c227aba-d8e1-49d4-8de2-3018764ce61d', 'ip_version': 4, 'cidr': '201.25.75.128/26', 'allocation_pools': [{'start': '201.25.75.130', 'end': '201.25.75.190'}], 'gateway_ip': '201.25.75.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.25.75.130', 'tags': [], 'project_id': 'f39686497f334597bd72bda6c173ab24'}} 2026-02-02 02:09:27,600 - INFO - Created VN ctest-vn1-29716649 2026-02-02 02:09:27,652 - DEBUG - VN ctest-vn1-29716649 UUID is 3c227aba-d8e1-49d4-8de2-3018764ce61d 2026-02-02 02:09:27,937 - DEBUG - Response for create_port : {'port': {'name': '2ac519f0-b0fe-4966-9372-993d49c6f47a', 'id': '2ac519f0-b0fe-4966-9372-993d49c6f47a', 'tenant_id': 'f39686497f334597bd72bda6c173ab24', 'network_id': '3c227aba-d8e1-49d4-8de2-3018764ce61d', 'mac_address': '02:2a:c5:19:f0:b0', '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.30.210.69', 'subnet_id': '1cf86596-8a98-43f5-b717-66eefb983778'}], 'security_groups': ['d2a19c1f-2baa-40c7-87f3-44b78d462b0e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f39686497f334597bd72bda6c173ab24'}} 2026-02-02 02:09:28,126 - DEBUG - Response for create_port : {'port': {'name': 'f36f7246-611e-4254-8514-68e260bfbe19', 'id': 'f36f7246-611e-4254-8514-68e260bfbe19', 'tenant_id': 'f39686497f334597bd72bda6c173ab24', 'network_id': '3c227aba-d8e1-49d4-8de2-3018764ce61d', 'mac_address': '02:f3:6f:72:46:61', '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': '201.25.75.133', 'subnet_id': 'f60cd29e-4845-43e7-9589-93c705cef3ff'}], 'security_groups': ['d2a19c1f-2baa-40c7-87f3-44b78d462b0e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f39686497f334597bd72bda6c173ab24'}} 2026-02-02 02:09:28,178 - DEBUG - Services list from nova: [, , ] 2026-02-02 02:09:28,488 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5163-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5163-1) 2026-02-02 02:09:28,874 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5163-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5163-1) 2026-02-02 02:09:28,874 - INFO - Waiting for VM ctest-vn1-vm1-15507585 to be up.. 2026-02-02 02:09:28,913 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-02 02:09:34,003 - DEBUG - VM is in ACTIVE state now 2026-02-02 02:09:34,003 - INFO - VM name : ctest-vn1-vm1-15507585 2026-02-02 02:09:34,085 - DEBUG - VM ctest-vn1-vm1-15507585 ID is 2d25cc32-f508-4721-b06b-e6b87328a4af 2026-02-02 02:09:34,110 - DEBUG - VM ctest-vn1-vm1-15507585 launched on Node cn-jenkins-deploy-platform-ansible-os-5163-1 2026-02-02 02:09:34,202 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/2d25cc32-f508-4721-b06b-e6b87328a4af 2026-02-02 02:09:34,209 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/2ac519f0-b0fe-4966-9372-993d49c6f47a 2026-02-02 02:09:37,481 - 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 1031ms') 2026-02-02 02:09:37,481 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15507585 failed! 2026-02-02 02:09:37,536 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-96653162:ctest-vn1-29716649 is 126.30.210.65 and allocation pool is NOT set 2026-02-02 02:09:37,536 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-96653162:ctest-vn1-29716649 is 201.25.75.129 and allocation pool is NOT set 2026-02-02 02:09:39,597 - 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=15.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.22 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 = 3.223/9.585/15.947/6.362 ms') 2026-02-02 02:09:39,597 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15507585 passed 2026-02-02 02:09:39,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 02:09:39,752 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-15507585, IP 126.30.210.69, Port 22 2026-02-02 02:09:39,822 - 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-02-02 02:09:39,905 - DEBUG - VM ctest-vn1-vm1-15507585 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-02 02:09:44,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 02:09:44,906 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-15507585, IP 126.30.210.69, Port 22 2026-02-02 02:09:45,063 - DEBUG - VM ctest-vn1-vm1-15507585 is ready for SSH connections 2026-02-02 02:09:45,063 - INFO - Waiting for VM ctest-vn1-vm2-42260740 to be up.. 2026-02-02 02:09:45,131 - DEBUG - VM is in ACTIVE state now 2026-02-02 02:09:45,131 - INFO - VM name : ctest-vn1-vm2-42260740 2026-02-02 02:09:45,195 - DEBUG - VM ctest-vn1-vm2-42260740 ID is effc421f-b1e1-4d4d-bcde-d1aa2e136aef 2026-02-02 02:09:45,196 - DEBUG - VM ctest-vn1-vm2-42260740 launched on Node cn-jenkins-deploy-platform-ansible-os-5163-1 2026-02-02 02:09:45,262 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/effc421f-b1e1-4d4d-bcde-d1aa2e136aef 2026-02-02 02:09:45,270 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/f36f7246-611e-4254-8514-68e260bfbe19 2026-02-02 02:09:46,510 - 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=2.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.472 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 = 0.472/1.693/2.915/1.221 ms') 2026-02-02 02:09:46,510 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-42260740 passed 2026-02-02 02:09:46,660 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 02:09:46,660 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-42260740, IP 201.25.75.133, Port 22 2026-02-02 02:09:46,820 - DEBUG - VM ctest-vn1-vm2-42260740 is ready for SSH connections 2026-02-02 02:09:46,820 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 02:09:46,820 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 02:09:46,820 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 02:09:46,820 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.30.210.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-02-02 02:09:46,821 - DEBUG - ping -s 56 -c 3 -W 1 126.30.210.69 2026-02-02 02:09:49,459 - DEBUG - PING 126.30.210.69 (126.30.210.69): 56 data bytes 64 bytes from 126.30.210.69: seq=0 ttl=63 time=4.097 ms 64 bytes from 126.30.210.69: seq=1 ttl=63 time=0.687 ms 64 bytes from 126.30.210.69: seq=2 ttl=63 time=1.306 ms --- 126.30.210.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.687/2.030/4.097 ms 2026-02-02 02:09:49,459 - INFO - Ping to IP 126.30.210.69 from VM ctest-vn1-vm2-42260740 passed 2026-02-02 02:09:49,459 - INFO - Detaching port f36f7246-611e-4254-8514-68e260bfbe19 from VM ctest-vn1-vm2-42260740 2026-02-02 02:09:49,511 - INFO - Deleting VM ctest-vn1-vm2-42260740 2026-02-02 02:09:49,578 - INFO - Detaching port 2ac519f0-b0fe-4966-9372-993d49c6f47a from VM ctest-vn1-vm1-15507585 2026-02-02 02:09:49,611 - INFO - Deleting VM ctest-vn1-vm1-15507585 2026-02-02 02:09:49,811 - DEBUG - Response for delete_port : () 2026-02-02 02:09:49,953 - DEBUG - Response for delete_port : () 2026-02-02 02:09:49,953 - INFO - Deleting VN ctest-vn1-29716649 2026-02-02 02:09:50,080 - DEBUG - Response for deleting network () 2026-02-02 02:09:50,338 - DEBUG - No XMPP flaps were noticed during the test
2026-02-02 02:09:50,338 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-02-02 02:09:50,338 - INFO - -------------------------------------------------------------------------------- 2026-02-02 02:09:51,004 - INFO - Deleted project: ctest-TestPorts-96653162, ID : f3968649-7f33-4597-bd72-bda6c173ab24