2026-04-23 02:23:35,737 - INFO - Domain Default found not creating 2026-04-23 02:23:35,903 - INFO - Project ctest-TestPorts-27358463 not found, creating it 2026-04-23 02:23:36,364 - INFO - Created Project:ctest-TestPorts-27358463, ID : d9687229-3303-4ff0-a957-04d52845a7fa 2026-04-23 02:23:37,991 - INFO - ================================================================================ 2026-04-23 02:23:37,991 - INFO - STARTING TEST : test_ports_bindings 2026-04-23 02:23:37,991 - 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-04-23 02:23:38,245 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.201': '0'}} with 2026-04-23 02:23:38,245 - INFO - Initial checks done. Running the testcase now 2026-04-23 02:23:38,245 - INFO - 2026-04-23 02:23:38,837 - DEBUG - Response for create_network : {'network': {'id': '3e668ea0-c661-4d7b-9482-5b60619d2a48', 'name': 'ctest-vn-96076109', 'tenant_id': 'd968722933034ff0a95704d52845a7fa', 'project_id': 'd968722933034ff0a95704d52845a7fa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-27358463', 'ctest-vn-96076109'], 'port_security_enabled': True, 'description': ''}} 2026-04-23 02:23:39,004 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae7dbfdd-c5b1-4dc9-ac07-4271ea9eafac', 'name': '', 'tenant_id': 'd968722933034ff0a95704d52845a7fa', 'network_id': '3e668ea0-c661-4d7b-9482-5b60619d2a48', 'ip_version': 4, 'cidr': '204.3.150.64/26', 'allocation_pools': [{'start': '204.3.150.66', 'end': '204.3.150.126'}], 'gateway_ip': '204.3.150.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.3.150.66', 'tags': [], 'project_id': 'd968722933034ff0a95704d52845a7fa'}} 2026-04-23 02:23:39,022 - INFO - Created VN ctest-vn-96076109 2026-04-23 02:23:39,076 - DEBUG - VN ctest-vn-96076109 UUID is 3e668ea0-c661-4d7b-9482-5b60619d2a48 2026-04-23 02:23:39,181 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-27358463', 'ctest-vmi-95693395']} 2026-04-23 02:23:39,466 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-95693395', 'id': 'a45e785e-91b4-41b4-95fb-0dffe54e1449', 'tenant_id': 'd968722933034ff0a95704d52845a7fa', 'network_id': '3e668ea0-c661-4d7b-9482-5b60619d2a48', 'mac_address': '02:a4:5e:78:5e:91', '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': '204.3.150.67', 'subnet_id': 'ae7dbfdd-c5b1-4dc9-ac07-4271ea9eafac'}], 'security_groups': ['7450b31c-7c14-431e-9670-3843a02b8eda'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd968722933034ff0a95704d52845a7fa'}} 2026-04-23 02:23:39,466 - DEBUG - Created port a45e785e-91b4-41b4-95fb-0dffe54e1449 2026-04-23 02:23:39,572 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a45e785e-91b4-41b4-95fb-0dffe54e1449 2026-04-23 02:23:39,886 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a45e785e-91b4-41b4-95fb-0dffe54e1449 2026-04-23 02:23:39,924 - INFO - VMI a45e785e-91b4-41b4-95fb-0dffe54e1449 verification in API Server passed 2026-04-23 02:23:40,002 - DEBUG - Response for delete_port : () 2026-04-23 02:23:40,002 - INFO - Deleted port a45e785e-91b4-41b4-95fb-0dffe54e1449 2026-04-23 02:23:40,003 - INFO - Deleting VN ctest-vn-96076109 2026-04-23 02:23:40,092 - DEBUG - Response for deleting network () 2026-04-23 02:23:40,349 - DEBUG - No XMPP flaps were noticed during the test
2026-04-23 02:23:40,350 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-04-23 02:23:40,350 - INFO - -------------------------------------------------------------------------------- 2026-04-23 02:23:40,352 - INFO - ================================================================================ 2026-04-23 02:23:40,352 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-04-23 02:23:40,353 - 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-04-23 02:23:40,636 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.201': '0'}} with 2026-04-23 02:23:40,636 - INFO - Initial checks done. Running the testcase now 2026-04-23 02:23:40,636 - INFO - 2026-04-23 02:23:40,800 - DEBUG - Response for create_network : {'network': {'id': '4974228d-c950-4a01-92a2-7cb9202dea41', 'name': 'ctest-vn1-26242283', 'tenant_id': 'd968722933034ff0a95704d52845a7fa', 'project_id': 'd968722933034ff0a95704d52845a7fa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-27358463', 'ctest-vn1-26242283'], 'port_security_enabled': True, 'description': ''}} 2026-04-23 02:23:41,006 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f5ce784a-8371-41b3-a546-0c1fe01e2ef5', 'name': '', 'tenant_id': 'd968722933034ff0a95704d52845a7fa', 'network_id': '4974228d-c950-4a01-92a2-7cb9202dea41', 'ip_version': 4, 'cidr': '188.230.120.64/26', 'allocation_pools': [{'start': '188.230.120.66', 'end': '188.230.120.126'}], 'gateway_ip': '188.230.120.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.230.120.66', 'tags': [], 'project_id': 'd968722933034ff0a95704d52845a7fa'}} 2026-04-23 02:23:41,157 - DEBUG - Response for create_subnet : {'subnet': {'id': '3cf4450a-50cb-4619-beb4-9a1253b4679b', 'name': '', 'tenant_id': 'd968722933034ff0a95704d52845a7fa', 'network_id': '4974228d-c950-4a01-92a2-7cb9202dea41', 'ip_version': 4, 'cidr': '187.229.245.192/26', 'allocation_pools': [{'start': '187.229.245.194', 'end': '187.229.245.254'}], 'gateway_ip': '187.229.245.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.229.245.194', 'tags': [], 'project_id': 'd968722933034ff0a95704d52845a7fa'}} 2026-04-23 02:23:41,173 - INFO - Created VN ctest-vn1-26242283 2026-04-23 02:23:41,224 - DEBUG - VN ctest-vn1-26242283 UUID is 4974228d-c950-4a01-92a2-7cb9202dea41 2026-04-23 02:23:41,507 - DEBUG - Response for create_port : {'port': {'name': 'e6c47b61-72d7-4795-b379-7b021fcf054c', 'id': 'e6c47b61-72d7-4795-b379-7b021fcf054c', 'tenant_id': 'd968722933034ff0a95704d52845a7fa', 'network_id': '4974228d-c950-4a01-92a2-7cb9202dea41', 'mac_address': '02:e6:c4:7b:61:72', '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': '188.230.120.69', 'subnet_id': 'f5ce784a-8371-41b3-a546-0c1fe01e2ef5'}], 'security_groups': ['7450b31c-7c14-431e-9670-3843a02b8eda'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd968722933034ff0a95704d52845a7fa'}} 2026-04-23 02:23:41,660 - DEBUG - Response for create_port : {'port': {'name': 'f9b98695-e584-4a40-8c4b-052ba97a994a', 'id': 'f9b98695-e584-4a40-8c4b-052ba97a994a', 'tenant_id': 'd968722933034ff0a95704d52845a7fa', 'network_id': '4974228d-c950-4a01-92a2-7cb9202dea41', 'mac_address': '02:f9:b9:86:95:e5', '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': '187.229.245.197', 'subnet_id': '3cf4450a-50cb-4619-beb4-9a1253b4679b'}], 'security_groups': ['7450b31c-7c14-431e-9670-3843a02b8eda'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd968722933034ff0a95704d52845a7fa'}} 2026-04-23 02:23:41,718 - DEBUG - Services list from nova: [, , ] 2026-04-23 02:23:42,048 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5674-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5674-1) 2026-04-23 02:23:42,440 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5674-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5674-1) 2026-04-23 02:23:42,440 - INFO - Waiting for VM ctest-vn1-vm1-70206221 to be up.. 2026-04-23 02:23:42,474 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-23 02:23:47,548 - DEBUG - VM is in ACTIVE state now 2026-04-23 02:23:47,548 - INFO - VM name : ctest-vn1-vm1-70206221 2026-04-23 02:23:47,616 - DEBUG - VM ctest-vn1-vm1-70206221 ID is 7cad64fe-207c-4bfe-b6a6-f451422608fc 2026-04-23 02:23:47,634 - DEBUG - VM ctest-vn1-vm1-70206221 launched on Node cn-jenkins-deploy-platform-ansible-os-5674-1 2026-04-23 02:23:47,839 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7cad64fe-207c-4bfe-b6a6-f451422608fc 2026-04-23 02:23:47,850 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e6c47b61-72d7-4795-b379-7b021fcf054c 2026-04-23 02:23:51,093 - 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-04-23 02:23:51,093 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-70206221 failed! 2026-04-23 02:23:51,148 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-27358463:ctest-vn1-26242283 is 188.230.120.65 and allocation pool is NOT set 2026-04-23 02:23:51,148 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-27358463:ctest-vn1-26242283 is 187.229.245.193 and allocation pool is NOT set 2026-04-23 02:23:53,213 - 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=12.0 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.94 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 = 3.944/7.967/11.990/4.023 ms') 2026-04-23 02:23:53,213 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-70206221 passed 2026-04-23 02:23:53,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:23:53,360 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-70206221, IP 188.230.120.69, Port 22 2026-04-23 02:23:53,415 - 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-04-23 02:23:53,489 - DEBUG - VM ctest-vn1-vm1-70206221 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-23 02:23:58,490 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:23:58,490 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-70206221, IP 188.230.120.69, Port 22 2026-04-23 02:23:58,648 - DEBUG - VM ctest-vn1-vm1-70206221 is ready for SSH connections 2026-04-23 02:23:58,648 - INFO - Waiting for VM ctest-vn1-vm2-28740561 to be up.. 2026-04-23 02:23:58,720 - DEBUG - VM is in ACTIVE state now 2026-04-23 02:23:58,720 - INFO - VM name : ctest-vn1-vm2-28740561 2026-04-23 02:23:58,790 - DEBUG - VM ctest-vn1-vm2-28740561 ID is 896263ce-2c61-4e2f-873e-cff3531d9cf3 2026-04-23 02:23:58,791 - DEBUG - VM ctest-vn1-vm2-28740561 launched on Node cn-jenkins-deploy-platform-ansible-os-5674-1 2026-04-23 02:23:58,857 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/896263ce-2c61-4e2f-873e-cff3531d9cf3 2026-04-23 02:23:58,865 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f9b98695-e584-4a40-8c4b-052ba97a994a 2026-04-23 02:24:00,099 - 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=3.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.376 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.376/1.757/3.139/1.381 ms') 2026-04-23 02:24:00,099 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-28740561 passed 2026-04-23 02:24:00,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:24:00,248 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-28740561, IP 187.229.245.197, Port 22 2026-04-23 02:24:00,411 - DEBUG - VM ctest-vn1-vm2-28740561 is ready for SSH connections 2026-04-23 02:24:00,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:24:00,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:24:00,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:24:00,412 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.230.120.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-23 02:24:00,412 - DEBUG - ping -s 56 -c 3 -W 1 188.230.120.69 2026-04-23 02:24:04,120 - DEBUG - PING 188.230.120.69 (188.230.120.69): 56 data bytes 64 bytes from 188.230.120.69: seq=0 ttl=63 time=4.674 ms 64 bytes from 188.230.120.69: seq=1 ttl=63 time=0.869 ms 64 bytes from 188.230.120.69: seq=2 ttl=63 time=1.188 ms --- 188.230.120.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.869/2.243/4.674 ms 2026-04-23 02:24:04,120 - INFO - Ping to IP 188.230.120.69 from VM ctest-vn1-vm2-28740561 passed 2026-04-23 02:24:04,120 - INFO - Detaching port f9b98695-e584-4a40-8c4b-052ba97a994a from VM ctest-vn1-vm2-28740561 2026-04-23 02:24:04,174 - INFO - Deleting VM ctest-vn1-vm2-28740561 2026-04-23 02:24:04,252 - INFO - Detaching port e6c47b61-72d7-4795-b379-7b021fcf054c from VM ctest-vn1-vm1-70206221 2026-04-23 02:24:04,286 - INFO - Deleting VM ctest-vn1-vm1-70206221 2026-04-23 02:24:04,525 - DEBUG - Response for delete_port : () 2026-04-23 02:24:04,674 - DEBUG - Response for delete_port : () 2026-04-23 02:24:04,674 - INFO - Deleting VN ctest-vn1-26242283 2026-04-23 02:24:04,826 - DEBUG - Response for deleting network () 2026-04-23 02:24:05,081 - DEBUG - No XMPP flaps were noticed during the test
2026-04-23 02:24:05,081 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2026-04-23 02:24:05,081 - INFO - -------------------------------------------------------------------------------- 2026-04-23 02:24:05,784 - INFO - Deleted project: ctest-TestPorts-27358463, ID : d9687229-3303-4ff0-a957-04d52845a7fa