2026-02-23 21:46:46,417 - INFO - Domain Default found not creating
2026-02-23 21:46:46,558 - INFO - Project ctest-TestPorts-31638256 not found, creating it
2026-02-23 21:46:46,986 - INFO - Created Project:ctest-TestPorts-31638256, ID : 1d56c22c-4929-4c45-9807-1d1db0b664d9
2026-02-23 21:46:48,336 - INFO - ================================================================================
2026-02-23 21:46:48,336 - INFO - STARTING TEST : test_ports_bindings
2026-02-23 21:46:48,336 - 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-02-23 21:46:48,589 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-02-23 21:46:48,590 - INFO - Initial checks done. Running the testcase now
2026-02-23 21:46:48,590 - INFO -
2026-02-23 21:46:49,121 - DEBUG - Response for create_network : {'network': {'id': 'b729cf6c-7e84-4846-b6d7-cb47c45a6117', 'name': 'ctest-vn-34433136', 'tenant_id': '1d56c22c49294c4598071d1db0b664d9', 'project_id': '1d56c22c49294c4598071d1db0b664d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-31638256', 'ctest-vn-34433136'], 'port_security_enabled': True, 'description': ''}}
2026-02-23 21:46:49,310 - DEBUG - Response for create_subnet : {'subnet': {'id': '71dead62-4e55-48d6-88c1-281f973c35b9', 'name': '', 'tenant_id': '1d56c22c49294c4598071d1db0b664d9', 'network_id': 'b729cf6c-7e84-4846-b6d7-cb47c45a6117', 'ip_version': 4, 'cidr': '37.18.140.0/26', 'allocation_pools': [{'start': '37.18.140.2', 'end': '37.18.140.62'}], 'gateway_ip': '37.18.140.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.18.140.2', 'tags': [], 'project_id': '1d56c22c49294c4598071d1db0b664d9'}}
2026-02-23 21:46:49,324 - INFO - Created VN ctest-vn-34433136
2026-02-23 21:46:49,372 - DEBUG - VN ctest-vn-34433136 UUID is b729cf6c-7e84-4846-b6d7-cb47c45a6117
2026-02-23 21:46:49,476 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-31638256', 'ctest-vmi-92234432']}
2026-02-23 21:46:49,715 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-92234432', 'id': '24b0db37-859b-40ee-a5d6-5996df63f1ad', 'tenant_id': '1d56c22c49294c4598071d1db0b664d9', 'network_id': 'b729cf6c-7e84-4846-b6d7-cb47c45a6117', 'mac_address': '02:24:b0:db:37:85', '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': '37.18.140.3', 'subnet_id': '71dead62-4e55-48d6-88c1-281f973c35b9'}], 'security_groups': ['5adb74b0-5232-438a-b1a1-ed909dbba803'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1d56c22c49294c4598071d1db0b664d9'}}
2026-02-23 21:46:49,715 - DEBUG - Created port 24b0db37-859b-40ee-a5d6-5996df63f1ad
2026-02-23 21:46:49,820 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/24b0db37-859b-40ee-a5d6-5996df63f1ad
2026-02-23 21:46:50,108 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/24b0db37-859b-40ee-a5d6-5996df63f1ad
2026-02-23 21:46:50,143 - INFO - VMI 24b0db37-859b-40ee-a5d6-5996df63f1ad verification in API Server passed
2026-02-23 21:46:50,239 - DEBUG - Response for delete_port : ()
2026-02-23 21:46:50,239 - INFO - Deleted port 24b0db37-859b-40ee-a5d6-5996df63f1ad
2026-02-23 21:46:50,239 - INFO - Deleting VN ctest-vn-34433136
2026-02-23 21:46:50,325 - DEBUG - Response for deleting network ()
2026-02-23 21:46:50,577 - DEBUG - No XMPP flaps were noticed during the test
2026-02-23 21:46:50,577 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-02-23 21:46:50,577 - INFO - --------------------------------------------------------------------------------
2026-02-23 21:46:50,580 - INFO - ================================================================================
2026-02-23 21:46:50,580 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-02-23 21:46:50,580 - 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-02-23 21:46:50,861 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-02-23 21:46:50,861 - INFO - Initial checks done. Running the testcase now
2026-02-23 21:46:50,861 - INFO -
2026-02-23 21:46:51,019 - DEBUG - Response for create_network : {'network': {'id': '5cd43be8-fbdd-4608-8a98-1795e455f01a', 'name': 'ctest-vn1-73444193', 'tenant_id': '1d56c22c49294c4598071d1db0b664d9', 'project_id': '1d56c22c49294c4598071d1db0b664d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-31638256', 'ctest-vn1-73444193'], 'port_security_enabled': True, 'description': ''}}
2026-02-23 21:46:51,197 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f75ebe42-93a8-4dcc-b0ad-ed568be1837b', 'name': '', 'tenant_id': '1d56c22c49294c4598071d1db0b664d9', 'network_id': '5cd43be8-fbdd-4608-8a98-1795e455f01a', 'ip_version': 4, 'cidr': '140.46.250.0/26', 'allocation_pools': [{'start': '140.46.250.2', 'end': '140.46.250.62'}], 'gateway_ip': '140.46.250.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.46.250.2', 'tags': [], 'project_id': '1d56c22c49294c4598071d1db0b664d9'}}
2026-02-23 21:46:51,399 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b3d9969-5ad0-4a86-b149-180d8eb1368f', 'name': '', 'tenant_id': '1d56c22c49294c4598071d1db0b664d9', 'network_id': '5cd43be8-fbdd-4608-8a98-1795e455f01a', 'ip_version': 4, 'cidr': '200.191.152.0/26', 'allocation_pools': [{'start': '200.191.152.2', 'end': '200.191.152.62'}], 'gateway_ip': '200.191.152.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.191.152.2', 'tags': [], 'project_id': '1d56c22c49294c4598071d1db0b664d9'}}
2026-02-23 21:46:51,416 - INFO - Created VN ctest-vn1-73444193
2026-02-23 21:46:51,468 - DEBUG - VN ctest-vn1-73444193 UUID is 5cd43be8-fbdd-4608-8a98-1795e455f01a
2026-02-23 21:46:51,763 - DEBUG - Response for create_port : {'port': {'name': 'dea5e14b-bafd-445f-91e8-869195cea8d3', 'id': 'dea5e14b-bafd-445f-91e8-869195cea8d3', 'tenant_id': '1d56c22c49294c4598071d1db0b664d9', 'network_id': '5cd43be8-fbdd-4608-8a98-1795e455f01a', 'mac_address': '02:de:a5:e1:4b:ba', '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': '140.46.250.5', 'subnet_id': 'f75ebe42-93a8-4dcc-b0ad-ed568be1837b'}], 'security_groups': ['5adb74b0-5232-438a-b1a1-ed909dbba803'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1d56c22c49294c4598071d1db0b664d9'}}
2026-02-23 21:46:51,906 - DEBUG - Response for create_port : {'port': {'name': '0706e8a4-0df3-4d7f-aa32-4d8dac438102', 'id': '0706e8a4-0df3-4d7f-aa32-4d8dac438102', 'tenant_id': '1d56c22c49294c4598071d1db0b664d9', 'network_id': '5cd43be8-fbdd-4608-8a98-1795e455f01a', 'mac_address': '02:07:06:e8:a4:0d', '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': '200.191.152.5', 'subnet_id': '8b3d9969-5ad0-4a86-b149-180d8eb1368f'}], 'security_groups': ['5adb74b0-5232-438a-b1a1-ed909dbba803'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1d56c22c49294c4598071d1db0b664d9'}}
2026-02-23 21:46:51,970 - DEBUG - Services list from nova: [, , ]
2026-02-23 21:46:52,292 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5391-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5391-1)
2026-02-23 21:46:52,661 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5391-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5391-1)
2026-02-23 21:46:52,662 - INFO - Waiting for VM ctest-vn1-vm1-11378906 to be up..
2026-02-23 21:46:52,699 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-23 21:46:57,768 - DEBUG - VM is in ACTIVE state now
2026-02-23 21:46:57,768 - INFO - VM name : ctest-vn1-vm1-11378906
2026-02-23 21:46:57,830 - DEBUG - VM ctest-vn1-vm1-11378906 ID is ba75c9ce-5ff2-4d35-bfcb-f04117407e81
2026-02-23 21:46:57,850 - DEBUG - VM ctest-vn1-vm1-11378906 launched on Node cn-jenkins-deploy-platform-ansible-os-5391-1
2026-02-23 21:46:57,920 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ba75c9ce-5ff2-4d35-bfcb-f04117407e81
2026-02-23 21:46:57,928 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/dea5e14b-bafd-445f-91e8-869195cea8d3
2026-02-23 21:47:01,159 - 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-02-23 21:47:01,159 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-11378906 failed!
2026-02-23 21:47:01,212 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-31638256:ctest-vn1-73444193 is 140.46.250.1 and allocation pool is NOT set
2026-02-23 21:47:01,212 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-31638256:ctest-vn1-73444193 is 200.191.152.1 and allocation pool is NOT set
2026-02-23 21:47:03,272 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.358 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.358/2.115/3.872/1.757 ms')
2026-02-23 21:47:03,273 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-11378906 passed
2026-02-23 21:47:03,420 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-23 21:47:03,420 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-11378906, IP 140.46.250.5, Port 22
2026-02-23 21:47:12,926 - DEBUG - VM ctest-vn1-vm1-11378906 is ready for SSH connections
2026-02-23 21:47:12,926 - INFO - Waiting for VM ctest-vn1-vm2-78440721 to be up..
2026-02-23 21:47:12,991 - DEBUG - VM is in ACTIVE state now
2026-02-23 21:47:12,991 - INFO - VM name : ctest-vn1-vm2-78440721
2026-02-23 21:47:13,058 - DEBUG - VM ctest-vn1-vm2-78440721 ID is 887d1275-4916-4494-a843-71b56f06f3a2
2026-02-23 21:47:13,058 - DEBUG - VM ctest-vn1-vm2-78440721 launched on Node cn-jenkins-deploy-platform-ansible-os-5391-1
2026-02-23 21:47:13,119 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/887d1275-4916-4494-a843-71b56f06f3a2
2026-02-23 21:47:13,125 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0706e8a4-0df3-4d7f-aa32-4d8dac438102
2026-02-23 21:47:14,353 - 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.543 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.543/1.619/2.695/1.076 ms')
2026-02-23 21:47:14,353 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-78440721 passed
2026-02-23 21:47:14,504 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-23 21:47:14,504 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-78440721, IP 200.191.152.5, Port 22
2026-02-23 21:47:14,660 - DEBUG - VM ctest-vn1-vm2-78440721 is ready for SSH connections
2026-02-23 21:47:14,660 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-23 21:47:14,660 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-23 21:47:14,660 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-23 21:47:14,660 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.46.250.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-02-23 21:47:14,660 - DEBUG - ping -s 56 -c 3 -W 1 140.46.250.5
2026-02-23 21:47:17,564 - DEBUG - PING 140.46.250.5 (140.46.250.5): 56 data bytes
64 bytes from 140.46.250.5: seq=0 ttl=63 time=3.834 ms
64 bytes from 140.46.250.5: seq=1 ttl=63 time=0.692 ms
64 bytes from 140.46.250.5: seq=2 ttl=63 time=0.786 ms
--- 140.46.250.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.692/1.770/3.834 ms
2026-02-23 21:47:17,564 - INFO - Ping to IP 140.46.250.5 from VM ctest-vn1-vm2-78440721 passed
2026-02-23 21:47:17,565 - INFO - Detaching port 0706e8a4-0df3-4d7f-aa32-4d8dac438102 from VM ctest-vn1-vm2-78440721
2026-02-23 21:47:17,609 - INFO - Deleting VM ctest-vn1-vm2-78440721
2026-02-23 21:47:17,675 - INFO - Detaching port dea5e14b-bafd-445f-91e8-869195cea8d3 from VM ctest-vn1-vm1-11378906
2026-02-23 21:47:17,710 - INFO - Deleting VM ctest-vn1-vm1-11378906
2026-02-23 21:47:17,936 - DEBUG - Response for delete_port : ()
2026-02-23 21:47:18,102 - DEBUG - Response for delete_port : ()
2026-02-23 21:47:18,102 - INFO - Deleting VN ctest-vn1-73444193
2026-02-23 21:47:18,267 - DEBUG - Response for deleting network ()
2026-02-23 21:47:18,531 - DEBUG - No XMPP flaps were noticed during the test
2026-02-23 21:47:18,531 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:28]
2026-02-23 21:47:18,532 - INFO - --------------------------------------------------------------------------------
2026-02-23 21:47:19,222 - INFO - Deleted project: ctest-TestPorts-31638256, ID : 1d56c22c-4929-4c45-9807-1d1db0b664d9