2025-10-15 07:17:31,973 - INFO - Domain Default found not creating
2025-10-15 07:17:32,136 - INFO - Project ctest-TestPorts-74571316 not found, creating it
2025-10-15 07:17:32,612 - INFO - Created Project:ctest-TestPorts-74571316, ID : 6f4d8555-edf0-4d6b-bd57-cfb43bcbdb6e
2025-10-15 07:17:34,096 - INFO - ================================================================================
2025-10-15 07:17:34,096 - INFO - STARTING TEST : test_ports_bindings
2025-10-15 07:17:34,096 - 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-15 07:17:34,358 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.5': '0'}} with
2025-10-15 07:17:34,358 - INFO - Initial checks done. Running the testcase now
2025-10-15 07:17:34,358 - INFO -
2025-10-15 07:17:34,908 - DEBUG - Response for create_network : {'network': {'id': 'fa2ba13f-a2f3-49dd-af30-3437e3d4d329', 'name': 'ctest-vn-29880764', 'tenant_id': '6f4d8555edf04d6bbd57cfb43bcbdb6e', 'project_id': '6f4d8555edf04d6bbd57cfb43bcbdb6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74571316', 'ctest-vn-29880764'], 'port_security_enabled': True, 'description': ''}}
2025-10-15 07:17:35,230 - DEBUG - Response for create_subnet : {'subnet': {'id': '9cc43ed8-7854-4074-809f-426f4d4936c5', 'name': '', 'tenant_id': '6f4d8555edf04d6bbd57cfb43bcbdb6e', 'network_id': 'fa2ba13f-a2f3-49dd-af30-3437e3d4d329', 'ip_version': 4, 'cidr': '151.36.0.128/26', 'allocation_pools': [{'start': '151.36.0.130', 'end': '151.36.0.190'}], 'gateway_ip': '151.36.0.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.36.0.130', 'tags': [], 'project_id': '6f4d8555edf04d6bbd57cfb43bcbdb6e'}}
2025-10-15 07:17:35,246 - INFO - Created VN ctest-vn-29880764
2025-10-15 07:17:35,299 - DEBUG - VN ctest-vn-29880764 UUID is fa2ba13f-a2f3-49dd-af30-3437e3d4d329
2025-10-15 07:17:35,405 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-74571316', 'ctest-vmi-60682174']}
2025-10-15 07:17:35,628 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-60682174', 'id': '7794c860-43f5-4d67-aa6d-a4ae48ebbc27', 'tenant_id': '6f4d8555edf04d6bbd57cfb43bcbdb6e', 'network_id': 'fa2ba13f-a2f3-49dd-af30-3437e3d4d329', 'mac_address': '02:77:94:c8:60:43', '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': '151.36.0.131', 'subnet_id': '9cc43ed8-7854-4074-809f-426f4d4936c5'}], 'security_groups': ['4f290ed1-3a18-4210-a2bd-9ae1b3e4e99a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6f4d8555edf04d6bbd57cfb43bcbdb6e'}}
2025-10-15 07:17:35,628 - DEBUG - Created port 7794c860-43f5-4d67-aa6d-a4ae48ebbc27
2025-10-15 07:17:35,731 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/7794c860-43f5-4d67-aa6d-a4ae48ebbc27
2025-10-15 07:17:36,026 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/7794c860-43f5-4d67-aa6d-a4ae48ebbc27
2025-10-15 07:17:36,055 - INFO - VMI 7794c860-43f5-4d67-aa6d-a4ae48ebbc27 verification in API Server passed
2025-10-15 07:17:36,178 - DEBUG - Response for delete_port : ()
2025-10-15 07:17:36,179 - INFO - Deleted port 7794c860-43f5-4d67-aa6d-a4ae48ebbc27
2025-10-15 07:17:36,179 - INFO - Deleting VN ctest-vn-29880764
2025-10-15 07:17:36,278 - DEBUG - Response for deleting network ()
2025-10-15 07:17:36,532 - DEBUG - No XMPP flaps were noticed during the test
2025-10-15 07:17:36,532 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-15 07:17:36,532 - INFO - --------------------------------------------------------------------------------
2025-10-15 07:17:36,536 - INFO - ================================================================================
2025-10-15 07:17:36,536 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-15 07:17:36,536 - 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-15 07:17:36,823 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.5': '0'}} with
2025-10-15 07:17:36,824 - INFO - Initial checks done. Running the testcase now
2025-10-15 07:17:36,824 - INFO -
2025-10-15 07:17:36,980 - DEBUG - Response for create_network : {'network': {'id': 'a9017868-9347-4f2e-818b-b8e6e7f46653', 'name': 'ctest-vn1-59186075', 'tenant_id': '6f4d8555edf04d6bbd57cfb43bcbdb6e', 'project_id': '6f4d8555edf04d6bbd57cfb43bcbdb6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-74571316', 'ctest-vn1-59186075'], 'port_security_enabled': True, 'description': ''}}
2025-10-15 07:17:37,142 - DEBUG - Response for create_subnet : {'subnet': {'id': '5fa3d86e-546d-4906-b222-1581e45d5382', 'name': '', 'tenant_id': '6f4d8555edf04d6bbd57cfb43bcbdb6e', 'network_id': 'a9017868-9347-4f2e-818b-b8e6e7f46653', 'ip_version': 4, 'cidr': '112.193.25.128/26', 'allocation_pools': [{'start': '112.193.25.130', 'end': '112.193.25.190'}], 'gateway_ip': '112.193.25.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.193.25.130', 'tags': [], 'project_id': '6f4d8555edf04d6bbd57cfb43bcbdb6e'}}
2025-10-15 07:17:37,328 - DEBUG - Response for create_subnet : {'subnet': {'id': '69fc97d5-cc18-430c-b80c-d350345be3c5', 'name': '', 'tenant_id': '6f4d8555edf04d6bbd57cfb43bcbdb6e', 'network_id': 'a9017868-9347-4f2e-818b-b8e6e7f46653', 'ip_version': 4, 'cidr': '30.79.182.64/26', 'allocation_pools': [{'start': '30.79.182.66', 'end': '30.79.182.126'}], 'gateway_ip': '30.79.182.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.79.182.66', 'tags': [], 'project_id': '6f4d8555edf04d6bbd57cfb43bcbdb6e'}}
2025-10-15 07:17:37,345 - INFO - Created VN ctest-vn1-59186075
2025-10-15 07:17:37,395 - DEBUG - VN ctest-vn1-59186075 UUID is a9017868-9347-4f2e-818b-b8e6e7f46653
2025-10-15 07:17:37,690 - DEBUG - Response for create_port : {'port': {'name': 'dd2dcfcd-4542-4f6e-bfa2-baf8cb5cd1a5', 'id': 'dd2dcfcd-4542-4f6e-bfa2-baf8cb5cd1a5', 'tenant_id': '6f4d8555edf04d6bbd57cfb43bcbdb6e', 'network_id': 'a9017868-9347-4f2e-818b-b8e6e7f46653', 'mac_address': '02:dd:2d:cf:cd:45', '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': '112.193.25.133', 'subnet_id': '5fa3d86e-546d-4906-b222-1581e45d5382'}], 'security_groups': ['4f290ed1-3a18-4210-a2bd-9ae1b3e4e99a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6f4d8555edf04d6bbd57cfb43bcbdb6e'}}
2025-10-15 07:17:37,867 - DEBUG - Response for create_port : {'port': {'name': '13573781-8c13-469e-885e-e7b7b337764f', 'id': '13573781-8c13-469e-885e-e7b7b337764f', 'tenant_id': '6f4d8555edf04d6bbd57cfb43bcbdb6e', 'network_id': 'a9017868-9347-4f2e-818b-b8e6e7f46653', 'mac_address': '02:13:57:37:81:8c', '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': '30.79.182.69', 'subnet_id': '69fc97d5-cc18-430c-b80c-d350345be3c5'}], 'security_groups': ['4f290ed1-3a18-4210-a2bd-9ae1b3e4e99a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6f4d8555edf04d6bbd57cfb43bcbdb6e'}}
2025-10-15 07:17:37,933 - DEBUG - Services list from nova: [, , ]
2025-10-15 07:17:38,245 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4321-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4321-1)
2025-10-15 07:17:38,636 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4321-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4321-1)
2025-10-15 07:17:38,636 - INFO - Waiting for VM ctest-vn1-vm1-34584614 to be up..
2025-10-15 07:17:38,673 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-15 07:17:43,764 - DEBUG - VM is in ACTIVE state now
2025-10-15 07:17:43,764 - INFO - VM name : ctest-vn1-vm1-34584614
2025-10-15 07:17:43,838 - DEBUG - VM ctest-vn1-vm1-34584614 ID is c83eac84-ed21-4947-980a-d0eb8438da7d
2025-10-15 07:17:43,856 - DEBUG - VM ctest-vn1-vm1-34584614 launched on Node cn-jenkins-deploy-platform-ansible-os-4321-1
2025-10-15 07:17:43,932 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/c83eac84-ed21-4947-980a-d0eb8438da7d
2025-10-15 07:17:43,941 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/dd2dcfcd-4542-4f6e-bfa2-baf8cb5cd1a5
2025-10-15 07:17:47,189 - 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 1018ms')
2025-10-15 07:17:47,190 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-34584614 failed!
2025-10-15 07:17:47,247 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74571316:ctest-vn1-59186075 is 112.193.25.129 and allocation pool is NOT set
2025-10-15 07:17:47,247 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-74571316:ctest-vn1-59186075 is 30.79.182.65 and allocation pool is NOT set
2025-10-15 07:17:49,313 - 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=10.5 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.12 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.119/6.324/10.529/4.205 ms')
2025-10-15 07:17:49,314 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-34584614 passed
2025-10-15 07:17:49,471 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-15 07:17:49,471 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-34584614, IP 112.193.25.133, Port 22
2025-10-15 07:17:49,526 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-15 07:17:49,604 - DEBUG - VM ctest-vn1-vm1-34584614 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-15 07:17:54,604 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-15 07:17:54,604 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-34584614, IP 112.193.25.133, Port 22
2025-10-15 07:17:54,758 - DEBUG - VM ctest-vn1-vm1-34584614 is ready for SSH connections
2025-10-15 07:17:54,758 - INFO - Waiting for VM ctest-vn1-vm2-10563717 to be up..
2025-10-15 07:17:54,835 - DEBUG - VM is in ACTIVE state now
2025-10-15 07:17:54,835 - INFO - VM name : ctest-vn1-vm2-10563717
2025-10-15 07:17:54,916 - DEBUG - VM ctest-vn1-vm2-10563717 ID is a6cb0bc5-e1c7-46ab-bd07-78694907b32e
2025-10-15 07:17:54,916 - DEBUG - VM ctest-vn1-vm2-10563717 launched on Node cn-jenkins-deploy-platform-ansible-os-4321-1
2025-10-15 07:17:54,987 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/a6cb0bc5-e1c7-46ab-bd07-78694907b32e
2025-10-15 07:17:54,995 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/13573781-8c13-469e-885e-e7b7b337764f
2025-10-15 07:17:56,236 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.347 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.347/1.996/3.646/1.649 ms')
2025-10-15 07:17:56,236 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-10563717 passed
2025-10-15 07:17:56,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-15 07:17:56,391 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-10563717, IP 30.79.182.69, Port 22
2025-10-15 07:17:56,558 - DEBUG - VM ctest-vn1-vm2-10563717 is ready for SSH connections
2025-10-15 07:17:56,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-15 07:17:56,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-15 07:17:56,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-15 07:17:56,559 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.193.25.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-10-15 07:17:56,559 - DEBUG - ping -s 56 -c 3 -W 1 112.193.25.133
2025-10-15 07:18:00,246 - DEBUG - PING 112.193.25.133 (112.193.25.133): 56 data bytes
64 bytes from 112.193.25.133: seq=0 ttl=63 time=3.634 ms
64 bytes from 112.193.25.133: seq=1 ttl=63 time=0.839 ms
64 bytes from 112.193.25.133: seq=2 ttl=63 time=0.783 ms
--- 112.193.25.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.783/1.752/3.634 ms
2025-10-15 07:18:00,247 - INFO - Ping to IP 112.193.25.133 from VM ctest-vn1-vm2-10563717 passed
2025-10-15 07:18:00,247 - INFO - Detaching port 13573781-8c13-469e-885e-e7b7b337764f from VM ctest-vn1-vm2-10563717
2025-10-15 07:18:00,297 - INFO - Deleting VM ctest-vn1-vm2-10563717
2025-10-15 07:18:00,361 - INFO - Detaching port dd2dcfcd-4542-4f6e-bfa2-baf8cb5cd1a5 from VM ctest-vn1-vm1-34584614
2025-10-15 07:18:00,394 - INFO - Deleting VM ctest-vn1-vm1-34584614
2025-10-15 07:18:00,635 - DEBUG - Response for delete_port : ()
2025-10-15 07:18:00,785 - DEBUG - Response for delete_port : ()
2025-10-15 07:18:00,785 - INFO - Deleting VN ctest-vn1-59186075
2025-10-15 07:18:00,915 - DEBUG - Response for deleting network ()
2025-10-15 07:18:01,175 - DEBUG - No XMPP flaps were noticed during the test
2025-10-15 07:18:01,175 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-10-15 07:18:01,175 - INFO - --------------------------------------------------------------------------------
2025-10-15 07:18:01,850 - INFO - Deleted project: ctest-TestPorts-74571316, ID : 6f4d8555-edf0-4d6b-bd57-cfb43bcbdb6e