2025-09-29 18:15:55,857 - INFO - Domain Default found not creating
2025-09-29 18:15:56,003 - INFO - Project ctest-TestPorts-41442433 not found, creating it
2025-09-29 18:15:56,547 - INFO - Created Project:ctest-TestPorts-41442433, ID : 25eb5d56-76b3-4d87-89bb-31c15a18bd3d
2025-09-29 18:15:58,080 - INFO - ================================================================================
2025-09-29 18:15:58,080 - INFO - STARTING TEST : test_ports_bindings
2025-09-29 18:15:58,080 - 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-09-29 18:15:58,332 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-09-29 18:15:58,332 - INFO - Initial checks done. Running the testcase now
2025-09-29 18:15:58,332 - INFO -
2025-09-29 18:15:58,904 - DEBUG - Response for create_network : {'network': {'id': '50f98738-bc72-4970-87af-7749044e857a', 'name': 'ctest-vn-48458894', 'tenant_id': '25eb5d5676b34d8789bb31c15a18bd3d', 'project_id': '25eb5d5676b34d8789bb31c15a18bd3d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41442433', 'ctest-vn-48458894'], 'port_security_enabled': True, 'description': ''}}
2025-09-29 18:15:59,084 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a70bdc01-ce7f-4bf2-aefb-37867b7614dd', 'name': '', 'tenant_id': '25eb5d5676b34d8789bb31c15a18bd3d', 'network_id': '50f98738-bc72-4970-87af-7749044e857a', 'ip_version': 4, 'cidr': '34.117.73.128/26', 'allocation_pools': [{'start': '34.117.73.130', 'end': '34.117.73.190'}], 'gateway_ip': '34.117.73.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.117.73.130', 'tags': [], 'project_id': '25eb5d5676b34d8789bb31c15a18bd3d'}}
2025-09-29 18:15:59,102 - INFO - Created VN ctest-vn-48458894
2025-09-29 18:15:59,155 - DEBUG - VN ctest-vn-48458894 UUID is 50f98738-bc72-4970-87af-7749044e857a
2025-09-29 18:15:59,262 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-41442433', 'ctest-vmi-79799842']}
2025-09-29 18:15:59,485 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-79799842', 'id': 'a48c2465-dff1-4ce9-b367-28b7f2a48569', 'tenant_id': '25eb5d5676b34d8789bb31c15a18bd3d', 'network_id': '50f98738-bc72-4970-87af-7749044e857a', 'mac_address': '02:a4:8c:24:65:df', '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': '34.117.73.131', 'subnet_id': 'a70bdc01-ce7f-4bf2-aefb-37867b7614dd'}], 'security_groups': ['af01382c-e810-4649-b272-94ece484fd8d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '25eb5d5676b34d8789bb31c15a18bd3d'}}
2025-09-29 18:15:59,485 - DEBUG - Created port a48c2465-dff1-4ce9-b367-28b7f2a48569
2025-09-29 18:15:59,591 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a48c2465-dff1-4ce9-b367-28b7f2a48569
2025-09-29 18:15:59,923 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a48c2465-dff1-4ce9-b367-28b7f2a48569
2025-09-29 18:15:59,956 - INFO - VMI a48c2465-dff1-4ce9-b367-28b7f2a48569 verification in API Server passed
2025-09-29 18:16:00,042 - DEBUG - Response for delete_port : ()
2025-09-29 18:16:00,042 - INFO - Deleted port a48c2465-dff1-4ce9-b367-28b7f2a48569
2025-09-29 18:16:00,043 - INFO - Deleting VN ctest-vn-48458894
2025-09-29 18:16:00,135 - DEBUG - Response for deleting network ()
2025-09-29 18:16:00,388 - DEBUG - No XMPP flaps were noticed during the test
2025-09-29 18:16:00,388 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-29 18:16:00,389 - INFO - --------------------------------------------------------------------------------
2025-09-29 18:16:00,391 - INFO - ================================================================================
2025-09-29 18:16:00,391 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-29 18:16:00,391 - 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-09-29 18:16:00,676 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-09-29 18:16:00,676 - INFO - Initial checks done. Running the testcase now
2025-09-29 18:16:00,676 - INFO -
2025-09-29 18:16:00,863 - DEBUG - Response for create_network : {'network': {'id': 'd404af8f-3646-429a-afe5-182ec6790e1b', 'name': 'ctest-vn1-21571002', 'tenant_id': '25eb5d5676b34d8789bb31c15a18bd3d', 'project_id': '25eb5d5676b34d8789bb31c15a18bd3d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41442433', 'ctest-vn1-21571002'], 'port_security_enabled': True, 'description': ''}}
2025-09-29 18:16:01,045 - DEBUG - Response for create_subnet : {'subnet': {'id': '0dc3e675-5a2e-4a29-adbb-f43a5ff6fa0b', 'name': '', 'tenant_id': '25eb5d5676b34d8789bb31c15a18bd3d', 'network_id': 'd404af8f-3646-429a-afe5-182ec6790e1b', 'ip_version': 4, 'cidr': '19.150.176.192/26', 'allocation_pools': [{'start': '19.150.176.194', 'end': '19.150.176.254'}], 'gateway_ip': '19.150.176.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.150.176.194', 'tags': [], 'project_id': '25eb5d5676b34d8789bb31c15a18bd3d'}}
2025-09-29 18:16:01,215 - DEBUG - Response for create_subnet : {'subnet': {'id': '17e93d14-5e38-488b-8219-eed8348de49d', 'name': '', 'tenant_id': '25eb5d5676b34d8789bb31c15a18bd3d', 'network_id': 'd404af8f-3646-429a-afe5-182ec6790e1b', 'ip_version': 4, 'cidr': '92.101.20.64/26', 'allocation_pools': [{'start': '92.101.20.66', 'end': '92.101.20.126'}], 'gateway_ip': '92.101.20.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.101.20.66', 'tags': [], 'project_id': '25eb5d5676b34d8789bb31c15a18bd3d'}}
2025-09-29 18:16:01,236 - INFO - Created VN ctest-vn1-21571002
2025-09-29 18:16:01,295 - DEBUG - VN ctest-vn1-21571002 UUID is d404af8f-3646-429a-afe5-182ec6790e1b
2025-09-29 18:16:01,582 - DEBUG - Response for create_port : {'port': {'name': '812d5965-ea48-440b-ae9f-3472e9773678', 'id': '812d5965-ea48-440b-ae9f-3472e9773678', 'tenant_id': '25eb5d5676b34d8789bb31c15a18bd3d', 'network_id': 'd404af8f-3646-429a-afe5-182ec6790e1b', 'mac_address': '02:81:2d:59:65:ea', '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': '19.150.176.197', 'subnet_id': '0dc3e675-5a2e-4a29-adbb-f43a5ff6fa0b'}], 'security_groups': ['af01382c-e810-4649-b272-94ece484fd8d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '25eb5d5676b34d8789bb31c15a18bd3d'}}
2025-09-29 18:16:01,750 - DEBUG - Response for create_port : {'port': {'name': '6e531855-00c5-4bab-995e-ebbeca7de9f3', 'id': '6e531855-00c5-4bab-995e-ebbeca7de9f3', 'tenant_id': '25eb5d5676b34d8789bb31c15a18bd3d', 'network_id': 'd404af8f-3646-429a-afe5-182ec6790e1b', 'mac_address': '02:6e:53:18:55:00', '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': '92.101.20.69', 'subnet_id': '17e93d14-5e38-488b-8219-eed8348de49d'}], 'security_groups': ['af01382c-e810-4649-b272-94ece484fd8d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '25eb5d5676b34d8789bb31c15a18bd3d'}}
2025-09-29 18:16:01,805 - DEBUG - Services list from nova: [, , ]
2025-09-29 18:16:02,154 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4205-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4205-1)
2025-09-29 18:16:02,546 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4205-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4205-1)
2025-09-29 18:16:02,546 - INFO - Waiting for VM ctest-vn1-vm1-22056987 to be up..
2025-09-29 18:16:02,587 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-29 18:16:07,660 - DEBUG - VM is in ACTIVE state now
2025-09-29 18:16:07,660 - INFO - VM name : ctest-vn1-vm1-22056987
2025-09-29 18:16:07,728 - DEBUG - VM ctest-vn1-vm1-22056987 ID is 3e902718-79af-4633-a4d2-47e4a2bfcf22
2025-09-29 18:16:07,747 - DEBUG - VM ctest-vn1-vm1-22056987 launched on Node cn-jenkins-deploy-platform-ansible-os-4205-1
2025-09-29 18:16:07,819 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3e902718-79af-4633-a4d2-47e4a2bfcf22
2025-09-29 18:16:07,827 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/812d5965-ea48-440b-ae9f-3472e9773678
2025-09-29 18:16:11,084 - 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 1018ms')
2025-09-29 18:16:11,084 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22056987 failed!
2025-09-29 18:16:11,139 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41442433:ctest-vn1-21571002 is 19.150.176.193 and allocation pool is NOT set
2025-09-29 18:16:11,139 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41442433:ctest-vn1-21571002 is 92.101.20.65 and allocation pool is NOT set
2025-09-29 18:16:15,205 - 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=8.05 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 = 8.049/8.049/8.049/0.000 ms')
2025-09-29 18:16:15,205 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22056987 passed
2025-09-29 18:16:15,356 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-29 18:16:15,356 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-22056987, IP 19.150.176.197, Port 22
2025-09-29 18:16:15,515 - DEBUG - VM ctest-vn1-vm1-22056987 is ready for SSH connections
2025-09-29 18:16:15,515 - INFO - Waiting for VM ctest-vn1-vm2-18811843 to be up..
2025-09-29 18:16:15,590 - DEBUG - VM is in ACTIVE state now
2025-09-29 18:16:15,590 - INFO - VM name : ctest-vn1-vm2-18811843
2025-09-29 18:16:15,656 - DEBUG - VM ctest-vn1-vm2-18811843 ID is bbfebe72-2181-45f7-9916-dc9d3c058e8a
2025-09-29 18:16:15,656 - DEBUG - VM ctest-vn1-vm2-18811843 launched on Node cn-jenkins-deploy-platform-ansible-os-4205-1
2025-09-29 18:16:15,723 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bbfebe72-2181-45f7-9916-dc9d3c058e8a
2025-09-29 18:16:15,731 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6e531855-00c5-4bab-995e-ebbeca7de9f3
2025-09-29 18:16:16,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=1 ttl=63 time=3.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.481 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.481/1.802/3.124/1.321 ms')
2025-09-29 18:16:16,962 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-18811843 passed
2025-09-29 18:16:17,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-29 18:16:17,112 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-18811843, IP 92.101.20.69, Port 22
2025-09-29 18:16:17,267 - DEBUG - VM ctest-vn1-vm2-18811843 is ready for SSH connections
2025-09-29 18:16:17,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-29 18:16:17,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-29 18:16:17,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-29 18:16:17,267 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.150.176.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-29 18:16:17,267 - DEBUG - ping -s 56 -c 3 -W 1 19.150.176.197
2025-09-29 18:16:19,952 - DEBUG - PING 19.150.176.197 (19.150.176.197): 56 data bytes
64 bytes from 19.150.176.197: seq=0 ttl=63 time=3.939 ms
64 bytes from 19.150.176.197: seq=1 ttl=63 time=0.886 ms
64 bytes from 19.150.176.197: seq=2 ttl=63 time=0.867 ms
--- 19.150.176.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.867/1.897/3.939 ms
2025-09-29 18:16:19,952 - INFO - Ping to IP 19.150.176.197 from VM ctest-vn1-vm2-18811843 passed
2025-09-29 18:16:19,952 - INFO - Detaching port 6e531855-00c5-4bab-995e-ebbeca7de9f3 from VM ctest-vn1-vm2-18811843
2025-09-29 18:16:20,005 - INFO - Deleting VM ctest-vn1-vm2-18811843
2025-09-29 18:16:20,081 - INFO - Detaching port 812d5965-ea48-440b-ae9f-3472e9773678 from VM ctest-vn1-vm1-22056987
2025-09-29 18:16:20,120 - INFO - Deleting VM ctest-vn1-vm1-22056987
2025-09-29 18:16:20,373 - DEBUG - Response for delete_port : ()
2025-09-29 18:16:20,561 - DEBUG - Response for delete_port : ()
2025-09-29 18:16:20,561 - INFO - Deleting VN ctest-vn1-21571002
2025-09-29 18:16:20,715 - DEBUG - Response for deleting network ()
2025-09-29 18:16:20,970 - DEBUG - No XMPP flaps were noticed during the test
2025-09-29 18:16:20,970 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-09-29 18:16:20,970 - INFO - --------------------------------------------------------------------------------
2025-09-29 18:16:21,745 - INFO - Deleted project: ctest-TestPorts-41442433, ID : 25eb5d56-76b3-4d87-89bb-31c15a18bd3d