2025-11-18 03:35:07,185 - INFO - Domain Default found not creating
2025-11-18 03:35:07,363 - INFO - Project ctest-TestPorts-08789776 not found, creating it
2025-11-18 03:35:07,825 - INFO - Created Project:ctest-TestPorts-08789776, ID : fdea13cf-7cad-41a5-8e9e-8bd606241812
2025-11-18 03:35:09,305 - INFO - ================================================================================
2025-11-18 03:35:09,305 - INFO - STARTING TEST : test_ports_bindings
2025-11-18 03:35:09,305 - 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-18 03:35:09,561 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-11-18 03:35:09,561 - INFO - Initial checks done. Running the testcase now
2025-11-18 03:35:09,561 - INFO -
2025-11-18 03:35:10,142 - DEBUG - Response for create_network : {'network': {'id': '72ddeca6-96d9-4a8b-b7c1-5e3551bae7e5', 'name': 'ctest-vn-63040931', 'tenant_id': 'fdea13cf7cad41a58e9e8bd606241812', 'project_id': 'fdea13cf7cad41a58e9e8bd606241812', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08789776', 'ctest-vn-63040931'], 'port_security_enabled': True, 'description': ''}}
2025-11-18 03:35:10,323 - DEBUG - Response for create_subnet : {'subnet': {'id': '953f87b1-a6a9-4676-aa44-7d4da9e1957a', 'name': '', 'tenant_id': 'fdea13cf7cad41a58e9e8bd606241812', 'network_id': '72ddeca6-96d9-4a8b-b7c1-5e3551bae7e5', 'ip_version': 4, 'cidr': '193.236.28.128/26', 'allocation_pools': [{'start': '193.236.28.130', 'end': '193.236.28.190'}], 'gateway_ip': '193.236.28.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.236.28.130', 'tags': [], 'project_id': 'fdea13cf7cad41a58e9e8bd606241812'}}
2025-11-18 03:35:10,343 - INFO - Created VN ctest-vn-63040931
2025-11-18 03:35:10,396 - DEBUG - VN ctest-vn-63040931 UUID is 72ddeca6-96d9-4a8b-b7c1-5e3551bae7e5
2025-11-18 03:35:10,503 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-08789776', 'ctest-vmi-41019722']}
2025-11-18 03:35:10,736 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-41019722', 'id': '5a646bbe-b365-445a-81ff-d1e7b403a5c9', 'tenant_id': 'fdea13cf7cad41a58e9e8bd606241812', 'network_id': '72ddeca6-96d9-4a8b-b7c1-5e3551bae7e5', 'mac_address': '02:5a:64:6b:be:b3', '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': '193.236.28.131', 'subnet_id': '953f87b1-a6a9-4676-aa44-7d4da9e1957a'}], 'security_groups': ['57a7b5b4-d9eb-45dd-ad70-e0db70572238'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fdea13cf7cad41a58e9e8bd606241812'}}
2025-11-18 03:35:10,736 - DEBUG - Created port 5a646bbe-b365-445a-81ff-d1e7b403a5c9
2025-11-18 03:35:10,840 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5a646bbe-b365-445a-81ff-d1e7b403a5c9
2025-11-18 03:35:11,135 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5a646bbe-b365-445a-81ff-d1e7b403a5c9
2025-11-18 03:35:11,173 - INFO - VMI 5a646bbe-b365-445a-81ff-d1e7b403a5c9 verification in API Server passed
2025-11-18 03:35:11,267 - DEBUG - Response for delete_port : ()
2025-11-18 03:35:11,268 - INFO - Deleted port 5a646bbe-b365-445a-81ff-d1e7b403a5c9
2025-11-18 03:35:11,268 - INFO - Deleting VN ctest-vn-63040931
2025-11-18 03:35:11,362 - DEBUG - Response for deleting network ()
2025-11-18 03:35:11,616 - DEBUG - No XMPP flaps were noticed during the test
2025-11-18 03:35:11,617 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-18 03:35:11,617 - INFO - --------------------------------------------------------------------------------
2025-11-18 03:35:11,619 - INFO - ================================================================================
2025-11-18 03:35:11,619 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-18 03:35:11,619 - 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-18 03:35:11,904 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-11-18 03:35:11,905 - INFO - Initial checks done. Running the testcase now
2025-11-18 03:35:11,905 - INFO -
2025-11-18 03:35:12,081 - DEBUG - Response for create_network : {'network': {'id': 'a1711592-f612-4a7a-a0b1-630323d2b879', 'name': 'ctest-vn1-72514210', 'tenant_id': 'fdea13cf7cad41a58e9e8bd606241812', 'project_id': 'fdea13cf7cad41a58e9e8bd606241812', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08789776', 'ctest-vn1-72514210'], 'port_security_enabled': True, 'description': ''}}
2025-11-18 03:35:12,287 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a32e0230-e415-4a2c-a6eb-dea86fb67ae7', 'name': '', 'tenant_id': 'fdea13cf7cad41a58e9e8bd606241812', 'network_id': 'a1711592-f612-4a7a-a0b1-630323d2b879', 'ip_version': 4, 'cidr': '20.83.237.0/26', 'allocation_pools': [{'start': '20.83.237.2', 'end': '20.83.237.62'}], 'gateway_ip': '20.83.237.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.83.237.2', 'tags': [], 'project_id': 'fdea13cf7cad41a58e9e8bd606241812'}}
2025-11-18 03:35:12,495 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e962dcfc-6213-4175-8419-dc4a39a507ed', 'name': '', 'tenant_id': 'fdea13cf7cad41a58e9e8bd606241812', 'network_id': 'a1711592-f612-4a7a-a0b1-630323d2b879', 'ip_version': 4, 'cidr': '160.66.135.192/26', 'allocation_pools': [{'start': '160.66.135.194', 'end': '160.66.135.254'}], 'gateway_ip': '160.66.135.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.66.135.194', 'tags': [], 'project_id': 'fdea13cf7cad41a58e9e8bd606241812'}}
2025-11-18 03:35:12,516 - INFO - Created VN ctest-vn1-72514210
2025-11-18 03:35:12,568 - DEBUG - VN ctest-vn1-72514210 UUID is a1711592-f612-4a7a-a0b1-630323d2b879
2025-11-18 03:35:12,884 - DEBUG - Response for create_port : {'port': {'name': '8d53bb71-7dfb-4c2e-b036-78c03a481ed4', 'id': '8d53bb71-7dfb-4c2e-b036-78c03a481ed4', 'tenant_id': 'fdea13cf7cad41a58e9e8bd606241812', 'network_id': 'a1711592-f612-4a7a-a0b1-630323d2b879', 'mac_address': '02:8d:53:bb:71:7d', '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': '20.83.237.5', 'subnet_id': 'a32e0230-e415-4a2c-a6eb-dea86fb67ae7'}], 'security_groups': ['57a7b5b4-d9eb-45dd-ad70-e0db70572238'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fdea13cf7cad41a58e9e8bd606241812'}}
2025-11-18 03:35:13,052 - DEBUG - Response for create_port : {'port': {'name': '888267ae-56f9-4c4d-9600-0fcdbef9cee3', 'id': '888267ae-56f9-4c4d-9600-0fcdbef9cee3', 'tenant_id': 'fdea13cf7cad41a58e9e8bd606241812', 'network_id': 'a1711592-f612-4a7a-a0b1-630323d2b879', 'mac_address': '02:88:82:67:ae:56', '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': '160.66.135.197', 'subnet_id': 'e962dcfc-6213-4175-8419-dc4a39a507ed'}], 'security_groups': ['57a7b5b4-d9eb-45dd-ad70-e0db70572238'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fdea13cf7cad41a58e9e8bd606241812'}}
2025-11-18 03:35:13,109 - DEBUG - Services list from nova: [, , ]
2025-11-18 03:35:13,449 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4752-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4752-1)
2025-11-18 03:35:13,854 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4752-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4752-1)
2025-11-18 03:35:13,854 - INFO - Waiting for VM ctest-vn1-vm1-42684580 to be up..
2025-11-18 03:35:13,894 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-18 03:35:18,967 - DEBUG - VM is in ACTIVE state now
2025-11-18 03:35:18,967 - INFO - VM name : ctest-vn1-vm1-42684580
2025-11-18 03:35:19,038 - DEBUG - VM ctest-vn1-vm1-42684580 ID is 2dde2a7e-824f-4fc1-8173-9f2ce47b35ba
2025-11-18 03:35:19,056 - DEBUG - VM ctest-vn1-vm1-42684580 launched on Node cn-jenkins-deploy-platform-ansible-os-4752-1
2025-11-18 03:35:19,125 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2dde2a7e-824f-4fc1-8173-9f2ce47b35ba
2025-11-18 03:35:19,132 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8d53bb71-7dfb-4c2e-b036-78c03a481ed4
2025-11-18 03:35:22,394 - 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 1023ms')
2025-11-18 03:35:22,394 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-42684580 failed!
2025-11-18 03:35:22,448 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08789776:ctest-vn1-72514210 is 20.83.237.1 and allocation pool is NOT set
2025-11-18 03:35:22,448 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08789776:ctest-vn1-72514210 is 160.66.135.193 and allocation pool is NOT set
2025-11-18 03:35:24,513 - 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=5.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.75 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.751/4.248/5.745/1.497 ms')
2025-11-18 03:35:24,513 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-42684580 passed
2025-11-18 03:35:24,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-18 03:35:24,664 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-42684580, IP 20.83.237.5, Port 22
2025-11-18 03:35:24,827 - DEBUG - VM ctest-vn1-vm1-42684580 is ready for SSH connections
2025-11-18 03:35:24,827 - INFO - Waiting for VM ctest-vn1-vm2-20437787 to be up..
2025-11-18 03:35:24,906 - DEBUG - VM is in ACTIVE state now
2025-11-18 03:35:24,906 - INFO - VM name : ctest-vn1-vm2-20437787
2025-11-18 03:35:24,980 - DEBUG - VM ctest-vn1-vm2-20437787 ID is bd799290-a932-4b12-bc09-48a504d174e8
2025-11-18 03:35:24,980 - DEBUG - VM ctest-vn1-vm2-20437787 launched on Node cn-jenkins-deploy-platform-ansible-os-4752-1
2025-11-18 03:35:25,056 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bd799290-a932-4b12-bc09-48a504d174e8
2025-11-18 03:35:25,066 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/888267ae-56f9-4c4d-9600-0fcdbef9cee3
2025-11-18 03:35:26,317 - 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=2.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.659 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.659/1.620/2.582/0.961 ms')
2025-11-18 03:35:26,317 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-20437787 passed
2025-11-18 03:35:26,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-18 03:35:26,464 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-20437787, IP 160.66.135.197, Port 22
2025-11-18 03:35:26,627 - DEBUG - VM ctest-vn1-vm2-20437787 is ready for SSH connections
2025-11-18 03:35:26,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-18 03:35:26,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-18 03:35:26,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-18 03:35:26,627 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.83.237.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-11-18 03:35:26,627 - DEBUG - ping -s 56 -c 3 -W 1 20.83.237.5
2025-11-18 03:35:30,342 - DEBUG - PING 20.83.237.5 (20.83.237.5): 56 data bytes
64 bytes from 20.83.237.5: seq=0 ttl=63 time=3.663 ms
64 bytes from 20.83.237.5: seq=1 ttl=63 time=1.059 ms
64 bytes from 20.83.237.5: seq=2 ttl=63 time=1.389 ms
--- 20.83.237.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.059/2.037/3.663 ms
2025-11-18 03:35:30,342 - INFO - Ping to IP 20.83.237.5 from VM ctest-vn1-vm2-20437787 passed
2025-11-18 03:35:30,342 - INFO - Detaching port 888267ae-56f9-4c4d-9600-0fcdbef9cee3 from VM ctest-vn1-vm2-20437787
2025-11-18 03:35:30,392 - INFO - Deleting VM ctest-vn1-vm2-20437787
2025-11-18 03:35:30,457 - INFO - Detaching port 8d53bb71-7dfb-4c2e-b036-78c03a481ed4 from VM ctest-vn1-vm1-42684580
2025-11-18 03:35:30,492 - INFO - Deleting VM ctest-vn1-vm1-42684580
2025-11-18 03:35:30,730 - DEBUG - Response for delete_port : ()
2025-11-18 03:35:30,890 - DEBUG - Response for delete_port : ()
2025-11-18 03:35:30,890 - INFO - Deleting VN ctest-vn1-72514210
2025-11-18 03:35:31,057 - DEBUG - Response for deleting network ()
2025-11-18 03:35:31,316 - DEBUG - No XMPP flaps were noticed during the test
2025-11-18 03:35:31,317 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-11-18 03:35:31,317 - INFO - --------------------------------------------------------------------------------
2025-11-18 03:35:32,008 - INFO - Deleted project: ctest-TestPorts-08789776, ID : fdea13cf-7cad-41a5-8e9e-8bd606241812