2025-10-22 10:06:19,918 - INFO - Domain Default found not creating 2025-10-22 10:06:20,078 - INFO - Project ctest-TestPorts-45679445 not found, creating it 2025-10-22 10:06:20,532 - INFO - Created Project:ctest-TestPorts-45679445, ID : d1439b1f-a964-4ab0-91e3-37acfe4e9de9 2025-10-22 10:06:21,911 - INFO - ================================================================================ 2025-10-22 10:06:21,912 - INFO - STARTING TEST : test_ports_bindings 2025-10-22 10:06:21,912 - 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-10-22 10:06:22,164 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-10-22 10:06:22,164 - INFO - Initial checks done. Running the testcase now 2025-10-22 10:06:22,164 - INFO - 2025-10-22 10:06:22,691 - DEBUG - Response for create_network : {'network': {'id': '2353804d-a0e0-4aa8-beb6-1ae059b0eb2f', 'name': 'ctest-vn-08281280', 'tenant_id': 'd1439b1fa9644ab091e337acfe4e9de9', 'project_id': 'd1439b1fa9644ab091e337acfe4e9de9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45679445', 'ctest-vn-08281280'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:06:22,904 - DEBUG - Response for create_subnet : {'subnet': {'id': '366481dc-6c2d-448c-b1c9-98400c0af20e', 'name': '', 'tenant_id': 'd1439b1fa9644ab091e337acfe4e9de9', 'network_id': '2353804d-a0e0-4aa8-beb6-1ae059b0eb2f', 'ip_version': 4, 'cidr': '214.84.165.128/26', 'allocation_pools': [{'start': '214.84.165.130', 'end': '214.84.165.190'}], 'gateway_ip': '214.84.165.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.84.165.130', 'tags': [], 'project_id': 'd1439b1fa9644ab091e337acfe4e9de9'}} 2025-10-22 10:06:22,921 - INFO - Created VN ctest-vn-08281280 2025-10-22 10:06:22,971 - DEBUG - VN ctest-vn-08281280 UUID is 2353804d-a0e0-4aa8-beb6-1ae059b0eb2f 2025-10-22 10:06:23,079 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-45679445', 'ctest-vmi-32447352']} 2025-10-22 10:06:23,306 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-32447352', 'id': '540d92fa-8428-47ad-947a-780342b3099b', 'tenant_id': 'd1439b1fa9644ab091e337acfe4e9de9', 'network_id': '2353804d-a0e0-4aa8-beb6-1ae059b0eb2f', 'mac_address': '02:54:0d:92:fa:84', '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': '214.84.165.131', 'subnet_id': '366481dc-6c2d-448c-b1c9-98400c0af20e'}], 'security_groups': ['4e04d107-edea-4879-b699-c46251d76290'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd1439b1fa9644ab091e337acfe4e9de9'}} 2025-10-22 10:06:23,306 - DEBUG - Created port 540d92fa-8428-47ad-947a-780342b3099b 2025-10-22 10:06:23,411 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/540d92fa-8428-47ad-947a-780342b3099b 2025-10-22 10:06:23,702 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/540d92fa-8428-47ad-947a-780342b3099b 2025-10-22 10:06:23,735 - INFO - VMI 540d92fa-8428-47ad-947a-780342b3099b verification in API Server passed 2025-10-22 10:06:23,825 - DEBUG - Response for delete_port : () 2025-10-22 10:06:23,825 - INFO - Deleted port 540d92fa-8428-47ad-947a-780342b3099b 2025-10-22 10:06:23,825 - INFO - Deleting VN ctest-vn-08281280 2025-10-22 10:06:23,928 - DEBUG - Response for deleting network () 2025-10-22 10:06:24,180 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 10:06:24,180 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-22 10:06:24,180 - INFO - -------------------------------------------------------------------------------- 2025-10-22 10:06:24,183 - INFO - ================================================================================ 2025-10-22 10:06:24,183 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-22 10:06:24,183 - 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-10-22 10:06:24,472 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-10-22 10:06:24,472 - INFO - Initial checks done. Running the testcase now 2025-10-22 10:06:24,472 - INFO - 2025-10-22 10:06:24,648 - DEBUG - Response for create_network : {'network': {'id': 'be16630e-f873-4024-8f1c-5e94bfa91f7d', 'name': 'ctest-vn1-64541043', 'tenant_id': 'd1439b1fa9644ab091e337acfe4e9de9', 'project_id': 'd1439b1fa9644ab091e337acfe4e9de9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45679445', 'ctest-vn1-64541043'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:06:24,798 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ac5db32-2180-4c96-bb58-2230bbac81df', 'name': '', 'tenant_id': 'd1439b1fa9644ab091e337acfe4e9de9', 'network_id': 'be16630e-f873-4024-8f1c-5e94bfa91f7d', 'ip_version': 4, 'cidr': '223.160.79.192/26', 'allocation_pools': [{'start': '223.160.79.194', 'end': '223.160.79.254'}], 'gateway_ip': '223.160.79.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.160.79.194', 'tags': [], 'project_id': 'd1439b1fa9644ab091e337acfe4e9de9'}} 2025-10-22 10:06:24,991 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c73b3056-98f4-49b4-8b65-7b50db00ce5c', 'name': '', 'tenant_id': 'd1439b1fa9644ab091e337acfe4e9de9', 'network_id': 'be16630e-f873-4024-8f1c-5e94bfa91f7d', 'ip_version': 4, 'cidr': '32.101.184.128/26', 'allocation_pools': [{'start': '32.101.184.130', 'end': '32.101.184.190'}], 'gateway_ip': '32.101.184.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.101.184.130', 'tags': [], 'project_id': 'd1439b1fa9644ab091e337acfe4e9de9'}} 2025-10-22 10:06:25,010 - INFO - Created VN ctest-vn1-64541043 2025-10-22 10:06:25,063 - DEBUG - VN ctest-vn1-64541043 UUID is be16630e-f873-4024-8f1c-5e94bfa91f7d 2025-10-22 10:06:25,353 - DEBUG - Response for create_port : {'port': {'name': 'e52aeb80-85f9-4793-b9fd-39d63d0a54a8', 'id': 'e52aeb80-85f9-4793-b9fd-39d63d0a54a8', 'tenant_id': 'd1439b1fa9644ab091e337acfe4e9de9', 'network_id': 'be16630e-f873-4024-8f1c-5e94bfa91f7d', 'mac_address': '02:e5:2a:eb:80:85', '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': '223.160.79.197', 'subnet_id': '5ac5db32-2180-4c96-bb58-2230bbac81df'}], 'security_groups': ['4e04d107-edea-4879-b699-c46251d76290'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd1439b1fa9644ab091e337acfe4e9de9'}} 2025-10-22 10:06:25,511 - DEBUG - Response for create_port : {'port': {'name': '3a8123f9-0919-4d33-839c-bd649fd54334', 'id': '3a8123f9-0919-4d33-839c-bd649fd54334', 'tenant_id': 'd1439b1fa9644ab091e337acfe4e9de9', 'network_id': 'be16630e-f873-4024-8f1c-5e94bfa91f7d', 'mac_address': '02:3a:81:23:f9:09', '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': '32.101.184.133', 'subnet_id': 'c73b3056-98f4-49b4-8b65-7b50db00ce5c'}], 'security_groups': ['4e04d107-edea-4879-b699-c46251d76290'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd1439b1fa9644ab091e337acfe4e9de9'}} 2025-10-22 10:06:25,564 - DEBUG - Services list from nova: [, , ] 2025-10-22 10:06:25,888 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4418-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4418-1) 2025-10-22 10:06:26,256 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4418-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4418-1) 2025-10-22 10:06:26,256 - INFO - Waiting for VM ctest-vn1-vm1-80127395 to be up.. 2025-10-22 10:06:26,295 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 10:06:31,371 - DEBUG - VM is in ACTIVE state now 2025-10-22 10:06:31,371 - INFO - VM name : ctest-vn1-vm1-80127395 2025-10-22 10:06:31,448 - DEBUG - VM ctest-vn1-vm1-80127395 ID is 7482b8d6-9727-440b-a7b3-be39577e8cd0 2025-10-22 10:06:31,468 - DEBUG - VM ctest-vn1-vm1-80127395 launched on Node cn-jenkins-deploy-platform-ansible-os-4418-1 2025-10-22 10:06:31,537 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/7482b8d6-9727-440b-a7b3-be39577e8cd0 2025-10-22 10:06:31,546 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/e52aeb80-85f9-4793-b9fd-39d63d0a54a8 2025-10-22 10:06:34,782 - 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 1007ms') 2025-10-22 10:06:34,782 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80127395 failed! 2025-10-22 10:06:34,835 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45679445:ctest-vn1-64541043 is 223.160.79.193 and allocation pool is NOT set 2025-10-22 10:06:34,835 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45679445:ctest-vn1-64541043 is 32.101.184.129 and allocation pool is NOT set 2025-10-22 10:06:38,908 - 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=9.49 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 9.485/9.485/9.485/0.000 ms') 2025-10-22 10:06:38,908 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80127395 passed 2025-10-22 10:06:39,055 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:06:39,055 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80127395, IP 223.160.79.197, Port 22 2025-10-22 10:06:39,122 - 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-10-22 10:06:39,200 - DEBUG - VM ctest-vn1-vm1-80127395 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-22 10:06:44,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:06:44,201 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80127395, IP 223.160.79.197, Port 22 2025-10-22 10:06:44,358 - DEBUG - VM ctest-vn1-vm1-80127395 is ready for SSH connections 2025-10-22 10:06:44,359 - INFO - Waiting for VM ctest-vn1-vm2-14626990 to be up.. 2025-10-22 10:06:44,431 - DEBUG - VM is in ACTIVE state now 2025-10-22 10:06:44,431 - INFO - VM name : ctest-vn1-vm2-14626990 2025-10-22 10:06:44,507 - DEBUG - VM ctest-vn1-vm2-14626990 ID is c3a96d0b-d478-4cc6-bfbe-b6362eff5381 2025-10-22 10:06:44,507 - DEBUG - VM ctest-vn1-vm2-14626990 launched on Node cn-jenkins-deploy-platform-ansible-os-4418-1 2025-10-22 10:06:44,590 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/c3a96d0b-d478-4cc6-bfbe-b6362eff5381 2025-10-22 10:06:44,597 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/3a8123f9-0919-4d33-839c-bd649fd54334 2025-10-22 10:06:45,833 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.355 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.355/1.606/2.858/1.251 ms') 2025-10-22 10:06:45,833 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-14626990 passed 2025-10-22 10:06:45,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:06:45,983 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-14626990, IP 32.101.184.133, Port 22 2025-10-22 10:06:46,142 - DEBUG - VM ctest-vn1-vm2-14626990 is ready for SSH connections 2025-10-22 10:06:46,143 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:06:46,143 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:06:46,143 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:06:46,143 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.160.79.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-22 10:06:46,143 - DEBUG - ping -s 56 -c 3 -W 1 223.160.79.197 2025-10-22 10:06:48,799 - DEBUG - PING 223.160.79.197 (223.160.79.197): 56 data bytes 64 bytes from 223.160.79.197: seq=0 ttl=63 time=3.793 ms 64 bytes from 223.160.79.197: seq=1 ttl=63 time=0.765 ms 64 bytes from 223.160.79.197: seq=2 ttl=63 time=1.044 ms --- 223.160.79.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.765/1.867/3.793 ms 2025-10-22 10:06:48,799 - INFO - Ping to IP 223.160.79.197 from VM ctest-vn1-vm2-14626990 passed 2025-10-22 10:06:48,800 - INFO - Detaching port 3a8123f9-0919-4d33-839c-bd649fd54334 from VM ctest-vn1-vm2-14626990 2025-10-22 10:06:48,863 - INFO - Deleting VM ctest-vn1-vm2-14626990 2025-10-22 10:06:48,965 - INFO - Detaching port e52aeb80-85f9-4793-b9fd-39d63d0a54a8 from VM ctest-vn1-vm1-80127395 2025-10-22 10:06:49,010 - INFO - Deleting VM ctest-vn1-vm1-80127395 2025-10-22 10:06:49,546 - DEBUG - Response for delete_port : () 2025-10-22 10:06:49,730 - DEBUG - Response for delete_port : () 2025-10-22 10:06:49,730 - INFO - Deleting VN ctest-vn1-64541043 2025-10-22 10:06:49,874 - DEBUG - Response for deleting network () 2025-10-22 10:06:50,138 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 10:06:50,138 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26] 2025-10-22 10:06:50,138 - INFO - -------------------------------------------------------------------------------- 2025-10-22 10:06:50,785 - INFO - Deleted project: ctest-TestPorts-45679445, ID : d1439b1f-a964-4ab0-91e3-37acfe4e9de9