2025-10-12 07:29:43,300 - INFO - Domain Default found not creating
2025-10-12 07:29:43,688 - INFO - Project ctest-TestPorts-25319095 not found, creating it
2025-10-12 07:29:44,397 - INFO - Created Project:ctest-TestPorts-25319095, ID : abb3169a-0dda-4024-aee1-a63943cb09bf
2025-10-12 07:29:46,633 - INFO - ================================================================================
2025-10-12 07:29:46,633 - INFO - STARTING TEST : test_ports_bindings
2025-10-12 07:29:46,634 - 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-12 07:29:46,950 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.254': '0'}} with
2025-10-12 07:29:46,951 - INFO - Initial checks done. Running the testcase now
2025-10-12 07:29:46,951 - INFO -
2025-10-12 07:29:47,739 - DEBUG - Response for create_network : {'network': {'id': 'd47d3923-637e-4c0a-a0fd-9a9ee162a015', 'name': 'ctest-vn-70403539', 'tenant_id': 'abb3169a0dda4024aee1a63943cb09bf', 'project_id': 'abb3169a0dda4024aee1a63943cb09bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-25319095', 'ctest-vn-70403539'], 'port_security_enabled': True, 'description': ''}}
2025-10-12 07:29:47,998 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3d34387-1238-4681-816c-f35dca980df2', 'name': '', 'tenant_id': 'abb3169a0dda4024aee1a63943cb09bf', 'network_id': 'd47d3923-637e-4c0a-a0fd-9a9ee162a015', 'ip_version': 4, 'cidr': '171.82.85.192/26', 'allocation_pools': [{'start': '171.82.85.194', 'end': '171.82.85.254'}], 'gateway_ip': '171.82.85.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.82.85.194', 'tags': [], 'project_id': 'abb3169a0dda4024aee1a63943cb09bf'}}
2025-10-12 07:29:48,022 - INFO - Created VN ctest-vn-70403539
2025-10-12 07:29:48,085 - DEBUG - VN ctest-vn-70403539 UUID is d47d3923-637e-4c0a-a0fd-9a9ee162a015
2025-10-12 07:29:48,239 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-25319095', 'ctest-vmi-34721733']}
2025-10-12 07:29:48,641 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-34721733', 'id': '3518b7f9-33f9-47c8-8e00-73f924629dce', 'tenant_id': 'abb3169a0dda4024aee1a63943cb09bf', 'network_id': 'd47d3923-637e-4c0a-a0fd-9a9ee162a015', 'mac_address': '02:35:18:b7:f9:33', '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': '171.82.85.195', 'subnet_id': 'f3d34387-1238-4681-816c-f35dca980df2'}], 'security_groups': ['6c67e8fa-af2c-4819-b304-f8ed64c6aae0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'abb3169a0dda4024aee1a63943cb09bf'}}
2025-10-12 07:29:48,641 - DEBUG - Created port 3518b7f9-33f9-47c8-8e00-73f924629dce
2025-10-12 07:29:48,765 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/3518b7f9-33f9-47c8-8e00-73f924629dce
2025-10-12 07:29:49,108 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/3518b7f9-33f9-47c8-8e00-73f924629dce
2025-10-12 07:29:49,155 - INFO - VMI 3518b7f9-33f9-47c8-8e00-73f924629dce verification in API Server passed
2025-10-12 07:29:49,262 - DEBUG - Response for delete_port : ()
2025-10-12 07:29:49,262 - INFO - Deleted port 3518b7f9-33f9-47c8-8e00-73f924629dce
2025-10-12 07:29:49,262 - INFO - Deleting VN ctest-vn-70403539
2025-10-12 07:29:49,367 - DEBUG - Response for deleting network ()
2025-10-12 07:29:49,673 - DEBUG - No XMPP flaps were noticed during the test
2025-10-12 07:29:49,673 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-12 07:29:49,673 - INFO - --------------------------------------------------------------------------------
2025-10-12 07:29:49,676 - INFO - ================================================================================
2025-10-12 07:29:49,676 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-12 07:29:49,676 - 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-12 07:29:50,020 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.254': '0'}} with
2025-10-12 07:29:50,020 - INFO - Initial checks done. Running the testcase now
2025-10-12 07:29:50,021 - INFO -
2025-10-12 07:29:50,333 - DEBUG - Response for create_network : {'network': {'id': 'b8a62819-0bb6-4238-bfcd-d817f83bd25b', 'name': 'ctest-vn1-56493174', 'tenant_id': 'abb3169a0dda4024aee1a63943cb09bf', 'project_id': 'abb3169a0dda4024aee1a63943cb09bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-25319095', 'ctest-vn1-56493174'], 'port_security_enabled': True, 'description': ''}}
2025-10-12 07:29:50,610 - DEBUG - Response for create_subnet : {'subnet': {'id': '8efbf5cf-65bc-40fc-83e4-9aa12057c433', 'name': '', 'tenant_id': 'abb3169a0dda4024aee1a63943cb09bf', 'network_id': 'b8a62819-0bb6-4238-bfcd-d817f83bd25b', 'ip_version': 4, 'cidr': '30.77.97.128/26', 'allocation_pools': [{'start': '30.77.97.130', 'end': '30.77.97.190'}], 'gateway_ip': '30.77.97.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.77.97.130', 'tags': [], 'project_id': 'abb3169a0dda4024aee1a63943cb09bf'}}
2025-10-12 07:29:50,892 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f4864eb-bceb-4ece-8aa8-7db32f916d77', 'name': '', 'tenant_id': 'abb3169a0dda4024aee1a63943cb09bf', 'network_id': 'b8a62819-0bb6-4238-bfcd-d817f83bd25b', 'ip_version': 4, 'cidr': '123.153.230.0/26', 'allocation_pools': [{'start': '123.153.230.2', 'end': '123.153.230.62'}], 'gateway_ip': '123.153.230.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.153.230.2', 'tags': [], 'project_id': 'abb3169a0dda4024aee1a63943cb09bf'}}
2025-10-12 07:29:50,927 - INFO - Created VN ctest-vn1-56493174
2025-10-12 07:29:50,997 - DEBUG - VN ctest-vn1-56493174 UUID is b8a62819-0bb6-4238-bfcd-d817f83bd25b
2025-10-12 07:29:51,489 - DEBUG - Response for create_port : {'port': {'name': 'ffe6e1c9-5557-4108-b572-c5029709da9e', 'id': 'ffe6e1c9-5557-4108-b572-c5029709da9e', 'tenant_id': 'abb3169a0dda4024aee1a63943cb09bf', 'network_id': 'b8a62819-0bb6-4238-bfcd-d817f83bd25b', 'mac_address': '02:ff:e6:e1:c9:55', '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.77.97.133', 'subnet_id': '8efbf5cf-65bc-40fc-83e4-9aa12057c433'}], 'security_groups': ['6c67e8fa-af2c-4819-b304-f8ed64c6aae0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'abb3169a0dda4024aee1a63943cb09bf'}}
2025-10-12 07:29:51,677 - DEBUG - Response for create_port : {'port': {'name': 'dd67aeb0-704a-4ba1-a88b-eb5bedc6c100', 'id': 'dd67aeb0-704a-4ba1-a88b-eb5bedc6c100', 'tenant_id': 'abb3169a0dda4024aee1a63943cb09bf', 'network_id': 'b8a62819-0bb6-4238-bfcd-d817f83bd25b', 'mac_address': '02:dd:67:ae:b0:70', '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': '123.153.230.5', 'subnet_id': '6f4864eb-bceb-4ece-8aa8-7db32f916d77'}], 'security_groups': ['6c67e8fa-af2c-4819-b304-f8ed64c6aae0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'abb3169a0dda4024aee1a63943cb09bf'}}
2025-10-12 07:29:51,748 - DEBUG - Services list from nova: [, , ]
2025-10-12 07:29:52,385 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4291-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4291-1)
2025-10-12 07:29:53,051 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4291-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4291-1)
2025-10-12 07:29:53,051 - INFO - Waiting for VM ctest-vn1-vm1-41183163 to be up..
2025-10-12 07:29:53,116 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-12 07:29:58,252 - DEBUG - VM is in ACTIVE state now
2025-10-12 07:29:58,252 - INFO - VM name : ctest-vn1-vm1-41183163
2025-10-12 07:29:58,397 - DEBUG - VM ctest-vn1-vm1-41183163 ID is 5f1fa877-f954-46f6-b0fa-2677ead13cc1
2025-10-12 07:29:58,419 - DEBUG - VM ctest-vn1-vm1-41183163 launched on Node cn-jenkins-deploy-platform-ansible-os-4291-1
2025-10-12 07:29:58,509 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/5f1fa877-f954-46f6-b0fa-2677ead13cc1
2025-10-12 07:29:58,517 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/ffe6e1c9-5557-4108-b572-c5029709da9e
2025-10-12 07:30:01,784 - 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 1017ms')
2025-10-12 07:30:01,784 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41183163 failed!
2025-10-12 07:30:01,849 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-25319095:ctest-vn1-56493174 is 30.77.97.129 and allocation pool is NOT set
2025-10-12 07:30:01,849 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-25319095:ctest-vn1-56493174 is 123.153.230.1 and allocation pool is NOT set
2025-10-12 07:30:05,944 - 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 1017ms')
2025-10-12 07:30:05,944 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41183163 failed!
2025-10-12 07:30:06,008 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-25319095:ctest-vn1-56493174 is 30.77.97.129 and allocation pool is NOT set
2025-10-12 07:30:06,009 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-25319095:ctest-vn1-56493174 is 123.153.230.1 and allocation pool is NOT set
2025-10-12 07:30:08,095 - 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=5.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.686 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.686/3.165/5.644/2.479 ms')
2025-10-12 07:30:08,095 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41183163 passed
2025-10-12 07:30:08,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-12 07:30:08,273 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41183163, IP 30.77.97.133, Port 22
2025-10-12 07:30:08,475 - DEBUG - VM ctest-vn1-vm1-41183163 is ready for SSH connections
2025-10-12 07:30:08,475 - INFO - Waiting for VM ctest-vn1-vm2-27125831 to be up..
2025-10-12 07:30:08,675 - DEBUG - VM is in ACTIVE state now
2025-10-12 07:30:08,676 - INFO - VM name : ctest-vn1-vm2-27125831
2025-10-12 07:30:08,817 - DEBUG - VM ctest-vn1-vm2-27125831 ID is 1990202f-eeee-456e-81e7-5323a8f71316
2025-10-12 07:30:08,817 - DEBUG - VM ctest-vn1-vm2-27125831 launched on Node cn-jenkins-deploy-platform-ansible-os-4291-1
2025-10-12 07:30:08,942 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/1990202f-eeee-456e-81e7-5323a8f71316
2025-10-12 07:30:08,953 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/dd67aeb0-704a-4ba1-a88b-eb5bedc6c100
2025-10-12 07:30:10,244 - 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=9.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.851 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.851/5.263/9.675/4.412 ms')
2025-10-12 07:30:10,245 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-27125831 passed
2025-10-12 07:30:10,437 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-12 07:30:10,437 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-27125831, IP 123.153.230.5, Port 22
2025-10-12 07:30:10,629 - DEBUG - VM ctest-vn1-vm2-27125831 is ready for SSH connections
2025-10-12 07:30:10,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-12 07:30:10,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-12 07:30:10,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-12 07:30:10,630 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.77.97.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2025-10-12 07:30:10,630 - DEBUG - ping -s 56 -c 3 -W 1 30.77.97.133
2025-10-12 07:30:13,638 - DEBUG - PING 30.77.97.133 (30.77.97.133): 56 data bytes
64 bytes from 30.77.97.133: seq=0 ttl=63 time=4.700 ms
64 bytes from 30.77.97.133: seq=1 ttl=63 time=0.945 ms
64 bytes from 30.77.97.133: seq=2 ttl=63 time=1.587 ms
--- 30.77.97.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.945/2.410/4.700 ms
2025-10-12 07:30:13,639 - INFO - Ping to IP 30.77.97.133 from VM ctest-vn1-vm2-27125831 passed
2025-10-12 07:30:13,639 - INFO - Detaching port dd67aeb0-704a-4ba1-a88b-eb5bedc6c100 from VM ctest-vn1-vm2-27125831
2025-10-12 07:30:13,706 - INFO - Deleting VM ctest-vn1-vm2-27125831
2025-10-12 07:30:13,800 - INFO - Detaching port ffe6e1c9-5557-4108-b572-c5029709da9e from VM ctest-vn1-vm1-41183163
2025-10-12 07:30:13,838 - INFO - Deleting VM ctest-vn1-vm1-41183163
2025-10-12 07:30:14,137 - DEBUG - Response for delete_port : ()
2025-10-12 07:30:14,339 - DEBUG - Response for delete_port : ()
2025-10-12 07:30:14,339 - INFO - Deleting VN ctest-vn1-56493174
2025-10-12 07:30:14,487 - DEBUG - Response for deleting network ()
2025-10-12 07:30:14,774 - DEBUG - No XMPP flaps were noticed during the test
2025-10-12 07:30:14,774 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-10-12 07:30:14,775 - INFO - --------------------------------------------------------------------------------
2025-10-12 07:30:15,612 - INFO - Deleted project: ctest-TestPorts-25319095, ID : abb3169a-0dda-4024-aee1-a63943cb09bf