2025-11-12 09:10:31,370 - INFO - Domain Default found not creating
2025-11-12 09:10:31,516 - INFO - Project ctest-TestPorts-99598987 not found, creating it
2025-11-12 09:10:31,978 - INFO - Created Project:ctest-TestPorts-99598987, ID : 0d8b310d-cccf-4fa1-badd-09d7dc9c6442
2025-11-12 09:10:33,520 - INFO - ================================================================================
2025-11-12 09:10:33,520 - INFO - STARTING TEST : test_ports_bindings
2025-11-12 09:10:33,520 - 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
2025-11-12 09:10:33,775 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with
2025-11-12 09:10:33,775 - INFO - Initial checks done. Running the testcase now
2025-11-12 09:10:33,775 - INFO -
2025-11-12 09:10:34,357 - DEBUG - Response for create_network : {'network': {'id': '423337a0-a5fb-4ba5-b326-dd792033f20d', 'name': 'ctest-vn-19080966', 'tenant_id': '0d8b310dcccf4fa1badd09d7dc9c6442', 'project_id': '0d8b310dcccf4fa1badd09d7dc9c6442', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99598987', 'ctest-vn-19080966'], 'port_security_enabled': True, 'description': ''}}
2025-11-12 09:10:34,541 - DEBUG - Response for create_subnet : {'subnet': {'id': '4de8c300-5e4b-4d84-99d8-f809e1021d03', 'name': '', 'tenant_id': '0d8b310dcccf4fa1badd09d7dc9c6442', 'network_id': '423337a0-a5fb-4ba5-b326-dd792033f20d', 'ip_version': 4, 'cidr': '123.204.115.192/26', 'allocation_pools': [{'start': '123.204.115.194', 'end': '123.204.115.254'}], 'gateway_ip': '123.204.115.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.204.115.194', 'tags': [], 'project_id': '0d8b310dcccf4fa1badd09d7dc9c6442'}}
2025-11-12 09:10:34,557 - INFO - Created VN ctest-vn-19080966
2025-11-12 09:10:34,608 - DEBUG - VN ctest-vn-19080966 UUID is 423337a0-a5fb-4ba5-b326-dd792033f20d
2025-11-12 09:10:34,717 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-99598987', 'ctest-vmi-91070995']}
2025-11-12 09:10:34,989 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-91070995', 'id': '89569408-05dc-4d57-ab59-a6a3491c3129', 'tenant_id': '0d8b310dcccf4fa1badd09d7dc9c6442', 'network_id': '423337a0-a5fb-4ba5-b326-dd792033f20d', 'mac_address': '02:89:56:94:08:05', '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': '123.204.115.195', 'subnet_id': '4de8c300-5e4b-4d84-99d8-f809e1021d03'}], 'security_groups': ['85a76d91-620d-4b0c-9242-562fa581be93'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0d8b310dcccf4fa1badd09d7dc9c6442'}}
2025-11-12 09:10:34,989 - DEBUG - Created port 89569408-05dc-4d57-ab59-a6a3491c3129
2025-11-12 09:10:35,092 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/89569408-05dc-4d57-ab59-a6a3491c3129
2025-11-12 09:10:35,431 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/89569408-05dc-4d57-ab59-a6a3491c3129
2025-11-12 09:10:35,465 - INFO - VMI 89569408-05dc-4d57-ab59-a6a3491c3129 verification in API Server passed
2025-11-12 09:10:35,554 - DEBUG - Response for delete_port : ()
2025-11-12 09:10:35,555 - INFO - Deleted port 89569408-05dc-4d57-ab59-a6a3491c3129
2025-11-12 09:10:35,555 - INFO - Deleting VN ctest-vn-19080966
2025-11-12 09:10:35,666 - DEBUG - Response for deleting network ()
2025-11-12 09:10:35,930 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 09:10:35,930 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-12 09:10:35,930 - INFO - --------------------------------------------------------------------------------
2025-11-12 09:10:35,933 - INFO - ================================================================================
2025-11-12 09:10:35,933 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-12 09:10:35,933 - 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
2025-11-12 09:10:36,219 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with
2025-11-12 09:10:36,219 - INFO - Initial checks done. Running the testcase now
2025-11-12 09:10:36,219 - INFO -
2025-11-12 09:10:36,394 - DEBUG - Response for create_network : {'network': {'id': '9b662b63-80a5-4547-b0e8-7ee30a9946b1', 'name': 'ctest-vn1-36365214', 'tenant_id': '0d8b310dcccf4fa1badd09d7dc9c6442', 'project_id': '0d8b310dcccf4fa1badd09d7dc9c6442', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99598987', 'ctest-vn1-36365214'], 'port_security_enabled': True, 'description': ''}}
2025-11-12 09:10:36,565 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1d4d971-45b9-4076-aae6-15722f2a33d2', 'name': '', 'tenant_id': '0d8b310dcccf4fa1badd09d7dc9c6442', 'network_id': '9b662b63-80a5-4547-b0e8-7ee30a9946b1', 'ip_version': 4, 'cidr': '193.229.33.128/26', 'allocation_pools': [{'start': '193.229.33.130', 'end': '193.229.33.190'}], 'gateway_ip': '193.229.33.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.229.33.130', 'tags': [], 'project_id': '0d8b310dcccf4fa1badd09d7dc9c6442'}}
2025-11-12 09:10:36,740 - DEBUG - Response for create_subnet : {'subnet': {'id': '13c8b1b6-a49d-425d-8194-87f032936c94', 'name': '', 'tenant_id': '0d8b310dcccf4fa1badd09d7dc9c6442', 'network_id': '9b662b63-80a5-4547-b0e8-7ee30a9946b1', 'ip_version': 4, 'cidr': '175.68.15.0/26', 'allocation_pools': [{'start': '175.68.15.2', 'end': '175.68.15.62'}], 'gateway_ip': '175.68.15.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.68.15.2', 'tags': [], 'project_id': '0d8b310dcccf4fa1badd09d7dc9c6442'}}
2025-11-12 09:10:36,758 - INFO - Created VN ctest-vn1-36365214
2025-11-12 09:10:36,812 - DEBUG - VN ctest-vn1-36365214 UUID is 9b662b63-80a5-4547-b0e8-7ee30a9946b1
2025-11-12 09:10:37,114 - DEBUG - Response for create_port : {'port': {'name': '69a68684-bc12-4981-b1a9-aca8731addf9', 'id': '69a68684-bc12-4981-b1a9-aca8731addf9', 'tenant_id': '0d8b310dcccf4fa1badd09d7dc9c6442', 'network_id': '9b662b63-80a5-4547-b0e8-7ee30a9946b1', 'mac_address': '02:69:a6:86:84:bc', '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': '193.229.33.133', 'subnet_id': 'c1d4d971-45b9-4076-aae6-15722f2a33d2'}], 'security_groups': ['85a76d91-620d-4b0c-9242-562fa581be93'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0d8b310dcccf4fa1badd09d7dc9c6442'}}
2025-11-12 09:10:37,287 - DEBUG - Response for create_port : {'port': {'name': '28cea5b4-a35b-43dd-8b4d-a45d660a1e89', 'id': '28cea5b4-a35b-43dd-8b4d-a45d660a1e89', 'tenant_id': '0d8b310dcccf4fa1badd09d7dc9c6442', 'network_id': '9b662b63-80a5-4547-b0e8-7ee30a9946b1', 'mac_address': '02:28:ce:a5:b4:a3', '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': '175.68.15.5', 'subnet_id': '13c8b1b6-a49d-425d-8194-87f032936c94'}], 'security_groups': ['85a76d91-620d-4b0c-9242-562fa581be93'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0d8b310dcccf4fa1badd09d7dc9c6442'}}
2025-11-12 09:10:37,345 - DEBUG - Services list from nova: [, , ]
2025-11-12 09:10:37,680 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4703-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4703-1)
2025-11-12 09:10:38,092 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4703-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4703-1)
2025-11-12 09:10:38,092 - INFO - Waiting for VM ctest-vn1-vm1-00800059 to be up..
2025-11-12 09:10:38,132 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-12 09:10:43,206 - DEBUG - VM is in ACTIVE state now
2025-11-12 09:10:43,206 - INFO - VM name : ctest-vn1-vm1-00800059
2025-11-12 09:10:43,276 - DEBUG - VM ctest-vn1-vm1-00800059 ID is 312ae49b-e33e-4313-9d1a-101e36a3a42e
2025-11-12 09:10:43,296 - DEBUG - VM ctest-vn1-vm1-00800059 launched on Node cn-jenkins-deploy-platform-ansible-os-4703-1
2025-11-12 09:10:43,374 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/312ae49b-e33e-4313-9d1a-101e36a3a42e
2025-11-12 09:10:43,382 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/69a68684-bc12-4981-b1a9-aca8731addf9
2025-11-12 09:10:46,634 - 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 1015ms')
2025-11-12 09:10:46,635 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00800059 failed!
2025-11-12 09:10:46,692 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99598987:ctest-vn1-36365214 is 193.229.33.129 and allocation pool is NOT set
2025-11-12 09:10:46,692 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99598987:ctest-vn1-36365214 is 175.68.15.1 and allocation pool is NOT set
2025-11-12 09:10:50,764 - 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=2 ttl=63 time=9.08 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 9.077/9.077/9.077/0.000 ms')
2025-11-12 09:10:50,764 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00800059 passed
2025-11-12 09:10:50,916 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 09:10:50,916 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-00800059, IP 193.229.33.133, Port 22
2025-11-12 09:10:51,071 - DEBUG - VM ctest-vn1-vm1-00800059 is ready for SSH connections
2025-11-12 09:10:51,072 - INFO - Waiting for VM ctest-vn1-vm2-27579456 to be up..
2025-11-12 09:10:51,145 - DEBUG - VM is in ACTIVE state now
2025-11-12 09:10:51,145 - INFO - VM name : ctest-vn1-vm2-27579456
2025-11-12 09:10:51,213 - DEBUG - VM ctest-vn1-vm2-27579456 ID is a9a17e37-2e1b-4d98-af90-1fd22926b78e
2025-11-12 09:10:51,214 - DEBUG - VM ctest-vn1-vm2-27579456 launched on Node cn-jenkins-deploy-platform-ansible-os-4703-1
2025-11-12 09:10:51,285 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a9a17e37-2e1b-4d98-af90-1fd22926b78e
2025-11-12 09:10:51,293 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/28cea5b4-a35b-43dd-8b4d-a45d660a1e89
2025-11-12 09:10:52,528 - 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.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.511 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.511/1.771/3.031/1.260 ms')
2025-11-12 09:10:52,528 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-27579456 passed
2025-11-12 09:10:52,676 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 09:10:52,676 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-27579456, IP 175.68.15.5, Port 22
2025-11-12 09:10:52,836 - DEBUG - VM ctest-vn1-vm2-27579456 is ready for SSH connections
2025-11-12 09:10:52,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 09:10:52,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 09:10:52,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 09:10:52,836 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.229.33.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-11-12 09:10:52,836 - DEBUG - ping -s 56 -c 3 -W 1 193.229.33.133
2025-11-12 09:10:55,893 - DEBUG - PING 193.229.33.133 (193.229.33.133): 56 data bytes
64 bytes from 193.229.33.133: seq=0 ttl=63 time=3.782 ms
64 bytes from 193.229.33.133: seq=1 ttl=63 time=0.779 ms
64 bytes from 193.229.33.133: seq=2 ttl=63 time=0.869 ms
--- 193.229.33.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.779/1.810/3.782 ms
2025-11-12 09:10:55,893 - INFO - Ping to IP 193.229.33.133 from VM ctest-vn1-vm2-27579456 passed
2025-11-12 09:10:55,893 - INFO - Detaching port 28cea5b4-a35b-43dd-8b4d-a45d660a1e89 from VM ctest-vn1-vm2-27579456
2025-11-12 09:10:55,943 - INFO - Deleting VM ctest-vn1-vm2-27579456
2025-11-12 09:10:56,023 - INFO - Detaching port 69a68684-bc12-4981-b1a9-aca8731addf9 from VM ctest-vn1-vm1-00800059
2025-11-12 09:10:56,064 - INFO - Deleting VM ctest-vn1-vm1-00800059
2025-11-12 09:10:56,312 - DEBUG - Response for delete_port : ()
2025-11-12 09:10:56,492 - DEBUG - Response for delete_port : ()
2025-11-12 09:10:56,492 - INFO - Deleting VN ctest-vn1-36365214
2025-11-12 09:10:56,679 - DEBUG - Response for deleting network ()
2025-11-12 09:10:56,942 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 09:10:56,942 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-11-12 09:10:56,942 - INFO - --------------------------------------------------------------------------------
2025-11-12 09:10:57,724 - INFO - Deleted project: ctest-TestPorts-99598987, ID : 0d8b310d-cccf-4fa1-badd-09d7dc9c6442