2025-11-24 14:33:04,019 - INFO - Domain Default found not creating 2025-11-24 14:33:04,217 - INFO - Project ctest-TestPorts-18310193 not found, creating it 2025-11-24 14:33:04,736 - INFO - Created Project:ctest-TestPorts-18310193, ID : 90a2a0bd-306d-4be4-a72d-336295bf333d 2025-11-24 14:33:06,579 - INFO - ================================================================================ 2025-11-24 14:33:06,580 - INFO - STARTING TEST : test_ports_bindings 2025-11-24 14:33:06,580 - 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-11-24 14:33:06,853 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.129': '0'}} with 2025-11-24 14:33:06,853 - INFO - Initial checks done. Running the testcase now 2025-11-24 14:33:06,853 - INFO - 2025-11-24 14:33:07,512 - DEBUG - Response for create_network : {'network': {'id': '55300ec0-7714-4ca3-b7bf-d3e3a3031caf', 'name': 'ctest-vn-46415427', 'tenant_id': '90a2a0bd306d4be4a72d336295bf333d', 'project_id': '90a2a0bd306d4be4a72d336295bf333d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-18310193', 'ctest-vn-46415427'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 14:33:07,762 - DEBUG - Response for create_subnet : {'subnet': {'id': '414c96ee-34e3-4cdd-ab39-d02cd061841c', 'name': '', 'tenant_id': '90a2a0bd306d4be4a72d336295bf333d', 'network_id': '55300ec0-7714-4ca3-b7bf-d3e3a3031caf', 'ip_version': 4, 'cidr': '28.144.128.64/26', 'allocation_pools': [{'start': '28.144.128.66', 'end': '28.144.128.126'}], 'gateway_ip': '28.144.128.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.144.128.66', 'tags': [], 'project_id': '90a2a0bd306d4be4a72d336295bf333d'}} 2025-11-24 14:33:07,784 - INFO - Created VN ctest-vn-46415427 2025-11-24 14:33:07,840 - DEBUG - VN ctest-vn-46415427 UUID is 55300ec0-7714-4ca3-b7bf-d3e3a3031caf 2025-11-24 14:33:07,963 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-18310193', 'ctest-vmi-46090429']} 2025-11-24 14:33:08,246 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-46090429', 'id': '4d83c22b-fb74-4dc1-8aeb-dac783ebcdaf', 'tenant_id': '90a2a0bd306d4be4a72d336295bf333d', 'network_id': '55300ec0-7714-4ca3-b7bf-d3e3a3031caf', 'mac_address': '02:4d:83:c2:2b:fb', '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': '28.144.128.67', 'subnet_id': '414c96ee-34e3-4cdd-ab39-d02cd061841c'}], 'security_groups': ['a383f4b9-9c6d-4483-8694-f2c627cfac7c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '90a2a0bd306d4be4a72d336295bf333d'}} 2025-11-24 14:33:08,246 - DEBUG - Created port 4d83c22b-fb74-4dc1-8aeb-dac783ebcdaf 2025-11-24 14:33:08,355 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4d83c22b-fb74-4dc1-8aeb-dac783ebcdaf 2025-11-24 14:33:08,726 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4d83c22b-fb74-4dc1-8aeb-dac783ebcdaf 2025-11-24 14:33:08,772 - INFO - VMI 4d83c22b-fb74-4dc1-8aeb-dac783ebcdaf verification in API Server passed 2025-11-24 14:33:08,877 - DEBUG - Response for delete_port : () 2025-11-24 14:33:08,877 - INFO - Deleted port 4d83c22b-fb74-4dc1-8aeb-dac783ebcdaf 2025-11-24 14:33:08,877 - INFO - Deleting VN ctest-vn-46415427 2025-11-24 14:33:09,006 - DEBUG - Response for deleting network () 2025-11-24 14:33:09,267 - DEBUG - No XMPP flaps were noticed during the test
2025-11-24 14:33:09,268 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-24 14:33:09,268 - INFO - -------------------------------------------------------------------------------- 2025-11-24 14:33:09,271 - INFO - ================================================================================ 2025-11-24 14:33:09,271 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-24 14:33:09,271 - 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-11-24 14:33:09,561 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.129': '0'}} with 2025-11-24 14:33:09,561 - INFO - Initial checks done. Running the testcase now 2025-11-24 14:33:09,561 - INFO - 2025-11-24 14:33:09,764 - DEBUG - Response for create_network : {'network': {'id': '632c79e5-cf32-47e1-9b18-2d6cc2d58191', 'name': 'ctest-vn1-07588947', 'tenant_id': '90a2a0bd306d4be4a72d336295bf333d', 'project_id': '90a2a0bd306d4be4a72d336295bf333d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-18310193', 'ctest-vn1-07588947'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 14:33:09,954 - DEBUG - Response for create_subnet : {'subnet': {'id': '587b6c25-42b1-4649-83bf-f2b96ebfb22d', 'name': '', 'tenant_id': '90a2a0bd306d4be4a72d336295bf333d', 'network_id': '632c79e5-cf32-47e1-9b18-2d6cc2d58191', 'ip_version': 4, 'cidr': '48.90.61.0/26', 'allocation_pools': [{'start': '48.90.61.2', 'end': '48.90.61.62'}], 'gateway_ip': '48.90.61.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.90.61.2', 'tags': [], 'project_id': '90a2a0bd306d4be4a72d336295bf333d'}} 2025-11-24 14:33:10,148 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd8a419bb-9a18-4058-90b0-e56f7ff0fa4f', 'name': '', 'tenant_id': '90a2a0bd306d4be4a72d336295bf333d', 'network_id': '632c79e5-cf32-47e1-9b18-2d6cc2d58191', 'ip_version': 4, 'cidr': '72.221.87.64/26', 'allocation_pools': [{'start': '72.221.87.66', 'end': '72.221.87.126'}], 'gateway_ip': '72.221.87.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.221.87.66', 'tags': [], 'project_id': '90a2a0bd306d4be4a72d336295bf333d'}} 2025-11-24 14:33:10,172 - INFO - Created VN ctest-vn1-07588947 2025-11-24 14:33:10,226 - DEBUG - VN ctest-vn1-07588947 UUID is 632c79e5-cf32-47e1-9b18-2d6cc2d58191 2025-11-24 14:33:10,575 - DEBUG - Response for create_port : {'port': {'name': '3de18576-79b7-423c-903b-ce70fe94aaff', 'id': '3de18576-79b7-423c-903b-ce70fe94aaff', 'tenant_id': '90a2a0bd306d4be4a72d336295bf333d', 'network_id': '632c79e5-cf32-47e1-9b18-2d6cc2d58191', 'mac_address': '02:3d:e1:85:76:79', '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': '48.90.61.5', 'subnet_id': '587b6c25-42b1-4649-83bf-f2b96ebfb22d'}], 'security_groups': ['a383f4b9-9c6d-4483-8694-f2c627cfac7c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '90a2a0bd306d4be4a72d336295bf333d'}} 2025-11-24 14:33:10,776 - DEBUG - Response for create_port : {'port': {'name': '2a74b547-3937-4fb0-8223-ce4227f4e6a6', 'id': '2a74b547-3937-4fb0-8223-ce4227f4e6a6', 'tenant_id': '90a2a0bd306d4be4a72d336295bf333d', 'network_id': '632c79e5-cf32-47e1-9b18-2d6cc2d58191', 'mac_address': '02:2a:74:b5:47:39', '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': '72.221.87.69', 'subnet_id': 'd8a419bb-9a18-4058-90b0-e56f7ff0fa4f'}], 'security_groups': ['a383f4b9-9c6d-4483-8694-f2c627cfac7c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '90a2a0bd306d4be4a72d336295bf333d'}} 2025-11-24 14:33:10,856 - DEBUG - Services list from nova: [, , ] 2025-11-24 14:33:11,293 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4807-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4807-1) 2025-11-24 14:33:11,770 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4807-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4807-1) 2025-11-24 14:33:11,770 - INFO - Waiting for VM ctest-vn1-vm1-89004833 to be up.. 2025-11-24 14:33:11,816 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 14:33:16,927 - DEBUG - VM is in ACTIVE state now 2025-11-24 14:33:16,928 - INFO - VM name : ctest-vn1-vm1-89004833 2025-11-24 14:33:17,034 - DEBUG - VM ctest-vn1-vm1-89004833 ID is afb7bd65-b90f-48b7-bb6e-2382528e53b0 2025-11-24 14:33:17,059 - DEBUG - VM ctest-vn1-vm1-89004833 launched on Node cn-jenkins-deploy-platform-ansible-os-4807-1 2025-11-24 14:33:17,163 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/afb7bd65-b90f-48b7-bb6e-2382528e53b0 2025-11-24 14:33:17,174 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3de18576-79b7-423c-903b-ce70fe94aaff 2025-11-24 14:33:20,460 - 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 1029ms') 2025-11-24 14:33:20,460 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-89004833 failed! 2025-11-24 14:33:20,518 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-18310193:ctest-vn1-07588947 is 48.90.61.1 and allocation pool is NOT set 2025-11-24 14:33:20,518 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-18310193:ctest-vn1-07588947 is 72.221.87.65 and allocation pool is NOT set 2025-11-24 14:33:24,586 - 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 1001ms') 2025-11-24 14:33:24,587 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-89004833 failed! 2025-11-24 14:33:24,642 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-18310193:ctest-vn1-07588947 is 48.90.61.1 and allocation pool is NOT set 2025-11-24 14:33:24,643 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-18310193:ctest-vn1-07588947 is 72.221.87.65 and allocation pool is NOT set 2025-11-24 14:33:26,706 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.831 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.831/3.125/5.419/2.294 ms') 2025-11-24 14:33:26,706 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-89004833 passed 2025-11-24 14:33:26,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 14:33:26,863 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-89004833, IP 48.90.61.5, Port 22 2025-11-24 14:33:27,032 - DEBUG - VM ctest-vn1-vm1-89004833 is ready for SSH connections 2025-11-24 14:33:27,032 - INFO - Waiting for VM ctest-vn1-vm2-35914262 to be up.. 2025-11-24 14:33:27,121 - DEBUG - VM is in ACTIVE state now 2025-11-24 14:33:27,121 - INFO - VM name : ctest-vn1-vm2-35914262 2025-11-24 14:33:27,208 - DEBUG - VM ctest-vn1-vm2-35914262 ID is c552fbbd-68fe-455f-8f27-30e999af8350 2025-11-24 14:33:27,208 - DEBUG - VM ctest-vn1-vm2-35914262 launched on Node cn-jenkins-deploy-platform-ansible-os-4807-1 2025-11-24 14:33:27,297 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c552fbbd-68fe-455f-8f27-30e999af8350 2025-11-24 14:33:27,308 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2a74b547-3937-4fb0-8223-ce4227f4e6a6 2025-11-24 14:33:28,559 - 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=3.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.522 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.522/2.022/3.522/1.500 ms') 2025-11-24 14:33:28,559 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-35914262 passed 2025-11-24 14:33:28,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 14:33:28,719 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-35914262, IP 72.221.87.69, Port 22 2025-11-24 14:33:28,884 - DEBUG - VM ctest-vn1-vm2-35914262 is ready for SSH connections 2025-11-24 14:33:28,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 14:33:28,885 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 14:33:28,885 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 14:33:28,885 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.90.61.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-24 14:33:28,885 - DEBUG - ping -s 56 -c 3 -W 1 48.90.61.5 2025-11-24 14:33:31,638 - DEBUG - PING 48.90.61.5 (48.90.61.5): 56 data bytes 64 bytes from 48.90.61.5: seq=0 ttl=63 time=4.791 ms 64 bytes from 48.90.61.5: seq=1 ttl=63 time=1.231 ms 64 bytes from 48.90.61.5: seq=2 ttl=63 time=1.324 ms --- 48.90.61.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.231/2.448/4.791 ms 2025-11-24 14:33:31,638 - INFO - Ping to IP 48.90.61.5 from VM ctest-vn1-vm2-35914262 passed 2025-11-24 14:33:31,638 - INFO - Detaching port 2a74b547-3937-4fb0-8223-ce4227f4e6a6 from VM ctest-vn1-vm2-35914262 2025-11-24 14:33:31,697 - INFO - Deleting VM ctest-vn1-vm2-35914262 2025-11-24 14:33:31,788 - INFO - Detaching port 3de18576-79b7-423c-903b-ce70fe94aaff from VM ctest-vn1-vm1-89004833 2025-11-24 14:33:31,828 - INFO - Deleting VM ctest-vn1-vm1-89004833 2025-11-24 14:33:32,126 - DEBUG - Response for delete_port : () 2025-11-24 14:33:32,353 - DEBUG - Response for delete_port : () 2025-11-24 14:33:32,353 - INFO - Deleting VN ctest-vn1-07588947 2025-11-24 14:33:32,517 - DEBUG - Response for deleting network () 2025-11-24 14:33:32,781 - DEBUG - No XMPP flaps were noticed during the test
2025-11-24 14:33:32,781 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-11-24 14:33:32,781 - INFO - -------------------------------------------------------------------------------- 2025-11-24 14:33:33,555 - INFO - Deleted project: ctest-TestPorts-18310193, ID : 90a2a0bd-306d-4be4-a72d-336295bf333d