2025-10-23 19:12:25,996 - INFO - Domain Default found not creating 2025-10-23 19:12:26,152 - INFO - Project ctest-TestPorts-32054572 not found, creating it 2025-10-23 19:12:26,608 - INFO - Created Project:ctest-TestPorts-32054572, ID : ce419986-e9b6-4763-a975-ceb8820c0705 2025-10-23 19:12:28,153 - INFO - ================================================================================ 2025-10-23 19:12:28,154 - INFO - STARTING TEST : test_ports_bindings 2025-10-23 19:12:28,154 - 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-23 19:12:28,408 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-10-23 19:12:28,408 - INFO - Initial checks done. Running the testcase now 2025-10-23 19:12:28,408 - INFO - 2025-10-23 19:12:28,981 - DEBUG - Response for create_network : {'network': {'id': '989cc34d-83a5-41ca-b95e-0c60079edaca', 'name': 'ctest-vn-86690391', 'tenant_id': 'ce419986e9b64763a975ceb8820c0705', 'project_id': 'ce419986e9b64763a975ceb8820c0705', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-32054572', 'ctest-vn-86690391'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 19:12:29,162 - DEBUG - Response for create_subnet : {'subnet': {'id': '26571cc0-58f4-4f97-bcb0-de9862364d41', 'name': '', 'tenant_id': 'ce419986e9b64763a975ceb8820c0705', 'network_id': '989cc34d-83a5-41ca-b95e-0c60079edaca', 'ip_version': 4, 'cidr': '121.254.127.64/26', 'allocation_pools': [{'start': '121.254.127.66', 'end': '121.254.127.126'}], 'gateway_ip': '121.254.127.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.254.127.66', 'tags': [], 'project_id': 'ce419986e9b64763a975ceb8820c0705'}} 2025-10-23 19:12:29,181 - INFO - Created VN ctest-vn-86690391 2025-10-23 19:12:29,239 - DEBUG - VN ctest-vn-86690391 UUID is 989cc34d-83a5-41ca-b95e-0c60079edaca 2025-10-23 19:12:29,346 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-32054572', 'ctest-vmi-19512844']} 2025-10-23 19:12:29,580 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-19512844', 'id': '4a536ff2-f0a3-4aa3-9061-3b5de4ee0b53', 'tenant_id': 'ce419986e9b64763a975ceb8820c0705', 'network_id': '989cc34d-83a5-41ca-b95e-0c60079edaca', 'mac_address': '02:4a:53:6f:f2:f0', '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': '121.254.127.67', 'subnet_id': '26571cc0-58f4-4f97-bcb0-de9862364d41'}], 'security_groups': ['6894760c-80f6-4a0b-8d33-1f8a48475686'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ce419986e9b64763a975ceb8820c0705'}} 2025-10-23 19:12:29,580 - DEBUG - Created port 4a536ff2-f0a3-4aa3-9061-3b5de4ee0b53 2025-10-23 19:12:29,687 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/4a536ff2-f0a3-4aa3-9061-3b5de4ee0b53 2025-10-23 19:12:30,028 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/4a536ff2-f0a3-4aa3-9061-3b5de4ee0b53 2025-10-23 19:12:30,068 - INFO - VMI 4a536ff2-f0a3-4aa3-9061-3b5de4ee0b53 verification in API Server passed 2025-10-23 19:12:30,155 - DEBUG - Response for delete_port : () 2025-10-23 19:12:30,155 - INFO - Deleted port 4a536ff2-f0a3-4aa3-9061-3b5de4ee0b53 2025-10-23 19:12:30,155 - INFO - Deleting VN ctest-vn-86690391 2025-10-23 19:12:30,259 - DEBUG - Response for deleting network () 2025-10-23 19:12:30,516 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 19:12:30,516 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-23 19:12:30,516 - INFO - -------------------------------------------------------------------------------- 2025-10-23 19:12:30,519 - INFO - ================================================================================ 2025-10-23 19:12:30,519 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-23 19:12:30,519 - 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-23 19:12:30,803 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-10-23 19:12:30,804 - INFO - Initial checks done. Running the testcase now 2025-10-23 19:12:30,804 - INFO - 2025-10-23 19:12:30,985 - DEBUG - Response for create_network : {'network': {'id': 'a5981e44-771b-49c6-bc6f-c3aade8b36a1', 'name': 'ctest-vn1-72291834', 'tenant_id': 'ce419986e9b64763a975ceb8820c0705', 'project_id': 'ce419986e9b64763a975ceb8820c0705', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-32054572', 'ctest-vn1-72291834'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 19:12:31,172 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3afede6-2e3d-4ae5-9f5c-3cf0da4ad8d9', 'name': '', 'tenant_id': 'ce419986e9b64763a975ceb8820c0705', 'network_id': 'a5981e44-771b-49c6-bc6f-c3aade8b36a1', 'ip_version': 4, 'cidr': '196.14.141.128/26', 'allocation_pools': [{'start': '196.14.141.130', 'end': '196.14.141.190'}], 'gateway_ip': '196.14.141.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.14.141.130', 'tags': [], 'project_id': 'ce419986e9b64763a975ceb8820c0705'}} 2025-10-23 19:12:31,350 - DEBUG - Response for create_subnet : {'subnet': {'id': '4f5fed80-7c4a-415d-8908-0df5083dc30d', 'name': '', 'tenant_id': 'ce419986e9b64763a975ceb8820c0705', 'network_id': 'a5981e44-771b-49c6-bc6f-c3aade8b36a1', 'ip_version': 4, 'cidr': '209.10.158.192/26', 'allocation_pools': [{'start': '209.10.158.194', 'end': '209.10.158.254'}], 'gateway_ip': '209.10.158.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.10.158.194', 'tags': [], 'project_id': 'ce419986e9b64763a975ceb8820c0705'}} 2025-10-23 19:12:31,370 - INFO - Created VN ctest-vn1-72291834 2025-10-23 19:12:31,427 - DEBUG - VN ctest-vn1-72291834 UUID is a5981e44-771b-49c6-bc6f-c3aade8b36a1 2025-10-23 19:12:31,733 - DEBUG - Response for create_port : {'port': {'name': '9dac3fde-d992-412b-aff7-d467b1489aae', 'id': '9dac3fde-d992-412b-aff7-d467b1489aae', 'tenant_id': 'ce419986e9b64763a975ceb8820c0705', 'network_id': 'a5981e44-771b-49c6-bc6f-c3aade8b36a1', 'mac_address': '02:9d:ac:3f:de:d9', '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': '196.14.141.133', 'subnet_id': 'e3afede6-2e3d-4ae5-9f5c-3cf0da4ad8d9'}], 'security_groups': ['6894760c-80f6-4a0b-8d33-1f8a48475686'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ce419986e9b64763a975ceb8820c0705'}} 2025-10-23 19:12:31,898 - DEBUG - Response for create_port : {'port': {'name': '9f8c4363-62de-4dee-bc2e-e3715378783c', 'id': '9f8c4363-62de-4dee-bc2e-e3715378783c', 'tenant_id': 'ce419986e9b64763a975ceb8820c0705', 'network_id': 'a5981e44-771b-49c6-bc6f-c3aade8b36a1', 'mac_address': '02:9f:8c:43:63:62', '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': '209.10.158.197', 'subnet_id': '4f5fed80-7c4a-415d-8908-0df5083dc30d'}], 'security_groups': ['6894760c-80f6-4a0b-8d33-1f8a48475686'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ce419986e9b64763a975ceb8820c0705'}} 2025-10-23 19:12:31,955 - DEBUG - Services list from nova: [, , ] 2025-10-23 19:12:32,283 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4466-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4466-1) 2025-10-23 19:12:32,657 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4466-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4466-1) 2025-10-23 19:12:32,657 - INFO - Waiting for VM ctest-vn1-vm1-40879962 to be up.. 2025-10-23 19:12:32,702 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 19:12:37,788 - DEBUG - VM is in ACTIVE state now 2025-10-23 19:12:37,788 - INFO - VM name : ctest-vn1-vm1-40879962 2025-10-23 19:12:37,875 - DEBUG - VM ctest-vn1-vm1-40879962 ID is 55729a08-1c1f-46a3-ba4b-a89aa147d959 2025-10-23 19:12:37,896 - DEBUG - VM ctest-vn1-vm1-40879962 launched on Node cn-jenkins-deploy-platform-ansible-os-4466-1 2025-10-23 19:12:37,974 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/55729a08-1c1f-46a3-ba4b-a89aa147d959 2025-10-23 19:12:37,987 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/9dac3fde-d992-412b-aff7-d467b1489aae 2025-10-23 19:12:41,245 - 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 1007ms') 2025-10-23 19:12:41,245 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-40879962 failed! 2025-10-23 19:12:41,303 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-32054572:ctest-vn1-72291834 is 196.14.141.129 and allocation pool is NOT set 2025-10-23 19:12:41,303 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-32054572:ctest-vn1-72291834 is 209.10.158.193 and allocation pool is NOT set 2025-10-23 19:12:45,368 - 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=14.8 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 14.834/14.834/14.834/0.000 ms') 2025-10-23 19:12:45,368 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-40879962 passed 2025-10-23 19:12:45,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 19:12:45,519 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-40879962, IP 196.14.141.133, Port 22 2025-10-23 19:12:45,584 - 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-10-23 19:12:45,658 - DEBUG - VM ctest-vn1-vm1-40879962 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-23 19:12:50,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 19:12:50,659 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-40879962, IP 196.14.141.133, Port 22 2025-10-23 19:12:50,814 - DEBUG - VM ctest-vn1-vm1-40879962 is ready for SSH connections 2025-10-23 19:12:50,814 - INFO - Waiting for VM ctest-vn1-vm2-18717689 to be up.. 2025-10-23 19:12:50,885 - DEBUG - VM is in ACTIVE state now 2025-10-23 19:12:50,886 - INFO - VM name : ctest-vn1-vm2-18717689 2025-10-23 19:12:50,955 - DEBUG - VM ctest-vn1-vm2-18717689 ID is 59764a89-cb12-40e2-bfbb-6364d3679c18 2025-10-23 19:12:50,955 - DEBUG - VM ctest-vn1-vm2-18717689 launched on Node cn-jenkins-deploy-platform-ansible-os-4466-1 2025-10-23 19:12:51,024 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/59764a89-cb12-40e2-bfbb-6364d3679c18 2025-10-23 19:12:51,031 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/9f8c4363-62de-4dee-bc2e-e3715378783c 2025-10-23 19:12:52,264 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.498 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.498/1.738/2.979/1.240 ms') 2025-10-23 19:12:52,264 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-18717689 passed 2025-10-23 19:12:52,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 19:12:52,415 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-18717689, IP 209.10.158.197, Port 22 2025-10-23 19:12:52,570 - DEBUG - VM ctest-vn1-vm2-18717689 is ready for SSH connections 2025-10-23 19:12:52,570 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 19:12:52,570 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 19:12:52,570 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 19:12:52,570 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.14.141.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-23 19:12:52,571 - DEBUG - ping -s 56 -c 3 -W 1 196.14.141.133 2025-10-23 19:12:55,277 - DEBUG - PING 196.14.141.133 (196.14.141.133): 56 data bytes 64 bytes from 196.14.141.133: seq=0 ttl=63 time=4.050 ms 64 bytes from 196.14.141.133: seq=1 ttl=63 time=0.834 ms 64 bytes from 196.14.141.133: seq=2 ttl=63 time=0.808 ms --- 196.14.141.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.808/1.897/4.050 ms 2025-10-23 19:12:55,277 - INFO - Ping to IP 196.14.141.133 from VM ctest-vn1-vm2-18717689 passed 2025-10-23 19:12:55,277 - INFO - Detaching port 9f8c4363-62de-4dee-bc2e-e3715378783c from VM ctest-vn1-vm2-18717689 2025-10-23 19:12:55,331 - INFO - Deleting VM ctest-vn1-vm2-18717689 2025-10-23 19:12:55,400 - INFO - Detaching port 9dac3fde-d992-412b-aff7-d467b1489aae from VM ctest-vn1-vm1-40879962 2025-10-23 19:12:55,441 - INFO - Deleting VM ctest-vn1-vm1-40879962 2025-10-23 19:12:55,689 - DEBUG - Response for delete_port : () 2025-10-23 19:12:55,885 - DEBUG - Response for delete_port : () 2025-10-23 19:12:55,886 - INFO - Deleting VN ctest-vn1-72291834 2025-10-23 19:12:56,044 - DEBUG - Response for deleting network () 2025-10-23 19:12:56,299 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 19:12:56,300 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-10-23 19:12:56,300 - INFO - -------------------------------------------------------------------------------- 2025-10-23 19:12:57,043 - INFO - Deleted project: ctest-TestPorts-32054572, ID : ce419986-e9b6-4763-a975-ceb8820c0705