2026-03-04 21:19:50,335 - INFO - Domain Default found not creating 2026-03-04 21:19:50,466 - INFO - Project ctest-TestPorts-03226498 not found, creating it 2026-03-04 21:19:50,881 - INFO - Created Project:ctest-TestPorts-03226498, ID : b2ad27a7-aafe-4789-98a9-a4ba138960bb 2026-03-04 21:19:52,225 - INFO - ================================================================================ 2026-03-04 21:19:52,225 - INFO - STARTING TEST : test_ports_bindings 2026-03-04 21:19:52,225 - 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-04 21:19:52,479 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-03-04 21:19:52,479 - INFO - Initial checks done. Running the testcase now 2026-03-04 21:19:52,479 - INFO - 2026-03-04 21:19:53,005 - DEBUG - Response for create_network : {'network': {'id': '71bd9941-9478-4fac-8624-d9d0198eb724', 'name': 'ctest-vn-12384611', 'tenant_id': 'b2ad27a7aafe478998a9a4ba138960bb', 'project_id': 'b2ad27a7aafe478998a9a4ba138960bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-03226498', 'ctest-vn-12384611'], 'port_security_enabled': True, 'description': ''}} 2026-03-04 21:19:53,167 - DEBUG - Response for create_subnet : {'subnet': {'id': '7269d11a-7325-4413-898c-04b8381578d9', 'name': '', 'tenant_id': 'b2ad27a7aafe478998a9a4ba138960bb', 'network_id': '71bd9941-9478-4fac-8624-d9d0198eb724', 'ip_version': 4, 'cidr': '174.113.166.0/26', 'allocation_pools': [{'start': '174.113.166.2', 'end': '174.113.166.62'}], 'gateway_ip': '174.113.166.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.113.166.2', 'tags': [], 'project_id': 'b2ad27a7aafe478998a9a4ba138960bb'}} 2026-03-04 21:19:53,183 - INFO - Created VN ctest-vn-12384611 2026-03-04 21:19:53,238 - DEBUG - VN ctest-vn-12384611 UUID is 71bd9941-9478-4fac-8624-d9d0198eb724 2026-03-04 21:19:53,336 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-03226498', 'ctest-vmi-27545823']} 2026-03-04 21:19:53,612 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-27545823', 'id': 'cb557b28-d68f-4083-b8cd-5370ccb6d176', 'tenant_id': 'b2ad27a7aafe478998a9a4ba138960bb', 'network_id': '71bd9941-9478-4fac-8624-d9d0198eb724', 'mac_address': '02:cb:55:7b:28:d6', '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': '174.113.166.3', 'subnet_id': '7269d11a-7325-4413-898c-04b8381578d9'}], 'security_groups': ['fe4a33eb-c4e9-4cc6-ac23-8f1e89a2222f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b2ad27a7aafe478998a9a4ba138960bb'}} 2026-03-04 21:19:53,612 - DEBUG - Created port cb557b28-d68f-4083-b8cd-5370ccb6d176 2026-03-04 21:19:53,714 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cb557b28-d68f-4083-b8cd-5370ccb6d176 2026-03-04 21:19:54,007 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cb557b28-d68f-4083-b8cd-5370ccb6d176 2026-03-04 21:19:54,037 - INFO - VMI cb557b28-d68f-4083-b8cd-5370ccb6d176 verification in API Server passed 2026-03-04 21:19:54,127 - DEBUG - Response for delete_port : () 2026-03-04 21:19:54,127 - INFO - Deleted port cb557b28-d68f-4083-b8cd-5370ccb6d176 2026-03-04 21:19:54,127 - INFO - Deleting VN ctest-vn-12384611 2026-03-04 21:19:54,211 - DEBUG - Response for deleting network () 2026-03-04 21:19:54,463 - DEBUG - No XMPP flaps were noticed during the test 2026-03-04 21:19:54,463 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2026-03-04 21:19:54,463 - INFO - -------------------------------------------------------------------------------- 2026-03-04 21:19:54,466 - INFO - ================================================================================ 2026-03-04 21:19:54,466 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-03-04 21:19:54,466 - 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-04 21:19:54,747 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-03-04 21:19:54,747 - INFO - Initial checks done. Running the testcase now 2026-03-04 21:19:54,747 - INFO - 2026-03-04 21:19:54,911 - DEBUG - Response for create_network : {'network': {'id': '7816266a-91ea-4f05-b067-c51e6d049b09', 'name': 'ctest-vn1-15669808', 'tenant_id': 'b2ad27a7aafe478998a9a4ba138960bb', 'project_id': 'b2ad27a7aafe478998a9a4ba138960bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-03226498', 'ctest-vn1-15669808'], 'port_security_enabled': True, 'description': ''}} 2026-03-04 21:19:55,087 - DEBUG - Response for create_subnet : {'subnet': {'id': '32d6988d-a855-46ab-8794-2540fb1cb688', 'name': '', 'tenant_id': 'b2ad27a7aafe478998a9a4ba138960bb', 'network_id': '7816266a-91ea-4f05-b067-c51e6d049b09', 'ip_version': 4, 'cidr': '143.133.42.128/26', 'allocation_pools': [{'start': '143.133.42.130', 'end': '143.133.42.190'}], 'gateway_ip': '143.133.42.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.133.42.130', 'tags': [], 'project_id': 'b2ad27a7aafe478998a9a4ba138960bb'}} 2026-03-04 21:19:55,227 - DEBUG - Response for create_subnet : {'subnet': {'id': '1d4fe873-16e3-4e1e-a1b4-599de54a11de', 'name': '', 'tenant_id': 'b2ad27a7aafe478998a9a4ba138960bb', 'network_id': '7816266a-91ea-4f05-b067-c51e6d049b09', 'ip_version': 4, 'cidr': '153.16.152.0/26', 'allocation_pools': [{'start': '153.16.152.2', 'end': '153.16.152.62'}], 'gateway_ip': '153.16.152.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.16.152.2', 'tags': [], 'project_id': 'b2ad27a7aafe478998a9a4ba138960bb'}} 2026-03-04 21:19:55,244 - INFO - Created VN ctest-vn1-15669808 2026-03-04 21:19:55,294 - DEBUG - VN ctest-vn1-15669808 UUID is 7816266a-91ea-4f05-b067-c51e6d049b09 2026-03-04 21:19:55,574 - DEBUG - Response for create_port : {'port': {'name': '74c1ce9d-15d3-4311-9162-4d3809363464', 'id': '74c1ce9d-15d3-4311-9162-4d3809363464', 'tenant_id': 'b2ad27a7aafe478998a9a4ba138960bb', 'network_id': '7816266a-91ea-4f05-b067-c51e6d049b09', 'mac_address': '02:74:c1:ce:9d:15', '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': '143.133.42.133', 'subnet_id': '32d6988d-a855-46ab-8794-2540fb1cb688'}], 'security_groups': ['fe4a33eb-c4e9-4cc6-ac23-8f1e89a2222f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b2ad27a7aafe478998a9a4ba138960bb'}} 2026-03-04 21:19:55,723 - DEBUG - Response for create_port : {'port': {'name': '1c094a2f-d744-48f1-95d3-d1f09ac9fd55', 'id': '1c094a2f-d744-48f1-95d3-d1f09ac9fd55', 'tenant_id': 'b2ad27a7aafe478998a9a4ba138960bb', 'network_id': '7816266a-91ea-4f05-b067-c51e6d049b09', 'mac_address': '02:1c:09:4a:2f:d7', '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': '153.16.152.5', 'subnet_id': '1d4fe873-16e3-4e1e-a1b4-599de54a11de'}], 'security_groups': ['fe4a33eb-c4e9-4cc6-ac23-8f1e89a2222f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b2ad27a7aafe478998a9a4ba138960bb'}} 2026-03-04 21:19:55,772 - DEBUG - Services list from nova: [, , ] 2026-03-04 21:19:56,051 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5432-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5432-1) 2026-03-04 21:19:56,400 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5432-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5432-1) 2026-03-04 21:19:56,400 - INFO - Waiting for VM ctest-vn1-vm1-56583489 to be up.. 2026-03-04 21:19:56,433 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-04 21:20:01,523 - DEBUG - VM is in ACTIVE state now 2026-03-04 21:20:01,523 - INFO - VM name : ctest-vn1-vm1-56583489 2026-03-04 21:20:01,591 - DEBUG - VM ctest-vn1-vm1-56583489 ID is 060776a7-9bb3-45ce-bfb1-0194eca0e8ed 2026-03-04 21:20:01,607 - DEBUG - VM ctest-vn1-vm1-56583489 launched on Node cn-jenkins-deploy-platform-ansible-os-5432-1 2026-03-04 21:20:01,677 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/060776a7-9bb3-45ce-bfb1-0194eca0e8ed 2026-03-04 21:20:01,684 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/74c1ce9d-15d3-4311-9162-4d3809363464 2026-03-04 21:20:04,924 - 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') 2026-03-04 21:20:04,924 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56583489 failed! 2026-03-04 21:20:04,974 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-03226498:ctest-vn1-15669808 is 143.133.42.129 and allocation pool is NOT set 2026-03-04 21:20:04,975 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-03226498:ctest-vn1-15669808 is 153.16.152.1 and allocation pool is NOT set 2026-03-04 21:20:07,034 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.90 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.899/2.929/3.960/1.030 ms') 2026-03-04 21:20:07,034 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56583489 passed 2026-03-04 21:20:07,182 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-04 21:20:07,183 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-56583489, IP 143.133.42.133, Port 22 2026-03-04 21:20:07,237 - 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-03-04 21:20:07,306 - DEBUG - VM ctest-vn1-vm1-56583489 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-04 21:20:12,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-04 21:20:12,307 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-56583489, IP 143.133.42.133, Port 22 2026-03-04 21:20:12,462 - DEBUG - VM ctest-vn1-vm1-56583489 is ready for SSH connections 2026-03-04 21:20:12,462 - INFO - Waiting for VM ctest-vn1-vm2-21160045 to be up.. 2026-03-04 21:20:12,529 - DEBUG - VM is in ACTIVE state now 2026-03-04 21:20:12,529 - INFO - VM name : ctest-vn1-vm2-21160045 2026-03-04 21:20:12,710 - DEBUG - VM ctest-vn1-vm2-21160045 ID is c4414759-c30e-4db4-8fb7-85ec92b235f2 2026-03-04 21:20:12,710 - DEBUG - VM ctest-vn1-vm2-21160045 launched on Node cn-jenkins-deploy-platform-ansible-os-5432-1 2026-03-04 21:20:12,772 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c4414759-c30e-4db4-8fb7-85ec92b235f2 2026-03-04 21:20:12,779 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1c094a2f-d744-48f1-95d3-d1f09ac9fd55 2026-03-04 21:20:14,013 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.417 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.417/1.599/2.782/1.182 ms') 2026-03-04 21:20:14,013 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-21160045 passed 2026-03-04 21:20:14,158 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-04 21:20:14,159 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-21160045, IP 153.16.152.5, Port 22 2026-03-04 21:20:14,317 - DEBUG - VM ctest-vn1-vm2-21160045 is ready for SSH connections 2026-03-04 21:20:14,317 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-04 21:20:14,317 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-04 21:20:14,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-04 21:20:14,318 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 143.133.42.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-04 21:20:14,318 - DEBUG - ping -s 56 -c 3 -W 1 143.133.42.133 2026-03-04 21:20:17,254 - DEBUG - PING 143.133.42.133 (143.133.42.133): 56 data bytes 64 bytes from 143.133.42.133: seq=0 ttl=63 time=3.616 ms 64 bytes from 143.133.42.133: seq=1 ttl=63 time=0.914 ms 64 bytes from 143.133.42.133: seq=2 ttl=63 time=1.327 ms --- 143.133.42.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.914/1.952/3.616 ms 2026-03-04 21:20:17,254 - INFO - Ping to IP 143.133.42.133 from VM ctest-vn1-vm2-21160045 passed 2026-03-04 21:20:17,254 - INFO - Detaching port 1c094a2f-d744-48f1-95d3-d1f09ac9fd55 from VM ctest-vn1-vm2-21160045 2026-03-04 21:20:17,305 - INFO - Deleting VM ctest-vn1-vm2-21160045 2026-03-04 21:20:17,368 - INFO - Detaching port 74c1ce9d-15d3-4311-9162-4d3809363464 from VM ctest-vn1-vm1-56583489 2026-03-04 21:20:17,397 - INFO - Deleting VM ctest-vn1-vm1-56583489 2026-03-04 21:20:17,624 - DEBUG - Response for delete_port : () 2026-03-04 21:20:17,788 - DEBUG - Response for delete_port : () 2026-03-04 21:20:17,788 - INFO - Deleting VN ctest-vn1-15669808 2026-03-04 21:20:17,982 - DEBUG - Response for deleting network () 2026-03-04 21:20:18,241 - DEBUG - No XMPP flaps were noticed during the test 2026-03-04 21:20:18,241 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2026-03-04 21:20:18,241 - INFO - -------------------------------------------------------------------------------- 2026-03-04 21:20:19,128 - INFO - Deleted project: ctest-TestPorts-03226498, ID : b2ad27a7-aafe-4789-98a9-a4ba138960bb