2025-11-05 20:04:56,196 - INFO - Domain Default found not creating 2025-11-05 20:04:56,567 - INFO - Project ctest-TestPorts-12151025 not found, creating it 2025-11-05 20:04:57,189 - INFO - Created Project:ctest-TestPorts-12151025, ID : cc4875b3-b54b-4ea9-bd16-bc1e3f793c9c 2025-11-05 20:04:59,405 - INFO - ================================================================================ 2025-11-05 20:04:59,405 - INFO - STARTING TEST : test_ports_bindings 2025-11-05 20:04:59,406 - 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-05 20:04:59,715 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.192': '0'}} with 2025-11-05 20:04:59,715 - INFO - Initial checks done. Running the testcase now 2025-11-05 20:04:59,715 - INFO - 2025-11-05 20:05:00,397 - DEBUG - Response for create_network : {'network': {'id': 'bf2daec9-6832-48dd-b557-e32a8e10d717', 'name': 'ctest-vn-16066897', 'tenant_id': 'cc4875b3b54b4ea9bd16bc1e3f793c9c', 'project_id': 'cc4875b3b54b4ea9bd16bc1e3f793c9c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-12151025', 'ctest-vn-16066897'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 20:05:00,592 - DEBUG - Response for create_subnet : {'subnet': {'id': 'affd35f6-0bbb-40f5-bf0a-0f624709dcfa', 'name': '', 'tenant_id': 'cc4875b3b54b4ea9bd16bc1e3f793c9c', 'network_id': 'bf2daec9-6832-48dd-b557-e32a8e10d717', 'ip_version': 4, 'cidr': '109.95.143.128/26', 'allocation_pools': [{'start': '109.95.143.130', 'end': '109.95.143.190'}], 'gateway_ip': '109.95.143.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.95.143.130', 'tags': [], 'project_id': 'cc4875b3b54b4ea9bd16bc1e3f793c9c'}} 2025-11-05 20:05:00,609 - INFO - Created VN ctest-vn-16066897 2025-11-05 20:05:00,660 - DEBUG - VN ctest-vn-16066897 UUID is bf2daec9-6832-48dd-b557-e32a8e10d717 2025-11-05 20:05:00,783 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-12151025', 'ctest-vmi-29096245']} 2025-11-05 20:05:01,075 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-29096245', 'id': 'd88d2899-cd22-4cde-a422-b829f0fb00e9', 'tenant_id': 'cc4875b3b54b4ea9bd16bc1e3f793c9c', 'network_id': 'bf2daec9-6832-48dd-b557-e32a8e10d717', 'mac_address': '02:d8:8d:28:99:cd', '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': '109.95.143.131', 'subnet_id': 'affd35f6-0bbb-40f5-bf0a-0f624709dcfa'}], 'security_groups': ['6ed7799d-d693-4cb7-ae1c-a15eba15927f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cc4875b3b54b4ea9bd16bc1e3f793c9c'}} 2025-11-05 20:05:01,076 - DEBUG - Created port d88d2899-cd22-4cde-a422-b829f0fb00e9 2025-11-05 20:05:01,184 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d88d2899-cd22-4cde-a422-b829f0fb00e9 2025-11-05 20:05:01,492 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d88d2899-cd22-4cde-a422-b829f0fb00e9 2025-11-05 20:05:01,529 - INFO - VMI d88d2899-cd22-4cde-a422-b829f0fb00e9 verification in API Server passed 2025-11-05 20:05:01,692 - DEBUG - Response for delete_port : () 2025-11-05 20:05:01,693 - INFO - Deleted port d88d2899-cd22-4cde-a422-b829f0fb00e9 2025-11-05 20:05:01,693 - INFO - Deleting VN ctest-vn-16066897 2025-11-05 20:05:01,825 - DEBUG - Response for deleting network () 2025-11-05 20:05:02,099 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 20:05:02,099 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-11-05 20:05:02,099 - INFO - -------------------------------------------------------------------------------- 2025-11-05 20:05:02,103 - INFO - ================================================================================ 2025-11-05 20:05:02,103 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-05 20:05:02,103 - 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-05 20:05:02,401 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.192': '0'}} with 2025-11-05 20:05:02,401 - INFO - Initial checks done. Running the testcase now 2025-11-05 20:05:02,401 - INFO - 2025-11-05 20:05:02,631 - DEBUG - Response for create_network : {'network': {'id': 'dd3e7703-ac58-4454-b434-cdd98150c98e', 'name': 'ctest-vn1-42510278', 'tenant_id': 'cc4875b3b54b4ea9bd16bc1e3f793c9c', 'project_id': 'cc4875b3b54b4ea9bd16bc1e3f793c9c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-12151025', 'ctest-vn1-42510278'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 20:05:02,787 - DEBUG - Response for create_subnet : {'subnet': {'id': '74073cae-94b8-4cfb-8d12-da169ab10f61', 'name': '', 'tenant_id': 'cc4875b3b54b4ea9bd16bc1e3f793c9c', 'network_id': 'dd3e7703-ac58-4454-b434-cdd98150c98e', 'ip_version': 4, 'cidr': '165.158.41.192/26', 'allocation_pools': [{'start': '165.158.41.194', 'end': '165.158.41.254'}], 'gateway_ip': '165.158.41.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.158.41.194', 'tags': [], 'project_id': 'cc4875b3b54b4ea9bd16bc1e3f793c9c'}} 2025-11-05 20:05:02,997 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e346231-819e-48b4-8f0d-51618cc93b74', 'name': '', 'tenant_id': 'cc4875b3b54b4ea9bd16bc1e3f793c9c', 'network_id': 'dd3e7703-ac58-4454-b434-cdd98150c98e', 'ip_version': 4, 'cidr': '148.185.188.0/26', 'allocation_pools': [{'start': '148.185.188.2', 'end': '148.185.188.62'}], 'gateway_ip': '148.185.188.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.185.188.2', 'tags': [], 'project_id': 'cc4875b3b54b4ea9bd16bc1e3f793c9c'}} 2025-11-05 20:05:03,024 - INFO - Created VN ctest-vn1-42510278 2025-11-05 20:05:03,084 - DEBUG - VN ctest-vn1-42510278 UUID is dd3e7703-ac58-4454-b434-cdd98150c98e 2025-11-05 20:05:03,552 - DEBUG - Response for create_port : {'port': {'name': 'e82654a4-07ee-419b-98ed-f2b67780c1c2', 'id': 'e82654a4-07ee-419b-98ed-f2b67780c1c2', 'tenant_id': 'cc4875b3b54b4ea9bd16bc1e3f793c9c', 'network_id': 'dd3e7703-ac58-4454-b434-cdd98150c98e', 'mac_address': '02:e8:26:54:a4:07', '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': '165.158.41.197', 'subnet_id': '74073cae-94b8-4cfb-8d12-da169ab10f61'}], 'security_groups': ['6ed7799d-d693-4cb7-ae1c-a15eba15927f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cc4875b3b54b4ea9bd16bc1e3f793c9c'}} 2025-11-05 20:05:03,762 - DEBUG - Response for create_port : {'port': {'name': '41476b95-0005-428e-a614-28fdb044eca2', 'id': '41476b95-0005-428e-a614-28fdb044eca2', 'tenant_id': 'cc4875b3b54b4ea9bd16bc1e3f793c9c', 'network_id': 'dd3e7703-ac58-4454-b434-cdd98150c98e', 'mac_address': '02:41:47:6b:95:00', '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': '148.185.188.5', 'subnet_id': '2e346231-819e-48b4-8f0d-51618cc93b74'}], 'security_groups': ['6ed7799d-d693-4cb7-ae1c-a15eba15927f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cc4875b3b54b4ea9bd16bc1e3f793c9c'}} 2025-11-05 20:05:03,830 - DEBUG - Services list from nova: [, , ] 2025-11-05 20:05:04,233 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4655-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4655-1) 2025-11-05 20:05:04,712 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4655-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4655-1) 2025-11-05 20:05:04,712 - INFO - Waiting for VM ctest-vn1-vm1-21036974 to be up.. 2025-11-05 20:05:04,759 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 20:05:09,969 - DEBUG - VM is in ACTIVE state now 2025-11-05 20:05:09,969 - INFO - VM name : ctest-vn1-vm1-21036974 2025-11-05 20:05:10,137 - DEBUG - VM ctest-vn1-vm1-21036974 ID is 3736479a-14bf-45b2-8274-2789e7182233 2025-11-05 20:05:10,181 - DEBUG - VM ctest-vn1-vm1-21036974 launched on Node cn-jenkins-deploy-platform-ansible-os-4655-1 2025-11-05 20:05:10,289 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3736479a-14bf-45b2-8274-2789e7182233 2025-11-05 20:05:10,301 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e82654a4-07ee-419b-98ed-f2b67780c1c2 2025-11-05 20:05:13,609 - 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 1027ms') 2025-11-05 20:05:13,609 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-21036974 failed! 2025-11-05 20:05:13,667 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-12151025:ctest-vn1-42510278 is 165.158.41.193 and allocation pool is NOT set 2025-11-05 20:05:13,668 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-12151025:ctest-vn1-42510278 is 148.185.188.1 and allocation pool is NOT set 2025-11-05 20:05:17,770 - 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.49 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1027ms\r\nrtt min/avg/max/mdev = 8.485/8.485/8.485/0.000 ms') 2025-11-05 20:05:17,770 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-21036974 passed 2025-11-05 20:05:17,928 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 20:05:17,928 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-21036974, IP 165.158.41.197, Port 22 2025-11-05 20:05:18,114 - DEBUG - VM ctest-vn1-vm1-21036974 is ready for SSH connections 2025-11-05 20:05:18,114 - INFO - Waiting for VM ctest-vn1-vm2-24356468 to be up.. 2025-11-05 20:05:18,314 - DEBUG - VM is in ACTIVE state now 2025-11-05 20:05:18,314 - INFO - VM name : ctest-vn1-vm2-24356468 2025-11-05 20:05:18,516 - DEBUG - VM ctest-vn1-vm2-24356468 ID is 5543862f-f7b6-403a-b9da-ca58255b6cc8 2025-11-05 20:05:18,516 - DEBUG - VM ctest-vn1-vm2-24356468 launched on Node cn-jenkins-deploy-platform-ansible-os-4655-1 2025-11-05 20:05:18,662 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5543862f-f7b6-403a-b9da-ca58255b6cc8 2025-11-05 20:05:18,683 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/41476b95-0005-428e-a614-28fdb044eca2 2025-11-05 20:05:19,984 - 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=5.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.942 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 = 0.942/3.412/5.882/2.470 ms') 2025-11-05 20:05:19,985 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-24356468 passed 2025-11-05 20:05:20,168 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 20:05:20,168 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-24356468, IP 148.185.188.5, Port 22 2025-11-05 20:05:20,368 - DEBUG - VM ctest-vn1-vm2-24356468 is ready for SSH connections 2025-11-05 20:05:20,368 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 20:05:20,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 20:05:20,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 20:05:20,369 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.158.41.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-05 20:05:20,369 - DEBUG - ping -s 56 -c 3 -W 1 165.158.41.197 2025-11-05 20:05:23,332 - DEBUG - PING 165.158.41.197 (165.158.41.197): 56 data bytes 64 bytes from 165.158.41.197: seq=0 ttl=63 time=12.738 ms 64 bytes from 165.158.41.197: seq=1 ttl=63 time=2.321 ms 64 bytes from 165.158.41.197: seq=2 ttl=63 time=1.248 ms --- 165.158.41.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.248/5.435/12.738 ms 2025-11-05 20:05:23,333 - INFO - Ping to IP 165.158.41.197 from VM ctest-vn1-vm2-24356468 passed 2025-11-05 20:05:23,333 - INFO - Detaching port 41476b95-0005-428e-a614-28fdb044eca2 from VM ctest-vn1-vm2-24356468 2025-11-05 20:05:23,453 - INFO - Deleting VM ctest-vn1-vm2-24356468 2025-11-05 20:05:23,627 - INFO - Detaching port e82654a4-07ee-419b-98ed-f2b67780c1c2 from VM ctest-vn1-vm1-21036974 2025-11-05 20:05:23,720 - INFO - Deleting VM ctest-vn1-vm1-21036974 2025-11-05 20:05:24,167 - DEBUG - Response for delete_port : () 2025-11-05 20:05:24,378 - DEBUG - Response for delete_port : () 2025-11-05 20:05:24,378 - INFO - Deleting VN ctest-vn1-42510278 2025-11-05 20:05:24,534 - DEBUG - Response for deleting network () 2025-11-05 20:05:24,818 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 20:05:24,819 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22] 2025-11-05 20:05:24,819 - INFO - -------------------------------------------------------------------------------- 2025-11-05 20:05:25,585 - INFO - Deleted project: ctest-TestPorts-12151025, ID : cc4875b3-b54b-4ea9-bd16-bc1e3f793c9c