2026-05-05 17:16:42,340 - INFO - Domain Default found not creating
2026-05-05 17:16:42,627 - INFO - Project ctest-TestPorts-40290339 not found, creating it
2026-05-05 17:16:43,111 - INFO - Created Project:ctest-TestPorts-40290339, ID : 36aa4bf9-b441-4350-a44d-7056c4cc57e7
2026-05-05 17:16:44,665 - INFO - ================================================================================
2026-05-05 17:16:44,666 - INFO - STARTING TEST : test_ports_bindings
2026-05-05 17:16:44,666 - 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-05-05 17:16:44,925 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2026-05-05 17:16:44,925 - INFO - Initial checks done. Running the testcase now
2026-05-05 17:16:44,925 - INFO -
2026-05-05 17:16:45,517 - DEBUG - Response for create_network : {'network': {'id': 'c4a7db28-8736-448c-83df-ce738454342b', 'name': 'ctest-vn-09331659', 'tenant_id': '36aa4bf9b4414350a44d7056c4cc57e7', 'project_id': '36aa4bf9b4414350a44d7056c4cc57e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-40290339', 'ctest-vn-09331659'], 'port_security_enabled': True, 'description': ''}}
2026-05-05 17:16:45,696 - DEBUG - Response for create_subnet : {'subnet': {'id': '2ebe9537-73e1-4191-ae88-a2c580af7ce4', 'name': '', 'tenant_id': '36aa4bf9b4414350a44d7056c4cc57e7', 'network_id': 'c4a7db28-8736-448c-83df-ce738454342b', 'ip_version': 4, 'cidr': '170.83.147.192/26', 'allocation_pools': [{'start': '170.83.147.194', 'end': '170.83.147.254'}], 'gateway_ip': '170.83.147.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.83.147.194', 'tags': [], 'project_id': '36aa4bf9b4414350a44d7056c4cc57e7'}}
2026-05-05 17:16:45,714 - INFO - Created VN ctest-vn-09331659
2026-05-05 17:16:45,767 - DEBUG - VN ctest-vn-09331659 UUID is c4a7db28-8736-448c-83df-ce738454342b
2026-05-05 17:16:45,871 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-40290339', 'ctest-vmi-69383020']}
2026-05-05 17:16:46,176 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-69383020', 'id': '1e8e589a-38d4-432d-9a4a-74b6b80c0733', 'tenant_id': '36aa4bf9b4414350a44d7056c4cc57e7', 'network_id': 'c4a7db28-8736-448c-83df-ce738454342b', 'mac_address': '02:1e:8e:58:9a:38', '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': '170.83.147.195', 'subnet_id': '2ebe9537-73e1-4191-ae88-a2c580af7ce4'}], 'security_groups': ['d3130c58-ab7e-4734-9878-875d6aa0f3a2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '36aa4bf9b4414350a44d7056c4cc57e7'}}
2026-05-05 17:16:46,176 - DEBUG - Created port 1e8e589a-38d4-432d-9a4a-74b6b80c0733
2026-05-05 17:16:46,283 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1e8e589a-38d4-432d-9a4a-74b6b80c0733
2026-05-05 17:16:46,577 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1e8e589a-38d4-432d-9a4a-74b6b80c0733
2026-05-05 17:16:46,615 - INFO - VMI 1e8e589a-38d4-432d-9a4a-74b6b80c0733 verification in API Server passed
2026-05-05 17:16:46,715 - DEBUG - Response for delete_port : ()
2026-05-05 17:16:46,715 - INFO - Deleted port 1e8e589a-38d4-432d-9a4a-74b6b80c0733
2026-05-05 17:16:46,716 - INFO - Deleting VN ctest-vn-09331659
2026-05-05 17:16:46,816 - DEBUG - Response for deleting network ()
2026-05-05 17:16:47,072 - DEBUG - No XMPP flaps were noticed during the test
2026-05-05 17:16:47,073 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-05-05 17:16:47,073 - INFO - --------------------------------------------------------------------------------
2026-05-05 17:16:47,075 - INFO - ================================================================================
2026-05-05 17:16:47,075 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-05-05 17:16:47,075 - 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-05-05 17:16:47,361 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2026-05-05 17:16:47,361 - INFO - Initial checks done. Running the testcase now
2026-05-05 17:16:47,361 - INFO -
2026-05-05 17:16:47,534 - DEBUG - Response for create_network : {'network': {'id': '0ee1c8ca-567c-4439-80d8-d9da50b6a7da', 'name': 'ctest-vn1-82182404', 'tenant_id': '36aa4bf9b4414350a44d7056c4cc57e7', 'project_id': '36aa4bf9b4414350a44d7056c4cc57e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-40290339', 'ctest-vn1-82182404'], 'port_security_enabled': True, 'description': ''}}
2026-05-05 17:16:47,689 - DEBUG - Response for create_subnet : {'subnet': {'id': '25dbfe51-93b6-42b5-984b-391319427ead', 'name': '', 'tenant_id': '36aa4bf9b4414350a44d7056c4cc57e7', 'network_id': '0ee1c8ca-567c-4439-80d8-d9da50b6a7da', 'ip_version': 4, 'cidr': '141.48.9.192/26', 'allocation_pools': [{'start': '141.48.9.194', 'end': '141.48.9.254'}], 'gateway_ip': '141.48.9.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.48.9.194', 'tags': [], 'project_id': '36aa4bf9b4414350a44d7056c4cc57e7'}}
2026-05-05 17:16:47,832 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd00902f2-4ca3-45b6-bb11-96fa51b6a0f4', 'name': '', 'tenant_id': '36aa4bf9b4414350a44d7056c4cc57e7', 'network_id': '0ee1c8ca-567c-4439-80d8-d9da50b6a7da', 'ip_version': 4, 'cidr': '140.121.9.0/26', 'allocation_pools': [{'start': '140.121.9.2', 'end': '140.121.9.62'}], 'gateway_ip': '140.121.9.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.121.9.2', 'tags': [], 'project_id': '36aa4bf9b4414350a44d7056c4cc57e7'}}
2026-05-05 17:16:47,850 - INFO - Created VN ctest-vn1-82182404
2026-05-05 17:16:47,902 - DEBUG - VN ctest-vn1-82182404 UUID is 0ee1c8ca-567c-4439-80d8-d9da50b6a7da
2026-05-05 17:16:48,198 - DEBUG - Response for create_port : {'port': {'name': 'e5ba1ef8-b4e9-4a3d-ba27-3b7aab39c1fb', 'id': 'e5ba1ef8-b4e9-4a3d-ba27-3b7aab39c1fb', 'tenant_id': '36aa4bf9b4414350a44d7056c4cc57e7', 'network_id': '0ee1c8ca-567c-4439-80d8-d9da50b6a7da', 'mac_address': '02:e5:ba:1e:f8:b4', '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': '141.48.9.197', 'subnet_id': '25dbfe51-93b6-42b5-984b-391319427ead'}], 'security_groups': ['d3130c58-ab7e-4734-9878-875d6aa0f3a2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '36aa4bf9b4414350a44d7056c4cc57e7'}}
2026-05-05 17:16:48,365 - DEBUG - Response for create_port : {'port': {'name': 'f418bc7f-eb46-496f-b595-da7127fb5568', 'id': 'f418bc7f-eb46-496f-b595-da7127fb5568', 'tenant_id': '36aa4bf9b4414350a44d7056c4cc57e7', 'network_id': '0ee1c8ca-567c-4439-80d8-d9da50b6a7da', 'mac_address': '02:f4:18:bc:7f:eb', '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.121.9.5', 'subnet_id': 'd00902f2-4ca3-45b6-bb11-96fa51b6a0f4'}], 'security_groups': ['d3130c58-ab7e-4734-9878-875d6aa0f3a2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '36aa4bf9b4414350a44d7056c4cc57e7'}}
2026-05-05 17:16:48,437 - DEBUG - Services list from nova: [, , ]
2026-05-05 17:16:48,819 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5746-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5746-1)
2026-05-05 17:16:49,236 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5746-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5746-1)
2026-05-05 17:16:49,236 - INFO - Waiting for VM ctest-vn1-vm1-91936139 to be up..
2026-05-05 17:16:49,277 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-05-05 17:16:54,357 - DEBUG - VM is in ACTIVE state now
2026-05-05 17:16:54,358 - INFO - VM name : ctest-vn1-vm1-91936139
2026-05-05 17:16:54,437 - DEBUG - VM ctest-vn1-vm1-91936139 ID is c837980a-3325-481f-9329-02facf50dc81
2026-05-05 17:16:54,469 - DEBUG - VM ctest-vn1-vm1-91936139 launched on Node cn-jenkins-deploy-platform-ansible-os-5746-1
2026-05-05 17:16:54,555 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c837980a-3325-481f-9329-02facf50dc81
2026-05-05 17:16:54,564 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e5ba1ef8-b4e9-4a3d-ba27-3b7aab39c1fb
2026-05-05 17:16:57,839 - 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-05-05 17:16:57,839 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-91936139 failed!
2026-05-05 17:16:57,895 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-40290339:ctest-vn1-82182404 is 141.48.9.193 and allocation pool is NOT set
2026-05-05 17:16:57,895 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-40290339:ctest-vn1-82182404 is 140.121.9.1 and allocation pool is NOT set
2026-05-05 17:17:01,962 - 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=2 ttl=63 time=6.47 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 6.468/6.468/6.468/0.000 ms')
2026-05-05 17:17:01,962 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-91936139 passed
2026-05-05 17:17:02,119 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-05 17:17:02,119 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-91936139, IP 141.48.9.197, Port 22
2026-05-05 17:17:02,301 - DEBUG - VM ctest-vn1-vm1-91936139 is ready for SSH connections
2026-05-05 17:17:02,301 - INFO - Waiting for VM ctest-vn1-vm2-26387797 to be up..
2026-05-05 17:17:02,403 - DEBUG - VM is in ACTIVE state now
2026-05-05 17:17:02,403 - INFO - VM name : ctest-vn1-vm2-26387797
2026-05-05 17:17:02,484 - DEBUG - VM ctest-vn1-vm2-26387797 ID is bb7f3026-30b7-4314-89ee-21d4ecfe2905
2026-05-05 17:17:02,484 - DEBUG - VM ctest-vn1-vm2-26387797 launched on Node cn-jenkins-deploy-platform-ansible-os-5746-1
2026-05-05 17:17:02,566 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bb7f3026-30b7-4314-89ee-21d4ecfe2905
2026-05-05 17:17:02,576 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f418bc7f-eb46-496f-b595-da7127fb5568
2026-05-05 17:17:03,828 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.463 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 = 0.463/1.795/3.128/1.332 ms')
2026-05-05 17:17:03,828 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-26387797 passed
2026-05-05 17:17:03,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-05 17:17:03,979 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-26387797, IP 140.121.9.5, Port 22
2026-05-05 17:17:04,135 - DEBUG - VM ctest-vn1-vm2-26387797 is ready for SSH connections
2026-05-05 17:17:04,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-05 17:17:04,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-05 17:17:04,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-05 17:17:04,135 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.48.9.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-05-05 17:17:04,135 - DEBUG - ping -s 56 -c 3 -W 1 141.48.9.197
2026-05-05 17:17:07,903 - DEBUG - PING 141.48.9.197 (141.48.9.197): 56 data bytes
64 bytes from 141.48.9.197: seq=0 ttl=63 time=5.279 ms
64 bytes from 141.48.9.197: seq=1 ttl=63 time=1.474 ms
64 bytes from 141.48.9.197: seq=2 ttl=63 time=2.228 ms
--- 141.48.9.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.474/2.993/5.279 ms
2026-05-05 17:17:07,904 - INFO - Ping to IP 141.48.9.197 from VM ctest-vn1-vm2-26387797 passed
2026-05-05 17:17:07,904 - INFO - Detaching port f418bc7f-eb46-496f-b595-da7127fb5568 from VM ctest-vn1-vm2-26387797
2026-05-05 17:17:07,960 - INFO - Deleting VM ctest-vn1-vm2-26387797
2026-05-05 17:17:08,055 - INFO - Detaching port e5ba1ef8-b4e9-4a3d-ba27-3b7aab39c1fb from VM ctest-vn1-vm1-91936139
2026-05-05 17:17:08,092 - INFO - Deleting VM ctest-vn1-vm1-91936139
2026-05-05 17:17:08,339 - DEBUG - Response for delete_port : ()
2026-05-05 17:17:08,517 - DEBUG - Response for delete_port : ()
2026-05-05 17:17:08,517 - INFO - Deleting VN ctest-vn1-82182404
2026-05-05 17:17:08,664 - DEBUG - Response for deleting network ()
2026-05-05 17:17:08,924 - DEBUG - No XMPP flaps were noticed during the test
2026-05-05 17:17:08,924 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2026-05-05 17:17:08,924 - INFO - --------------------------------------------------------------------------------
2026-05-05 17:17:09,663 - INFO - Deleted project: ctest-TestPorts-40290339, ID : 36aa4bf9-b441-4350-a44d-7056c4cc57e7