2025-12-01 17:53:10,990 - INFO - Domain Default found not creating
2025-12-01 17:53:11,144 - INFO - Project ctest-TestPorts-14752141 not found, creating it
2025-12-01 17:53:11,586 - INFO - Created Project:ctest-TestPorts-14752141, ID : 08d1ef25-72e4-4e88-8adc-4d5340ce671f
2025-12-01 17:53:13,427 - INFO - ================================================================================
2025-12-01 17:53:13,427 - INFO - STARTING TEST : test_ports_bindings
2025-12-01 17:53:13,427 - 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-12-01 17:53:13,682 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.25': '0'}} with
2025-12-01 17:53:13,682 - INFO - Initial checks done. Running the testcase now
2025-12-01 17:53:13,683 - INFO -
2025-12-01 17:53:14,227 - DEBUG - Response for create_network : {'network': {'id': '75bba87c-9bf7-4bb2-bfcb-75f4c1a87052', 'name': 'ctest-vn-13823971', 'tenant_id': '08d1ef2572e44e888adc4d5340ce671f', 'project_id': '08d1ef2572e44e888adc4d5340ce671f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-14752141', 'ctest-vn-13823971'], 'port_security_enabled': True, 'description': ''}}
2025-12-01 17:53:14,394 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a0fb9fa-e2f8-4934-8b56-040d5b136024', 'name': '', 'tenant_id': '08d1ef2572e44e888adc4d5340ce671f', 'network_id': '75bba87c-9bf7-4bb2-bfcb-75f4c1a87052', 'ip_version': 4, 'cidr': '200.11.66.128/26', 'allocation_pools': [{'start': '200.11.66.130', 'end': '200.11.66.190'}], 'gateway_ip': '200.11.66.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.11.66.130', 'tags': [], 'project_id': '08d1ef2572e44e888adc4d5340ce671f'}}
2025-12-01 17:53:14,412 - INFO - Created VN ctest-vn-13823971
2025-12-01 17:53:14,464 - DEBUG - VN ctest-vn-13823971 UUID is 75bba87c-9bf7-4bb2-bfcb-75f4c1a87052
2025-12-01 17:53:14,561 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-14752141', 'ctest-vmi-71652417']}
2025-12-01 17:53:14,831 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-71652417', 'id': 'dd553dc1-7192-4b7e-81ab-00bed8e3247f', 'tenant_id': '08d1ef2572e44e888adc4d5340ce671f', 'network_id': '75bba87c-9bf7-4bb2-bfcb-75f4c1a87052', 'mac_address': '02:dd:55:3d:c1:71', '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': '200.11.66.131', 'subnet_id': '9a0fb9fa-e2f8-4934-8b56-040d5b136024'}], 'security_groups': ['bfdfa66d-5783-4217-802a-304885ff9f90'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '08d1ef2572e44e888adc4d5340ce671f'}}
2025-12-01 17:53:14,832 - DEBUG - Created port dd553dc1-7192-4b7e-81ab-00bed8e3247f
2025-12-01 17:53:14,932 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/dd553dc1-7192-4b7e-81ab-00bed8e3247f
2025-12-01 17:53:15,222 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/dd553dc1-7192-4b7e-81ab-00bed8e3247f
2025-12-01 17:53:15,252 - INFO - VMI dd553dc1-7192-4b7e-81ab-00bed8e3247f verification in API Server passed
2025-12-01 17:53:15,326 - DEBUG - Response for delete_port : ()
2025-12-01 17:53:15,327 - INFO - Deleted port dd553dc1-7192-4b7e-81ab-00bed8e3247f
2025-12-01 17:53:15,327 - INFO - Deleting VN ctest-vn-13823971
2025-12-01 17:53:15,418 - DEBUG - Response for deleting network ()
2025-12-01 17:53:15,673 - DEBUG - No XMPP flaps were noticed during the test
2025-12-01 17:53:15,673 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-01 17:53:15,673 - INFO - --------------------------------------------------------------------------------
2025-12-01 17:53:15,675 - INFO - ================================================================================
2025-12-01 17:53:15,675 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-01 17:53:15,675 - 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-12-01 17:53:15,965 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.25': '0'}} with
2025-12-01 17:53:15,965 - INFO - Initial checks done. Running the testcase now
2025-12-01 17:53:15,965 - INFO -
2025-12-01 17:53:16,128 - DEBUG - Response for create_network : {'network': {'id': '92226851-cc5d-436b-af0f-0c69638b249f', 'name': 'ctest-vn1-61095443', 'tenant_id': '08d1ef2572e44e888adc4d5340ce671f', 'project_id': '08d1ef2572e44e888adc4d5340ce671f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-14752141', 'ctest-vn1-61095443'], 'port_security_enabled': True, 'description': ''}}
2025-12-01 17:53:16,330 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f75b371e-681d-4cea-b001-278e7294f319', 'name': '', 'tenant_id': '08d1ef2572e44e888adc4d5340ce671f', 'network_id': '92226851-cc5d-436b-af0f-0c69638b249f', 'ip_version': 4, 'cidr': '160.20.159.0/26', 'allocation_pools': [{'start': '160.20.159.2', 'end': '160.20.159.62'}], 'gateway_ip': '160.20.159.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.20.159.2', 'tags': [], 'project_id': '08d1ef2572e44e888adc4d5340ce671f'}}
2025-12-01 17:53:16,534 - DEBUG - Response for create_subnet : {'subnet': {'id': '9aafa613-1f43-4578-90a0-f7b995cde3bc', 'name': '', 'tenant_id': '08d1ef2572e44e888adc4d5340ce671f', 'network_id': '92226851-cc5d-436b-af0f-0c69638b249f', 'ip_version': 4, 'cidr': '22.33.130.64/26', 'allocation_pools': [{'start': '22.33.130.66', 'end': '22.33.130.126'}], 'gateway_ip': '22.33.130.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.33.130.66', 'tags': [], 'project_id': '08d1ef2572e44e888adc4d5340ce671f'}}
2025-12-01 17:53:16,551 - INFO - Created VN ctest-vn1-61095443
2025-12-01 17:53:16,604 - DEBUG - VN ctest-vn1-61095443 UUID is 92226851-cc5d-436b-af0f-0c69638b249f
2025-12-01 17:53:16,894 - DEBUG - Response for create_port : {'port': {'name': '4e7ba0d8-a207-4129-babf-80a9ce306a5c', 'id': '4e7ba0d8-a207-4129-babf-80a9ce306a5c', 'tenant_id': '08d1ef2572e44e888adc4d5340ce671f', 'network_id': '92226851-cc5d-436b-af0f-0c69638b249f', 'mac_address': '02:4e:7b:a0:d8:a2', '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.20.159.5', 'subnet_id': 'f75b371e-681d-4cea-b001-278e7294f319'}], 'security_groups': ['bfdfa66d-5783-4217-802a-304885ff9f90'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '08d1ef2572e44e888adc4d5340ce671f'}}
2025-12-01 17:53:17,079 - DEBUG - Response for create_port : {'port': {'name': 'df7afc65-4faf-4032-b64e-a3e6e9a6a932', 'id': 'df7afc65-4faf-4032-b64e-a3e6e9a6a932', 'tenant_id': '08d1ef2572e44e888adc4d5340ce671f', 'network_id': '92226851-cc5d-436b-af0f-0c69638b249f', 'mac_address': '02:df:7a:fc:65:4f', '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': '22.33.130.69', 'subnet_id': '9aafa613-1f43-4578-90a0-f7b995cde3bc'}], 'security_groups': ['bfdfa66d-5783-4217-802a-304885ff9f90'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '08d1ef2572e44e888adc4d5340ce671f'}}
2025-12-01 17:53:17,136 - DEBUG - Services list from nova: [, , ]
2025-12-01 17:53:17,461 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4832-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4832-1)
2025-12-01 17:53:17,833 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4832-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4832-1)
2025-12-01 17:53:17,833 - INFO - Waiting for VM ctest-vn1-vm1-07389497 to be up..
2025-12-01 17:53:17,872 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-01 17:53:22,939 - DEBUG - VM is in ACTIVE state now
2025-12-01 17:53:22,939 - INFO - VM name : ctest-vn1-vm1-07389497
2025-12-01 17:53:23,005 - DEBUG - VM ctest-vn1-vm1-07389497 ID is e732f16d-412d-4c0c-9fa3-c2a3ea5d8ecf
2025-12-01 17:53:23,026 - DEBUG - VM ctest-vn1-vm1-07389497 launched on Node cn-jenkins-deploy-platform-ansible-os-4832-1
2025-12-01 17:53:23,099 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e732f16d-412d-4c0c-9fa3-c2a3ea5d8ecf
2025-12-01 17:53:23,107 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/4e7ba0d8-a207-4129-babf-80a9ce306a5c
2025-12-01 17:53:26,349 - 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-12-01 17:53:26,349 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-07389497 failed!
2025-12-01 17:53:26,404 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-14752141:ctest-vn1-61095443 is 160.20.159.1 and allocation pool is NOT set
2025-12-01 17:53:26,404 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-14752141:ctest-vn1-61095443 is 22.33.130.65 and allocation pool is NOT set
2025-12-01 17:53:28,466 - 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.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.925 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.925/2.188/3.452/1.263 ms')
2025-12-01 17:53:28,466 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-07389497 passed
2025-12-01 17:53:28,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-01 17:53:28,616 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-07389497, IP 160.20.159.5, Port 22
2025-12-01 17:53:28,772 - DEBUG - VM ctest-vn1-vm1-07389497 is ready for SSH connections
2025-12-01 17:53:28,772 - INFO - Waiting for VM ctest-vn1-vm2-28230499 to be up..
2025-12-01 17:53:28,845 - DEBUG - VM is in ACTIVE state now
2025-12-01 17:53:28,845 - INFO - VM name : ctest-vn1-vm2-28230499
2025-12-01 17:53:28,916 - DEBUG - VM ctest-vn1-vm2-28230499 ID is 66b27aa4-71f1-46e7-a4bc-403f789e7ae8
2025-12-01 17:53:28,916 - DEBUG - VM ctest-vn1-vm2-28230499 launched on Node cn-jenkins-deploy-platform-ansible-os-4832-1
2025-12-01 17:53:28,990 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/66b27aa4-71f1-46e7-a4bc-403f789e7ae8
2025-12-01 17:53:28,998 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/df7afc65-4faf-4032-b64e-a3e6e9a6a932
2025-12-01 17:53:30,233 - 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=2.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.10 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 = 1.095/1.960/2.826/0.865 ms')
2025-12-01 17:53:30,233 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-28230499 passed
2025-12-01 17:53:30,384 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-01 17:53:30,384 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-28230499, IP 22.33.130.69, Port 22
2025-12-01 17:53:30,544 - DEBUG - VM ctest-vn1-vm2-28230499 is ready for SSH connections
2025-12-01 17:53:30,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-01 17:53:30,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-01 17:53:30,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-01 17:53:30,544 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.20.159.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-12-01 17:53:30,544 - DEBUG - ping -s 56 -c 3 -W 1 160.20.159.5
2025-12-01 17:53:33,550 - DEBUG - PING 160.20.159.5 (160.20.159.5): 56 data bytes
64 bytes from 160.20.159.5: seq=0 ttl=63 time=3.208 ms
64 bytes from 160.20.159.5: seq=1 ttl=63 time=0.823 ms
64 bytes from 160.20.159.5: seq=2 ttl=63 time=0.773 ms
--- 160.20.159.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.773/1.601/3.208 ms
2025-12-01 17:53:33,550 - INFO - Ping to IP 160.20.159.5 from VM ctest-vn1-vm2-28230499 passed
2025-12-01 17:53:33,550 - INFO - Detaching port df7afc65-4faf-4032-b64e-a3e6e9a6a932 from VM ctest-vn1-vm2-28230499
2025-12-01 17:53:33,596 - INFO - Deleting VM ctest-vn1-vm2-28230499
2025-12-01 17:53:33,667 - INFO - Detaching port 4e7ba0d8-a207-4129-babf-80a9ce306a5c from VM ctest-vn1-vm1-07389497
2025-12-01 17:53:33,708 - INFO - Deleting VM ctest-vn1-vm1-07389497
2025-12-01 17:53:33,924 - DEBUG - Response for delete_port : ()
2025-12-01 17:53:34,063 - DEBUG - Response for delete_port : ()
2025-12-01 17:53:34,063 - INFO - Deleting VN ctest-vn1-61095443
2025-12-01 17:53:34,201 - DEBUG - Response for deleting network ()
2025-12-01 17:53:34,453 - DEBUG - No XMPP flaps were noticed during the test
2025-12-01 17:53:34,453 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-12-01 17:53:34,453 - INFO - --------------------------------------------------------------------------------
2025-12-01 17:53:35,136 - INFO - Deleted project: ctest-TestPorts-14752141, ID : 08d1ef25-72e4-4e88-8adc-4d5340ce671f