2025-10-29 23:17:17,778 - INFO - Domain Default found not creating 2025-10-29 23:17:17,931 - INFO - Project ctest-TestPorts-96006360 not found, creating it 2025-10-29 23:17:18,444 - INFO - Created Project:ctest-TestPorts-96006360, ID : 071e5e8e-84b7-46de-a5ab-51dfc011073a 2025-10-29 23:17:19,872 - INFO - ================================================================================ 2025-10-29 23:17:19,872 - INFO - STARTING TEST : test_ports_bindings 2025-10-29 23:17:19,872 - 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-29 23:17:21,215 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0', '10.20.0.5': '0'}, '10.0.0.33': {'10.20.0.14': '0', '10.20.0.254': '0'}} with 2025-10-29 23:17:21,215 - INFO - Initial checks done. Running the testcase now 2025-10-29 23:17:21,215 - INFO - 2025-10-29 23:17:21,870 - DEBUG - Response for create_network : {'network': {'id': 'e5741e92-25d7-48e3-a40c-57353da58d74', 'name': 'ctest-vn-43582209', 'tenant_id': '071e5e8e84b746dea5ab51dfc011073a', 'project_id': '071e5e8e84b746dea5ab51dfc011073a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-96006360', 'ctest-vn-43582209'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 23:17:22,128 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc69189e-558b-482a-973b-e17b4fc417b4', 'name': '', 'tenant_id': '071e5e8e84b746dea5ab51dfc011073a', 'network_id': 'e5741e92-25d7-48e3-a40c-57353da58d74', 'ip_version': 4, 'cidr': '35.162.152.0/26', 'allocation_pools': [{'start': '35.162.152.2', 'end': '35.162.152.62'}], 'gateway_ip': '35.162.152.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.162.152.2', 'tags': [], 'project_id': '071e5e8e84b746dea5ab51dfc011073a'}} 2025-10-29 23:17:22,153 - INFO - Created VN ctest-vn-43582209 2025-10-29 23:17:22,164 - DEBUG - VN ctest-vn-43582209 UUID is e5741e92-25d7-48e3-a40c-57353da58d74 2025-10-29 23:17:22,240 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-96006360', 'ctest-vmi-89146694']} 2025-10-29 23:17:22,550 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-89146694', 'id': 'c8652666-bcd6-4cf9-9b8c-2930c1c3cf39', 'tenant_id': '071e5e8e84b746dea5ab51dfc011073a', 'network_id': 'e5741e92-25d7-48e3-a40c-57353da58d74', 'mac_address': '02:c8:65:26:66:bc', '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': '35.162.152.3', 'subnet_id': 'dc69189e-558b-482a-973b-e17b4fc417b4'}], 'security_groups': ['e25ddcbf-aa91-42c5-93df-bd5524b0a828'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '071e5e8e84b746dea5ab51dfc011073a'}} 2025-10-29 23:17:22,551 - DEBUG - Created port c8652666-bcd6-4cf9-9b8c-2930c1c3cf39 2025-10-29 23:17:22,621 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c8652666-bcd6-4cf9-9b8c-2930c1c3cf39 2025-10-29 23:17:22,915 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c8652666-bcd6-4cf9-9b8c-2930c1c3cf39 2025-10-29 23:17:22,949 - INFO - VMI c8652666-bcd6-4cf9-9b8c-2930c1c3cf39 verification in API Server passed 2025-10-29 23:17:23,096 - DEBUG - Response for delete_port : () 2025-10-29 23:17:23,096 - INFO - Deleted port c8652666-bcd6-4cf9-9b8c-2930c1c3cf39 2025-10-29 23:17:23,096 - INFO - Deleting VN ctest-vn-43582209 2025-10-29 23:17:23,239 - DEBUG - Response for deleting network () 2025-10-29 23:17:24,654 - DEBUG - No XMPP flaps were noticed during the test
2025-10-29 23:17:24,654 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2025-10-29 23:17:24,654 - INFO - -------------------------------------------------------------------------------- 2025-10-29 23:17:24,657 - INFO - ================================================================================ 2025-10-29 23:17:24,657 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-29 23:17:24,657 - 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-29 23:17:26,016 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0', '10.20.0.5': '0'}, '10.0.0.33': {'10.20.0.14': '0', '10.20.0.254': '0'}} with 2025-10-29 23:17:26,016 - INFO - Initial checks done. Running the testcase now 2025-10-29 23:17:26,016 - INFO - 2025-10-29 23:17:26,313 - DEBUG - Response for create_network : {'network': {'id': 'ea53002e-2b14-48fa-98a1-4957acda530f', 'name': 'ctest-vn1-02614906', 'tenant_id': '071e5e8e84b746dea5ab51dfc011073a', 'project_id': '071e5e8e84b746dea5ab51dfc011073a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-96006360', 'ctest-vn1-02614906'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 23:17:26,552 - DEBUG - Response for create_subnet : {'subnet': {'id': '13285e85-781e-44ea-952f-265384592ecc', 'name': '', 'tenant_id': '071e5e8e84b746dea5ab51dfc011073a', 'network_id': 'ea53002e-2b14-48fa-98a1-4957acda530f', 'ip_version': 4, 'cidr': '162.216.179.0/26', 'allocation_pools': [{'start': '162.216.179.2', 'end': '162.216.179.62'}], 'gateway_ip': '162.216.179.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.216.179.2', 'tags': [], 'project_id': '071e5e8e84b746dea5ab51dfc011073a'}} 2025-10-29 23:17:26,811 - DEBUG - Response for create_subnet : {'subnet': {'id': 'adc65500-2dfc-4f7c-9b05-f44e34255f26', 'name': '', 'tenant_id': '071e5e8e84b746dea5ab51dfc011073a', 'network_id': 'ea53002e-2b14-48fa-98a1-4957acda530f', 'ip_version': 4, 'cidr': '126.134.62.128/26', 'allocation_pools': [{'start': '126.134.62.130', 'end': '126.134.62.190'}], 'gateway_ip': '126.134.62.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.134.62.130', 'tags': [], 'project_id': '071e5e8e84b746dea5ab51dfc011073a'}} 2025-10-29 23:17:26,838 - INFO - Created VN ctest-vn1-02614906 2025-10-29 23:17:26,856 - DEBUG - VN ctest-vn1-02614906 UUID is ea53002e-2b14-48fa-98a1-4957acda530f 2025-10-29 23:17:27,179 - DEBUG - Response for create_port : {'port': {'name': 'e3a2d0b0-6ef7-4898-bfc9-243c8b3d5fd5', 'id': 'e3a2d0b0-6ef7-4898-bfc9-243c8b3d5fd5', 'tenant_id': '071e5e8e84b746dea5ab51dfc011073a', 'network_id': 'ea53002e-2b14-48fa-98a1-4957acda530f', 'mac_address': '02:e3:a2:d0:b0:6e', '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': '162.216.179.5', 'subnet_id': '13285e85-781e-44ea-952f-265384592ecc'}], 'security_groups': ['e25ddcbf-aa91-42c5-93df-bd5524b0a828'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '071e5e8e84b746dea5ab51dfc011073a'}} 2025-10-29 23:17:27,448 - DEBUG - Response for create_port : {'port': {'name': 'd373c7e5-beb9-4613-b458-48ae55882c54', 'id': 'd373c7e5-beb9-4613-b458-48ae55882c54', 'tenant_id': '071e5e8e84b746dea5ab51dfc011073a', 'network_id': 'ea53002e-2b14-48fa-98a1-4957acda530f', 'mac_address': '02:d3:73:c7:e5:be', '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': '126.134.62.133', 'subnet_id': 'adc65500-2dfc-4f7c-9b05-f44e34255f26'}], 'security_groups': ['e25ddcbf-aa91-42c5-93df-bd5524b0a828'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '071e5e8e84b746dea5ab51dfc011073a'}} 2025-10-29 23:17:27,506 - DEBUG - Services list from nova: [, , , ] 2025-10-29 23:17:27,916 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4529-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4529-1) 2025-10-29 23:17:28,401 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4529-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4529-2) 2025-10-29 23:17:28,401 - INFO - Waiting for VM ctest-vn1-vm1-43331049 to be up.. 2025-10-29 23:17:28,465 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 23:17:33,543 - DEBUG - VM is in ACTIVE state now 2025-10-29 23:17:33,544 - INFO - VM name : ctest-vn1-vm1-43331049 2025-10-29 23:17:33,626 - DEBUG - VM ctest-vn1-vm1-43331049 ID is c57d1dd4-3b0b-46b7-862f-11f0a225d801 2025-10-29 23:17:33,654 - DEBUG - VM ctest-vn1-vm1-43331049 launched on Node an-jenkins-deploy-platform-ansible-os-4529-1 2025-10-29 23:17:33,736 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c57d1dd4-3b0b-46b7-862f-11f0a225d801 2025-10-29 23:17:34,035 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c57d1dd4-3b0b-46b7-862f-11f0a225d801 2025-10-29 23:17:34,362 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e3a2d0b0-6ef7-4898-bfc9-243c8b3d5fd5 2025-10-29 23:17:37,556 - 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 1027ms') 2025-10-29 23:17:37,556 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43331049 failed! 2025-10-29 23:17:37,568 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-96006360:ctest-vn1-02614906 is 162.216.179.1 and allocation pool is NOT set 2025-10-29 23:17:37,568 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-96006360:ctest-vn1-02614906 is 126.134.62.129 and allocation pool is NOT set 2025-10-29 23:17:39,636 - 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=5.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.48 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 = 1.475/3.347/5.220/1.872 ms') 2025-10-29 23:17:39,636 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43331049 passed 2025-10-29 23:17:39,709 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 23:17:39,709 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-43331049, IP 162.216.179.5, Port 22 2025-10-29 23:17:39,881 - DEBUG - VM ctest-vn1-vm1-43331049 is ready for SSH connections 2025-10-29 23:17:39,881 - INFO - Waiting for VM ctest-vn1-vm2-02811182 to be up.. 2025-10-29 23:17:39,965 - DEBUG - VM is in ACTIVE state now 2025-10-29 23:17:39,965 - INFO - VM name : ctest-vn1-vm2-02811182 2025-10-29 23:17:40,044 - DEBUG - VM ctest-vn1-vm2-02811182 ID is 4a6e6c0d-e447-46b9-b9c7-ac2ec49af5e4 2025-10-29 23:17:40,044 - DEBUG - VM ctest-vn1-vm2-02811182 launched on Node an-jenkins-deploy-platform-ansible-os-4529-2 2025-10-29 23:17:40,123 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4a6e6c0d-e447-46b9-b9c7-ac2ec49af5e4 2025-10-29 23:17:40,133 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d373c7e5-beb9-4613-b458-48ae55882c54 2025-10-29 23:17:41,303 - 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=10.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.668 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.668/5.394/10.120/4.726 ms') 2025-10-29 23:17:41,304 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-02811182 passed 2025-10-29 23:17:41,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 23:17:41,375 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-02811182, IP 126.134.62.133, Port 22 2025-10-29 23:17:41,457 - 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-29 23:17:41,536 - DEBUG - VM ctest-vn1-vm2-02811182 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 23:17:46,537 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 23:17:46,537 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-02811182, IP 126.134.62.133, Port 22 2025-10-29 23:17:46,752 - DEBUG - VM ctest-vn1-vm2-02811182 is ready for SSH connections 2025-10-29 23:17:46,753 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 23:17:46,753 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 23:17:46,753 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 23:17:46,753 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.216.179.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-29 23:17:46,753 - DEBUG - ping -s 56 -c 3 -W 1 162.216.179.5 2025-10-29 23:17:50,091 - DEBUG - PING 162.216.179.5 (162.216.179.5): 56 data bytes 64 bytes from 162.216.179.5: seq=0 ttl=63 time=11.679 ms 64 bytes from 162.216.179.5: seq=1 ttl=63 time=2.990 ms 64 bytes from 162.216.179.5: seq=2 ttl=63 time=1.520 ms --- 162.216.179.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.520/5.396/11.679 ms 2025-10-29 23:17:50,091 - INFO - Ping to IP 162.216.179.5 from VM ctest-vn1-vm2-02811182 passed 2025-10-29 23:17:50,091 - INFO - Detaching port d373c7e5-beb9-4613-b458-48ae55882c54 from VM ctest-vn1-vm2-02811182 2025-10-29 23:17:50,314 - INFO - Deleting VM ctest-vn1-vm2-02811182 2025-10-29 23:17:50,400 - INFO - Detaching port e3a2d0b0-6ef7-4898-bfc9-243c8b3d5fd5 from VM ctest-vn1-vm1-43331049 2025-10-29 23:17:50,443 - INFO - Deleting VM ctest-vn1-vm1-43331049 2025-10-29 23:17:50,839 - DEBUG - Response for delete_port : () 2025-10-29 23:17:51,093 - DEBUG - Response for delete_port : () 2025-10-29 23:17:51,093 - INFO - Deleting VN ctest-vn1-02614906 2025-10-29 23:17:51,301 - DEBUG - Response for deleting network () 2025-10-29 23:17:52,623 - DEBUG - No XMPP flaps were noticed during the test
2025-10-29 23:17:52,623 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:28]
2025-10-29 23:17:52,624 - INFO - -------------------------------------------------------------------------------- 2025-10-29 23:17:53,347 - INFO - Deleted project: ctest-TestPorts-96006360, ID : 071e5e8e-84b7-46de-a5ab-51dfc011073a