2025-11-18 11:09:29,375 - INFO - Domain Default found not creating 2025-11-18 11:09:29,541 - INFO - Project ctest-TestPorts-10135760 not found, creating it 2025-11-18 11:09:30,000 - INFO - Created Project:ctest-TestPorts-10135760, ID : 1304d552-e1fc-4263-ab3d-6367ecf47112 2025-11-18 11:09:32,113 - INFO - ================================================================================ 2025-11-18 11:09:32,113 - INFO - STARTING TEST : test_ports_bindings 2025-11-18 11:09:32,113 - 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-18 11:09:32,369 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.129': '0'}} with 2025-11-18 11:09:32,369 - INFO - Initial checks done. Running the testcase now 2025-11-18 11:09:32,369 - INFO - 2025-11-18 11:09:33,011 - DEBUG - Response for create_network : {'network': {'id': 'f349bc15-ef08-4faa-8681-e514b41661ba', 'name': 'ctest-vn-30582159', 'tenant_id': '1304d552e1fc4263ab3d6367ecf47112', 'project_id': '1304d552e1fc4263ab3d6367ecf47112', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10135760', 'ctest-vn-30582159'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 11:09:33,151 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9ee0727-99bb-4f7c-85f5-e8f99d328136', 'name': '', 'tenant_id': '1304d552e1fc4263ab3d6367ecf47112', 'network_id': 'f349bc15-ef08-4faa-8681-e514b41661ba', 'ip_version': 4, 'cidr': '147.24.202.192/26', 'allocation_pools': [{'start': '147.24.202.194', 'end': '147.24.202.254'}], 'gateway_ip': '147.24.202.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.24.202.194', 'tags': [], 'project_id': '1304d552e1fc4263ab3d6367ecf47112'}} 2025-11-18 11:09:33,169 - INFO - Created VN ctest-vn-30582159 2025-11-18 11:09:33,219 - DEBUG - VN ctest-vn-30582159 UUID is f349bc15-ef08-4faa-8681-e514b41661ba 2025-11-18 11:09:33,326 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-10135760', 'ctest-vmi-93875533']} 2025-11-18 11:09:33,594 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-93875533', 'id': '8f1de053-0126-4461-8945-599ee6752041', 'tenant_id': '1304d552e1fc4263ab3d6367ecf47112', 'network_id': 'f349bc15-ef08-4faa-8681-e514b41661ba', 'mac_address': '02:8f:1d:e0:53:01', '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': '147.24.202.195', 'subnet_id': 'a9ee0727-99bb-4f7c-85f5-e8f99d328136'}], 'security_groups': ['518a2e96-f742-42be-b855-66947ffdad50'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1304d552e1fc4263ab3d6367ecf47112'}} 2025-11-18 11:09:33,595 - DEBUG - Created port 8f1de053-0126-4461-8945-599ee6752041 2025-11-18 11:09:33,698 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8f1de053-0126-4461-8945-599ee6752041 2025-11-18 11:09:33,990 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8f1de053-0126-4461-8945-599ee6752041 2025-11-18 11:09:34,027 - INFO - VMI 8f1de053-0126-4461-8945-599ee6752041 verification in API Server passed 2025-11-18 11:09:34,118 - DEBUG - Response for delete_port : () 2025-11-18 11:09:34,119 - INFO - Deleted port 8f1de053-0126-4461-8945-599ee6752041 2025-11-18 11:09:34,119 - INFO - Deleting VN ctest-vn-30582159 2025-11-18 11:09:34,222 - DEBUG - Response for deleting network () 2025-11-18 11:09:34,475 - DEBUG - No XMPP flaps were noticed during the test
2025-11-18 11:09:34,475 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-18 11:09:34,475 - INFO - -------------------------------------------------------------------------------- 2025-11-18 11:09:34,478 - INFO - ================================================================================ 2025-11-18 11:09:34,478 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-18 11:09:34,478 - 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-18 11:09:34,763 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.129': '0'}} with 2025-11-18 11:09:34,763 - INFO - Initial checks done. Running the testcase now 2025-11-18 11:09:34,763 - INFO - 2025-11-18 11:09:34,936 - DEBUG - Response for create_network : {'network': {'id': 'ab2a0bfb-b8a2-4895-bbea-721c21dedf0c', 'name': 'ctest-vn1-26953683', 'tenant_id': '1304d552e1fc4263ab3d6367ecf47112', 'project_id': '1304d552e1fc4263ab3d6367ecf47112', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10135760', 'ctest-vn1-26953683'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 11:09:35,134 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c5391db-af85-4ec3-bebf-05d47fe492e4', 'name': '', 'tenant_id': '1304d552e1fc4263ab3d6367ecf47112', 'network_id': 'ab2a0bfb-b8a2-4895-bbea-721c21dedf0c', 'ip_version': 4, 'cidr': '96.117.6.64/26', 'allocation_pools': [{'start': '96.117.6.66', 'end': '96.117.6.126'}], 'gateway_ip': '96.117.6.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.117.6.66', 'tags': [], 'project_id': '1304d552e1fc4263ab3d6367ecf47112'}} 2025-11-18 11:09:35,315 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9c65f28-09bc-42a2-8534-e5a609f30206', 'name': '', 'tenant_id': '1304d552e1fc4263ab3d6367ecf47112', 'network_id': 'ab2a0bfb-b8a2-4895-bbea-721c21dedf0c', 'ip_version': 4, 'cidr': '4.165.161.192/26', 'allocation_pools': [{'start': '4.165.161.194', 'end': '4.165.161.254'}], 'gateway_ip': '4.165.161.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.165.161.194', 'tags': [], 'project_id': '1304d552e1fc4263ab3d6367ecf47112'}} 2025-11-18 11:09:35,342 - INFO - Created VN ctest-vn1-26953683 2025-11-18 11:09:35,394 - DEBUG - VN ctest-vn1-26953683 UUID is ab2a0bfb-b8a2-4895-bbea-721c21dedf0c 2025-11-18 11:09:35,718 - DEBUG - Response for create_port : {'port': {'name': '763a6f3e-2f3e-4f57-92d5-529f3db29ad6', 'id': '763a6f3e-2f3e-4f57-92d5-529f3db29ad6', 'tenant_id': '1304d552e1fc4263ab3d6367ecf47112', 'network_id': 'ab2a0bfb-b8a2-4895-bbea-721c21dedf0c', 'mac_address': '02:76:3a:6f:3e:2f', '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': '96.117.6.69', 'subnet_id': '5c5391db-af85-4ec3-bebf-05d47fe492e4'}], 'security_groups': ['518a2e96-f742-42be-b855-66947ffdad50'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1304d552e1fc4263ab3d6367ecf47112'}} 2025-11-18 11:09:35,894 - DEBUG - Response for create_port : {'port': {'name': '0166b4e3-3a72-47ef-a613-eb7e61f3a5bd', 'id': '0166b4e3-3a72-47ef-a613-eb7e61f3a5bd', 'tenant_id': '1304d552e1fc4263ab3d6367ecf47112', 'network_id': 'ab2a0bfb-b8a2-4895-bbea-721c21dedf0c', 'mac_address': '02:01:66:b4:e3:3a', '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': '4.165.161.197', 'subnet_id': 'b9c65f28-09bc-42a2-8534-e5a609f30206'}], 'security_groups': ['518a2e96-f742-42be-b855-66947ffdad50'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1304d552e1fc4263ab3d6367ecf47112'}} 2025-11-18 11:09:35,949 - DEBUG - Services list from nova: [, , ] 2025-11-18 11:09:36,282 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4754-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4754-1) 2025-11-18 11:09:36,702 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4754-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4754-1) 2025-11-18 11:09:36,702 - INFO - Waiting for VM ctest-vn1-vm1-20712194 to be up.. 2025-11-18 11:09:36,745 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-18 11:09:41,816 - DEBUG - VM is in ACTIVE state now 2025-11-18 11:09:41,816 - INFO - VM name : ctest-vn1-vm1-20712194 2025-11-18 11:09:41,884 - DEBUG - VM ctest-vn1-vm1-20712194 ID is 3949b14f-cc57-41e9-8c21-b3dfbcd0a357 2025-11-18 11:09:41,903 - DEBUG - VM ctest-vn1-vm1-20712194 launched on Node cn-jenkins-deploy-platform-ansible-os-4754-1 2025-11-18 11:09:41,980 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3949b14f-cc57-41e9-8c21-b3dfbcd0a357 2025-11-18 11:09:41,991 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/763a6f3e-2f3e-4f57-92d5-529f3db29ad6 2025-11-18 11:09:45,276 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1031ms') 2025-11-18 11:09:45,277 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-20712194 failed! 2025-11-18 11:09:45,330 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10135760:ctest-vn1-26953683 is 96.117.6.65 and allocation pool is NOT set 2025-11-18 11:09:45,331 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10135760:ctest-vn1-26953683 is 4.165.161.193 and allocation pool is NOT set 2025-11-18 11:09:47,398 - 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=3.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.64 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 = 2.639/3.183/3.728/0.544 ms') 2025-11-18 11:09:47,398 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-20712194 passed 2025-11-18 11:09:47,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 11:09:47,555 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-20712194, IP 96.117.6.69, Port 22 2025-11-18 11:09:47,621 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-18 11:09:47,710 - DEBUG - VM ctest-vn1-vm1-20712194 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-18 11:09:52,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 11:09:52,711 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-20712194, IP 96.117.6.69, Port 22 2025-11-18 11:09:52,887 - DEBUG - VM ctest-vn1-vm1-20712194 is ready for SSH connections 2025-11-18 11:09:52,887 - INFO - Waiting for VM ctest-vn1-vm2-23705556 to be up.. 2025-11-18 11:09:52,967 - DEBUG - VM is in ACTIVE state now 2025-11-18 11:09:52,967 - INFO - VM name : ctest-vn1-vm2-23705556 2025-11-18 11:09:53,044 - DEBUG - VM ctest-vn1-vm2-23705556 ID is 6360f1e3-ed07-406d-bb61-bc5627e4ee13 2025-11-18 11:09:53,044 - DEBUG - VM ctest-vn1-vm2-23705556 launched on Node cn-jenkins-deploy-platform-ansible-os-4754-1 2025-11-18 11:09:53,117 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6360f1e3-ed07-406d-bb61-bc5627e4ee13 2025-11-18 11:09:53,125 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0166b4e3-3a72-47ef-a613-eb7e61f3a5bd 2025-11-18 11:09:54,354 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.460 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.460/1.710/2.961/1.250 ms') 2025-11-18 11:09:54,354 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-23705556 passed 2025-11-18 11:09:54,506 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 11:09:54,507 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-23705556, IP 4.165.161.197, Port 22 2025-11-18 11:09:54,662 - DEBUG - VM ctest-vn1-vm2-23705556 is ready for SSH connections 2025-11-18 11:09:54,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 11:09:54,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 11:09:54,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 11:09:54,662 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.117.6.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-18 11:09:54,662 - DEBUG - ping -s 56 -c 3 -W 1 96.117.6.69 2025-11-18 11:09:58,377 - DEBUG - PING 96.117.6.69 (96.117.6.69): 56 data bytes 64 bytes from 96.117.6.69: seq=0 ttl=63 time=4.926 ms 64 bytes from 96.117.6.69: seq=1 ttl=63 time=1.034 ms 64 bytes from 96.117.6.69: seq=2 ttl=63 time=0.836 ms --- 96.117.6.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.836/2.265/4.926 ms 2025-11-18 11:09:58,377 - INFO - Ping to IP 96.117.6.69 from VM ctest-vn1-vm2-23705556 passed 2025-11-18 11:09:58,377 - INFO - Detaching port 0166b4e3-3a72-47ef-a613-eb7e61f3a5bd from VM ctest-vn1-vm2-23705556 2025-11-18 11:09:58,429 - INFO - Deleting VM ctest-vn1-vm2-23705556 2025-11-18 11:09:58,500 - INFO - Detaching port 763a6f3e-2f3e-4f57-92d5-529f3db29ad6 from VM ctest-vn1-vm1-20712194 2025-11-18 11:09:58,543 - INFO - Deleting VM ctest-vn1-vm1-20712194 2025-11-18 11:09:58,767 - DEBUG - Response for delete_port : () 2025-11-18 11:09:58,901 - DEBUG - Response for delete_port : () 2025-11-18 11:09:58,901 - INFO - Deleting VN ctest-vn1-26953683 2025-11-18 11:09:59,068 - DEBUG - Response for deleting network () 2025-11-18 11:09:59,324 - DEBUG - No XMPP flaps were noticed during the test
2025-11-18 11:09:59,324 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-11-18 11:09:59,324 - INFO - -------------------------------------------------------------------------------- 2025-11-18 11:10:00,038 - INFO - Deleted project: ctest-TestPorts-10135760, ID : 1304d552-e1fc-4263-ab3d-6367ecf47112