2025-10-23 20:57:53,934 - INFO - Domain Default found not creating
2025-10-23 20:57:54,092 - INFO - Project ctest-TestPorts-38268224 not found, creating it
2025-10-23 20:57:54,558 - INFO - Created Project:ctest-TestPorts-38268224, ID : 69d48073-0b0f-490d-91fd-39e90836598a
2025-10-23 20:57:56,170 - INFO - ================================================================================
2025-10-23 20:57:56,170 - INFO - STARTING TEST : test_ports_bindings
2025-10-23 20:57:56,170 - 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-10-23 20:57:56,442 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.17': '0'}} with
2025-10-23 20:57:56,442 - INFO - Initial checks done. Running the testcase now
2025-10-23 20:57:56,442 - INFO -
2025-10-23 20:57:57,038 - DEBUG - Response for create_network : {'network': {'id': '832f6ff2-53e5-447f-a4cd-1b8b0bfdff52', 'name': 'ctest-vn-84997384', 'tenant_id': '69d480730b0f490d91fd39e90836598a', 'project_id': '69d480730b0f490d91fd39e90836598a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38268224', 'ctest-vn-84997384'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 20:57:57,243 - DEBUG - Response for create_subnet : {'subnet': {'id': '66c8052d-7fa3-4d46-b854-a467f3be48c1', 'name': '', 'tenant_id': '69d480730b0f490d91fd39e90836598a', 'network_id': '832f6ff2-53e5-447f-a4cd-1b8b0bfdff52', 'ip_version': 4, 'cidr': '149.246.147.0/26', 'allocation_pools': [{'start': '149.246.147.2', 'end': '149.246.147.62'}], 'gateway_ip': '149.246.147.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.246.147.2', 'tags': [], 'project_id': '69d480730b0f490d91fd39e90836598a'}}
2025-10-23 20:57:57,261 - INFO - Created VN ctest-vn-84997384
2025-10-23 20:57:57,314 - DEBUG - VN ctest-vn-84997384 UUID is 832f6ff2-53e5-447f-a4cd-1b8b0bfdff52
2025-10-23 20:57:57,425 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-38268224', 'ctest-vmi-78172248']}
2025-10-23 20:57:57,651 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-78172248', 'id': 'aa0ad023-7f04-4f24-980f-67f0efe3857d', 'tenant_id': '69d480730b0f490d91fd39e90836598a', 'network_id': '832f6ff2-53e5-447f-a4cd-1b8b0bfdff52', 'mac_address': '02:aa:0a:d0:23:7f', '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': '149.246.147.3', 'subnet_id': '66c8052d-7fa3-4d46-b854-a467f3be48c1'}], 'security_groups': ['80ff996b-ab22-4512-bf7c-0f4be8b12b6e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '69d480730b0f490d91fd39e90836598a'}}
2025-10-23 20:57:57,651 - DEBUG - Created port aa0ad023-7f04-4f24-980f-67f0efe3857d
2025-10-23 20:57:57,754 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/aa0ad023-7f04-4f24-980f-67f0efe3857d
2025-10-23 20:57:58,088 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/aa0ad023-7f04-4f24-980f-67f0efe3857d
2025-10-23 20:57:58,123 - INFO - VMI aa0ad023-7f04-4f24-980f-67f0efe3857d verification in API Server passed
2025-10-23 20:57:58,225 - DEBUG - Response for delete_port : ()
2025-10-23 20:57:58,225 - INFO - Deleted port aa0ad023-7f04-4f24-980f-67f0efe3857d
2025-10-23 20:57:58,225 - INFO - Deleting VN ctest-vn-84997384
2025-10-23 20:57:58,329 - DEBUG - Response for deleting network ()
2025-10-23 20:57:58,595 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 20:57:58,595 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-23 20:57:58,596 - INFO - --------------------------------------------------------------------------------
2025-10-23 20:57:58,598 - INFO - ================================================================================
2025-10-23 20:57:58,598 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-23 20:57:58,598 - 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-10-23 20:57:58,892 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.17': '0'}} with
2025-10-23 20:57:58,892 - INFO - Initial checks done. Running the testcase now
2025-10-23 20:57:58,892 - INFO -
2025-10-23 20:57:59,082 - DEBUG - Response for create_network : {'network': {'id': '5d453b6d-59c3-4386-8fc8-e135c7e2f676', 'name': 'ctest-vn1-75018340', 'tenant_id': '69d480730b0f490d91fd39e90836598a', 'project_id': '69d480730b0f490d91fd39e90836598a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38268224', 'ctest-vn1-75018340'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 20:57:59,266 - DEBUG - Response for create_subnet : {'subnet': {'id': '33930ba0-303f-4a87-a096-2309667d42ad', 'name': '', 'tenant_id': '69d480730b0f490d91fd39e90836598a', 'network_id': '5d453b6d-59c3-4386-8fc8-e135c7e2f676', 'ip_version': 4, 'cidr': '85.216.68.192/26', 'allocation_pools': [{'start': '85.216.68.194', 'end': '85.216.68.254'}], 'gateway_ip': '85.216.68.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.216.68.194', 'tags': [], 'project_id': '69d480730b0f490d91fd39e90836598a'}}
2025-10-23 20:57:59,445 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ab5bceb-25d1-4eaa-9cee-40c3279858a5', 'name': '', 'tenant_id': '69d480730b0f490d91fd39e90836598a', 'network_id': '5d453b6d-59c3-4386-8fc8-e135c7e2f676', 'ip_version': 4, 'cidr': '193.149.195.64/26', 'allocation_pools': [{'start': '193.149.195.66', 'end': '193.149.195.126'}], 'gateway_ip': '193.149.195.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.149.195.66', 'tags': [], 'project_id': '69d480730b0f490d91fd39e90836598a'}}
2025-10-23 20:57:59,469 - INFO - Created VN ctest-vn1-75018340
2025-10-23 20:57:59,522 - DEBUG - VN ctest-vn1-75018340 UUID is 5d453b6d-59c3-4386-8fc8-e135c7e2f676
2025-10-23 20:57:59,851 - DEBUG - Response for create_port : {'port': {'name': '64b6036e-8d04-45f8-8b3f-fd380a6a4639', 'id': '64b6036e-8d04-45f8-8b3f-fd380a6a4639', 'tenant_id': '69d480730b0f490d91fd39e90836598a', 'network_id': '5d453b6d-59c3-4386-8fc8-e135c7e2f676', 'mac_address': '02:64:b6:03:6e:8d', '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': '85.216.68.197', 'subnet_id': '33930ba0-303f-4a87-a096-2309667d42ad'}], 'security_groups': ['80ff996b-ab22-4512-bf7c-0f4be8b12b6e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '69d480730b0f490d91fd39e90836598a'}}
2025-10-23 20:58:00,046 - DEBUG - Response for create_port : {'port': {'name': 'e4c338c4-9750-458c-a65f-ae8d2b47e759', 'id': 'e4c338c4-9750-458c-a65f-ae8d2b47e759', 'tenant_id': '69d480730b0f490d91fd39e90836598a', 'network_id': '5d453b6d-59c3-4386-8fc8-e135c7e2f676', 'mac_address': '02:e4:c3:38:c4:97', '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.149.195.69', 'subnet_id': '1ab5bceb-25d1-4eaa-9cee-40c3279858a5'}], 'security_groups': ['80ff996b-ab22-4512-bf7c-0f4be8b12b6e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '69d480730b0f490d91fd39e90836598a'}}
2025-10-23 20:58:00,111 - DEBUG - Services list from nova: [, , ]
2025-10-23 20:58:00,478 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4467-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4467-1)
2025-10-23 20:58:00,908 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4467-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4467-1)
2025-10-23 20:58:00,909 - INFO - Waiting for VM ctest-vn1-vm1-99940583 to be up..
2025-10-23 20:58:00,953 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-23 20:58:06,049 - DEBUG - VM is in ACTIVE state now
2025-10-23 20:58:06,050 - INFO - VM name : ctest-vn1-vm1-99940583
2025-10-23 20:58:06,128 - DEBUG - VM ctest-vn1-vm1-99940583 ID is bc2dfd2d-d68b-4d62-9ed7-947571805ed5
2025-10-23 20:58:06,148 - DEBUG - VM ctest-vn1-vm1-99940583 launched on Node cn-jenkins-deploy-platform-ansible-os-4467-1
2025-10-23 20:58:06,225 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/bc2dfd2d-d68b-4d62-9ed7-947571805ed5
2025-10-23 20:58:06,234 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/64b6036e-8d04-45f8-8b3f-fd380a6a4639
2025-10-23 20:58:09,502 - 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 1030ms')
2025-10-23 20:58:09,502 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-99940583 failed!
2025-10-23 20:58:09,558 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38268224:ctest-vn1-75018340 is 85.216.68.193 and allocation pool is NOT set
2025-10-23 20:58:09,558 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38268224:ctest-vn1-75018340 is 193.149.195.65 and allocation pool is NOT set
2025-10-23 20:58:13,629 - 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 1008ms')
2025-10-23 20:58:13,629 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-99940583 failed!
2025-10-23 20:58:13,690 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38268224:ctest-vn1-75018340 is 85.216.68.193 and allocation pool is NOT set
2025-10-23 20:58:13,690 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38268224:ctest-vn1-75018340 is 193.149.195.65 and allocation pool is NOT set
2025-10-23 20:58:15,754 - 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.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.656 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.656/1.912/3.169/1.256 ms')
2025-10-23 20:58:15,754 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-99940583 passed
2025-10-23 20:58:15,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 20:58:15,910 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-99940583, IP 85.216.68.197, Port 22
2025-10-23 20:58:16,066 - DEBUG - VM ctest-vn1-vm1-99940583 is ready for SSH connections
2025-10-23 20:58:16,066 - INFO - Waiting for VM ctest-vn1-vm2-19979044 to be up..
2025-10-23 20:58:16,146 - DEBUG - VM is in ACTIVE state now
2025-10-23 20:58:16,146 - INFO - VM name : ctest-vn1-vm2-19979044
2025-10-23 20:58:16,232 - DEBUG - VM ctest-vn1-vm2-19979044 ID is b00a90b7-75d6-48c6-8ab9-7e5e4a0af0ba
2025-10-23 20:58:16,232 - DEBUG - VM ctest-vn1-vm2-19979044 launched on Node cn-jenkins-deploy-platform-ansible-os-4467-1
2025-10-23 20:58:16,312 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/b00a90b7-75d6-48c6-8ab9-7e5e4a0af0ba
2025-10-23 20:58:16,321 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/e4c338c4-9750-458c-a65f-ae8d2b47e759
2025-10-23 20:58:17,569 - 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=4.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.422 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.422/2.455/4.489/2.033 ms')
2025-10-23 20:58:17,569 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-19979044 passed
2025-10-23 20:58:17,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 20:58:17,722 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-19979044, IP 193.149.195.69, Port 22
2025-10-23 20:58:17,877 - DEBUG - VM ctest-vn1-vm2-19979044 is ready for SSH connections
2025-10-23 20:58:17,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 20:58:17,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 20:58:17,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 20:58:17,878 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.216.68.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123
2025-10-23 20:58:17,878 - DEBUG - ping -s 56 -c 3 -W 1 85.216.68.197
2025-10-23 20:58:20,604 - DEBUG - PING 85.216.68.197 (85.216.68.197): 56 data bytes
64 bytes from 85.216.68.197: seq=0 ttl=63 time=4.352 ms
64 bytes from 85.216.68.197: seq=1 ttl=63 time=1.022 ms
64 bytes from 85.216.68.197: seq=2 ttl=63 time=0.968 ms
--- 85.216.68.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.968/2.114/4.352 ms
2025-10-23 20:58:20,605 - INFO - Ping to IP 85.216.68.197 from VM ctest-vn1-vm2-19979044 passed
2025-10-23 20:58:20,605 - INFO - Detaching port e4c338c4-9750-458c-a65f-ae8d2b47e759 from VM ctest-vn1-vm2-19979044
2025-10-23 20:58:20,658 - INFO - Deleting VM ctest-vn1-vm2-19979044
2025-10-23 20:58:20,742 - INFO - Detaching port 64b6036e-8d04-45f8-8b3f-fd380a6a4639 from VM ctest-vn1-vm1-99940583
2025-10-23 20:58:20,779 - INFO - Deleting VM ctest-vn1-vm1-99940583
2025-10-23 20:58:21,003 - DEBUG - Response for delete_port : ()
2025-10-23 20:58:21,206 - DEBUG - Response for delete_port : ()
2025-10-23 20:58:21,206 - INFO - Deleting VN ctest-vn1-75018340
2025-10-23 20:58:21,408 - DEBUG - Response for deleting network ()
2025-10-23 20:58:21,671 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 20:58:21,671 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-10-23 20:58:21,671 - INFO - --------------------------------------------------------------------------------
2025-10-23 20:58:22,435 - INFO - Deleted project: ctest-TestPorts-38268224, ID : 69d48073-0b0f-490d-91fd-39e90836598a