2026-01-26 02:07:35,679 - INFO - Domain Default found not creating
2026-01-26 02:07:35,871 - INFO - Project ctest-TestPorts-01348675 not found, creating it
2026-01-26 02:07:36,364 - INFO - Created Project:ctest-TestPorts-01348675, ID : 5d616b74-2c42-441b-a31d-00366d8149a5
2026-01-26 02:07:38,050 - INFO - ================================================================================
2026-01-26 02:07:38,051 - INFO - STARTING TEST : test_ports_bindings
2026-01-26 02:07:38,051 - 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-01-26 02:07:38,324 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with
2026-01-26 02:07:38,324 - INFO - Initial checks done. Running the testcase now
2026-01-26 02:07:38,324 - INFO -
2026-01-26 02:07:38,947 - DEBUG - Response for create_network : {'network': {'id': 'ba838329-571f-47a7-9cd3-95f63d03c7f0', 'name': 'ctest-vn-97523140', 'tenant_id': '5d616b742c42441ba31d00366d8149a5', 'project_id': '5d616b742c42441ba31d00366d8149a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-01348675', 'ctest-vn-97523140'], 'port_security_enabled': True, 'description': ''}}
2026-01-26 02:07:39,165 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e922cb6c-7b63-4ee1-a849-832f77dfafb2', 'name': '', 'tenant_id': '5d616b742c42441ba31d00366d8149a5', 'network_id': 'ba838329-571f-47a7-9cd3-95f63d03c7f0', 'ip_version': 4, 'cidr': '179.83.167.128/26', 'allocation_pools': [{'start': '179.83.167.130', 'end': '179.83.167.190'}], 'gateway_ip': '179.83.167.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.83.167.130', 'tags': [], 'project_id': '5d616b742c42441ba31d00366d8149a5'}}
2026-01-26 02:07:39,192 - INFO - Created VN ctest-vn-97523140
2026-01-26 02:07:39,247 - DEBUG - VN ctest-vn-97523140 UUID is ba838329-571f-47a7-9cd3-95f63d03c7f0
2026-01-26 02:07:39,362 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-01348675', 'ctest-vmi-59374199']}
2026-01-26 02:07:39,604 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-59374199', 'id': '60461ba2-64ae-4a7c-afac-9c1cee4d21e1', 'tenant_id': '5d616b742c42441ba31d00366d8149a5', 'network_id': 'ba838329-571f-47a7-9cd3-95f63d03c7f0', 'mac_address': '02:60:46:1b:a2:64', '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': '179.83.167.131', 'subnet_id': 'e922cb6c-7b63-4ee1-a849-832f77dfafb2'}], 'security_groups': ['d771533f-49da-4d14-8f51-95e6b3663665'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5d616b742c42441ba31d00366d8149a5'}}
2026-01-26 02:07:39,604 - DEBUG - Created port 60461ba2-64ae-4a7c-afac-9c1cee4d21e1
2026-01-26 02:07:39,711 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/60461ba2-64ae-4a7c-afac-9c1cee4d21e1
2026-01-26 02:07:40,010 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/60461ba2-64ae-4a7c-afac-9c1cee4d21e1
2026-01-26 02:07:40,048 - INFO - VMI 60461ba2-64ae-4a7c-afac-9c1cee4d21e1 verification in API Server passed
2026-01-26 02:07:40,159 - DEBUG - Response for delete_port : ()
2026-01-26 02:07:40,159 - INFO - Deleted port 60461ba2-64ae-4a7c-afac-9c1cee4d21e1
2026-01-26 02:07:40,159 - INFO - Deleting VN ctest-vn-97523140
2026-01-26 02:07:40,277 - DEBUG - Response for deleting network ()
2026-01-26 02:07:40,536 - DEBUG - No XMPP flaps were noticed during the test
2026-01-26 02:07:40,537 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-01-26 02:07:40,537 - INFO - --------------------------------------------------------------------------------
2026-01-26 02:07:40,539 - INFO - ================================================================================
2026-01-26 02:07:40,539 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-01-26 02:07:40,539 - 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-01-26 02:07:40,825 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with
2026-01-26 02:07:40,825 - INFO - Initial checks done. Running the testcase now
2026-01-26 02:07:40,825 - INFO -
2026-01-26 02:07:41,035 - DEBUG - Response for create_network : {'network': {'id': '8c17f56d-9269-4d71-9ef7-1cb2f53dea52', 'name': 'ctest-vn1-44161397', 'tenant_id': '5d616b742c42441ba31d00366d8149a5', 'project_id': '5d616b742c42441ba31d00366d8149a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-01348675', 'ctest-vn1-44161397'], 'port_security_enabled': True, 'description': ''}}
2026-01-26 02:07:41,232 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f70f9815-3301-47ec-bea1-ae3f1b732bf8', 'name': '', 'tenant_id': '5d616b742c42441ba31d00366d8149a5', 'network_id': '8c17f56d-9269-4d71-9ef7-1cb2f53dea52', 'ip_version': 4, 'cidr': '103.1.20.0/26', 'allocation_pools': [{'start': '103.1.20.2', 'end': '103.1.20.62'}], 'gateway_ip': '103.1.20.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.1.20.2', 'tags': [], 'project_id': '5d616b742c42441ba31d00366d8149a5'}}
2026-01-26 02:07:41,408 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de5c780f-643b-4170-bda5-db3531dcc795', 'name': '', 'tenant_id': '5d616b742c42441ba31d00366d8149a5', 'network_id': '8c17f56d-9269-4d71-9ef7-1cb2f53dea52', 'ip_version': 4, 'cidr': '160.149.223.192/26', 'allocation_pools': [{'start': '160.149.223.194', 'end': '160.149.223.254'}], 'gateway_ip': '160.149.223.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.149.223.194', 'tags': [], 'project_id': '5d616b742c42441ba31d00366d8149a5'}}
2026-01-26 02:07:41,430 - INFO - Created VN ctest-vn1-44161397
2026-01-26 02:07:41,483 - DEBUG - VN ctest-vn1-44161397 UUID is 8c17f56d-9269-4d71-9ef7-1cb2f53dea52
2026-01-26 02:07:41,818 - DEBUG - Response for create_port : {'port': {'name': '8fe9575b-8a7a-437b-b5e5-b030b675f999', 'id': '8fe9575b-8a7a-437b-b5e5-b030b675f999', 'tenant_id': '5d616b742c42441ba31d00366d8149a5', 'network_id': '8c17f56d-9269-4d71-9ef7-1cb2f53dea52', 'mac_address': '02:8f:e9:57:5b:8a', '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': '103.1.20.5', 'subnet_id': 'f70f9815-3301-47ec-bea1-ae3f1b732bf8'}], 'security_groups': ['d771533f-49da-4d14-8f51-95e6b3663665'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5d616b742c42441ba31d00366d8149a5'}}
2026-01-26 02:07:42,008 - DEBUG - Response for create_port : {'port': {'name': 'b0ddfdb4-8933-429a-be46-2c0f93351f54', 'id': 'b0ddfdb4-8933-429a-be46-2c0f93351f54', 'tenant_id': '5d616b742c42441ba31d00366d8149a5', 'network_id': '8c17f56d-9269-4d71-9ef7-1cb2f53dea52', 'mac_address': '02:b0:dd:fd:b4:89', '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.149.223.197', 'subnet_id': 'de5c780f-643b-4170-bda5-db3531dcc795'}], 'security_groups': ['d771533f-49da-4d14-8f51-95e6b3663665'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5d616b742c42441ba31d00366d8149a5'}}
2026-01-26 02:07:42,080 - DEBUG - Services list from nova: [, , ]
2026-01-26 02:07:42,516 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5075-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5075-1)
2026-01-26 02:07:42,999 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5075-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5075-1)
2026-01-26 02:07:42,999 - INFO - Waiting for VM ctest-vn1-vm1-57483923 to be up..
2026-01-26 02:07:43,045 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-26 02:07:48,137 - DEBUG - VM is in ACTIVE state now
2026-01-26 02:07:48,137 - INFO - VM name : ctest-vn1-vm1-57483923
2026-01-26 02:07:48,225 - DEBUG - VM ctest-vn1-vm1-57483923 ID is b1b3c84c-3706-40da-9a15-c91393477348
2026-01-26 02:07:48,248 - DEBUG - VM ctest-vn1-vm1-57483923 launched on Node cn-jenkins-deploy-platform-ansible-os-5075-1
2026-01-26 02:07:48,335 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/b1b3c84c-3706-40da-9a15-c91393477348
2026-01-26 02:07:48,344 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/8fe9575b-8a7a-437b-b5e5-b030b675f999
2026-01-26 02:07:51,599 - 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')
2026-01-26 02:07:51,599 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57483923 failed!
2026-01-26 02:07:51,655 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-01348675:ctest-vn1-44161397 is 103.1.20.1 and allocation pool is NOT set
2026-01-26 02:07:51,655 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-01348675:ctest-vn1-44161397 is 160.149.223.193 and allocation pool is NOT set
2026-01-26 02:07:55,725 - 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.58 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 9.577/9.577/9.577/0.000 ms')
2026-01-26 02:07:55,725 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57483923 passed
2026-01-26 02:07:55,879 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-26 02:07:55,879 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-57483923, IP 103.1.20.5, Port 22
2026-01-26 02:07:56,049 - DEBUG - VM ctest-vn1-vm1-57483923 is ready for SSH connections
2026-01-26 02:07:56,049 - INFO - Waiting for VM ctest-vn1-vm2-22955355 to be up..
2026-01-26 02:07:56,147 - DEBUG - VM is in ACTIVE state now
2026-01-26 02:07:56,147 - INFO - VM name : ctest-vn1-vm2-22955355
2026-01-26 02:07:56,232 - DEBUG - VM ctest-vn1-vm2-22955355 ID is 90b57917-6d16-42f9-a41e-f94b00f2b4cb
2026-01-26 02:07:56,232 - DEBUG - VM ctest-vn1-vm2-22955355 launched on Node cn-jenkins-deploy-platform-ansible-os-5075-1
2026-01-26 02:07:56,318 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/90b57917-6d16-42f9-a41e-f94b00f2b4cb
2026-01-26 02:07:56,328 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/b0ddfdb4-8933-429a-be46-2c0f93351f54
2026-01-26 02:07:57,573 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.549 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 = 0.549/2.059/3.570/1.510 ms')
2026-01-26 02:07:57,574 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-22955355 passed
2026-01-26 02:07:57,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-26 02:07:57,731 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-22955355, IP 160.149.223.197, Port 22
2026-01-26 02:07:57,887 - DEBUG - VM ctest-vn1-vm2-22955355 is ready for SSH connections
2026-01-26 02:07:57,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-26 02:07:57,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-26 02:07:57,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-26 02:07:57,887 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.1.20.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2026-01-26 02:07:57,887 - DEBUG - ping -s 56 -c 3 -W 1 103.1.20.5
2026-01-26 02:08:00,579 - DEBUG - PING 103.1.20.5 (103.1.20.5): 56 data bytes
64 bytes from 103.1.20.5: seq=0 ttl=63 time=4.176 ms
64 bytes from 103.1.20.5: seq=1 ttl=63 time=0.934 ms
64 bytes from 103.1.20.5: seq=2 ttl=63 time=1.038 ms
--- 103.1.20.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.934/2.049/4.176 ms
2026-01-26 02:08:00,579 - INFO - Ping to IP 103.1.20.5 from VM ctest-vn1-vm2-22955355 passed
2026-01-26 02:08:00,579 - INFO - Detaching port b0ddfdb4-8933-429a-be46-2c0f93351f54 from VM ctest-vn1-vm2-22955355
2026-01-26 02:08:00,637 - INFO - Deleting VM ctest-vn1-vm2-22955355
2026-01-26 02:08:00,713 - INFO - Detaching port 8fe9575b-8a7a-437b-b5e5-b030b675f999 from VM ctest-vn1-vm1-57483923
2026-01-26 02:08:00,757 - INFO - Deleting VM ctest-vn1-vm1-57483923
2026-01-26 02:08:01,052 - DEBUG - Response for delete_port : ()
2026-01-26 02:08:01,249 - DEBUG - Response for delete_port : ()
2026-01-26 02:08:01,249 - INFO - Deleting VN ctest-vn1-44161397
2026-01-26 02:08:01,457 - DEBUG - Response for deleting network ()
2026-01-26 02:08:01,724 - DEBUG - No XMPP flaps were noticed during the test
2026-01-26 02:08:01,724 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2026-01-26 02:08:01,724 - INFO - --------------------------------------------------------------------------------
2026-01-26 02:08:02,474 - INFO - Deleted project: ctest-TestPorts-01348675, ID : 5d616b74-2c42-441b-a31d-00366d8149a5