2025-09-15 07:47:41,856 - INFO - Domain Default found not creating 2025-09-15 07:47:42,027 - INFO - Project ctest-TestPorts-75732205 not found, creating it 2025-09-15 07:47:42,501 - INFO - Created Project:ctest-TestPorts-75732205, ID : 29067dde-4c70-43c1-a787-0e65a51993e0 2025-09-15 07:47:44,176 - INFO - ================================================================================ 2025-09-15 07:47:44,176 - INFO - STARTING TEST : test_ports_bindings 2025-09-15 07:47:44,176 - 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-15 07:47:44,432 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-15 07:47:44,432 - INFO - Initial checks done. Running the testcase now 2025-09-15 07:47:44,432 - INFO - 2025-09-15 07:47:45,030 - DEBUG - Response for create_network : {'network': {'id': '9f1e8ebe-68da-4760-86f0-f1e3385508db', 'name': 'ctest-vn-48388780', 'tenant_id': '29067dde4c7043c1a7870e65a51993e0', 'project_id': '29067dde4c7043c1a7870e65a51993e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-75732205', 'ctest-vn-48388780'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 07:47:45,204 - DEBUG - Response for create_subnet : {'subnet': {'id': '5655c20c-8929-4ee8-ab5a-23a242f92759', 'name': '', 'tenant_id': '29067dde4c7043c1a7870e65a51993e0', 'network_id': '9f1e8ebe-68da-4760-86f0-f1e3385508db', 'ip_version': 4, 'cidr': '174.253.173.128/26', 'allocation_pools': [{'start': '174.253.173.130', 'end': '174.253.173.190'}], 'gateway_ip': '174.253.173.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.253.173.130', 'tags': [], 'project_id': '29067dde4c7043c1a7870e65a51993e0'}} 2025-09-15 07:47:45,223 - INFO - Created VN ctest-vn-48388780 2025-09-15 07:47:45,275 - DEBUG - VN ctest-vn-48388780 UUID is 9f1e8ebe-68da-4760-86f0-f1e3385508db 2025-09-15 07:47:45,391 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-75732205', 'ctest-vmi-11146170']} 2025-09-15 07:47:45,643 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-11146170', 'id': '6591aeb0-a8c8-4014-a55f-80c59926dfb3', 'tenant_id': '29067dde4c7043c1a7870e65a51993e0', 'network_id': '9f1e8ebe-68da-4760-86f0-f1e3385508db', 'mac_address': '02:65:91:ae:b0:a8', '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': '174.253.173.131', 'subnet_id': '5655c20c-8929-4ee8-ab5a-23a242f92759'}], 'security_groups': ['db2a31a9-f717-4137-b967-1dd502c98e5a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '29067dde4c7043c1a7870e65a51993e0'}} 2025-09-15 07:47:45,643 - DEBUG - Created port 6591aeb0-a8c8-4014-a55f-80c59926dfb3 2025-09-15 07:47:45,747 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6591aeb0-a8c8-4014-a55f-80c59926dfb3 2025-09-15 07:47:46,106 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6591aeb0-a8c8-4014-a55f-80c59926dfb3 2025-09-15 07:47:46,141 - INFO - VMI 6591aeb0-a8c8-4014-a55f-80c59926dfb3 verification in API Server passed 2025-09-15 07:47:46,231 - DEBUG - Response for delete_port : () 2025-09-15 07:47:46,231 - INFO - Deleted port 6591aeb0-a8c8-4014-a55f-80c59926dfb3 2025-09-15 07:47:46,231 - INFO - Deleting VN ctest-vn-48388780 2025-09-15 07:47:46,339 - DEBUG - Response for deleting network () 2025-09-15 07:47:46,597 - DEBUG - No XMPP flaps were noticed during the test
2025-09-15 07:47:46,598 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-15 07:47:46,598 - INFO - -------------------------------------------------------------------------------- 2025-09-15 07:47:46,601 - INFO - ================================================================================ 2025-09-15 07:47:46,601 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-15 07:47:46,601 - 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-15 07:47:46,889 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-15 07:47:46,889 - INFO - Initial checks done. Running the testcase now 2025-09-15 07:47:46,889 - INFO - 2025-09-15 07:47:47,068 - DEBUG - Response for create_network : {'network': {'id': '61fc9ca0-8558-4992-825c-e8e2453125f0', 'name': 'ctest-vn1-94425848', 'tenant_id': '29067dde4c7043c1a7870e65a51993e0', 'project_id': '29067dde4c7043c1a7870e65a51993e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-75732205', 'ctest-vn1-94425848'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 07:47:47,235 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d72146c-4e38-49b6-9a78-9672b6d2d742', 'name': '', 'tenant_id': '29067dde4c7043c1a7870e65a51993e0', 'network_id': '61fc9ca0-8558-4992-825c-e8e2453125f0', 'ip_version': 4, 'cidr': '101.20.230.128/26', 'allocation_pools': [{'start': '101.20.230.130', 'end': '101.20.230.190'}], 'gateway_ip': '101.20.230.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.20.230.130', 'tags': [], 'project_id': '29067dde4c7043c1a7870e65a51993e0'}} 2025-09-15 07:47:47,386 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0fe454d-f20e-41c6-813d-d570190a61a2', 'name': '', 'tenant_id': '29067dde4c7043c1a7870e65a51993e0', 'network_id': '61fc9ca0-8558-4992-825c-e8e2453125f0', 'ip_version': 4, 'cidr': '90.228.152.192/26', 'allocation_pools': [{'start': '90.228.152.194', 'end': '90.228.152.254'}], 'gateway_ip': '90.228.152.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.228.152.194', 'tags': [], 'project_id': '29067dde4c7043c1a7870e65a51993e0'}} 2025-09-15 07:47:47,408 - INFO - Created VN ctest-vn1-94425848 2025-09-15 07:47:47,459 - DEBUG - VN ctest-vn1-94425848 UUID is 61fc9ca0-8558-4992-825c-e8e2453125f0 2025-09-15 07:47:47,778 - DEBUG - Response for create_port : {'port': {'name': 'f0c4a1ac-b1e0-4e70-a703-9b84d1b13d13', 'id': 'f0c4a1ac-b1e0-4e70-a703-9b84d1b13d13', 'tenant_id': '29067dde4c7043c1a7870e65a51993e0', 'network_id': '61fc9ca0-8558-4992-825c-e8e2453125f0', 'mac_address': '02:f0:c4:a1:ac:b1', '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': '101.20.230.133', 'subnet_id': '9d72146c-4e38-49b6-9a78-9672b6d2d742'}], 'security_groups': ['db2a31a9-f717-4137-b967-1dd502c98e5a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '29067dde4c7043c1a7870e65a51993e0'}} 2025-09-15 07:47:47,987 - DEBUG - Response for create_port : {'port': {'name': '70cfc188-7e2c-442e-b56a-7c0f8563a902', 'id': '70cfc188-7e2c-442e-b56a-7c0f8563a902', 'tenant_id': '29067dde4c7043c1a7870e65a51993e0', 'network_id': '61fc9ca0-8558-4992-825c-e8e2453125f0', 'mac_address': '02:70:cf:c1:88:7e', '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.228.152.197', 'subnet_id': 'b0fe454d-f20e-41c6-813d-d570190a61a2'}], 'security_groups': ['db2a31a9-f717-4137-b967-1dd502c98e5a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '29067dde4c7043c1a7870e65a51993e0'}} 2025-09-15 07:47:48,047 - DEBUG - Services list from nova: [, , ] 2025-09-15 07:47:48,421 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4111-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4111-1) 2025-09-15 07:47:48,881 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4111-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4111-1) 2025-09-15 07:47:48,881 - INFO - Waiting for VM ctest-vn1-vm1-07173077 to be up.. 2025-09-15 07:47:48,931 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-15 07:47:54,016 - DEBUG - VM is in ACTIVE state now 2025-09-15 07:47:54,016 - INFO - VM name : ctest-vn1-vm1-07173077 2025-09-15 07:47:54,093 - DEBUG - VM ctest-vn1-vm1-07173077 ID is d78fce32-f412-4ff4-9f44-dec5d325b502 2025-09-15 07:47:54,116 - DEBUG - VM ctest-vn1-vm1-07173077 launched on Node cn-jenkins-deploy-platform-ansible-os-4111-1 2025-09-15 07:47:54,193 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d78fce32-f412-4ff4-9f44-dec5d325b502 2025-09-15 07:47:54,202 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f0c4a1ac-b1e0-4e70-a703-9b84d1b13d13 2025-09-15 07:47:57,451 - 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 1010ms') 2025-09-15 07:47:57,451 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-07173077 failed! 2025-09-15 07:47:57,507 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-75732205:ctest-vn1-94425848 is 101.20.230.129 and allocation pool is NOT set 2025-09-15 07:47:57,507 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-75732205:ctest-vn1-94425848 is 90.228.152.193 and allocation pool is NOT set 2025-09-15 07:48:01,584 - 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=15.1 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 = 15.091/15.091/15.091/0.000 ms') 2025-09-15 07:48:01,584 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-07173077 passed 2025-09-15 07:48:01,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 07:48:01,743 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-07173077, IP 101.20.230.133, Port 22 2025-09-15 07:48:01,913 - DEBUG - VM ctest-vn1-vm1-07173077 is ready for SSH connections 2025-09-15 07:48:01,913 - INFO - Waiting for VM ctest-vn1-vm2-03557114 to be up.. 2025-09-15 07:48:01,997 - DEBUG - VM is in ACTIVE state now 2025-09-15 07:48:01,997 - INFO - VM name : ctest-vn1-vm2-03557114 2025-09-15 07:48:02,084 - DEBUG - VM ctest-vn1-vm2-03557114 ID is 44fb6aff-e4ee-4c89-86a3-2cce4c47b672 2025-09-15 07:48:02,084 - DEBUG - VM ctest-vn1-vm2-03557114 launched on Node cn-jenkins-deploy-platform-ansible-os-4111-1 2025-09-15 07:48:02,166 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/44fb6aff-e4ee-4c89-86a3-2cce4c47b672 2025-09-15 07:48:02,176 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/70cfc188-7e2c-442e-b56a-7c0f8563a902 2025-09-15 07:48:03,416 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.601 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.601/2.631/4.662/2.030 ms') 2025-09-15 07:48:03,416 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-03557114 passed 2025-09-15 07:48:03,571 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 07:48:03,571 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-03557114, IP 90.228.152.197, Port 22 2025-09-15 07:48:03,731 - DEBUG - VM ctest-vn1-vm2-03557114 is ready for SSH connections 2025-09-15 07:48:03,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 07:48:03,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 07:48:03,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 07:48:03,731 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.20.230.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-15 07:48:03,731 - DEBUG - ping -s 56 -c 3 -W 1 101.20.230.133 2025-09-15 07:48:06,421 - DEBUG - PING 101.20.230.133 (101.20.230.133): 56 data bytes 64 bytes from 101.20.230.133: seq=0 ttl=63 time=9.976 ms 64 bytes from 101.20.230.133: seq=1 ttl=63 time=1.682 ms 64 bytes from 101.20.230.133: seq=2 ttl=63 time=0.977 ms --- 101.20.230.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.977/4.211/9.976 ms 2025-09-15 07:48:06,421 - INFO - Ping to IP 101.20.230.133 from VM ctest-vn1-vm2-03557114 passed 2025-09-15 07:48:06,421 - INFO - Detaching port 70cfc188-7e2c-442e-b56a-7c0f8563a902 from VM ctest-vn1-vm2-03557114 2025-09-15 07:48:06,472 - INFO - Deleting VM ctest-vn1-vm2-03557114 2025-09-15 07:48:06,543 - INFO - Detaching port f0c4a1ac-b1e0-4e70-a703-9b84d1b13d13 from VM ctest-vn1-vm1-07173077 2025-09-15 07:48:06,579 - INFO - Deleting VM ctest-vn1-vm1-07173077 2025-09-15 07:48:07,168 - DEBUG - Response for delete_port : () 2025-09-15 07:48:07,549 - DEBUG - Response for delete_port : () 2025-09-15 07:48:07,549 - INFO - Deleting VN ctest-vn1-94425848 2025-09-15 07:48:07,716 - DEBUG - Response for deleting network () 2025-09-15 07:48:07,973 - DEBUG - No XMPP flaps were noticed during the test
2025-09-15 07:48:07,973 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-09-15 07:48:07,973 - INFO - -------------------------------------------------------------------------------- 2025-09-15 07:48:08,732 - INFO - Deleted project: ctest-TestPorts-75732205, ID : 29067dde-4c70-43c1-a787-0e65a51993e0