2025-11-27 08:25:57,836 - INFO - Domain Default found not creating 2025-11-27 08:25:58,012 - INFO - Project ctest-TestPorts-98705245 not found, creating it 2025-11-27 08:25:58,496 - INFO - Created Project:ctest-TestPorts-98705245, ID : 6eefe15f-e170-4794-9fad-2801a222f9e8 2025-11-27 08:26:00,254 - INFO - ================================================================================ 2025-11-27 08:26:00,255 - INFO - STARTING TEST : test_ports_bindings 2025-11-27 08:26:00,255 - 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-27 08:26:00,507 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-11-27 08:26:00,508 - INFO - Initial checks done. Running the testcase now 2025-11-27 08:26:00,508 - INFO - 2025-11-27 08:26:01,108 - DEBUG - Response for create_network : {'network': {'id': '82e50c77-05db-4861-8e39-b77cb21213f5', 'name': 'ctest-vn-15135499', 'tenant_id': '6eefe15fe17047949fad2801a222f9e8', 'project_id': '6eefe15fe17047949fad2801a222f9e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-98705245', 'ctest-vn-15135499'], 'port_security_enabled': True, 'description': ''}} 2025-11-27 08:26:01,315 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd916704e-a8c2-42b2-a883-22aea5ad0680', 'name': '', 'tenant_id': '6eefe15fe17047949fad2801a222f9e8', 'network_id': '82e50c77-05db-4861-8e39-b77cb21213f5', 'ip_version': 4, 'cidr': '94.244.83.192/26', 'allocation_pools': [{'start': '94.244.83.194', 'end': '94.244.83.254'}], 'gateway_ip': '94.244.83.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.244.83.194', 'tags': [], 'project_id': '6eefe15fe17047949fad2801a222f9e8'}} 2025-11-27 08:26:01,335 - INFO - Created VN ctest-vn-15135499 2025-11-27 08:26:01,390 - DEBUG - VN ctest-vn-15135499 UUID is 82e50c77-05db-4861-8e39-b77cb21213f5 2025-11-27 08:26:01,508 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-98705245', 'ctest-vmi-39638236']} 2025-11-27 08:26:01,779 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-39638236', 'id': '24a4c040-00f8-45a3-b8f8-83051027f93e', 'tenant_id': '6eefe15fe17047949fad2801a222f9e8', 'network_id': '82e50c77-05db-4861-8e39-b77cb21213f5', 'mac_address': '02:24:a4:c0:40:00', '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': '94.244.83.195', 'subnet_id': 'd916704e-a8c2-42b2-a883-22aea5ad0680'}], 'security_groups': ['796e9a5f-d5f0-43e2-a3bc-d7d59d662b35'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6eefe15fe17047949fad2801a222f9e8'}} 2025-11-27 08:26:01,779 - DEBUG - Created port 24a4c040-00f8-45a3-b8f8-83051027f93e 2025-11-27 08:26:01,886 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/24a4c040-00f8-45a3-b8f8-83051027f93e 2025-11-27 08:26:02,226 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/24a4c040-00f8-45a3-b8f8-83051027f93e 2025-11-27 08:26:02,276 - INFO - VMI 24a4c040-00f8-45a3-b8f8-83051027f93e verification in API Server passed 2025-11-27 08:26:02,374 - DEBUG - Response for delete_port : () 2025-11-27 08:26:02,374 - INFO - Deleted port 24a4c040-00f8-45a3-b8f8-83051027f93e 2025-11-27 08:26:02,374 - INFO - Deleting VN ctest-vn-15135499 2025-11-27 08:26:02,479 - DEBUG - Response for deleting network () 2025-11-27 08:26:02,736 - DEBUG - No XMPP flaps were noticed during the test 2025-11-27 08:26:02,736 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-27 08:26:02,736 - INFO - -------------------------------------------------------------------------------- 2025-11-27 08:26:02,739 - INFO - ================================================================================ 2025-11-27 08:26:02,739 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-27 08:26:02,739 - 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-27 08:26:03,027 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-11-27 08:26:03,028 - INFO - Initial checks done. Running the testcase now 2025-11-27 08:26:03,028 - INFO - 2025-11-27 08:26:03,207 - DEBUG - Response for create_network : {'network': {'id': '2e0615fd-a71c-4fa3-bdf3-5ec038ed2a10', 'name': 'ctest-vn1-08432620', 'tenant_id': '6eefe15fe17047949fad2801a222f9e8', 'project_id': '6eefe15fe17047949fad2801a222f9e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-98705245', 'ctest-vn1-08432620'], 'port_security_enabled': True, 'description': ''}} 2025-11-27 08:26:03,357 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd305990d-0ee9-4c7e-98f8-e224fe5b2488', 'name': '', 'tenant_id': '6eefe15fe17047949fad2801a222f9e8', 'network_id': '2e0615fd-a71c-4fa3-bdf3-5ec038ed2a10', 'ip_version': 4, 'cidr': '143.146.171.128/26', 'allocation_pools': [{'start': '143.146.171.130', 'end': '143.146.171.190'}], 'gateway_ip': '143.146.171.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.146.171.130', 'tags': [], 'project_id': '6eefe15fe17047949fad2801a222f9e8'}} 2025-11-27 08:26:03,520 - DEBUG - Response for create_subnet : {'subnet': {'id': '54903fb9-fb02-4b3c-bbe9-f2eb82dd3896', 'name': '', 'tenant_id': '6eefe15fe17047949fad2801a222f9e8', 'network_id': '2e0615fd-a71c-4fa3-bdf3-5ec038ed2a10', 'ip_version': 4, 'cidr': '74.108.48.128/26', 'allocation_pools': [{'start': '74.108.48.130', 'end': '74.108.48.190'}], 'gateway_ip': '74.108.48.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.108.48.130', 'tags': [], 'project_id': '6eefe15fe17047949fad2801a222f9e8'}} 2025-11-27 08:26:03,543 - INFO - Created VN ctest-vn1-08432620 2025-11-27 08:26:03,598 - DEBUG - VN ctest-vn1-08432620 UUID is 2e0615fd-a71c-4fa3-bdf3-5ec038ed2a10 2025-11-27 08:26:03,907 - DEBUG - Response for create_port : {'port': {'name': '0b42d8e4-bd58-4928-8572-a9ddf0b5f958', 'id': '0b42d8e4-bd58-4928-8572-a9ddf0b5f958', 'tenant_id': '6eefe15fe17047949fad2801a222f9e8', 'network_id': '2e0615fd-a71c-4fa3-bdf3-5ec038ed2a10', 'mac_address': '02:0b:42:d8:e4:bd', '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': '143.146.171.133', 'subnet_id': 'd305990d-0ee9-4c7e-98f8-e224fe5b2488'}], 'security_groups': ['796e9a5f-d5f0-43e2-a3bc-d7d59d662b35'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6eefe15fe17047949fad2801a222f9e8'}} 2025-11-27 08:26:04,093 - DEBUG - Response for create_port : {'port': {'name': '4e8a8c4d-75db-41a6-ad47-c10763df95a3', 'id': '4e8a8c4d-75db-41a6-ad47-c10763df95a3', 'tenant_id': '6eefe15fe17047949fad2801a222f9e8', 'network_id': '2e0615fd-a71c-4fa3-bdf3-5ec038ed2a10', 'mac_address': '02:4e:8a:8c:4d:75', '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': '74.108.48.133', 'subnet_id': '54903fb9-fb02-4b3c-bbe9-f2eb82dd3896'}], 'security_groups': ['796e9a5f-d5f0-43e2-a3bc-d7d59d662b35'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6eefe15fe17047949fad2801a222f9e8'}} 2025-11-27 08:26:04,161 - DEBUG - Services list from nova: [, , ] 2025-11-27 08:26:04,536 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4823-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4823-1) 2025-11-27 08:26:04,970 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4823-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4823-1) 2025-11-27 08:26:04,970 - INFO - Waiting for VM ctest-vn1-vm1-17867132 to be up.. 2025-11-27 08:26:05,013 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-27 08:26:10,105 - DEBUG - VM is in ACTIVE state now 2025-11-27 08:26:10,105 - INFO - VM name : ctest-vn1-vm1-17867132 2025-11-27 08:26:10,211 - DEBUG - VM ctest-vn1-vm1-17867132 ID is 6eb3ccf7-d269-4457-9368-bd857ccb395b 2025-11-27 08:26:10,236 - DEBUG - VM ctest-vn1-vm1-17867132 launched on Node cn-jenkins-deploy-platform-ansible-os-4823-1 2025-11-27 08:26:10,315 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6eb3ccf7-d269-4457-9368-bd857ccb395b 2025-11-27 08:26:10,325 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0b42d8e4-bd58-4928-8572-a9ddf0b5f958 2025-11-27 08:26:13,587 - 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 1010ms') 2025-11-27 08:26:13,587 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17867132 failed! 2025-11-27 08:26:13,642 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-98705245:ctest-vn1-08432620 is 143.146.171.129 and allocation pool is NOT set 2025-11-27 08:26:13,642 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-98705245:ctest-vn1-08432620 is 74.108.48.129 and allocation pool is NOT set 2025-11-27 08:26:17,712 - 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.0 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1005ms\r\nrtt min/avg/max/mdev = 14.028/14.028/14.028/0.000 ms') 2025-11-27 08:26:17,712 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17867132 passed 2025-11-27 08:26:17,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 08:26:17,866 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17867132, IP 143.146.171.133, Port 22 2025-11-27 08:26:17,931 - 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-11-27 08:26:18,009 - DEBUG - VM ctest-vn1-vm1-17867132 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-27 08:26:23,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 08:26:23,010 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17867132, IP 143.146.171.133, Port 22 2025-11-27 08:26:23,176 - DEBUG - VM ctest-vn1-vm1-17867132 is ready for SSH connections 2025-11-27 08:26:23,176 - INFO - Waiting for VM ctest-vn1-vm2-02477046 to be up.. 2025-11-27 08:26:23,293 - DEBUG - VM is in ACTIVE state now 2025-11-27 08:26:23,293 - INFO - VM name : ctest-vn1-vm2-02477046 2025-11-27 08:26:23,409 - DEBUG - VM ctest-vn1-vm2-02477046 ID is d28a21ee-c538-4f7e-ac3d-5f7359b79fe4 2025-11-27 08:26:23,410 - DEBUG - VM ctest-vn1-vm2-02477046 launched on Node cn-jenkins-deploy-platform-ansible-os-4823-1 2025-11-27 08:26:23,505 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d28a21ee-c538-4f7e-ac3d-5f7359b79fe4 2025-11-27 08:26:23,515 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/4e8a8c4d-75db-41a6-ad47-c10763df95a3 2025-11-27 08:26:24,765 - 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.69 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/2.053/3.694/1.641 ms') 2025-11-27 08:26:24,765 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-02477046 passed 2025-11-27 08:26:24,918 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 08:26:24,918 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-02477046, IP 74.108.48.133, Port 22 2025-11-27 08:26:25,083 - DEBUG - VM ctest-vn1-vm2-02477046 is ready for SSH connections 2025-11-27 08:26:25,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 08:26:25,084 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 08:26:25,084 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 08:26:25,084 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 143.146.171.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-27 08:26:25,084 - DEBUG - ping -s 56 -c 3 -W 1 143.146.171.133 2025-11-27 08:26:27,779 - DEBUG - PING 143.146.171.133 (143.146.171.133): 56 data bytes 64 bytes from 143.146.171.133: seq=0 ttl=63 time=3.750 ms 64 bytes from 143.146.171.133: seq=1 ttl=63 time=1.116 ms 64 bytes from 143.146.171.133: seq=2 ttl=63 time=0.920 ms --- 143.146.171.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.920/1.928/3.750 ms 2025-11-27 08:26:27,779 - INFO - Ping to IP 143.146.171.133 from VM ctest-vn1-vm2-02477046 passed 2025-11-27 08:26:27,780 - INFO - Detaching port 4e8a8c4d-75db-41a6-ad47-c10763df95a3 from VM ctest-vn1-vm2-02477046 2025-11-27 08:26:27,833 - INFO - Deleting VM ctest-vn1-vm2-02477046 2025-11-27 08:26:27,911 - INFO - Detaching port 0b42d8e4-bd58-4928-8572-a9ddf0b5f958 from VM ctest-vn1-vm1-17867132 2025-11-27 08:26:27,953 - INFO - Deleting VM ctest-vn1-vm1-17867132 2025-11-27 08:26:28,216 - DEBUG - Response for delete_port : () 2025-11-27 08:26:28,394 - DEBUG - Response for delete_port : () 2025-11-27 08:26:28,394 - INFO - Deleting VN ctest-vn1-08432620 2025-11-27 08:26:28,542 - DEBUG - Response for deleting network () 2025-11-27 08:26:28,795 - DEBUG - No XMPP flaps were noticed during the test 2025-11-27 08:26:28,795 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26] 2025-11-27 08:26:28,795 - INFO - -------------------------------------------------------------------------------- 2025-11-27 08:26:29,585 - INFO - Deleted project: ctest-TestPorts-98705245, ID : 6eefe15f-e170-4794-9fad-2801a222f9e8