2025-08-11 06:08:54,437 - INFO - Domain Default found not creating 2025-08-11 06:08:54,591 - INFO - Project ctest-TestPorts-60141389 not found, creating it 2025-08-11 06:08:55,070 - INFO - Created Project:ctest-TestPorts-60141389, ID : d444e2b5-e2f4-4249-84be-c53a30d78c6a 2025-08-11 06:08:56,577 - INFO - ================================================================================ 2025-08-11 06:08:56,577 - INFO - STARTING TEST : test_ports_bindings 2025-08-11 06:08:56,577 - 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-08-11 06:08:56,834 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.14': '0'}} with 2025-08-11 06:08:56,834 - INFO - Initial checks done. Running the testcase now 2025-08-11 06:08:56,834 - INFO - 2025-08-11 06:08:57,366 - DEBUG - Response for create_network : {'network': {'id': '15834fec-636b-4576-8753-a99929482243', 'name': 'ctest-vn-52967390', 'tenant_id': 'd444e2b5e2f4424984bec53a30d78c6a', 'project_id': 'd444e2b5e2f4424984bec53a30d78c6a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60141389', 'ctest-vn-52967390'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 06:08:57,551 - DEBUG - Response for create_subnet : {'subnet': {'id': '57c3809a-aa4d-406a-930d-89397ecaac00', 'name': '', 'tenant_id': 'd444e2b5e2f4424984bec53a30d78c6a', 'network_id': '15834fec-636b-4576-8753-a99929482243', 'ip_version': 4, 'cidr': '124.104.233.64/26', 'allocation_pools': [{'start': '124.104.233.66', 'end': '124.104.233.126'}], 'gateway_ip': '124.104.233.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.104.233.66', 'tags': [], 'project_id': 'd444e2b5e2f4424984bec53a30d78c6a'}} 2025-08-11 06:08:57,569 - INFO - Created VN ctest-vn-52967390 2025-08-11 06:08:57,621 - DEBUG - VN ctest-vn-52967390 UUID is 15834fec-636b-4576-8753-a99929482243 2025-08-11 06:08:57,727 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-60141389', 'ctest-vmi-83847373']} 2025-08-11 06:08:58,020 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-83847373', 'id': '8bac2cf6-2757-4c1f-a51a-b01ba50c39ef', 'tenant_id': 'd444e2b5e2f4424984bec53a30d78c6a', 'network_id': '15834fec-636b-4576-8753-a99929482243', 'mac_address': '02:8b:ac:2c:f6:27', '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': '124.104.233.67', 'subnet_id': '57c3809a-aa4d-406a-930d-89397ecaac00'}], 'security_groups': ['5391a033-5009-4d97-8c18-b368910f1a25'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd444e2b5e2f4424984bec53a30d78c6a'}} 2025-08-11 06:08:58,021 - DEBUG - Created port 8bac2cf6-2757-4c1f-a51a-b01ba50c39ef 2025-08-11 06:08:58,129 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/8bac2cf6-2757-4c1f-a51a-b01ba50c39ef 2025-08-11 06:08:58,420 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/8bac2cf6-2757-4c1f-a51a-b01ba50c39ef 2025-08-11 06:08:58,451 - INFO - VMI 8bac2cf6-2757-4c1f-a51a-b01ba50c39ef verification in API Server passed 2025-08-11 06:08:58,535 - DEBUG - Response for delete_port : () 2025-08-11 06:08:58,535 - INFO - Deleted port 8bac2cf6-2757-4c1f-a51a-b01ba50c39ef 2025-08-11 06:08:58,535 - INFO - Deleting VN ctest-vn-52967390 2025-08-11 06:08:58,632 - DEBUG - Response for deleting network () 2025-08-11 06:08:58,890 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 06:08:58,890 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-11 06:08:58,890 - INFO - -------------------------------------------------------------------------------- 2025-08-11 06:08:58,895 - INFO - ================================================================================ 2025-08-11 06:08:58,895 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-11 06:08:58,895 - 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-08-11 06:08:59,174 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.14': '0'}} with 2025-08-11 06:08:59,174 - INFO - Initial checks done. Running the testcase now 2025-08-11 06:08:59,175 - INFO - 2025-08-11 06:08:59,345 - DEBUG - Response for create_network : {'network': {'id': '78579fb7-6bb8-41ad-a740-7ca311aa6897', 'name': 'ctest-vn1-15492736', 'tenant_id': 'd444e2b5e2f4424984bec53a30d78c6a', 'project_id': 'd444e2b5e2f4424984bec53a30d78c6a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60141389', 'ctest-vn1-15492736'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 06:08:59,533 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec428073-c55b-45fd-b80f-aaf2be449f75', 'name': '', 'tenant_id': 'd444e2b5e2f4424984bec53a30d78c6a', 'network_id': '78579fb7-6bb8-41ad-a740-7ca311aa6897', 'ip_version': 4, 'cidr': '168.64.231.128/26', 'allocation_pools': [{'start': '168.64.231.130', 'end': '168.64.231.190'}], 'gateway_ip': '168.64.231.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.64.231.130', 'tags': [], 'project_id': 'd444e2b5e2f4424984bec53a30d78c6a'}} 2025-08-11 06:08:59,708 - DEBUG - Response for create_subnet : {'subnet': {'id': '341e4725-efa8-4292-8244-5b3a19606d53', 'name': '', 'tenant_id': 'd444e2b5e2f4424984bec53a30d78c6a', 'network_id': '78579fb7-6bb8-41ad-a740-7ca311aa6897', 'ip_version': 4, 'cidr': '152.59.225.128/26', 'allocation_pools': [{'start': '152.59.225.130', 'end': '152.59.225.190'}], 'gateway_ip': '152.59.225.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.59.225.130', 'tags': [], 'project_id': 'd444e2b5e2f4424984bec53a30d78c6a'}} 2025-08-11 06:08:59,728 - INFO - Created VN ctest-vn1-15492736 2025-08-11 06:08:59,781 - DEBUG - VN ctest-vn1-15492736 UUID is 78579fb7-6bb8-41ad-a740-7ca311aa6897 2025-08-11 06:09:00,087 - DEBUG - Response for create_port : {'port': {'name': '5907d668-3bbc-481e-87aa-f6415ae33e2e', 'id': '5907d668-3bbc-481e-87aa-f6415ae33e2e', 'tenant_id': 'd444e2b5e2f4424984bec53a30d78c6a', 'network_id': '78579fb7-6bb8-41ad-a740-7ca311aa6897', 'mac_address': '02:59:07:d6:68:3b', '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': '168.64.231.133', 'subnet_id': 'ec428073-c55b-45fd-b80f-aaf2be449f75'}], 'security_groups': ['5391a033-5009-4d97-8c18-b368910f1a25'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd444e2b5e2f4424984bec53a30d78c6a'}} 2025-08-11 06:09:00,248 - DEBUG - Response for create_port : {'port': {'name': '893016ea-11a1-4ff3-9d82-363bc5208a42', 'id': '893016ea-11a1-4ff3-9d82-363bc5208a42', 'tenant_id': 'd444e2b5e2f4424984bec53a30d78c6a', 'network_id': '78579fb7-6bb8-41ad-a740-7ca311aa6897', 'mac_address': '02:89:30:16:ea:11', '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': '152.59.225.133', 'subnet_id': '341e4725-efa8-4292-8244-5b3a19606d53'}], 'security_groups': ['5391a033-5009-4d97-8c18-b368910f1a25'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd444e2b5e2f4424984bec53a30d78c6a'}} 2025-08-11 06:09:00,302 - DEBUG - Services list from nova: [, , ] 2025-08-11 06:09:00,618 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3799-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3799-1) 2025-08-11 06:09:00,992 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3799-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3799-1) 2025-08-11 06:09:00,993 - INFO - Waiting for VM ctest-vn1-vm1-72686496 to be up.. 2025-08-11 06:09:01,030 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 06:09:06,105 - DEBUG - VM is in ACTIVE state now 2025-08-11 06:09:06,105 - INFO - VM name : ctest-vn1-vm1-72686496 2025-08-11 06:09:06,178 - DEBUG - VM ctest-vn1-vm1-72686496 ID is 383ef6eb-0e0f-4071-9cfc-e1001f8d8be1 2025-08-11 06:09:06,197 - DEBUG - VM ctest-vn1-vm1-72686496 launched on Node cn-jenkins-deploy-platform-ansible-os-3799-1 2025-08-11 06:09:06,275 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/383ef6eb-0e0f-4071-9cfc-e1001f8d8be1 2025-08-11 06:09:06,284 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/5907d668-3bbc-481e-87aa-f6415ae33e2e 2025-08-11 06:09:09,537 - 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 1009ms') 2025-08-11 06:09:09,538 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72686496 failed! 2025-08-11 06:09:09,593 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60141389:ctest-vn1-15492736 is 168.64.231.129 and allocation pool is NOT set 2025-08-11 06:09:09,593 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60141389:ctest-vn1-15492736 is 152.59.225.129 and allocation pool is NOT set 2025-08-11 06:09:11,657 - 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=2.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.24 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 = 2.242/2.583/2.925/0.341 ms') 2025-08-11 06:09:11,657 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72686496 passed 2025-08-11 06:09:11,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 06:09:11,813 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-72686496, IP 168.64.231.133, Port 22 2025-08-11 06:09:11,969 - DEBUG - VM ctest-vn1-vm1-72686496 is ready for SSH connections 2025-08-11 06:09:11,969 - INFO - Waiting for VM ctest-vn1-vm2-87791080 to be up.. 2025-08-11 06:09:12,041 - DEBUG - VM is in ACTIVE state now 2025-08-11 06:09:12,041 - INFO - VM name : ctest-vn1-vm2-87791080 2025-08-11 06:09:12,109 - DEBUG - VM ctest-vn1-vm2-87791080 ID is acf2e7c3-1f45-4a6b-a7b2-6077126085f9 2025-08-11 06:09:12,109 - DEBUG - VM ctest-vn1-vm2-87791080 launched on Node cn-jenkins-deploy-platform-ansible-os-3799-1 2025-08-11 06:09:12,184 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/acf2e7c3-1f45-4a6b-a7b2-6077126085f9 2025-08-11 06:09:12,193 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/893016ea-11a1-4ff3-9d82-363bc5208a42 2025-08-11 06:09:13,436 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.412 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.412/1.533/2.655/1.121 ms') 2025-08-11 06:09:13,436 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-87791080 passed 2025-08-11 06:09:13,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 06:09:13,590 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-87791080, IP 152.59.225.133, Port 22 2025-08-11 06:09:13,744 - DEBUG - VM ctest-vn1-vm2-87791080 is ready for SSH connections 2025-08-11 06:09:13,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 06:09:13,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 06:09:13,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 06:09:13,745 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.64.231.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-11 06:09:13,745 - DEBUG - ping -s 56 -c 3 -W 1 168.64.231.133 2025-08-11 06:09:16,365 - DEBUG - PING 168.64.231.133 (168.64.231.133): 56 data bytes 64 bytes from 168.64.231.133: seq=0 ttl=63 time=3.429 ms 64 bytes from 168.64.231.133: seq=1 ttl=63 time=1.027 ms 64 bytes from 168.64.231.133: seq=2 ttl=63 time=0.927 ms --- 168.64.231.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.927/1.794/3.429 ms 2025-08-11 06:09:16,365 - INFO - Ping to IP 168.64.231.133 from VM ctest-vn1-vm2-87791080 passed 2025-08-11 06:09:16,365 - INFO - Detaching port 893016ea-11a1-4ff3-9d82-363bc5208a42 from VM ctest-vn1-vm2-87791080 2025-08-11 06:09:16,427 - INFO - Deleting VM ctest-vn1-vm2-87791080 2025-08-11 06:09:16,511 - INFO - Detaching port 5907d668-3bbc-481e-87aa-f6415ae33e2e from VM ctest-vn1-vm1-72686496 2025-08-11 06:09:16,553 - INFO - Deleting VM ctest-vn1-vm1-72686496 2025-08-11 06:09:16,797 - DEBUG - Response for delete_port : () 2025-08-11 06:09:16,956 - DEBUG - Response for delete_port : () 2025-08-11 06:09:16,956 - INFO - Deleting VN ctest-vn1-15492736 2025-08-11 06:09:17,076 - DEBUG - Response for deleting network () 2025-08-11 06:09:17,339 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 06:09:17,339 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-08-11 06:09:17,339 - INFO - -------------------------------------------------------------------------------- 2025-08-11 06:09:18,030 - INFO - Deleted project: ctest-TestPorts-60141389, ID : d444e2b5-e2f4-4249-84be-c53a30d78c6a