2026-03-19 14:53:20,551 - INFO - Domain Default found not creating
2026-03-19 14:53:20,715 - INFO - Project ctest-TestPorts-50571612 not found, creating it
2026-03-19 14:53:21,162 - INFO - Created Project:ctest-TestPorts-50571612, ID : 68e6b652-b1fd-42b7-84a2-0c28c2572b54
2026-03-19 14:53:22,739 - INFO - ================================================================================
2026-03-19 14:53:22,739 - INFO - STARTING TEST : test_ports_bindings
2026-03-19 14:53:22,739 - 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-19 14:53:22,994 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-03-19 14:53:22,994 - INFO - Initial checks done. Running the testcase now
2026-03-19 14:53:22,995 - INFO -
2026-03-19 14:53:23,535 - DEBUG - Response for create_network : {'network': {'id': '1dbdf6db-83ca-4d1f-85bc-33a72454ddfb', 'name': 'ctest-vn-70473766', 'tenant_id': '68e6b652b1fd42b784a20c28c2572b54', 'project_id': '68e6b652b1fd42b784a20c28c2572b54', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-50571612', 'ctest-vn-70473766'], 'port_security_enabled': True, 'description': ''}}
2026-03-19 14:53:23,761 - DEBUG - Response for create_subnet : {'subnet': {'id': '76f6c908-06bd-49ad-b47d-be8c53249817', 'name': '', 'tenant_id': '68e6b652b1fd42b784a20c28c2572b54', 'network_id': '1dbdf6db-83ca-4d1f-85bc-33a72454ddfb', 'ip_version': 4, 'cidr': '42.65.79.128/26', 'allocation_pools': [{'start': '42.65.79.130', 'end': '42.65.79.190'}], 'gateway_ip': '42.65.79.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.65.79.130', 'tags': [], 'project_id': '68e6b652b1fd42b784a20c28c2572b54'}}
2026-03-19 14:53:23,777 - INFO - Created VN ctest-vn-70473766
2026-03-19 14:53:23,829 - DEBUG - VN ctest-vn-70473766 UUID is 1dbdf6db-83ca-4d1f-85bc-33a72454ddfb
2026-03-19 14:53:23,935 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-50571612', 'ctest-vmi-38860931']}
2026-03-19 14:53:24,219 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-38860931', 'id': '1569080a-fcc1-4b01-9b51-b5e00af31e22', 'tenant_id': '68e6b652b1fd42b784a20c28c2572b54', 'network_id': '1dbdf6db-83ca-4d1f-85bc-33a72454ddfb', 'mac_address': '02:15:69:08:0a:fc', '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': '42.65.79.131', 'subnet_id': '76f6c908-06bd-49ad-b47d-be8c53249817'}], 'security_groups': ['fc3e47e3-8963-4f52-b063-b6810fc9c702'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '68e6b652b1fd42b784a20c28c2572b54'}}
2026-03-19 14:53:24,219 - DEBUG - Created port 1569080a-fcc1-4b01-9b51-b5e00af31e22
2026-03-19 14:53:24,321 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1569080a-fcc1-4b01-9b51-b5e00af31e22
2026-03-19 14:53:24,611 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1569080a-fcc1-4b01-9b51-b5e00af31e22
2026-03-19 14:53:24,643 - INFO - VMI 1569080a-fcc1-4b01-9b51-b5e00af31e22 verification in API Server passed
2026-03-19 14:53:24,724 - DEBUG - Response for delete_port : ()
2026-03-19 14:53:24,724 - INFO - Deleted port 1569080a-fcc1-4b01-9b51-b5e00af31e22
2026-03-19 14:53:24,724 - INFO - Deleting VN ctest-vn-70473766
2026-03-19 14:53:24,821 - DEBUG - Response for deleting network ()
2026-03-19 14:53:25,074 - DEBUG - No XMPP flaps were noticed during the test
2026-03-19 14:53:25,074 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-03-19 14:53:25,074 - INFO - --------------------------------------------------------------------------------
2026-03-19 14:53:25,076 - INFO - ================================================================================
2026-03-19 14:53:25,076 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-03-19 14:53:25,076 - 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-19 14:53:25,362 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-03-19 14:53:25,362 - INFO - Initial checks done. Running the testcase now
2026-03-19 14:53:25,362 - INFO -
2026-03-19 14:53:25,527 - DEBUG - Response for create_network : {'network': {'id': 'eebbb399-097c-40f4-be47-9cfbec323df8', 'name': 'ctest-vn1-53324775', 'tenant_id': '68e6b652b1fd42b784a20c28c2572b54', 'project_id': '68e6b652b1fd42b784a20c28c2572b54', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-50571612', 'ctest-vn1-53324775'], 'port_security_enabled': True, 'description': ''}}
2026-03-19 14:53:25,723 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e516b952-5c9c-40c4-871e-d79d023ecfc8', 'name': '', 'tenant_id': '68e6b652b1fd42b784a20c28c2572b54', 'network_id': 'eebbb399-097c-40f4-be47-9cfbec323df8', 'ip_version': 4, 'cidr': '136.84.25.192/26', 'allocation_pools': [{'start': '136.84.25.194', 'end': '136.84.25.254'}], 'gateway_ip': '136.84.25.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.84.25.194', 'tags': [], 'project_id': '68e6b652b1fd42b784a20c28c2572b54'}}
2026-03-19 14:53:25,883 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c4d95f48-ece2-4b01-8ce9-e984b70e960f', 'name': '', 'tenant_id': '68e6b652b1fd42b784a20c28c2572b54', 'network_id': 'eebbb399-097c-40f4-be47-9cfbec323df8', 'ip_version': 4, 'cidr': '203.152.134.0/26', 'allocation_pools': [{'start': '203.152.134.2', 'end': '203.152.134.62'}], 'gateway_ip': '203.152.134.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.152.134.2', 'tags': [], 'project_id': '68e6b652b1fd42b784a20c28c2572b54'}}
2026-03-19 14:53:25,899 - INFO - Created VN ctest-vn1-53324775
2026-03-19 14:53:25,949 - DEBUG - VN ctest-vn1-53324775 UUID is eebbb399-097c-40f4-be47-9cfbec323df8
2026-03-19 14:53:26,234 - DEBUG - Response for create_port : {'port': {'name': '5fc07173-9f5d-4373-87fe-e440a332ebb7', 'id': '5fc07173-9f5d-4373-87fe-e440a332ebb7', 'tenant_id': '68e6b652b1fd42b784a20c28c2572b54', 'network_id': 'eebbb399-097c-40f4-be47-9cfbec323df8', 'mac_address': '02:5f:c0:71:73:9f', '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': '136.84.25.197', 'subnet_id': 'e516b952-5c9c-40c4-871e-d79d023ecfc8'}], 'security_groups': ['fc3e47e3-8963-4f52-b063-b6810fc9c702'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '68e6b652b1fd42b784a20c28c2572b54'}}
2026-03-19 14:53:26,408 - DEBUG - Response for create_port : {'port': {'name': '23e9fb53-3771-4d87-bb9e-4884a52d46de', 'id': '23e9fb53-3771-4d87-bb9e-4884a52d46de', 'tenant_id': '68e6b652b1fd42b784a20c28c2572b54', 'network_id': 'eebbb399-097c-40f4-be47-9cfbec323df8', 'mac_address': '02:23:e9:fb:53:37', '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': '203.152.134.5', 'subnet_id': 'c4d95f48-ece2-4b01-8ce9-e984b70e960f'}], 'security_groups': ['fc3e47e3-8963-4f52-b063-b6810fc9c702'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '68e6b652b1fd42b784a20c28c2572b54'}}
2026-03-19 14:53:26,465 - DEBUG - Services list from nova: [, , ]
2026-03-19 14:53:26,813 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5500-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5500-1)
2026-03-19 14:53:27,195 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5500-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5500-1)
2026-03-19 14:53:27,195 - INFO - Waiting for VM ctest-vn1-vm1-51721803 to be up..
2026-03-19 14:53:27,238 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-03-19 14:53:32,312 - DEBUG - VM is in ACTIVE state now
2026-03-19 14:53:32,312 - INFO - VM name : ctest-vn1-vm1-51721803
2026-03-19 14:53:32,389 - DEBUG - VM ctest-vn1-vm1-51721803 ID is 3b2c4fba-595d-4668-b2fb-fc51108dcd0e
2026-03-19 14:53:32,408 - DEBUG - VM ctest-vn1-vm1-51721803 launched on Node cn-jenkins-deploy-platform-ansible-os-5500-1
2026-03-19 14:53:32,482 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3b2c4fba-595d-4668-b2fb-fc51108dcd0e
2026-03-19 14:53:32,489 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5fc07173-9f5d-4373-87fe-e440a332ebb7
2026-03-19 14:53:35,730 - 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-03-19 14:53:35,730 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51721803 failed!
2026-03-19 14:53:35,781 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-50571612:ctest-vn1-53324775 is 136.84.25.193 and allocation pool is NOT set
2026-03-19 14:53:35,781 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-50571612:ctest-vn1-53324775 is 203.152.134.1 and allocation pool is NOT set
2026-03-19 14:53:37,847 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.389 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.389/2.063/3.738/1.674 ms')
2026-03-19 14:53:37,847 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51721803 passed
2026-03-19 14:53:37,997 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-19 14:53:37,997 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-51721803, IP 136.84.25.197, Port 22
2026-03-19 14:53:38,163 - DEBUG - VM ctest-vn1-vm1-51721803 is ready for SSH connections
2026-03-19 14:53:38,163 - INFO - Waiting for VM ctest-vn1-vm2-50157037 to be up..
2026-03-19 14:53:38,241 - DEBUG - VM is in ACTIVE state now
2026-03-19 14:53:38,241 - INFO - VM name : ctest-vn1-vm2-50157037
2026-03-19 14:53:38,316 - DEBUG - VM ctest-vn1-vm2-50157037 ID is a8adbcd7-f9a7-4f07-bb5d-cb85594c84f2
2026-03-19 14:53:38,316 - DEBUG - VM ctest-vn1-vm2-50157037 launched on Node cn-jenkins-deploy-platform-ansible-os-5500-1
2026-03-19 14:53:38,392 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a8adbcd7-f9a7-4f07-bb5d-cb85594c84f2
2026-03-19 14:53:38,402 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/23e9fb53-3771-4d87-bb9e-4884a52d46de
2026-03-19 14:53:39,647 - 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=5.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.06 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.057/3.532/5.007/1.475 ms')
2026-03-19 14:53:39,647 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-50157037 passed
2026-03-19 14:53:39,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-19 14:53:39,793 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-50157037, IP 203.152.134.5, Port 22
2026-03-19 14:53:39,859 - 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-03-19 14:53:39,929 - DEBUG - VM ctest-vn1-vm2-50157037 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-19 14:53:44,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-19 14:53:44,930 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-50157037, IP 203.152.134.5, Port 22
2026-03-19 14:53:45,084 - DEBUG - VM ctest-vn1-vm2-50157037 is ready for SSH connections
2026-03-19 14:53:45,084 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-19 14:53:45,084 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-19 14:53:45,084 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-19 14:53:45,085 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.84.25.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-03-19 14:53:45,085 - DEBUG - ping -s 56 -c 3 -W 1 136.84.25.197
2026-03-19 14:53:47,754 - DEBUG - PING 136.84.25.197 (136.84.25.197): 56 data bytes
64 bytes from 136.84.25.197: seq=0 ttl=63 time=3.682 ms
64 bytes from 136.84.25.197: seq=1 ttl=63 time=0.837 ms
64 bytes from 136.84.25.197: seq=2 ttl=63 time=1.007 ms
--- 136.84.25.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.837/1.842/3.682 ms
2026-03-19 14:53:47,754 - INFO - Ping to IP 136.84.25.197 from VM ctest-vn1-vm2-50157037 passed
2026-03-19 14:53:47,754 - INFO - Detaching port 23e9fb53-3771-4d87-bb9e-4884a52d46de from VM ctest-vn1-vm2-50157037
2026-03-19 14:53:47,799 - INFO - Deleting VM ctest-vn1-vm2-50157037
2026-03-19 14:53:47,876 - INFO - Detaching port 5fc07173-9f5d-4373-87fe-e440a332ebb7 from VM ctest-vn1-vm1-51721803
2026-03-19 14:53:47,908 - INFO - Deleting VM ctest-vn1-vm1-51721803
2026-03-19 14:53:48,126 - DEBUG - Response for delete_port : ()
2026-03-19 14:53:48,281 - DEBUG - Response for delete_port : ()
2026-03-19 14:53:48,281 - INFO - Deleting VN ctest-vn1-53324775
2026-03-19 14:53:48,402 - DEBUG - Response for deleting network ()
2026-03-19 14:53:48,658 - DEBUG - No XMPP flaps were noticed during the test
2026-03-19 14:53:48,658 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2026-03-19 14:53:48,658 - INFO - --------------------------------------------------------------------------------
2026-03-19 14:53:49,344 - INFO - Deleted project: ctest-TestPorts-50571612, ID : 68e6b652-b1fd-42b7-84a2-0c28c2572b54