2025-10-23 16:33:33,584 - INFO - Domain Default found not creating
2025-10-23 16:33:33,745 - INFO - Project ctest-TestPorts-43856795 not found, creating it
2025-10-23 16:33:34,207 - INFO - Created Project:ctest-TestPorts-43856795, ID : 72072ac4-02c6-49a3-b66a-a41e59544471
2025-10-23 16:33:35,787 - INFO - ================================================================================
2025-10-23 16:33:35,787 - INFO - STARTING TEST : test_ports_bindings
2025-10-23 16:33:35,787 - 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 16:33:36,048 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with
2025-10-23 16:33:36,049 - INFO - Initial checks done. Running the testcase now
2025-10-23 16:33:36,049 - INFO -
2025-10-23 16:33:36,635 - DEBUG - Response for create_network : {'network': {'id': 'e3c7d15b-1c89-46d2-a1a1-3b7d2d420c99', 'name': 'ctest-vn-91296403', 'tenant_id': '72072ac402c649a3b66aa41e59544471', 'project_id': '72072ac402c649a3b66aa41e59544471', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-43856795', 'ctest-vn-91296403'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 16:33:36,848 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2a440da-7a40-4a83-93aa-e13cc044cc90', 'name': '', 'tenant_id': '72072ac402c649a3b66aa41e59544471', 'network_id': 'e3c7d15b-1c89-46d2-a1a1-3b7d2d420c99', 'ip_version': 4, 'cidr': '215.101.123.64/26', 'allocation_pools': [{'start': '215.101.123.66', 'end': '215.101.123.126'}], 'gateway_ip': '215.101.123.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.101.123.66', 'tags': [], 'project_id': '72072ac402c649a3b66aa41e59544471'}}
2025-10-23 16:33:36,870 - INFO - Created VN ctest-vn-91296403
2025-10-23 16:33:36,926 - DEBUG - VN ctest-vn-91296403 UUID is e3c7d15b-1c89-46d2-a1a1-3b7d2d420c99
2025-10-23 16:33:37,039 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-43856795', 'ctest-vmi-69596710']}
2025-10-23 16:33:37,300 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-69596710', 'id': '5be063f4-bf05-4beb-87a1-0539e53fd151', 'tenant_id': '72072ac402c649a3b66aa41e59544471', 'network_id': 'e3c7d15b-1c89-46d2-a1a1-3b7d2d420c99', 'mac_address': '02:5b:e0:63:f4:bf', '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': '215.101.123.67', 'subnet_id': 'd2a440da-7a40-4a83-93aa-e13cc044cc90'}], 'security_groups': ['0415aef6-92a1-41b6-99b8-f9e9c42e2755'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '72072ac402c649a3b66aa41e59544471'}}
2025-10-23 16:33:37,300 - DEBUG - Created port 5be063f4-bf05-4beb-87a1-0539e53fd151
2025-10-23 16:33:37,406 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/5be063f4-bf05-4beb-87a1-0539e53fd151
2025-10-23 16:33:37,741 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/5be063f4-bf05-4beb-87a1-0539e53fd151
2025-10-23 16:33:37,774 - INFO - VMI 5be063f4-bf05-4beb-87a1-0539e53fd151 verification in API Server passed
2025-10-23 16:33:37,869 - DEBUG - Response for delete_port : ()
2025-10-23 16:33:37,869 - INFO - Deleted port 5be063f4-bf05-4beb-87a1-0539e53fd151
2025-10-23 16:33:37,869 - INFO - Deleting VN ctest-vn-91296403
2025-10-23 16:33:37,980 - DEBUG - Response for deleting network ()
2025-10-23 16:33:38,244 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 16:33:38,244 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-23 16:33:38,244 - INFO - --------------------------------------------------------------------------------
2025-10-23 16:33:38,246 - INFO - ================================================================================
2025-10-23 16:33:38,246 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-23 16:33:38,246 - 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 16:33:38,531 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with
2025-10-23 16:33:38,531 - INFO - Initial checks done. Running the testcase now
2025-10-23 16:33:38,531 - INFO -
2025-10-23 16:33:38,729 - DEBUG - Response for create_network : {'network': {'id': '5bc3572b-286c-4b5a-97d0-a7bf90255459', 'name': 'ctest-vn1-55454045', 'tenant_id': '72072ac402c649a3b66aa41e59544471', 'project_id': '72072ac402c649a3b66aa41e59544471', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-43856795', 'ctest-vn1-55454045'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 16:33:38,958 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f02b62db-5b9b-4c8a-9bbc-2c914c02757a', 'name': '', 'tenant_id': '72072ac402c649a3b66aa41e59544471', 'network_id': '5bc3572b-286c-4b5a-97d0-a7bf90255459', 'ip_version': 4, 'cidr': '183.41.165.64/26', 'allocation_pools': [{'start': '183.41.165.66', 'end': '183.41.165.126'}], 'gateway_ip': '183.41.165.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.41.165.66', 'tags': [], 'project_id': '72072ac402c649a3b66aa41e59544471'}}
2025-10-23 16:33:39,128 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b7e3499-6263-4be4-afc0-0111fac2ae2b', 'name': '', 'tenant_id': '72072ac402c649a3b66aa41e59544471', 'network_id': '5bc3572b-286c-4b5a-97d0-a7bf90255459', 'ip_version': 4, 'cidr': '90.219.190.192/26', 'allocation_pools': [{'start': '90.219.190.194', 'end': '90.219.190.254'}], 'gateway_ip': '90.219.190.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.219.190.194', 'tags': [], 'project_id': '72072ac402c649a3b66aa41e59544471'}}
2025-10-23 16:33:39,150 - INFO - Created VN ctest-vn1-55454045
2025-10-23 16:33:39,202 - DEBUG - VN ctest-vn1-55454045 UUID is 5bc3572b-286c-4b5a-97d0-a7bf90255459
2025-10-23 16:33:39,550 - DEBUG - Response for create_port : {'port': {'name': 'fb83ddd2-a019-4644-9025-9d4b4780dc88', 'id': 'fb83ddd2-a019-4644-9025-9d4b4780dc88', 'tenant_id': '72072ac402c649a3b66aa41e59544471', 'network_id': '5bc3572b-286c-4b5a-97d0-a7bf90255459', 'mac_address': '02:fb:83:dd:d2:a0', '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': '183.41.165.69', 'subnet_id': 'f02b62db-5b9b-4c8a-9bbc-2c914c02757a'}], 'security_groups': ['0415aef6-92a1-41b6-99b8-f9e9c42e2755'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '72072ac402c649a3b66aa41e59544471'}}
2025-10-23 16:33:39,745 - DEBUG - Response for create_port : {'port': {'name': 'ede1db52-abf5-45fc-bd8d-ff19a32754d8', 'id': 'ede1db52-abf5-45fc-bd8d-ff19a32754d8', 'tenant_id': '72072ac402c649a3b66aa41e59544471', 'network_id': '5bc3572b-286c-4b5a-97d0-a7bf90255459', 'mac_address': '02:ed:e1:db:52:ab', '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': '90.219.190.197', 'subnet_id': '3b7e3499-6263-4be4-afc0-0111fac2ae2b'}], 'security_groups': ['0415aef6-92a1-41b6-99b8-f9e9c42e2755'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '72072ac402c649a3b66aa41e59544471'}}
2025-10-23 16:33:39,806 - DEBUG - Services list from nova: [, , ]
2025-10-23 16:33:40,178 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4463-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4463-1)
2025-10-23 16:33:40,608 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4463-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4463-1)
2025-10-23 16:33:40,608 - INFO - Waiting for VM ctest-vn1-vm1-29676088 to be up..
2025-10-23 16:33:40,651 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-23 16:33:45,727 - DEBUG - VM is in ACTIVE state now
2025-10-23 16:33:45,727 - INFO - VM name : ctest-vn1-vm1-29676088
2025-10-23 16:33:45,806 - DEBUG - VM ctest-vn1-vm1-29676088 ID is 857afa01-d20f-40b5-a600-f6a064d7f43a
2025-10-23 16:33:45,828 - DEBUG - VM ctest-vn1-vm1-29676088 launched on Node cn-jenkins-deploy-platform-ansible-os-4463-1
2025-10-23 16:33:45,908 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/857afa01-d20f-40b5-a600-f6a064d7f43a
2025-10-23 16:33:45,918 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/fb83ddd2-a019-4644-9025-9d4b4780dc88
2025-10-23 16:33:49,169 - 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 1019ms')
2025-10-23 16:33:49,169 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-29676088 failed!
2025-10-23 16:33:49,226 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-43856795:ctest-vn1-55454045 is 183.41.165.65 and allocation pool is NOT set
2025-10-23 16:33:49,226 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-43856795:ctest-vn1-55454045 is 90.219.190.193 and allocation pool is NOT set
2025-10-23 16:33:53,301 - 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=8.32 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 8.317/8.317/8.317/0.000 ms')
2025-10-23 16:33:53,302 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-29676088 passed
2025-10-23 16:33:53,454 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 16:33:53,454 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-29676088, IP 183.41.165.69, Port 22
2025-10-23 16:33:53,620 - DEBUG - VM ctest-vn1-vm1-29676088 is ready for SSH connections
2025-10-23 16:33:53,620 - INFO - Waiting for VM ctest-vn1-vm2-75659126 to be up..
2025-10-23 16:33:53,698 - DEBUG - VM is in ACTIVE state now
2025-10-23 16:33:53,699 - INFO - VM name : ctest-vn1-vm2-75659126
2025-10-23 16:33:53,779 - DEBUG - VM ctest-vn1-vm2-75659126 ID is 642471ba-ea19-4fca-8921-1cae7230b38e
2025-10-23 16:33:53,779 - DEBUG - VM ctest-vn1-vm2-75659126 launched on Node cn-jenkins-deploy-platform-ansible-os-4463-1
2025-10-23 16:33:53,871 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/642471ba-ea19-4fca-8921-1cae7230b38e
2025-10-23 16:33:53,880 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/ede1db52-abf5-45fc-bd8d-ff19a32754d8
2025-10-23 16:33:55,120 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.57 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 = 1.565/2.906/4.248/1.341 ms')
2025-10-23 16:33:55,120 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-75659126 passed
2025-10-23 16:33:55,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 16:33:55,270 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-75659126, IP 90.219.190.197, Port 22
2025-10-23 16:33:55,425 - DEBUG - VM ctest-vn1-vm2-75659126 is ready for SSH connections
2025-10-23 16:33:55,425 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 16:33:55,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 16:33:55,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 16:33:55,426 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.41.165.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-10-23 16:33:55,426 - DEBUG - ping -s 56 -c 3 -W 1 183.41.165.69
2025-10-23 16:33:58,131 - DEBUG - PING 183.41.165.69 (183.41.165.69): 56 data bytes
64 bytes from 183.41.165.69: seq=0 ttl=63 time=4.373 ms
64 bytes from 183.41.165.69: seq=1 ttl=63 time=1.041 ms
64 bytes from 183.41.165.69: seq=2 ttl=63 time=0.985 ms
--- 183.41.165.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.985/2.133/4.373 ms
2025-10-23 16:33:58,131 - INFO - Ping to IP 183.41.165.69 from VM ctest-vn1-vm2-75659126 passed
2025-10-23 16:33:58,131 - INFO - Detaching port ede1db52-abf5-45fc-bd8d-ff19a32754d8 from VM ctest-vn1-vm2-75659126
2025-10-23 16:33:58,183 - INFO - Deleting VM ctest-vn1-vm2-75659126
2025-10-23 16:33:58,257 - INFO - Detaching port fb83ddd2-a019-4644-9025-9d4b4780dc88 from VM ctest-vn1-vm1-29676088
2025-10-23 16:33:58,294 - INFO - Deleting VM ctest-vn1-vm1-29676088
2025-10-23 16:33:58,551 - DEBUG - Response for delete_port : ()
2025-10-23 16:33:58,719 - DEBUG - Response for delete_port : ()
2025-10-23 16:33:58,720 - INFO - Deleting VN ctest-vn1-55454045
2025-10-23 16:33:58,883 - DEBUG - Response for deleting network ()
2025-10-23 16:33:59,139 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 16:33:59,139 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-10-23 16:33:59,139 - INFO - --------------------------------------------------------------------------------
2025-10-23 16:33:59,871 - INFO - Deleted project: ctest-TestPorts-43856795, ID : 72072ac4-02c6-49a3-b66a-a41e59544471