2026-03-02 13:58:01,768 - INFO - Domain Default found not creating
2026-03-02 13:58:01,911 - INFO - Project ctest-TestPorts-38285673 not found, creating it
2026-03-02 13:58:02,347 - INFO - Created Project:ctest-TestPorts-38285673, ID : 3e174d0b-a43a-4841-b415-ebbe50904f10
2026-03-02 13:58:03,699 - INFO - ================================================================================
2026-03-02 13:58:03,699 - INFO - STARTING TEST : test_ports_bindings
2026-03-02 13:58:03,699 - 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-02 13:58:03,954 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2026-03-02 13:58:03,954 - INFO - Initial checks done. Running the testcase now
2026-03-02 13:58:03,954 - INFO -
2026-03-02 13:58:04,480 - DEBUG - Response for create_network : {'network': {'id': '2824df4f-6fce-4299-9b01-89fc8181bdd7', 'name': 'ctest-vn-10405581', 'tenant_id': '3e174d0ba43a4841b415ebbe50904f10', 'project_id': '3e174d0ba43a4841b415ebbe50904f10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38285673', 'ctest-vn-10405581'], 'port_security_enabled': True, 'description': ''}}
2026-03-02 13:58:04,642 - DEBUG - Response for create_subnet : {'subnet': {'id': '49c05cb7-5b51-4432-9476-3b2ce8dbb5cc', 'name': '', 'tenant_id': '3e174d0ba43a4841b415ebbe50904f10', 'network_id': '2824df4f-6fce-4299-9b01-89fc8181bdd7', 'ip_version': 4, 'cidr': '40.241.217.64/26', 'allocation_pools': [{'start': '40.241.217.66', 'end': '40.241.217.126'}], 'gateway_ip': '40.241.217.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.241.217.66', 'tags': [], 'project_id': '3e174d0ba43a4841b415ebbe50904f10'}}
2026-03-02 13:58:04,657 - INFO - Created VN ctest-vn-10405581
2026-03-02 13:58:04,712 - DEBUG - VN ctest-vn-10405581 UUID is 2824df4f-6fce-4299-9b01-89fc8181bdd7
2026-03-02 13:58:04,810 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-38285673', 'ctest-vmi-24483324']}
2026-03-02 13:58:05,066 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-24483324', 'id': '94e6e9cd-6bfb-46f5-af0f-646e2819e69a', 'tenant_id': '3e174d0ba43a4841b415ebbe50904f10', 'network_id': '2824df4f-6fce-4299-9b01-89fc8181bdd7', 'mac_address': '02:94:e6:e9:cd:6b', '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': '40.241.217.67', 'subnet_id': '49c05cb7-5b51-4432-9476-3b2ce8dbb5cc'}], 'security_groups': ['08eff409-f690-475a-906b-14d0eed559ae'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3e174d0ba43a4841b415ebbe50904f10'}}
2026-03-02 13:58:05,066 - DEBUG - Created port 94e6e9cd-6bfb-46f5-af0f-646e2819e69a
2026-03-02 13:58:05,172 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/94e6e9cd-6bfb-46f5-af0f-646e2819e69a
2026-03-02 13:58:05,461 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/94e6e9cd-6bfb-46f5-af0f-646e2819e69a
2026-03-02 13:58:05,489 - INFO - VMI 94e6e9cd-6bfb-46f5-af0f-646e2819e69a verification in API Server passed
2026-03-02 13:58:05,564 - DEBUG - Response for delete_port : ()
2026-03-02 13:58:05,564 - INFO - Deleted port 94e6e9cd-6bfb-46f5-af0f-646e2819e69a
2026-03-02 13:58:05,564 - INFO - Deleting VN ctest-vn-10405581
2026-03-02 13:58:05,645 - DEBUG - Response for deleting network ()
2026-03-02 13:58:05,892 - DEBUG - No XMPP flaps were noticed during the test
2026-03-02 13:58:05,892 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-03-02 13:58:05,892 - INFO - --------------------------------------------------------------------------------
2026-03-02 13:58:05,894 - INFO - ================================================================================
2026-03-02 13:58:05,894 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-03-02 13:58:05,894 - 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-02 13:58:06,176 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2026-03-02 13:58:06,176 - INFO - Initial checks done. Running the testcase now
2026-03-02 13:58:06,176 - INFO -
2026-03-02 13:58:06,329 - DEBUG - Response for create_network : {'network': {'id': '4231ab45-e575-4570-ae14-4982f8c22ce4', 'name': 'ctest-vn1-58238596', 'tenant_id': '3e174d0ba43a4841b415ebbe50904f10', 'project_id': '3e174d0ba43a4841b415ebbe50904f10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38285673', 'ctest-vn1-58238596'], 'port_security_enabled': True, 'description': ''}}
2026-03-02 13:58:06,541 - DEBUG - Response for create_subnet : {'subnet': {'id': '54b9344a-8368-450d-9573-5849ab639376', 'name': '', 'tenant_id': '3e174d0ba43a4841b415ebbe50904f10', 'network_id': '4231ab45-e575-4570-ae14-4982f8c22ce4', 'ip_version': 4, 'cidr': '184.232.176.0/26', 'allocation_pools': [{'start': '184.232.176.2', 'end': '184.232.176.62'}], 'gateway_ip': '184.232.176.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.232.176.2', 'tags': [], 'project_id': '3e174d0ba43a4841b415ebbe50904f10'}}
2026-03-02 13:58:06,733 - DEBUG - Response for create_subnet : {'subnet': {'id': '4cfa7d0b-3740-4ea1-9bdb-809322de9d7c', 'name': '', 'tenant_id': '3e174d0ba43a4841b415ebbe50904f10', 'network_id': '4231ab45-e575-4570-ae14-4982f8c22ce4', 'ip_version': 4, 'cidr': '9.22.116.192/26', 'allocation_pools': [{'start': '9.22.116.194', 'end': '9.22.116.254'}], 'gateway_ip': '9.22.116.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.22.116.194', 'tags': [], 'project_id': '3e174d0ba43a4841b415ebbe50904f10'}}
2026-03-02 13:58:06,750 - INFO - Created VN ctest-vn1-58238596
2026-03-02 13:58:06,800 - DEBUG - VN ctest-vn1-58238596 UUID is 4231ab45-e575-4570-ae14-4982f8c22ce4
2026-03-02 13:58:07,052 - DEBUG - Response for create_port : {'port': {'name': 'ff02f32d-9a1c-46dd-9991-3a4b64f7ec38', 'id': 'ff02f32d-9a1c-46dd-9991-3a4b64f7ec38', 'tenant_id': '3e174d0ba43a4841b415ebbe50904f10', 'network_id': '4231ab45-e575-4570-ae14-4982f8c22ce4', 'mac_address': '02:ff:02:f3:2d:9a', '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': '184.232.176.5', 'subnet_id': '54b9344a-8368-450d-9573-5849ab639376'}], 'security_groups': ['08eff409-f690-475a-906b-14d0eed559ae'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3e174d0ba43a4841b415ebbe50904f10'}}
2026-03-02 13:58:07,192 - DEBUG - Response for create_port : {'port': {'name': 'eb14ef08-9178-4edf-bba4-e5b5633d3c5f', 'id': 'eb14ef08-9178-4edf-bba4-e5b5633d3c5f', 'tenant_id': '3e174d0ba43a4841b415ebbe50904f10', 'network_id': '4231ab45-e575-4570-ae14-4982f8c22ce4', 'mac_address': '02:eb:14:ef:08:91', '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': '9.22.116.197', 'subnet_id': '4cfa7d0b-3740-4ea1-9bdb-809322de9d7c'}], 'security_groups': ['08eff409-f690-475a-906b-14d0eed559ae'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3e174d0ba43a4841b415ebbe50904f10'}}
2026-03-02 13:58:07,240 - DEBUG - Services list from nova: [, , ]
2026-03-02 13:58:07,519 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5418-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5418-1)
2026-03-02 13:58:07,888 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5418-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5418-1)
2026-03-02 13:58:07,888 - INFO - Waiting for VM ctest-vn1-vm1-16360472 to be up..
2026-03-02 13:58:07,930 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-03-02 13:58:12,994 - DEBUG - VM is in ACTIVE state now
2026-03-02 13:58:12,994 - INFO - VM name : ctest-vn1-vm1-16360472
2026-03-02 13:58:13,057 - DEBUG - VM ctest-vn1-vm1-16360472 ID is 15b2eabb-30b1-4513-bcdc-b23b7080377e
2026-03-02 13:58:13,075 - DEBUG - VM ctest-vn1-vm1-16360472 launched on Node cn-jenkins-deploy-platform-ansible-os-5418-1
2026-03-02 13:58:13,142 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/15b2eabb-30b1-4513-bcdc-b23b7080377e
2026-03-02 13:58:13,150 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ff02f32d-9a1c-46dd-9991-3a4b64f7ec38
2026-03-02 13:58:16,390 - 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 1020ms')
2026-03-02 13:58:16,390 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16360472 failed!
2026-03-02 13:58:16,444 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38285673:ctest-vn1-58238596 is 184.232.176.1 and allocation pool is NOT set
2026-03-02 13:58:16,444 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38285673:ctest-vn1-58238596 is 9.22.116.193 and allocation pool is NOT set
2026-03-02 13:58:18,504 - 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.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.27 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 = 1.273/3.434/5.595/2.161 ms')
2026-03-02 13:58:18,504 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16360472 passed
2026-03-02 13:58:18,656 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-02 13:58:18,656 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-16360472, IP 184.232.176.5, Port 22
2026-03-02 13:58:18,816 - DEBUG - VM ctest-vn1-vm1-16360472 is ready for SSH connections
2026-03-02 13:58:18,816 - INFO - Waiting for VM ctest-vn1-vm2-46231752 to be up..
2026-03-02 13:58:18,881 - DEBUG - VM is in ACTIVE state now
2026-03-02 13:58:18,881 - INFO - VM name : ctest-vn1-vm2-46231752
2026-03-02 13:58:18,943 - DEBUG - VM ctest-vn1-vm2-46231752 ID is 0fe32d09-1dd4-42a7-8fc1-b8fa3d4778fd
2026-03-02 13:58:18,943 - DEBUG - VM ctest-vn1-vm2-46231752 launched on Node cn-jenkins-deploy-platform-ansible-os-5418-1
2026-03-02 13:58:19,004 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0fe32d09-1dd4-42a7-8fc1-b8fa3d4778fd
2026-03-02 13:58:19,011 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/eb14ef08-9178-4edf-bba4-e5b5633d3c5f
2026-03-02 13:58:20,244 - 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=3.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.394 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.394/1.863/3.332/1.469 ms')
2026-03-02 13:58:20,244 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-46231752 passed
2026-03-02 13:58:20,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-02 13:58:20,396 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-46231752, IP 9.22.116.197, Port 22
2026-03-02 13:58:20,548 - DEBUG - VM ctest-vn1-vm2-46231752 is ready for SSH connections
2026-03-02 13:58:20,548 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-02 13:58:20,548 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-02 13:58:20,548 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-02 13:58:20,548 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.232.176.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2026-03-02 13:58:20,548 - DEBUG - ping -s 56 -c 3 -W 1 184.232.176.5
2026-03-02 13:58:23,460 - DEBUG - PING 184.232.176.5 (184.232.176.5): 56 data bytes
64 bytes from 184.232.176.5: seq=0 ttl=63 time=3.588 ms
64 bytes from 184.232.176.5: seq=1 ttl=63 time=0.712 ms
64 bytes from 184.232.176.5: seq=2 ttl=63 time=0.744 ms
--- 184.232.176.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.712/1.681/3.588 ms
2026-03-02 13:58:23,460 - INFO - Ping to IP 184.232.176.5 from VM ctest-vn1-vm2-46231752 passed
2026-03-02 13:58:23,460 - INFO - Detaching port eb14ef08-9178-4edf-bba4-e5b5633d3c5f from VM ctest-vn1-vm2-46231752
2026-03-02 13:58:23,504 - INFO - Deleting VM ctest-vn1-vm2-46231752
2026-03-02 13:58:23,564 - INFO - Detaching port ff02f32d-9a1c-46dd-9991-3a4b64f7ec38 from VM ctest-vn1-vm1-16360472
2026-03-02 13:58:23,591 - INFO - Deleting VM ctest-vn1-vm1-16360472
2026-03-02 13:58:23,775 - DEBUG - Response for delete_port : ()
2026-03-02 13:58:23,908 - DEBUG - Response for delete_port : ()
2026-03-02 13:58:23,908 - INFO - Deleting VN ctest-vn1-58238596
2026-03-02 13:58:24,052 - DEBUG - Response for deleting network ()
2026-03-02 13:58:24,308 - DEBUG - No XMPP flaps were noticed during the test
2026-03-02 13:58:24,308 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2026-03-02 13:58:24,308 - INFO - --------------------------------------------------------------------------------
2026-03-02 13:58:24,952 - INFO - Deleted project: ctest-TestPorts-38285673, ID : 3e174d0b-a43a-4841-b415-ebbe50904f10