2026-01-07 18:05:39,177 - INFO - Domain Default found not creating
2026-01-07 18:05:39,329 - INFO - Project ctest-TestPorts-77848628 not found, creating it
2026-01-07 18:05:39,774 - INFO - Created Project:ctest-TestPorts-77848628, ID : d6a36a38-330e-49a4-968d-4e059e78e94e
2026-01-07 18:05:41,213 - INFO - ================================================================================
2026-01-07 18:05:41,213 - INFO - STARTING TEST : test_ports_bindings
2026-01-07 18:05:41,214 - 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-07 18:05:41,468 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-01-07 18:05:41,468 - INFO - Initial checks done. Running the testcase now
2026-01-07 18:05:41,468 - INFO -
2026-01-07 18:05:42,023 - DEBUG - Response for create_network : {'network': {'id': '87226ec6-decf-408c-bf2d-d48fde78a9ce', 'name': 'ctest-vn-20201831', 'tenant_id': 'd6a36a38330e49a4968d4e059e78e94e', 'project_id': 'd6a36a38330e49a4968d4e059e78e94e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-77848628', 'ctest-vn-20201831'], 'port_security_enabled': True, 'description': ''}}
2026-01-07 18:05:42,181 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6db01e2-36a2-4bce-8c93-7b6ed584d4f0', 'name': '', 'tenant_id': 'd6a36a38330e49a4968d4e059e78e94e', 'network_id': '87226ec6-decf-408c-bf2d-d48fde78a9ce', 'ip_version': 4, 'cidr': '168.40.191.64/26', 'allocation_pools': [{'start': '168.40.191.66', 'end': '168.40.191.126'}], 'gateway_ip': '168.40.191.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.40.191.66', 'tags': [], 'project_id': 'd6a36a38330e49a4968d4e059e78e94e'}}
2026-01-07 18:05:42,201 - INFO - Created VN ctest-vn-20201831
2026-01-07 18:05:42,251 - DEBUG - VN ctest-vn-20201831 UUID is 87226ec6-decf-408c-bf2d-d48fde78a9ce
2026-01-07 18:05:42,354 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-77848628', 'ctest-vmi-78052048']}
2026-01-07 18:05:42,618 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-78052048', 'id': 'cf7171cf-ace0-476a-a573-e8b15ff8dc33', 'tenant_id': 'd6a36a38330e49a4968d4e059e78e94e', 'network_id': '87226ec6-decf-408c-bf2d-d48fde78a9ce', 'mac_address': '02:cf:71:71:cf:ac', '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': '168.40.191.67', 'subnet_id': 'b6db01e2-36a2-4bce-8c93-7b6ed584d4f0'}], 'security_groups': ['27585069-b766-4f2f-8c54-56549a8e358c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd6a36a38330e49a4968d4e059e78e94e'}}
2026-01-07 18:05:42,618 - DEBUG - Created port cf7171cf-ace0-476a-a573-e8b15ff8dc33
2026-01-07 18:05:42,719 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cf7171cf-ace0-476a-a573-e8b15ff8dc33
2026-01-07 18:05:43,013 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cf7171cf-ace0-476a-a573-e8b15ff8dc33
2026-01-07 18:05:43,048 - INFO - VMI cf7171cf-ace0-476a-a573-e8b15ff8dc33 verification in API Server passed
2026-01-07 18:05:43,139 - DEBUG - Response for delete_port : ()
2026-01-07 18:05:43,139 - INFO - Deleted port cf7171cf-ace0-476a-a573-e8b15ff8dc33
2026-01-07 18:05:43,139 - INFO - Deleting VN ctest-vn-20201831
2026-01-07 18:05:43,255 - DEBUG - Response for deleting network ()
2026-01-07 18:05:43,507 - DEBUG - No XMPP flaps were noticed during the test
2026-01-07 18:05:43,507 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-01-07 18:05:43,507 - INFO - --------------------------------------------------------------------------------
2026-01-07 18:05:43,509 - INFO - ================================================================================
2026-01-07 18:05:43,510 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-01-07 18:05:43,510 - 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-07 18:05:43,800 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-01-07 18:05:43,800 - INFO - Initial checks done. Running the testcase now
2026-01-07 18:05:43,800 - INFO -
2026-01-07 18:05:43,965 - DEBUG - Response for create_network : {'network': {'id': '03c12270-79ce-41ac-a317-5b844635c9d5', 'name': 'ctest-vn1-99266516', 'tenant_id': 'd6a36a38330e49a4968d4e059e78e94e', 'project_id': 'd6a36a38330e49a4968d4e059e78e94e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-77848628', 'ctest-vn1-99266516'], 'port_security_enabled': True, 'description': ''}}
2026-01-07 18:05:44,141 - DEBUG - Response for create_subnet : {'subnet': {'id': '21fad30e-2df9-45d8-ae03-b3c22ea83539', 'name': '', 'tenant_id': 'd6a36a38330e49a4968d4e059e78e94e', 'network_id': '03c12270-79ce-41ac-a317-5b844635c9d5', 'ip_version': 4, 'cidr': '107.214.222.192/26', 'allocation_pools': [{'start': '107.214.222.194', 'end': '107.214.222.254'}], 'gateway_ip': '107.214.222.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.214.222.194', 'tags': [], 'project_id': 'd6a36a38330e49a4968d4e059e78e94e'}}
2026-01-07 18:05:44,327 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a215b4ec-e5c9-4609-af2b-e513a52f57ed', 'name': '', 'tenant_id': 'd6a36a38330e49a4968d4e059e78e94e', 'network_id': '03c12270-79ce-41ac-a317-5b844635c9d5', 'ip_version': 4, 'cidr': '196.197.46.0/26', 'allocation_pools': [{'start': '196.197.46.2', 'end': '196.197.46.62'}], 'gateway_ip': '196.197.46.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.197.46.2', 'tags': [], 'project_id': 'd6a36a38330e49a4968d4e059e78e94e'}}
2026-01-07 18:05:44,348 - INFO - Created VN ctest-vn1-99266516
2026-01-07 18:05:44,407 - DEBUG - VN ctest-vn1-99266516 UUID is 03c12270-79ce-41ac-a317-5b844635c9d5
2026-01-07 18:05:44,681 - DEBUG - Response for create_port : {'port': {'name': 'ee442896-bee2-4e44-8984-5680116d3c5d', 'id': 'ee442896-bee2-4e44-8984-5680116d3c5d', 'tenant_id': 'd6a36a38330e49a4968d4e059e78e94e', 'network_id': '03c12270-79ce-41ac-a317-5b844635c9d5', 'mac_address': '02:ee:44:28:96:be', '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': '107.214.222.197', 'subnet_id': '21fad30e-2df9-45d8-ae03-b3c22ea83539'}], 'security_groups': ['27585069-b766-4f2f-8c54-56549a8e358c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd6a36a38330e49a4968d4e059e78e94e'}}
2026-01-07 18:05:44,850 - DEBUG - Response for create_port : {'port': {'name': '8e0dd947-7834-42dc-8beb-c2c50d34f3d4', 'id': '8e0dd947-7834-42dc-8beb-c2c50d34f3d4', 'tenant_id': 'd6a36a38330e49a4968d4e059e78e94e', 'network_id': '03c12270-79ce-41ac-a317-5b844635c9d5', 'mac_address': '02:8e:0d:d9:47:78', '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': '196.197.46.5', 'subnet_id': 'a215b4ec-e5c9-4609-af2b-e513a52f57ed'}], 'security_groups': ['27585069-b766-4f2f-8c54-56549a8e358c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd6a36a38330e49a4968d4e059e78e94e'}}
2026-01-07 18:05:44,905 - DEBUG - Services list from nova: [, , ]
2026-01-07 18:05:45,228 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4975-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4975-1)
2026-01-07 18:05:45,617 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4975-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4975-1)
2026-01-07 18:05:45,617 - INFO - Waiting for VM ctest-vn1-vm1-63005685 to be up..
2026-01-07 18:05:45,654 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-07 18:05:50,735 - DEBUG - VM is in ACTIVE state now
2026-01-07 18:05:50,736 - INFO - VM name : ctest-vn1-vm1-63005685
2026-01-07 18:05:50,809 - DEBUG - VM ctest-vn1-vm1-63005685 ID is 125ef312-b8d0-42d3-a861-51ecb3750d10
2026-01-07 18:05:50,827 - DEBUG - VM ctest-vn1-vm1-63005685 launched on Node cn-jenkins-deploy-platform-ansible-os-4975-1
2026-01-07 18:05:50,898 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/125ef312-b8d0-42d3-a861-51ecb3750d10
2026-01-07 18:05:50,907 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ee442896-bee2-4e44-8984-5680116d3c5d
2026-01-07 18:05:54,141 - 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 1003ms')
2026-01-07 18:05:54,141 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63005685 failed!
2026-01-07 18:05:54,199 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-77848628:ctest-vn1-99266516 is 107.214.222.193 and allocation pool is NOT set
2026-01-07 18:05:54,199 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-77848628:ctest-vn1-99266516 is 196.197.46.1 and allocation pool is NOT set
2026-01-07 18:05:56,258 - 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=13.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.25 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 = 1.252/7.350/13.448/6.098 ms')
2026-01-07 18:05:56,258 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63005685 passed
2026-01-07 18:05:56,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-07 18:05:56,415 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-63005685, IP 107.214.222.197, Port 22
2026-01-07 18:05:56,485 - 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-07 18:05:56,572 - DEBUG - VM ctest-vn1-vm1-63005685 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-07 18:06:01,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-07 18:06:01,573 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-63005685, IP 107.214.222.197, Port 22
2026-01-07 18:06:01,752 - DEBUG - VM ctest-vn1-vm1-63005685 is ready for SSH connections
2026-01-07 18:06:01,752 - INFO - Waiting for VM ctest-vn1-vm2-21010601 to be up..
2026-01-07 18:06:01,828 - DEBUG - VM is in ACTIVE state now
2026-01-07 18:06:01,828 - INFO - VM name : ctest-vn1-vm2-21010601
2026-01-07 18:06:01,896 - DEBUG - VM ctest-vn1-vm2-21010601 ID is b6cb8704-f53c-4b2c-8358-bb62aa1bba2d
2026-01-07 18:06:01,896 - DEBUG - VM ctest-vn1-vm2-21010601 launched on Node cn-jenkins-deploy-platform-ansible-os-4975-1
2026-01-07 18:06:01,966 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b6cb8704-f53c-4b2c-8358-bb62aa1bba2d
2026-01-07 18:06:01,974 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8e0dd947-7834-42dc-8beb-c2c50d34f3d4
2026-01-07 18:06:03,210 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.448 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.448/1.575/2.702/1.127 ms')
2026-01-07 18:06:03,210 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-21010601 passed
2026-01-07 18:06:03,359 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-07 18:06:03,359 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-21010601, IP 196.197.46.5, Port 22
2026-01-07 18:06:03,518 - DEBUG - VM ctest-vn1-vm2-21010601 is ready for SSH connections
2026-01-07 18:06:03,518 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-07 18:06:03,518 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-07 18:06:03,518 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-07 18:06:03,518 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.214.222.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-01-07 18:06:03,518 - DEBUG - ping -s 56 -c 3 -W 1 107.214.222.197
2026-01-07 18:06:06,166 - DEBUG - PING 107.214.222.197 (107.214.222.197): 56 data bytes
64 bytes from 107.214.222.197: seq=0 ttl=63 time=4.182 ms
64 bytes from 107.214.222.197: seq=1 ttl=63 time=0.838 ms
64 bytes from 107.214.222.197: seq=2 ttl=63 time=1.141 ms
--- 107.214.222.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.838/2.053/4.182 ms
2026-01-07 18:06:06,167 - INFO - Ping to IP 107.214.222.197 from VM ctest-vn1-vm2-21010601 passed
2026-01-07 18:06:06,167 - INFO - Detaching port 8e0dd947-7834-42dc-8beb-c2c50d34f3d4 from VM ctest-vn1-vm2-21010601
2026-01-07 18:06:06,214 - INFO - Deleting VM ctest-vn1-vm2-21010601
2026-01-07 18:06:06,282 - INFO - Detaching port ee442896-bee2-4e44-8984-5680116d3c5d from VM ctest-vn1-vm1-63005685
2026-01-07 18:06:06,312 - INFO - Deleting VM ctest-vn1-vm1-63005685
2026-01-07 18:06:06,557 - DEBUG - Response for delete_port : ()
2026-01-07 18:06:06,723 - DEBUG - Response for delete_port : ()
2026-01-07 18:06:06,724 - INFO - Deleting VN ctest-vn1-99266516
2026-01-07 18:06:06,843 - DEBUG - Response for deleting network ()
2026-01-07 18:06:07,107 - DEBUG - No XMPP flaps were noticed during the test
2026-01-07 18:06:07,107 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-01-07 18:06:07,108 - INFO - --------------------------------------------------------------------------------
2026-01-07 18:06:07,805 - INFO - Deleted project: ctest-TestPorts-77848628, ID : d6a36a38-330e-49a4-968d-4e059e78e94e