2025-09-21 15:04:36,071 - INFO - Domain Default found not creating 2025-09-21 15:04:36,217 - INFO - Project ctest-TestPorts-21201927 not found, creating it 2025-09-21 15:04:36,664 - INFO - Created Project:ctest-TestPorts-21201927, ID : 436bfe7c-cc45-4890-8469-96e5c59edf26 2025-09-21 15:04:38,065 - INFO - ================================================================================ 2025-09-21 15:04:38,065 - INFO - STARTING TEST : test_ports_bindings 2025-09-21 15:04:38,065 - 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-09-21 15:04:38,321 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-09-21 15:04:38,321 - INFO - Initial checks done. Running the testcase now 2025-09-21 15:04:38,321 - INFO - 2025-09-21 15:04:38,860 - DEBUG - Response for create_network : {'network': {'id': 'c3a9a421-252c-4060-9423-be5db79e9d16', 'name': 'ctest-vn-50330960', 'tenant_id': '436bfe7ccc454890846996e5c59edf26', 'project_id': '436bfe7ccc454890846996e5c59edf26', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-21201927', 'ctest-vn-50330960'], 'port_security_enabled': True, 'description': ''}} 2025-09-21 15:04:39,033 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd0513e8-cf53-47d2-9460-a75fa07e1f93', 'name': '', 'tenant_id': '436bfe7ccc454890846996e5c59edf26', 'network_id': 'c3a9a421-252c-4060-9423-be5db79e9d16', 'ip_version': 4, 'cidr': '134.203.109.128/26', 'allocation_pools': [{'start': '134.203.109.130', 'end': '134.203.109.190'}], 'gateway_ip': '134.203.109.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.203.109.130', 'tags': [], 'project_id': '436bfe7ccc454890846996e5c59edf26'}} 2025-09-21 15:04:39,050 - INFO - Created VN ctest-vn-50330960 2025-09-21 15:04:39,101 - DEBUG - VN ctest-vn-50330960 UUID is c3a9a421-252c-4060-9423-be5db79e9d16 2025-09-21 15:04:39,214 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-21201927', 'ctest-vmi-99913943']} 2025-09-21 15:04:39,466 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-99913943', 'id': '61c23098-62ad-43b3-9674-86dea96df066', 'tenant_id': '436bfe7ccc454890846996e5c59edf26', 'network_id': 'c3a9a421-252c-4060-9423-be5db79e9d16', 'mac_address': '02:61:c2:30:98:62', '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': '134.203.109.131', 'subnet_id': 'fd0513e8-cf53-47d2-9460-a75fa07e1f93'}], 'security_groups': ['8949c293-4289-4b78-bdc5-6f1a44229dc1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '436bfe7ccc454890846996e5c59edf26'}} 2025-09-21 15:04:39,466 - DEBUG - Created port 61c23098-62ad-43b3-9674-86dea96df066 2025-09-21 15:04:39,569 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/61c23098-62ad-43b3-9674-86dea96df066 2025-09-21 15:04:39,859 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/61c23098-62ad-43b3-9674-86dea96df066 2025-09-21 15:04:39,889 - INFO - VMI 61c23098-62ad-43b3-9674-86dea96df066 verification in API Server passed 2025-09-21 15:04:39,992 - DEBUG - Response for delete_port : () 2025-09-21 15:04:39,992 - INFO - Deleted port 61c23098-62ad-43b3-9674-86dea96df066 2025-09-21 15:04:39,992 - INFO - Deleting VN ctest-vn-50330960 2025-09-21 15:04:40,103 - DEBUG - Response for deleting network () 2025-09-21 15:04:40,362 - DEBUG - No XMPP flaps were noticed during the test
2025-09-21 15:04:40,362 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-21 15:04:40,362 - INFO - -------------------------------------------------------------------------------- 2025-09-21 15:04:40,365 - INFO - ================================================================================ 2025-09-21 15:04:40,365 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-21 15:04:40,365 - 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-09-21 15:04:40,650 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-09-21 15:04:40,650 - INFO - Initial checks done. Running the testcase now 2025-09-21 15:04:40,650 - INFO - 2025-09-21 15:04:40,835 - DEBUG - Response for create_network : {'network': {'id': 'f10eb977-f9c8-4632-a4d6-ef05edc8ea6f', 'name': 'ctest-vn1-69830159', 'tenant_id': '436bfe7ccc454890846996e5c59edf26', 'project_id': '436bfe7ccc454890846996e5c59edf26', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-21201927', 'ctest-vn1-69830159'], 'port_security_enabled': True, 'description': ''}} 2025-09-21 15:04:41,009 - DEBUG - Response for create_subnet : {'subnet': {'id': '89f3435e-b8c4-4d11-8460-67dac3122050', 'name': '', 'tenant_id': '436bfe7ccc454890846996e5c59edf26', 'network_id': 'f10eb977-f9c8-4632-a4d6-ef05edc8ea6f', 'ip_version': 4, 'cidr': '202.237.216.128/26', 'allocation_pools': [{'start': '202.237.216.130', 'end': '202.237.216.190'}], 'gateway_ip': '202.237.216.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.237.216.130', 'tags': [], 'project_id': '436bfe7ccc454890846996e5c59edf26'}} 2025-09-21 15:04:41,159 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd8e4e19e-440d-4125-be8f-2b65e0430097', 'name': '', 'tenant_id': '436bfe7ccc454890846996e5c59edf26', 'network_id': 'f10eb977-f9c8-4632-a4d6-ef05edc8ea6f', 'ip_version': 4, 'cidr': '151.208.208.128/26', 'allocation_pools': [{'start': '151.208.208.130', 'end': '151.208.208.190'}], 'gateway_ip': '151.208.208.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.208.208.130', 'tags': [], 'project_id': '436bfe7ccc454890846996e5c59edf26'}} 2025-09-21 15:04:41,179 - INFO - Created VN ctest-vn1-69830159 2025-09-21 15:04:41,233 - DEBUG - VN ctest-vn1-69830159 UUID is f10eb977-f9c8-4632-a4d6-ef05edc8ea6f 2025-09-21 15:04:41,515 - DEBUG - Response for create_port : {'port': {'name': 'b8cc0fe2-70a6-45de-ae52-29a5ba39295c', 'id': 'b8cc0fe2-70a6-45de-ae52-29a5ba39295c', 'tenant_id': '436bfe7ccc454890846996e5c59edf26', 'network_id': 'f10eb977-f9c8-4632-a4d6-ef05edc8ea6f', 'mac_address': '02:b8:cc:0f:e2: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': '202.237.216.133', 'subnet_id': '89f3435e-b8c4-4d11-8460-67dac3122050'}], 'security_groups': ['8949c293-4289-4b78-bdc5-6f1a44229dc1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '436bfe7ccc454890846996e5c59edf26'}} 2025-09-21 15:04:41,683 - DEBUG - Response for create_port : {'port': {'name': 'aaca875d-d031-40d7-9394-9732e0009570', 'id': 'aaca875d-d031-40d7-9394-9732e0009570', 'tenant_id': '436bfe7ccc454890846996e5c59edf26', 'network_id': 'f10eb977-f9c8-4632-a4d6-ef05edc8ea6f', 'mac_address': '02:aa:ca:87:5d:d0', '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.208.208.133', 'subnet_id': 'd8e4e19e-440d-4125-be8f-2b65e0430097'}], 'security_groups': ['8949c293-4289-4b78-bdc5-6f1a44229dc1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '436bfe7ccc454890846996e5c59edf26'}} 2025-09-21 15:04:41,740 - DEBUG - Services list from nova: [, , ] 2025-09-21 15:04:42,075 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4158-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4158-1) 2025-09-21 15:04:42,475 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4158-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4158-1) 2025-09-21 15:04:42,475 - INFO - Waiting for VM ctest-vn1-vm1-14207462 to be up.. 2025-09-21 15:04:42,515 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-21 15:04:47,596 - DEBUG - VM is in ACTIVE state now 2025-09-21 15:04:47,596 - INFO - VM name : ctest-vn1-vm1-14207462 2025-09-21 15:04:47,668 - DEBUG - VM ctest-vn1-vm1-14207462 ID is 95455b6c-55f4-4ef6-bbac-507a5abb8818 2025-09-21 15:04:47,694 - DEBUG - VM ctest-vn1-vm1-14207462 launched on Node cn-jenkins-deploy-platform-ansible-os-4158-1 2025-09-21 15:04:47,910 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/95455b6c-55f4-4ef6-bbac-507a5abb8818 2025-09-21 15:04:47,918 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/b8cc0fe2-70a6-45de-ae52-29a5ba39295c 2025-09-21 15:04:51,164 - 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 1011ms') 2025-09-21 15:04:51,164 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-14207462 failed! 2025-09-21 15:04:51,217 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-21201927:ctest-vn1-69830159 is 202.237.216.129 and allocation pool is NOT set 2025-09-21 15:04:51,217 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-21201927:ctest-vn1-69830159 is 151.208.208.129 and allocation pool is NOT set 2025-09-21 15:04:53,279 - 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=4.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.57 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 = 1.571/3.026/4.481/1.455 ms') 2025-09-21 15:04:53,279 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-14207462 passed 2025-09-21 15:04:53,437 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 15:04:53,437 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-14207462, IP 202.237.216.133, Port 22 2025-09-21 15:04:53,592 - DEBUG - VM ctest-vn1-vm1-14207462 is ready for SSH connections 2025-09-21 15:04:53,592 - INFO - Waiting for VM ctest-vn1-vm2-41934231 to be up.. 2025-09-21 15:04:53,686 - DEBUG - VM is in ACTIVE state now 2025-09-21 15:04:53,686 - INFO - VM name : ctest-vn1-vm2-41934231 2025-09-21 15:04:53,768 - DEBUG - VM ctest-vn1-vm2-41934231 ID is 0979e494-e794-4483-8c30-8415f44c9d6f 2025-09-21 15:04:53,768 - DEBUG - VM ctest-vn1-vm2-41934231 launched on Node cn-jenkins-deploy-platform-ansible-os-4158-1 2025-09-21 15:04:53,845 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/0979e494-e794-4483-8c30-8415f44c9d6f 2025-09-21 15:04:53,853 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/aaca875d-d031-40d7-9394-9732e0009570 2025-09-21 15:04:55,090 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.554 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.554/1.644/2.735/1.090 ms') 2025-09-21 15:04:55,090 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-41934231 passed 2025-09-21 15:04:55,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 15:04:55,237 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-41934231, IP 151.208.208.133, Port 22 2025-09-21 15:04:55,393 - DEBUG - VM ctest-vn1-vm2-41934231 is ready for SSH connections 2025-09-21 15:04:55,393 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 15:04:55,393 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 15:04:55,393 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 15:04:55,393 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.237.216.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-21 15:04:55,393 - DEBUG - ping -s 56 -c 3 -W 1 202.237.216.133 2025-09-21 15:04:58,444 - DEBUG - PING 202.237.216.133 (202.237.216.133): 56 data bytes 64 bytes from 202.237.216.133: seq=0 ttl=63 time=3.670 ms 64 bytes from 202.237.216.133: seq=1 ttl=63 time=0.914 ms 64 bytes from 202.237.216.133: seq=2 ttl=63 time=0.921 ms --- 202.237.216.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.914/1.835/3.670 ms 2025-09-21 15:04:58,445 - INFO - Ping to IP 202.237.216.133 from VM ctest-vn1-vm2-41934231 passed 2025-09-21 15:04:58,445 - INFO - Detaching port aaca875d-d031-40d7-9394-9732e0009570 from VM ctest-vn1-vm2-41934231 2025-09-21 15:04:58,495 - INFO - Deleting VM ctest-vn1-vm2-41934231 2025-09-21 15:04:58,559 - INFO - Detaching port b8cc0fe2-70a6-45de-ae52-29a5ba39295c from VM ctest-vn1-vm1-14207462 2025-09-21 15:04:58,593 - INFO - Deleting VM ctest-vn1-vm1-14207462 2025-09-21 15:04:58,816 - DEBUG - Response for delete_port : () 2025-09-21 15:04:58,993 - DEBUG - Response for delete_port : () 2025-09-21 15:04:58,993 - INFO - Deleting VN ctest-vn1-69830159 2025-09-21 15:04:59,129 - DEBUG - Response for deleting network () 2025-09-21 15:04:59,387 - DEBUG - No XMPP flaps were noticed during the test
2025-09-21 15:04:59,387 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-09-21 15:04:59,387 - INFO - -------------------------------------------------------------------------------- 2025-09-21 15:05:00,055 - INFO - Deleted project: ctest-TestPorts-21201927, ID : 436bfe7c-cc45-4890-8469-96e5c59edf26