2026-01-05 02:01:31,080 - INFO - Domain Default found not creating
2026-01-05 02:01:31,255 - INFO - Project ctest-TestPorts-69734931 not found, creating it
2026-01-05 02:01:31,724 - INFO - Created Project:ctest-TestPorts-69734931, ID : 0228dc96-2fc1-4a89-8be7-629828630dd6
2026-01-05 02:01:33,303 - INFO - ================================================================================
2026-01-05 02:01:33,303 - INFO - STARTING TEST : test_ports_bindings
2026-01-05 02:01:33,303 - 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-05 02:01:33,564 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2026-01-05 02:01:33,564 - INFO - Initial checks done. Running the testcase now
2026-01-05 02:01:33,564 - INFO -
2026-01-05 02:01:34,109 - DEBUG - Response for create_network : {'network': {'id': '6a0bc19a-2722-4bb2-9622-1c95fff0aa22', 'name': 'ctest-vn-52000566', 'tenant_id': '0228dc962fc14a898be7629828630dd6', 'project_id': '0228dc962fc14a898be7629828630dd6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-69734931', 'ctest-vn-52000566'], 'port_security_enabled': True, 'description': ''}}
2026-01-05 02:01:34,268 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6d34cbb-83d0-475f-9122-9d2d07318325', 'name': '', 'tenant_id': '0228dc962fc14a898be7629828630dd6', 'network_id': '6a0bc19a-2722-4bb2-9622-1c95fff0aa22', 'ip_version': 4, 'cidr': '221.129.110.0/26', 'allocation_pools': [{'start': '221.129.110.2', 'end': '221.129.110.62'}], 'gateway_ip': '221.129.110.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.129.110.2', 'tags': [], 'project_id': '0228dc962fc14a898be7629828630dd6'}}
2026-01-05 02:01:34,284 - INFO - Created VN ctest-vn-52000566
2026-01-05 02:01:34,337 - DEBUG - VN ctest-vn-52000566 UUID is 6a0bc19a-2722-4bb2-9622-1c95fff0aa22
2026-01-05 02:01:34,446 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-69734931', 'ctest-vmi-26640727']}
2026-01-05 02:01:34,683 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-26640727', 'id': 'f2263609-c155-4270-a9f5-f36fcca62a99', 'tenant_id': '0228dc962fc14a898be7629828630dd6', 'network_id': '6a0bc19a-2722-4bb2-9622-1c95fff0aa22', 'mac_address': '02:f2:26:36:09:c1', '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': '221.129.110.3', 'subnet_id': 'd6d34cbb-83d0-475f-9122-9d2d07318325'}], 'security_groups': ['ecf61dce-ca87-435a-a0b6-456e1d550c7c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0228dc962fc14a898be7629828630dd6'}}
2026-01-05 02:01:34,683 - DEBUG - Created port f2263609-c155-4270-a9f5-f36fcca62a99
2026-01-05 02:01:34,789 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/f2263609-c155-4270-a9f5-f36fcca62a99
2026-01-05 02:01:35,083 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/f2263609-c155-4270-a9f5-f36fcca62a99
2026-01-05 02:01:35,122 - INFO - VMI f2263609-c155-4270-a9f5-f36fcca62a99 verification in API Server passed
2026-01-05 02:01:35,223 - DEBUG - Response for delete_port : ()
2026-01-05 02:01:35,223 - INFO - Deleted port f2263609-c155-4270-a9f5-f36fcca62a99
2026-01-05 02:01:35,224 - INFO - Deleting VN ctest-vn-52000566
2026-01-05 02:01:35,343 - DEBUG - Response for deleting network ()
2026-01-05 02:01:35,607 - DEBUG - No XMPP flaps were noticed during the test
2026-01-05 02:01:35,607 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-01-05 02:01:35,608 - INFO - --------------------------------------------------------------------------------
2026-01-05 02:01:35,610 - INFO - ================================================================================
2026-01-05 02:01:35,610 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-01-05 02:01:35,610 - 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-05 02:01:35,902 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2026-01-05 02:01:35,902 - INFO - Initial checks done. Running the testcase now
2026-01-05 02:01:35,903 - INFO -
2026-01-05 02:01:36,080 - DEBUG - Response for create_network : {'network': {'id': '88d353a5-85bf-4fd8-8ec5-9294f8869423', 'name': 'ctest-vn1-41386636', 'tenant_id': '0228dc962fc14a898be7629828630dd6', 'project_id': '0228dc962fc14a898be7629828630dd6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-69734931', 'ctest-vn1-41386636'], 'port_security_enabled': True, 'description': ''}}
2026-01-05 02:01:36,252 - DEBUG - Response for create_subnet : {'subnet': {'id': '19304d16-a5ea-441c-999a-00e024cf247a', 'name': '', 'tenant_id': '0228dc962fc14a898be7629828630dd6', 'network_id': '88d353a5-85bf-4fd8-8ec5-9294f8869423', 'ip_version': 4, 'cidr': '44.14.149.192/26', 'allocation_pools': [{'start': '44.14.149.194', 'end': '44.14.149.254'}], 'gateway_ip': '44.14.149.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.14.149.194', 'tags': [], 'project_id': '0228dc962fc14a898be7629828630dd6'}}
2026-01-05 02:01:36,443 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a2e33954-c63d-425e-af0d-ac2735554145', 'name': '', 'tenant_id': '0228dc962fc14a898be7629828630dd6', 'network_id': '88d353a5-85bf-4fd8-8ec5-9294f8869423', 'ip_version': 4, 'cidr': '39.202.62.192/26', 'allocation_pools': [{'start': '39.202.62.194', 'end': '39.202.62.254'}], 'gateway_ip': '39.202.62.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.202.62.194', 'tags': [], 'project_id': '0228dc962fc14a898be7629828630dd6'}}
2026-01-05 02:01:36,462 - INFO - Created VN ctest-vn1-41386636
2026-01-05 02:01:36,513 - DEBUG - VN ctest-vn1-41386636 UUID is 88d353a5-85bf-4fd8-8ec5-9294f8869423
2026-01-05 02:01:36,793 - DEBUG - Response for create_port : {'port': {'name': '097112c6-6899-4a49-a62f-67392113ef9d', 'id': '097112c6-6899-4a49-a62f-67392113ef9d', 'tenant_id': '0228dc962fc14a898be7629828630dd6', 'network_id': '88d353a5-85bf-4fd8-8ec5-9294f8869423', 'mac_address': '02:09:71:12:c6:68', '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': '44.14.149.197', 'subnet_id': '19304d16-a5ea-441c-999a-00e024cf247a'}], 'security_groups': ['ecf61dce-ca87-435a-a0b6-456e1d550c7c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0228dc962fc14a898be7629828630dd6'}}
2026-01-05 02:01:36,962 - DEBUG - Response for create_port : {'port': {'name': '99cc4c9e-4e60-40a6-aabc-a78ee8260ded', 'id': '99cc4c9e-4e60-40a6-aabc-a78ee8260ded', 'tenant_id': '0228dc962fc14a898be7629828630dd6', 'network_id': '88d353a5-85bf-4fd8-8ec5-9294f8869423', 'mac_address': '02:99:cc:4c:9e:4e', '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': '39.202.62.197', 'subnet_id': 'a2e33954-c63d-425e-af0d-ac2735554145'}], 'security_groups': ['ecf61dce-ca87-435a-a0b6-456e1d550c7c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0228dc962fc14a898be7629828630dd6'}}
2026-01-05 02:01:37,022 - DEBUG - Services list from nova: [, , ]
2026-01-05 02:01:37,339 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4958-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4958-1)
2026-01-05 02:01:37,705 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4958-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4958-1)
2026-01-05 02:01:37,705 - INFO - Waiting for VM ctest-vn1-vm1-59186150 to be up..
2026-01-05 02:01:37,741 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-05 02:01:42,813 - DEBUG - VM is in ACTIVE state now
2026-01-05 02:01:42,813 - INFO - VM name : ctest-vn1-vm1-59186150
2026-01-05 02:01:42,882 - DEBUG - VM ctest-vn1-vm1-59186150 ID is 2d428342-8656-4495-9cc3-da6444281bbe
2026-01-05 02:01:42,902 - DEBUG - VM ctest-vn1-vm1-59186150 launched on Node cn-jenkins-deploy-platform-ansible-os-4958-1
2026-01-05 02:01:42,971 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/2d428342-8656-4495-9cc3-da6444281bbe
2026-01-05 02:01:42,979 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/097112c6-6899-4a49-a62f-67392113ef9d
2026-01-05 02:01:46,241 - 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 1025ms')
2026-01-05 02:01:46,241 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-59186150 failed!
2026-01-05 02:01:46,297 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-69734931:ctest-vn1-41386636 is 44.14.149.193 and allocation pool is NOT set
2026-01-05 02:01:46,297 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-69734931:ctest-vn1-41386636 is 39.202.62.193 and allocation pool is NOT set
2026-01-05 02:01:48,355 - 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=13.0 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.52 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 = 2.523/7.745/12.967/5.222 ms')
2026-01-05 02:01:48,355 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-59186150 passed
2026-01-05 02:01:48,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-05 02:01:48,501 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-59186150, IP 44.14.149.197, Port 22
2026-01-05 02:01:48,557 - 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-01-05 02:01:48,633 - DEBUG - VM ctest-vn1-vm1-59186150 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-05 02:01:53,634 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-05 02:01:53,634 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-59186150, IP 44.14.149.197, Port 22
2026-01-05 02:01:53,812 - DEBUG - VM ctest-vn1-vm1-59186150 is ready for SSH connections
2026-01-05 02:01:53,812 - INFO - Waiting for VM ctest-vn1-vm2-25923505 to be up..
2026-01-05 02:01:53,886 - DEBUG - VM is in ACTIVE state now
2026-01-05 02:01:53,886 - INFO - VM name : ctest-vn1-vm2-25923505
2026-01-05 02:01:53,952 - DEBUG - VM ctest-vn1-vm2-25923505 ID is da22ed31-bb18-4c71-94d4-77d153466a81
2026-01-05 02:01:53,953 - DEBUG - VM ctest-vn1-vm2-25923505 launched on Node cn-jenkins-deploy-platform-ansible-os-4958-1
2026-01-05 02:01:54,027 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/da22ed31-bb18-4c71-94d4-77d153466a81
2026-01-05 02:01:54,034 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/99cc4c9e-4e60-40a6-aabc-a78ee8260ded
2026-01-05 02:01:55,281 - 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=2.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.380 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.380/1.627/2.874/1.247 ms')
2026-01-05 02:01:55,281 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-25923505 passed
2026-01-05 02:01:55,441 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-05 02:01:55,441 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-25923505, IP 39.202.62.197, Port 22
2026-01-05 02:01:55,606 - DEBUG - VM ctest-vn1-vm2-25923505 is ready for SSH connections
2026-01-05 02:01:55,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-05 02:01:55,607 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-05 02:01:55,607 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-05 02:01:55,607 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.14.149.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2026-01-05 02:01:55,607 - DEBUG - ping -s 56 -c 3 -W 1 44.14.149.197
2026-01-05 02:01:59,292 - DEBUG - PING 44.14.149.197 (44.14.149.197): 56 data bytes
64 bytes from 44.14.149.197: seq=0 ttl=63 time=3.450 ms
64 bytes from 44.14.149.197: seq=1 ttl=63 time=1.107 ms
64 bytes from 44.14.149.197: seq=2 ttl=63 time=1.075 ms
--- 44.14.149.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.075/1.877/3.450 ms
2026-01-05 02:01:59,292 - INFO - Ping to IP 44.14.149.197 from VM ctest-vn1-vm2-25923505 passed
2026-01-05 02:01:59,293 - INFO - Detaching port 99cc4c9e-4e60-40a6-aabc-a78ee8260ded from VM ctest-vn1-vm2-25923505
2026-01-05 02:01:59,341 - INFO - Deleting VM ctest-vn1-vm2-25923505
2026-01-05 02:01:59,413 - INFO - Detaching port 097112c6-6899-4a49-a62f-67392113ef9d from VM ctest-vn1-vm1-59186150
2026-01-05 02:01:59,450 - INFO - Deleting VM ctest-vn1-vm1-59186150
2026-01-05 02:01:59,708 - DEBUG - Response for delete_port : ()
2026-01-05 02:01:59,900 - DEBUG - Response for delete_port : ()
2026-01-05 02:01:59,900 - INFO - Deleting VN ctest-vn1-41386636
2026-01-05 02:02:00,024 - DEBUG - Response for deleting network ()
2026-01-05 02:02:00,290 - DEBUG - No XMPP flaps were noticed during the test
2026-01-05 02:02:00,290 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2026-01-05 02:02:00,290 - INFO - --------------------------------------------------------------------------------
2026-01-05 02:02:00,988 - INFO - Deleted project: ctest-TestPorts-69734931, ID : 0228dc96-2fc1-4a89-8be7-629828630dd6