2025-12-10 17:10:29,957 - INFO - Domain Default found not creating 2025-12-10 17:10:30,282 - INFO - Project ctest-TestPorts-69126277 not found, creating it 2025-12-10 17:10:30,925 - INFO - Created Project:ctest-TestPorts-69126277, ID : e9847a1e-8cd7-4d64-a271-3dc5df7e26c7 2025-12-10 17:10:32,999 - INFO - ================================================================================ 2025-12-10 17:10:32,999 - INFO - STARTING TEST : test_ports_bindings 2025-12-10 17:10:32,999 - 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-12-10 17:10:33,300 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2025-12-10 17:10:33,301 - INFO - Initial checks done. Running the testcase now 2025-12-10 17:10:33,301 - INFO - 2025-12-10 17:10:33,918 - DEBUG - Response for create_network : {'network': {'id': '68ceb871-fd13-474f-81f8-0707ff9c612a', 'name': 'ctest-vn-11787313', 'tenant_id': 'e9847a1e8cd74d64a2713dc5df7e26c7', 'project_id': 'e9847a1e8cd74d64a2713dc5df7e26c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-69126277', 'ctest-vn-11787313'], 'port_security_enabled': True, 'description': ''}} 2025-12-10 17:10:34,147 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f0ccaa7-aa68-4ad7-b1e6-3e4addc26835', 'name': '', 'tenant_id': 'e9847a1e8cd74d64a2713dc5df7e26c7', 'network_id': '68ceb871-fd13-474f-81f8-0707ff9c612a', 'ip_version': 4, 'cidr': '120.129.224.0/26', 'allocation_pools': [{'start': '120.129.224.2', 'end': '120.129.224.62'}], 'gateway_ip': '120.129.224.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.129.224.2', 'tags': [], 'project_id': 'e9847a1e8cd74d64a2713dc5df7e26c7'}} 2025-12-10 17:10:34,178 - INFO - Created VN ctest-vn-11787313 2025-12-10 17:10:34,236 - DEBUG - VN ctest-vn-11787313 UUID is 68ceb871-fd13-474f-81f8-0707ff9c612a 2025-12-10 17:10:34,376 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-69126277', 'ctest-vmi-19097541']} 2025-12-10 17:10:34,658 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-19097541', 'id': 'e06510f4-658f-4130-8699-a8e7fa059383', 'tenant_id': 'e9847a1e8cd74d64a2713dc5df7e26c7', 'network_id': '68ceb871-fd13-474f-81f8-0707ff9c612a', 'mac_address': '02:e0:65:10:f4:65', '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': '120.129.224.3', 'subnet_id': '3f0ccaa7-aa68-4ad7-b1e6-3e4addc26835'}], 'security_groups': ['a9c71ae7-97e5-42d2-ba03-57bdc3aef0b2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e9847a1e8cd74d64a2713dc5df7e26c7'}} 2025-12-10 17:10:34,659 - DEBUG - Created port e06510f4-658f-4130-8699-a8e7fa059383 2025-12-10 17:10:34,780 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/e06510f4-658f-4130-8699-a8e7fa059383 2025-12-10 17:10:35,085 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/e06510f4-658f-4130-8699-a8e7fa059383 2025-12-10 17:10:35,139 - INFO - VMI e06510f4-658f-4130-8699-a8e7fa059383 verification in API Server passed 2025-12-10 17:10:35,273 - DEBUG - Response for delete_port : () 2025-12-10 17:10:35,273 - INFO - Deleted port e06510f4-658f-4130-8699-a8e7fa059383 2025-12-10 17:10:35,273 - INFO - Deleting VN ctest-vn-11787313 2025-12-10 17:10:35,396 - DEBUG - Response for deleting network () 2025-12-10 17:10:35,659 - DEBUG - No XMPP flaps were noticed during the test
2025-12-10 17:10:35,659 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-12-10 17:10:35,659 - INFO - -------------------------------------------------------------------------------- 2025-12-10 17:10:35,665 - INFO - ================================================================================ 2025-12-10 17:10:35,665 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-10 17:10:35,665 - 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-12-10 17:10:35,979 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2025-12-10 17:10:35,980 - INFO - Initial checks done. Running the testcase now 2025-12-10 17:10:35,980 - INFO - 2025-12-10 17:10:36,184 - DEBUG - Response for create_network : {'network': {'id': '2266d82b-3396-4c43-94d8-75c754a681a1', 'name': 'ctest-vn1-57588842', 'tenant_id': 'e9847a1e8cd74d64a2713dc5df7e26c7', 'project_id': 'e9847a1e8cd74d64a2713dc5df7e26c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-69126277', 'ctest-vn1-57588842'], 'port_security_enabled': True, 'description': ''}} 2025-12-10 17:10:36,400 - DEBUG - Response for create_subnet : {'subnet': {'id': '9bf90779-2689-4791-9d8e-d7496b1e618b', 'name': '', 'tenant_id': 'e9847a1e8cd74d64a2713dc5df7e26c7', 'network_id': '2266d82b-3396-4c43-94d8-75c754a681a1', 'ip_version': 4, 'cidr': '211.54.97.128/26', 'allocation_pools': [{'start': '211.54.97.130', 'end': '211.54.97.190'}], 'gateway_ip': '211.54.97.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.54.97.130', 'tags': [], 'project_id': 'e9847a1e8cd74d64a2713dc5df7e26c7'}} 2025-12-10 17:10:36,637 - DEBUG - Response for create_subnet : {'subnet': {'id': '11f90a30-7f3e-45c2-aaab-05a16f918c8e', 'name': '', 'tenant_id': 'e9847a1e8cd74d64a2713dc5df7e26c7', 'network_id': '2266d82b-3396-4c43-94d8-75c754a681a1', 'ip_version': 4, 'cidr': '38.72.196.0/26', 'allocation_pools': [{'start': '38.72.196.2', 'end': '38.72.196.62'}], 'gateway_ip': '38.72.196.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.72.196.2', 'tags': [], 'project_id': 'e9847a1e8cd74d64a2713dc5df7e26c7'}} 2025-12-10 17:10:36,659 - INFO - Created VN ctest-vn1-57588842 2025-12-10 17:10:36,712 - DEBUG - VN ctest-vn1-57588842 UUID is 2266d82b-3396-4c43-94d8-75c754a681a1 2025-12-10 17:10:37,173 - DEBUG - Response for create_port : {'port': {'name': 'e854d5ea-9db5-4606-9158-7c79c17edadb', 'id': 'e854d5ea-9db5-4606-9158-7c79c17edadb', 'tenant_id': 'e9847a1e8cd74d64a2713dc5df7e26c7', 'network_id': '2266d82b-3396-4c43-94d8-75c754a681a1', 'mac_address': '02:e8:54:d5:ea:9d', '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': '211.54.97.133', 'subnet_id': '9bf90779-2689-4791-9d8e-d7496b1e618b'}], 'security_groups': ['a9c71ae7-97e5-42d2-ba03-57bdc3aef0b2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e9847a1e8cd74d64a2713dc5df7e26c7'}} 2025-12-10 17:10:37,405 - DEBUG - Response for create_port : {'port': {'name': '97aaab39-f709-4ef1-9b6e-af8567f8dce5', 'id': '97aaab39-f709-4ef1-9b6e-af8567f8dce5', 'tenant_id': 'e9847a1e8cd74d64a2713dc5df7e26c7', 'network_id': '2266d82b-3396-4c43-94d8-75c754a681a1', 'mac_address': '02:97:aa:ab:39:f7', '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': '38.72.196.5', 'subnet_id': '11f90a30-7f3e-45c2-aaab-05a16f918c8e'}], 'security_groups': ['a9c71ae7-97e5-42d2-ba03-57bdc3aef0b2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e9847a1e8cd74d64a2713dc5df7e26c7'}} 2025-12-10 17:10:37,485 - DEBUG - Services list from nova: [, , ] 2025-12-10 17:10:38,284 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4876-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4876-1) 2025-12-10 17:10:39,107 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4876-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4876-1) 2025-12-10 17:10:39,107 - INFO - Waiting for VM ctest-vn1-vm1-09730611 to be up.. 2025-12-10 17:10:39,186 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-10 17:10:44,383 - DEBUG - VM is in ACTIVE state now 2025-12-10 17:10:44,383 - INFO - VM name : ctest-vn1-vm1-09730611 2025-12-10 17:10:44,567 - DEBUG - VM ctest-vn1-vm1-09730611 ID is b8553f39-301f-46e8-a36a-c088186cc4b1 2025-12-10 17:10:44,597 - DEBUG - VM ctest-vn1-vm1-09730611 launched on Node cn-jenkins-deploy-platform-ansible-os-4876-1 2025-12-10 17:10:44,724 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/b8553f39-301f-46e8-a36a-c088186cc4b1 2025-12-10 17:10:44,735 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/e854d5ea-9db5-4606-9158-7c79c17edadb 2025-12-10 17:10:48,017 - 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 1024ms') 2025-12-10 17:10:48,017 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09730611 failed! 2025-12-10 17:10:48,092 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-69126277:ctest-vn1-57588842 is 211.54.97.129 and allocation pool is NOT set 2025-12-10 17:10:48,092 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-69126277:ctest-vn1-57588842 is 38.72.196.1 and allocation pool is NOT set 2025-12-10 17:10:52,175 - 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=3.37 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 3.370/3.370/3.370/0.000 ms') 2025-12-10 17:10:52,175 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09730611 passed 2025-12-10 17:10:52,356 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:10:52,356 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-09730611, IP 211.54.97.133, Port 22 2025-12-10 17:10:52,434 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-10 17:10:52,629 - DEBUG - VM ctest-vn1-vm1-09730611 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-10 17:10:57,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:10:57,630 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-09730611, IP 211.54.97.133, Port 22 2025-12-10 17:10:57,834 - DEBUG - VM ctest-vn1-vm1-09730611 is ready for SSH connections 2025-12-10 17:10:57,834 - INFO - Waiting for VM ctest-vn1-vm2-16710732 to be up.. 2025-12-10 17:10:58,021 - DEBUG - VM is in ACTIVE state now 2025-12-10 17:10:58,021 - INFO - VM name : ctest-vn1-vm2-16710732 2025-12-10 17:10:58,200 - DEBUG - VM ctest-vn1-vm2-16710732 ID is d350e78d-20a1-4e12-affe-43901e3f745b 2025-12-10 17:10:58,201 - DEBUG - VM ctest-vn1-vm2-16710732 launched on Node cn-jenkins-deploy-platform-ansible-os-4876-1 2025-12-10 17:10:58,333 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/d350e78d-20a1-4e12-affe-43901e3f745b 2025-12-10 17:10:58,349 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/97aaab39-f709-4ef1-9b6e-af8567f8dce5 2025-12-10 17:10:59,656 - 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=8.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.962 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.962/4.665/8.369/3.703 ms') 2025-12-10 17:10:59,656 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-16710732 passed 2025-12-10 17:10:59,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:10:59,844 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-16710732, IP 38.72.196.5, Port 22 2025-12-10 17:11:00,037 - DEBUG - VM ctest-vn1-vm2-16710732 is ready for SSH connections 2025-12-10 17:11:00,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:11:00,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:11:00,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:11:00,038 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 211.54.97.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-10 17:11:00,039 - DEBUG - ping -s 56 -c 3 -W 1 211.54.97.133 2025-12-10 17:11:02,933 - DEBUG - PING 211.54.97.133 (211.54.97.133): 56 data bytes 64 bytes from 211.54.97.133: seq=0 ttl=63 time=4.289 ms 64 bytes from 211.54.97.133: seq=1 ttl=63 time=1.412 ms 64 bytes from 211.54.97.133: seq=2 ttl=63 time=0.995 ms --- 211.54.97.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.995/2.232/4.289 ms 2025-12-10 17:11:02,933 - INFO - Ping to IP 211.54.97.133 from VM ctest-vn1-vm2-16710732 passed 2025-12-10 17:11:02,934 - INFO - Detaching port 97aaab39-f709-4ef1-9b6e-af8567f8dce5 from VM ctest-vn1-vm2-16710732 2025-12-10 17:11:03,018 - INFO - Deleting VM ctest-vn1-vm2-16710732 2025-12-10 17:11:03,167 - INFO - Detaching port e854d5ea-9db5-4606-9158-7c79c17edadb from VM ctest-vn1-vm1-09730611 2025-12-10 17:11:03,231 - INFO - Deleting VM ctest-vn1-vm1-09730611 2025-12-10 17:11:03,548 - DEBUG - Response for delete_port : () 2025-12-10 17:11:03,732 - DEBUG - Response for delete_port : () 2025-12-10 17:11:03,732 - INFO - Deleting VN ctest-vn1-57588842 2025-12-10 17:11:03,891 - DEBUG - Response for deleting network () 2025-12-10 17:11:04,150 - DEBUG - No XMPP flaps were noticed during the test
2025-12-10 17:11:04,151 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:29]
2025-12-10 17:11:04,151 - INFO - -------------------------------------------------------------------------------- 2025-12-10 17:11:04,950 - INFO - Deleted project: ctest-TestPorts-69126277, ID : e9847a1e-8cd7-4d64-a271-3dc5df7e26c7