2026-01-26 02:15:12,054 - INFO - Domain Default found not creating
2026-01-26 02:15:12,212 - INFO - Project ctest-TestPorts-60444472 not found, creating it
2026-01-26 02:15:12,660 - INFO - Created Project:ctest-TestPorts-60444472, ID : 2c6025d1-8785-4268-8cda-389376ab9456
2026-01-26 02:15:14,086 - INFO - ================================================================================
2026-01-26 02:15:14,087 - INFO - STARTING TEST : test_ports_bindings
2026-01-26 02:15:14,087 - 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-26 02:15:14,339 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.241': '0'}} with
2026-01-26 02:15:14,339 - INFO - Initial checks done. Running the testcase now
2026-01-26 02:15:14,339 - INFO -
2026-01-26 02:15:14,894 - DEBUG - Response for create_network : {'network': {'id': 'daf44c50-6506-46e2-bd0f-6d6e3d1f9cb6', 'name': 'ctest-vn-47388517', 'tenant_id': '2c6025d1878542688cda389376ab9456', 'project_id': '2c6025d1878542688cda389376ab9456', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60444472', 'ctest-vn-47388517'], 'port_security_enabled': True, 'description': ''}}
2026-01-26 02:15:15,099 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee438a1d-ef48-47bf-a495-a570f7b25b8a', 'name': '', 'tenant_id': '2c6025d1878542688cda389376ab9456', 'network_id': 'daf44c50-6506-46e2-bd0f-6d6e3d1f9cb6', 'ip_version': 4, 'cidr': '104.75.76.0/26', 'allocation_pools': [{'start': '104.75.76.2', 'end': '104.75.76.62'}], 'gateway_ip': '104.75.76.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.75.76.2', 'tags': [], 'project_id': '2c6025d1878542688cda389376ab9456'}}
2026-01-26 02:15:15,115 - INFO - Created VN ctest-vn-47388517
2026-01-26 02:15:15,166 - DEBUG - VN ctest-vn-47388517 UUID is daf44c50-6506-46e2-bd0f-6d6e3d1f9cb6
2026-01-26 02:15:15,282 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-60444472', 'ctest-vmi-28426242']}
2026-01-26 02:15:15,552 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-28426242', 'id': 'e6216ae2-28fa-46f4-8420-88f68269cc9f', 'tenant_id': '2c6025d1878542688cda389376ab9456', 'network_id': 'daf44c50-6506-46e2-bd0f-6d6e3d1f9cb6', 'mac_address': '02:e6:21:6a:e2:28', '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': '104.75.76.3', 'subnet_id': 'ee438a1d-ef48-47bf-a495-a570f7b25b8a'}], 'security_groups': ['f4255c63-c946-454b-a1d5-dd88378c114e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2c6025d1878542688cda389376ab9456'}}
2026-01-26 02:15:15,552 - DEBUG - Created port e6216ae2-28fa-46f4-8420-88f68269cc9f
2026-01-26 02:15:15,653 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e6216ae2-28fa-46f4-8420-88f68269cc9f
2026-01-26 02:15:15,951 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e6216ae2-28fa-46f4-8420-88f68269cc9f
2026-01-26 02:15:15,983 - INFO - VMI e6216ae2-28fa-46f4-8420-88f68269cc9f verification in API Server passed
2026-01-26 02:15:16,065 - DEBUG - Response for delete_port : ()
2026-01-26 02:15:16,066 - INFO - Deleted port e6216ae2-28fa-46f4-8420-88f68269cc9f
2026-01-26 02:15:16,066 - INFO - Deleting VN ctest-vn-47388517
2026-01-26 02:15:16,155 - DEBUG - Response for deleting network ()
2026-01-26 02:15:16,414 - DEBUG - No XMPP flaps were noticed during the test
2026-01-26 02:15:16,414 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-01-26 02:15:16,414 - INFO - --------------------------------------------------------------------------------
2026-01-26 02:15:16,417 - INFO - ================================================================================
2026-01-26 02:15:16,417 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-01-26 02:15:16,417 - 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-26 02:15:16,702 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.241': '0'}} with
2026-01-26 02:15:16,702 - INFO - Initial checks done. Running the testcase now
2026-01-26 02:15:16,702 - INFO -
2026-01-26 02:15:16,861 - DEBUG - Response for create_network : {'network': {'id': 'e5f86bdf-27bf-4b92-a1ac-48cef5d8eeda', 'name': 'ctest-vn1-31051566', 'tenant_id': '2c6025d1878542688cda389376ab9456', 'project_id': '2c6025d1878542688cda389376ab9456', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60444472', 'ctest-vn1-31051566'], 'port_security_enabled': True, 'description': ''}}
2026-01-26 02:15:17,074 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba142a6b-23f6-444a-abd6-128fd1f6cf0d', 'name': '', 'tenant_id': '2c6025d1878542688cda389376ab9456', 'network_id': 'e5f86bdf-27bf-4b92-a1ac-48cef5d8eeda', 'ip_version': 4, 'cidr': '50.236.230.128/26', 'allocation_pools': [{'start': '50.236.230.130', 'end': '50.236.230.190'}], 'gateway_ip': '50.236.230.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.236.230.130', 'tags': [], 'project_id': '2c6025d1878542688cda389376ab9456'}}
2026-01-26 02:15:17,225 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd27385bf-10fd-4ef8-beab-61593775e079', 'name': '', 'tenant_id': '2c6025d1878542688cda389376ab9456', 'network_id': 'e5f86bdf-27bf-4b92-a1ac-48cef5d8eeda', 'ip_version': 4, 'cidr': '161.167.72.192/26', 'allocation_pools': [{'start': '161.167.72.194', 'end': '161.167.72.254'}], 'gateway_ip': '161.167.72.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.167.72.194', 'tags': [], 'project_id': '2c6025d1878542688cda389376ab9456'}}
2026-01-26 02:15:17,245 - INFO - Created VN ctest-vn1-31051566
2026-01-26 02:15:17,294 - DEBUG - VN ctest-vn1-31051566 UUID is e5f86bdf-27bf-4b92-a1ac-48cef5d8eeda
2026-01-26 02:15:17,600 - DEBUG - Response for create_port : {'port': {'name': 'e0789589-efbc-476b-9427-a9d023109703', 'id': 'e0789589-efbc-476b-9427-a9d023109703', 'tenant_id': '2c6025d1878542688cda389376ab9456', 'network_id': 'e5f86bdf-27bf-4b92-a1ac-48cef5d8eeda', 'mac_address': '02:e0:78:95:89:ef', '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': '50.236.230.133', 'subnet_id': 'ba142a6b-23f6-444a-abd6-128fd1f6cf0d'}], 'security_groups': ['f4255c63-c946-454b-a1d5-dd88378c114e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2c6025d1878542688cda389376ab9456'}}
2026-01-26 02:15:17,764 - DEBUG - Response for create_port : {'port': {'name': '9e6dd172-93f1-413a-9c44-526792529106', 'id': '9e6dd172-93f1-413a-9c44-526792529106', 'tenant_id': '2c6025d1878542688cda389376ab9456', 'network_id': 'e5f86bdf-27bf-4b92-a1ac-48cef5d8eeda', 'mac_address': '02:9e:6d:d1:72:93', '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': '161.167.72.197', 'subnet_id': 'd27385bf-10fd-4ef8-beab-61593775e079'}], 'security_groups': ['f4255c63-c946-454b-a1d5-dd88378c114e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2c6025d1878542688cda389376ab9456'}}
2026-01-26 02:15:17,818 - DEBUG - Services list from nova: [, , ]
2026-01-26 02:15:18,133 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5077-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5077-1)
2026-01-26 02:15:18,565 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5077-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5077-1)
2026-01-26 02:15:18,565 - INFO - Waiting for VM ctest-vn1-vm1-48194817 to be up..
2026-01-26 02:15:18,619 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-26 02:15:23,690 - DEBUG - VM is in ACTIVE state now
2026-01-26 02:15:23,690 - INFO - VM name : ctest-vn1-vm1-48194817
2026-01-26 02:15:23,768 - DEBUG - VM ctest-vn1-vm1-48194817 ID is bd376f67-a78a-47fc-803b-78bffb444c67
2026-01-26 02:15:23,791 - DEBUG - VM ctest-vn1-vm1-48194817 launched on Node cn-jenkins-deploy-platform-ansible-os-5077-1
2026-01-26 02:15:23,885 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/bd376f67-a78a-47fc-803b-78bffb444c67
2026-01-26 02:15:23,893 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e0789589-efbc-476b-9427-a9d023109703
2026-01-26 02:15:27,161 - 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-01-26 02:15:27,161 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-48194817 failed!
2026-01-26 02:15:27,218 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60444472:ctest-vn1-31051566 is 50.236.230.129 and allocation pool is NOT set
2026-01-26 02:15:27,218 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60444472:ctest-vn1-31051566 is 161.167.72.193 and allocation pool is NOT set
2026-01-26 02:15:29,276 - 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=5.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.341 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 = 0.341/3.131/5.922/2.790 ms')
2026-01-26 02:15:29,277 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-48194817 passed
2026-01-26 02:15:29,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-26 02:15:29,426 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-48194817, IP 50.236.230.133, Port 22
2026-01-26 02:15:29,491 - 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-26 02:15:29,577 - DEBUG - VM ctest-vn1-vm1-48194817 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-26 02:15:34,578 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-26 02:15:34,578 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-48194817, IP 50.236.230.133, Port 22
2026-01-26 02:15:34,737 - DEBUG - VM ctest-vn1-vm1-48194817 is ready for SSH connections
2026-01-26 02:15:34,737 - INFO - Waiting for VM ctest-vn1-vm2-67620069 to be up..
2026-01-26 02:15:34,816 - DEBUG - VM is in ACTIVE state now
2026-01-26 02:15:34,816 - INFO - VM name : ctest-vn1-vm2-67620069
2026-01-26 02:15:34,886 - DEBUG - VM ctest-vn1-vm2-67620069 ID is 428442ff-5712-4fe2-9499-da3e72817521
2026-01-26 02:15:34,886 - DEBUG - VM ctest-vn1-vm2-67620069 launched on Node cn-jenkins-deploy-platform-ansible-os-5077-1
2026-01-26 02:15:34,957 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/428442ff-5712-4fe2-9499-da3e72817521
2026-01-26 02:15:34,964 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9e6dd172-93f1-413a-9c44-526792529106
2026-01-26 02:15:36,205 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.468 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.468/1.630/2.792/1.162 ms')
2026-01-26 02:15:36,205 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-67620069 passed
2026-01-26 02:15:36,353 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-26 02:15:36,354 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-67620069, IP 161.167.72.197, Port 22
2026-01-26 02:15:36,510 - DEBUG - VM ctest-vn1-vm2-67620069 is ready for SSH connections
2026-01-26 02:15:36,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-26 02:15:36,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-26 02:15:36,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-26 02:15:36,510 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.236.230.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2026-01-26 02:15:36,510 - DEBUG - ping -s 56 -c 3 -W 1 50.236.230.133
2026-01-26 02:15:39,172 - DEBUG - PING 50.236.230.133 (50.236.230.133): 56 data bytes
64 bytes from 50.236.230.133: seq=0 ttl=63 time=3.435 ms
64 bytes from 50.236.230.133: seq=1 ttl=63 time=0.716 ms
64 bytes from 50.236.230.133: seq=2 ttl=63 time=1.183 ms
--- 50.236.230.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.716/1.778/3.435 ms
2026-01-26 02:15:39,172 - INFO - Ping to IP 50.236.230.133 from VM ctest-vn1-vm2-67620069 passed
2026-01-26 02:15:39,172 - INFO - Detaching port 9e6dd172-93f1-413a-9c44-526792529106 from VM ctest-vn1-vm2-67620069
2026-01-26 02:15:39,222 - INFO - Deleting VM ctest-vn1-vm2-67620069
2026-01-26 02:15:39,284 - INFO - Detaching port e0789589-efbc-476b-9427-a9d023109703 from VM ctest-vn1-vm1-48194817
2026-01-26 02:15:39,317 - INFO - Deleting VM ctest-vn1-vm1-48194817
2026-01-26 02:15:39,542 - DEBUG - Response for delete_port : ()
2026-01-26 02:15:39,714 - DEBUG - Response for delete_port : ()
2026-01-26 02:15:39,715 - INFO - Deleting VN ctest-vn1-31051566
2026-01-26 02:15:39,855 - DEBUG - Response for deleting network ()
2026-01-26 02:15:40,111 - DEBUG - No XMPP flaps were noticed during the test
2026-01-26 02:15:40,111 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-01-26 02:15:40,111 - INFO - --------------------------------------------------------------------------------
2026-01-26 02:15:40,850 - INFO - Deleted project: ctest-TestPorts-60444472, ID : 2c6025d1-8785-4268-8cda-389376ab9456