2025-09-25 22:20:13,795 - INFO - Domain Default found not creating 2025-09-25 22:20:13,929 - INFO - Project ctest-TestPorts-08150666 not found, creating it 2025-09-25 22:20:14,350 - INFO - Created Project:ctest-TestPorts-08150666, ID : 9cf04a14-96c6-4ca6-8f64-0cf3cbd72d93 2025-09-25 22:20:15,653 - INFO - ================================================================================ 2025-09-25 22:20:15,653 - INFO - STARTING TEST : test_ports_bindings 2025-09-25 22:20:15,653 - 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-09-25 22:20:15,912 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-25 22:20:15,912 - INFO - Initial checks done. Running the testcase now 2025-09-25 22:20:15,912 - INFO - 2025-09-25 22:20:16,408 - DEBUG - Response for create_network : {'network': {'id': '072a120c-79c3-49e2-929b-771ad57544e9', 'name': 'ctest-vn-02323783', 'tenant_id': '9cf04a1496c64ca68f640cf3cbd72d93', 'project_id': '9cf04a1496c64ca68f640cf3cbd72d93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08150666', 'ctest-vn-02323783'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 22:20:16,602 - DEBUG - Response for create_subnet : {'subnet': {'id': '37272ab1-232d-49cc-8a09-1e841ee7483e', 'name': '', 'tenant_id': '9cf04a1496c64ca68f640cf3cbd72d93', 'network_id': '072a120c-79c3-49e2-929b-771ad57544e9', 'ip_version': 4, 'cidr': '207.148.88.0/26', 'allocation_pools': [{'start': '207.148.88.2', 'end': '207.148.88.62'}], 'gateway_ip': '207.148.88.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.148.88.2', 'tags': [], 'project_id': '9cf04a1496c64ca68f640cf3cbd72d93'}} 2025-09-25 22:20:16,618 - INFO - Created VN ctest-vn-02323783 2025-09-25 22:20:16,671 - DEBUG - VN ctest-vn-02323783 UUID is 072a120c-79c3-49e2-929b-771ad57544e9 2025-09-25 22:20:16,770 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-08150666', 'ctest-vmi-02375739']} 2025-09-25 22:20:17,024 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-02375739', 'id': '32e12174-725d-4afb-b839-cb4ec03ff7f5', 'tenant_id': '9cf04a1496c64ca68f640cf3cbd72d93', 'network_id': '072a120c-79c3-49e2-929b-771ad57544e9', 'mac_address': '02:32:e1:21:74:72', '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': '207.148.88.3', 'subnet_id': '37272ab1-232d-49cc-8a09-1e841ee7483e'}], 'security_groups': ['2da5949b-a3c8-4fa6-bcdf-2f71c7ebe89d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9cf04a1496c64ca68f640cf3cbd72d93'}} 2025-09-25 22:20:17,024 - DEBUG - Created port 32e12174-725d-4afb-b839-cb4ec03ff7f5 2025-09-25 22:20:17,127 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/32e12174-725d-4afb-b839-cb4ec03ff7f5 2025-09-25 22:20:17,414 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/32e12174-725d-4afb-b839-cb4ec03ff7f5 2025-09-25 22:20:17,441 - INFO - VMI 32e12174-725d-4afb-b839-cb4ec03ff7f5 verification in API Server passed 2025-09-25 22:20:17,517 - DEBUG - Response for delete_port : () 2025-09-25 22:20:17,517 - INFO - Deleted port 32e12174-725d-4afb-b839-cb4ec03ff7f5 2025-09-25 22:20:17,517 - INFO - Deleting VN ctest-vn-02323783 2025-09-25 22:20:17,604 - DEBUG - Response for deleting network () 2025-09-25 22:20:17,856 - DEBUG - No XMPP flaps were noticed during the test 2025-09-25 22:20:17,856 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-09-25 22:20:17,856 - INFO - -------------------------------------------------------------------------------- 2025-09-25 22:20:17,858 - INFO - ================================================================================ 2025-09-25 22:20:17,858 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-25 22:20:17,858 - 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-09-25 22:20:18,143 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-25 22:20:18,143 - INFO - Initial checks done. Running the testcase now 2025-09-25 22:20:18,143 - INFO - 2025-09-25 22:20:18,304 - DEBUG - Response for create_network : {'network': {'id': '6c918659-6001-486a-a2b2-1100b479cc6c', 'name': 'ctest-vn1-01139491', 'tenant_id': '9cf04a1496c64ca68f640cf3cbd72d93', 'project_id': '9cf04a1496c64ca68f640cf3cbd72d93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08150666', 'ctest-vn1-01139491'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 22:20:18,508 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c4fcf49-526c-4590-b23d-bc4a2387dc61', 'name': '', 'tenant_id': '9cf04a1496c64ca68f640cf3cbd72d93', 'network_id': '6c918659-6001-486a-a2b2-1100b479cc6c', 'ip_version': 4, 'cidr': '15.191.96.0/26', 'allocation_pools': [{'start': '15.191.96.2', 'end': '15.191.96.62'}], 'gateway_ip': '15.191.96.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.191.96.2', 'tags': [], 'project_id': '9cf04a1496c64ca68f640cf3cbd72d93'}} 2025-09-25 22:20:18,676 - DEBUG - Response for create_subnet : {'subnet': {'id': '4149f4cf-7acb-43b2-b906-9c62dfdab940', 'name': '', 'tenant_id': '9cf04a1496c64ca68f640cf3cbd72d93', 'network_id': '6c918659-6001-486a-a2b2-1100b479cc6c', 'ip_version': 4, 'cidr': '91.211.61.192/26', 'allocation_pools': [{'start': '91.211.61.194', 'end': '91.211.61.254'}], 'gateway_ip': '91.211.61.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.211.61.194', 'tags': [], 'project_id': '9cf04a1496c64ca68f640cf3cbd72d93'}} 2025-09-25 22:20:18,691 - INFO - Created VN ctest-vn1-01139491 2025-09-25 22:20:18,739 - DEBUG - VN ctest-vn1-01139491 UUID is 6c918659-6001-486a-a2b2-1100b479cc6c 2025-09-25 22:20:19,015 - DEBUG - Response for create_port : {'port': {'name': 'e9c33195-e4a5-423f-8419-db22c5140862', 'id': 'e9c33195-e4a5-423f-8419-db22c5140862', 'tenant_id': '9cf04a1496c64ca68f640cf3cbd72d93', 'network_id': '6c918659-6001-486a-a2b2-1100b479cc6c', 'mac_address': '02:e9:c3:31:95:e4', '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': '15.191.96.5', 'subnet_id': '7c4fcf49-526c-4590-b23d-bc4a2387dc61'}], 'security_groups': ['2da5949b-a3c8-4fa6-bcdf-2f71c7ebe89d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9cf04a1496c64ca68f640cf3cbd72d93'}} 2025-09-25 22:20:19,170 - DEBUG - Response for create_port : {'port': {'name': 'c7410858-d115-471f-bb02-755da516dc62', 'id': 'c7410858-d115-471f-bb02-755da516dc62', 'tenant_id': '9cf04a1496c64ca68f640cf3cbd72d93', 'network_id': '6c918659-6001-486a-a2b2-1100b479cc6c', 'mac_address': '02:c7:41:08:58:d1', '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': '91.211.61.197', 'subnet_id': '4149f4cf-7acb-43b2-b906-9c62dfdab940'}], 'security_groups': ['2da5949b-a3c8-4fa6-bcdf-2f71c7ebe89d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9cf04a1496c64ca68f640cf3cbd72d93'}} 2025-09-25 22:20:19,220 - DEBUG - Services list from nova: [, , ] 2025-09-25 22:20:19,506 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4195-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4195-1) 2025-09-25 22:20:19,964 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4195-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4195-1) 2025-09-25 22:20:19,964 - INFO - Waiting for VM ctest-vn1-vm1-75916207 to be up.. 2025-09-25 22:20:20,004 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-25 22:20:25,069 - DEBUG - VM is in ACTIVE state now 2025-09-25 22:20:25,069 - INFO - VM name : ctest-vn1-vm1-75916207 2025-09-25 22:20:25,132 - DEBUG - VM ctest-vn1-vm1-75916207 ID is b37ca9c0-2aab-4424-a09a-9fc78436f879 2025-09-25 22:20:25,149 - DEBUG - VM ctest-vn1-vm1-75916207 launched on Node cn-jenkins-deploy-platform-ansible-os-4195-1 2025-09-25 22:20:25,212 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b37ca9c0-2aab-4424-a09a-9fc78436f879 2025-09-25 22:20:25,220 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e9c33195-e4a5-423f-8419-db22c5140862 2025-09-25 22:20:28,481 - 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 1013ms') 2025-09-25 22:20:28,481 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-75916207 failed! 2025-09-25 22:20:28,535 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08150666:ctest-vn1-01139491 is 15.191.96.1 and allocation pool is NOT set 2025-09-25 22:20:28,535 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08150666:ctest-vn1-01139491 is 91.211.61.193 and allocation pool is NOT set 2025-09-25 22:20:30,599 - 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=3.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.656 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 = 0.656/2.241/3.827/1.585 ms') 2025-09-25 22:20:30,599 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-75916207 passed 2025-09-25 22:20:30,751 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 22:20:30,751 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-75916207, IP 15.191.96.5, Port 22 2025-09-25 22:20:30,806 - 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-09-25 22:20:30,870 - DEBUG - VM ctest-vn1-vm1-75916207 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-25 22:20:35,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 22:20:35,871 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-75916207, IP 15.191.96.5, Port 22 2025-09-25 22:20:36,037 - DEBUG - VM ctest-vn1-vm1-75916207 is ready for SSH connections 2025-09-25 22:20:36,037 - INFO - Waiting for VM ctest-vn1-vm2-65719089 to be up.. 2025-09-25 22:20:36,103 - DEBUG - VM is in ACTIVE state now 2025-09-25 22:20:36,103 - INFO - VM name : ctest-vn1-vm2-65719089 2025-09-25 22:20:36,165 - DEBUG - VM ctest-vn1-vm2-65719089 ID is 2aee6955-f007-4018-8a82-319ee45d20e1 2025-09-25 22:20:36,165 - DEBUG - VM ctest-vn1-vm2-65719089 launched on Node cn-jenkins-deploy-platform-ansible-os-4195-1 2025-09-25 22:20:36,228 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2aee6955-f007-4018-8a82-319ee45d20e1 2025-09-25 22:20:36,235 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c7410858-d115-471f-bb02-755da516dc62 2025-09-25 22:20:37,469 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.298 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.298/1.722/3.146/1.424 ms') 2025-09-25 22:20:37,469 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-65719089 passed 2025-09-25 22:20:37,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 22:20:37,616 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-65719089, IP 91.211.61.197, Port 22 2025-09-25 22:20:37,771 - DEBUG - VM ctest-vn1-vm2-65719089 is ready for SSH connections 2025-09-25 22:20:37,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 22:20:37,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 22:20:37,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 22:20:37,771 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 15.191.96.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-25 22:20:37,771 - DEBUG - ping -s 56 -c 3 -W 1 15.191.96.5 2025-09-25 22:20:40,619 - DEBUG - PING 15.191.96.5 (15.191.96.5): 56 data bytes 64 bytes from 15.191.96.5: seq=0 ttl=63 time=3.936 ms 64 bytes from 15.191.96.5: seq=1 ttl=63 time=0.866 ms 64 bytes from 15.191.96.5: seq=2 ttl=63 time=0.994 ms --- 15.191.96.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.866/1.932/3.936 ms 2025-09-25 22:20:40,619 - INFO - Ping to IP 15.191.96.5 from VM ctest-vn1-vm2-65719089 passed 2025-09-25 22:20:40,619 - INFO - Detaching port c7410858-d115-471f-bb02-755da516dc62 from VM ctest-vn1-vm2-65719089 2025-09-25 22:20:40,662 - INFO - Deleting VM ctest-vn1-vm2-65719089 2025-09-25 22:20:40,722 - INFO - Detaching port e9c33195-e4a5-423f-8419-db22c5140862 from VM ctest-vn1-vm1-75916207 2025-09-25 22:20:40,755 - INFO - Deleting VM ctest-vn1-vm1-75916207 2025-09-25 22:20:40,970 - DEBUG - Response for delete_port : () 2025-09-25 22:20:41,122 - DEBUG - Response for delete_port : () 2025-09-25 22:20:41,123 - INFO - Deleting VN ctest-vn1-01139491 2025-09-25 22:20:41,235 - DEBUG - Response for deleting network () 2025-09-25 22:20:41,496 - DEBUG - No XMPP flaps were noticed during the test 2025-09-25 22:20:41,496 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-09-25 22:20:41,496 - INFO - -------------------------------------------------------------------------------- 2025-09-25 22:20:42,133 - INFO - Deleted project: ctest-TestPorts-08150666, ID : 9cf04a14-96c6-4ca6-8f64-0cf3cbd72d93