2025-10-11 21:39:57,399 - INFO - Domain Default found not creating 2025-10-11 21:39:57,519 - INFO - Project ctest-TestPorts-18070572 not found, creating it 2025-10-11 21:39:57,975 - INFO - Created Project:ctest-TestPorts-18070572, ID : 701c801e-59c8-49ab-9ddf-2f8d1e9abd58 2025-10-11 21:39:59,265 - INFO - ================================================================================ 2025-10-11 21:39:59,266 - INFO - STARTING TEST : test_ports_bindings 2025-10-11 21:39:59,266 - 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-11 21:39:59,515 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-10-11 21:39:59,515 - INFO - Initial checks done. Running the testcase now 2025-10-11 21:39:59,515 - INFO - 2025-10-11 21:40:00,005 - DEBUG - Response for create_network : {'network': {'id': '444fae11-c1f1-49e7-874b-f551c5d26365', 'name': 'ctest-vn-18873625', 'tenant_id': '701c801e59c849ab9ddf2f8d1e9abd58', 'project_id': '701c801e59c849ab9ddf2f8d1e9abd58', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-18070572', 'ctest-vn-18873625'], 'port_security_enabled': True, 'description': ''}} 2025-10-11 21:40:00,201 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a34ce973-d01f-49cb-b242-0439846a6c0c', 'name': '', 'tenant_id': '701c801e59c849ab9ddf2f8d1e9abd58', 'network_id': '444fae11-c1f1-49e7-874b-f551c5d26365', 'ip_version': 4, 'cidr': '39.194.152.64/26', 'allocation_pools': [{'start': '39.194.152.66', 'end': '39.194.152.126'}], 'gateway_ip': '39.194.152.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.194.152.66', 'tags': [], 'project_id': '701c801e59c849ab9ddf2f8d1e9abd58'}} 2025-10-11 21:40:00,216 - INFO - Created VN ctest-vn-18873625 2025-10-11 21:40:00,267 - DEBUG - VN ctest-vn-18873625 UUID is 444fae11-c1f1-49e7-874b-f551c5d26365 2025-10-11 21:40:00,366 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-18070572', 'ctest-vmi-37080010']} 2025-10-11 21:40:00,623 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-37080010', 'id': 'c585e255-5b19-40c5-aaed-6174a4725c32', 'tenant_id': '701c801e59c849ab9ddf2f8d1e9abd58', 'network_id': '444fae11-c1f1-49e7-874b-f551c5d26365', 'mac_address': '02:c5:85:e2:55:5b', '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': '39.194.152.67', 'subnet_id': 'a34ce973-d01f-49cb-b242-0439846a6c0c'}], 'security_groups': ['4d968c8e-9e61-401f-9673-616def8588d4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '701c801e59c849ab9ddf2f8d1e9abd58'}} 2025-10-11 21:40:00,624 - DEBUG - Created port c585e255-5b19-40c5-aaed-6174a4725c32 2025-10-11 21:40:00,731 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c585e255-5b19-40c5-aaed-6174a4725c32 2025-10-11 21:40:01,018 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c585e255-5b19-40c5-aaed-6174a4725c32 2025-10-11 21:40:01,047 - INFO - VMI c585e255-5b19-40c5-aaed-6174a4725c32 verification in API Server passed 2025-10-11 21:40:01,130 - DEBUG - Response for delete_port : () 2025-10-11 21:40:01,131 - INFO - Deleted port c585e255-5b19-40c5-aaed-6174a4725c32 2025-10-11 21:40:01,131 - INFO - Deleting VN ctest-vn-18873625 2025-10-11 21:40:01,215 - DEBUG - Response for deleting network () 2025-10-11 21:40:01,467 - DEBUG - No XMPP flaps were noticed during the test
2025-10-11 21:40:01,467 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-11 21:40:01,468 - INFO - -------------------------------------------------------------------------------- 2025-10-11 21:40:01,470 - INFO - ================================================================================ 2025-10-11 21:40:01,470 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-11 21:40:01,470 - 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-11 21:40:01,752 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-10-11 21:40:01,752 - INFO - Initial checks done. Running the testcase now 2025-10-11 21:40:01,752 - INFO - 2025-10-11 21:40:01,910 - DEBUG - Response for create_network : {'network': {'id': '9960a664-ca58-4775-a5a7-8624d7e1e196', 'name': 'ctest-vn1-05953765', 'tenant_id': '701c801e59c849ab9ddf2f8d1e9abd58', 'project_id': '701c801e59c849ab9ddf2f8d1e9abd58', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-18070572', 'ctest-vn1-05953765'], 'port_security_enabled': True, 'description': ''}} 2025-10-11 21:40:02,081 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dcd001dc-8f19-466f-ab8c-5ad9c7cfd85c', 'name': '', 'tenant_id': '701c801e59c849ab9ddf2f8d1e9abd58', 'network_id': '9960a664-ca58-4775-a5a7-8624d7e1e196', 'ip_version': 4, 'cidr': '110.241.137.128/26', 'allocation_pools': [{'start': '110.241.137.130', 'end': '110.241.137.190'}], 'gateway_ip': '110.241.137.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.241.137.130', 'tags': [], 'project_id': '701c801e59c849ab9ddf2f8d1e9abd58'}} 2025-10-11 21:40:02,262 - DEBUG - Response for create_subnet : {'subnet': {'id': '758f448b-8849-497c-a66b-79af0f757d85', 'name': '', 'tenant_id': '701c801e59c849ab9ddf2f8d1e9abd58', 'network_id': '9960a664-ca58-4775-a5a7-8624d7e1e196', 'ip_version': 4, 'cidr': '181.101.109.128/26', 'allocation_pools': [{'start': '181.101.109.130', 'end': '181.101.109.190'}], 'gateway_ip': '181.101.109.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.101.109.130', 'tags': [], 'project_id': '701c801e59c849ab9ddf2f8d1e9abd58'}} 2025-10-11 21:40:02,279 - INFO - Created VN ctest-vn1-05953765 2025-10-11 21:40:02,331 - DEBUG - VN ctest-vn1-05953765 UUID is 9960a664-ca58-4775-a5a7-8624d7e1e196 2025-10-11 21:40:02,603 - DEBUG - Response for create_port : {'port': {'name': '2d52b70e-1504-411f-bb07-6951c25c1110', 'id': '2d52b70e-1504-411f-bb07-6951c25c1110', 'tenant_id': '701c801e59c849ab9ddf2f8d1e9abd58', 'network_id': '9960a664-ca58-4775-a5a7-8624d7e1e196', 'mac_address': '02:2d:52:b7:0e:15', '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': '110.241.137.133', 'subnet_id': 'dcd001dc-8f19-466f-ab8c-5ad9c7cfd85c'}], 'security_groups': ['4d968c8e-9e61-401f-9673-616def8588d4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '701c801e59c849ab9ddf2f8d1e9abd58'}} 2025-10-11 21:40:02,765 - DEBUG - Response for create_port : {'port': {'name': '00a4da71-ad3c-4dde-ab22-a3c91091d0e6', 'id': '00a4da71-ad3c-4dde-ab22-a3c91091d0e6', 'tenant_id': '701c801e59c849ab9ddf2f8d1e9abd58', 'network_id': '9960a664-ca58-4775-a5a7-8624d7e1e196', 'mac_address': '02:00:a4:da:71:ad', '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': '181.101.109.133', 'subnet_id': '758f448b-8849-497c-a66b-79af0f757d85'}], 'security_groups': ['4d968c8e-9e61-401f-9673-616def8588d4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '701c801e59c849ab9ddf2f8d1e9abd58'}} 2025-10-11 21:40:02,814 - DEBUG - Services list from nova: [, , ] 2025-10-11 21:40:03,092 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4289-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4289-1) 2025-10-11 21:40:03,437 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4289-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4289-1) 2025-10-11 21:40:03,437 - INFO - Waiting for VM ctest-vn1-vm1-28366354 to be up.. 2025-10-11 21:40:03,478 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-11 21:40:08,539 - DEBUG - VM is in ACTIVE state now 2025-10-11 21:40:08,539 - INFO - VM name : ctest-vn1-vm1-28366354 2025-10-11 21:40:08,598 - DEBUG - VM ctest-vn1-vm1-28366354 ID is 439ca764-f65e-45c3-b4ad-eb5d1ebf3fe6 2025-10-11 21:40:08,614 - DEBUG - VM ctest-vn1-vm1-28366354 launched on Node cn-jenkins-deploy-platform-ansible-os-4289-1 2025-10-11 21:40:08,674 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/439ca764-f65e-45c3-b4ad-eb5d1ebf3fe6 2025-10-11 21:40:08,680 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2d52b70e-1504-411f-bb07-6951c25c1110 2025-10-11 21:40:11,917 - 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 1008ms') 2025-10-11 21:40:11,917 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28366354 failed! 2025-10-11 21:40:11,971 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-18070572:ctest-vn1-05953765 is 110.241.137.129 and allocation pool is NOT set 2025-10-11 21:40:11,971 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-18070572:ctest-vn1-05953765 is 181.101.109.129 and allocation pool is NOT set 2025-10-11 21:40:14,027 - 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.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.897 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 = 0.897/2.474/4.052/1.577 ms') 2025-10-11 21:40:14,027 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28366354 passed 2025-10-11 21:40:14,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 21:40:14,179 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-28366354, IP 110.241.137.133, Port 22 2025-10-11 21:40:14,335 - DEBUG - VM ctest-vn1-vm1-28366354 is ready for SSH connections 2025-10-11 21:40:14,335 - INFO - Waiting for VM ctest-vn1-vm2-24190413 to be up.. 2025-10-11 21:40:14,400 - DEBUG - VM is in ACTIVE state now 2025-10-11 21:40:14,400 - INFO - VM name : ctest-vn1-vm2-24190413 2025-10-11 21:40:14,463 - DEBUG - VM ctest-vn1-vm2-24190413 ID is d10fd373-8baa-43f9-8765-f37f9a854106 2025-10-11 21:40:14,463 - DEBUG - VM ctest-vn1-vm2-24190413 launched on Node cn-jenkins-deploy-platform-ansible-os-4289-1 2025-10-11 21:40:14,527 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d10fd373-8baa-43f9-8765-f37f9a854106 2025-10-11 21:40:14,534 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/00a4da71-ad3c-4dde-ab22-a3c91091d0e6 2025-10-11 21:40:15,775 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.327 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.327/1.446/2.565/1.119 ms') 2025-10-11 21:40:15,775 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-24190413 passed 2025-10-11 21:40:15,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 21:40:15,927 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-24190413, IP 181.101.109.133, Port 22 2025-10-11 21:40:16,083 - DEBUG - VM ctest-vn1-vm2-24190413 is ready for SSH connections 2025-10-11 21:40:16,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 21:40:16,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 21:40:16,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 21:40:16,083 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.241.137.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-11 21:40:16,083 - DEBUG - ping -s 56 -c 3 -W 1 110.241.137.133 2025-10-11 21:40:18,987 - DEBUG - PING 110.241.137.133 (110.241.137.133): 56 data bytes 64 bytes from 110.241.137.133: seq=0 ttl=63 time=3.503 ms 64 bytes from 110.241.137.133: seq=1 ttl=63 time=0.693 ms 64 bytes from 110.241.137.133: seq=2 ttl=63 time=1.720 ms --- 110.241.137.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.693/1.972/3.503 ms 2025-10-11 21:40:18,988 - INFO - Ping to IP 110.241.137.133 from VM ctest-vn1-vm2-24190413 passed 2025-10-11 21:40:18,988 - INFO - Detaching port 00a4da71-ad3c-4dde-ab22-a3c91091d0e6 from VM ctest-vn1-vm2-24190413 2025-10-11 21:40:19,032 - INFO - Deleting VM ctest-vn1-vm2-24190413 2025-10-11 21:40:19,089 - INFO - Detaching port 2d52b70e-1504-411f-bb07-6951c25c1110 from VM ctest-vn1-vm1-28366354 2025-10-11 21:40:19,118 - INFO - Deleting VM ctest-vn1-vm1-28366354 2025-10-11 21:40:19,320 - DEBUG - Response for delete_port : () 2025-10-11 21:40:19,489 - DEBUG - Response for delete_port : () 2025-10-11 21:40:19,490 - INFO - Deleting VN ctest-vn1-05953765 2025-10-11 21:40:19,643 - DEBUG - Response for deleting network () 2025-10-11 21:40:19,895 - DEBUG - No XMPP flaps were noticed during the test
2025-10-11 21:40:19,895 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-10-11 21:40:19,895 - INFO - -------------------------------------------------------------------------------- 2025-10-11 21:40:20,545 - INFO - Deleted project: ctest-TestPorts-18070572, ID : 701c801e-59c8-49ab-9ddf-2f8d1e9abd58