2025-12-25 02:37:43,490 - INFO - Domain Default found not creating 2025-12-25 02:37:43,718 - INFO - Project ctest-TestPorts-94830763 not found, creating it 2025-12-25 02:37:44,324 - INFO - Created Project:ctest-TestPorts-94830763, ID : 4f31df37-8252-4636-8a5a-391ab25d94ad 2025-12-25 02:37:46,132 - INFO - ================================================================================ 2025-12-25 02:37:46,132 - INFO - STARTING TEST : test_ports_bindings 2025-12-25 02:37:46,132 - 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-12-25 02:37:47,432 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.18': '0', '10.20.0.14': '0'}, '10.0.0.130': {'10.20.0.14': '0', '10.20.0.209': '0'}} with 2025-12-25 02:37:47,432 - INFO - Initial checks done. Running the testcase now 2025-12-25 02:37:47,433 - INFO - 2025-12-25 02:37:48,266 - DEBUG - Response for create_network : {'network': {'id': '89d3ff5c-e184-44cd-9ad7-3621fce8bf5a', 'name': 'ctest-vn-49675535', 'tenant_id': '4f31df37825246368a5a391ab25d94ad', 'project_id': '4f31df37825246368a5a391ab25d94ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94830763', 'ctest-vn-49675535'], 'port_security_enabled': True, 'description': ''}} 2025-12-25 02:37:48,559 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ded768d-2db6-49cc-9d65-f42169d68a44', 'name': '', 'tenant_id': '4f31df37825246368a5a391ab25d94ad', 'network_id': '89d3ff5c-e184-44cd-9ad7-3621fce8bf5a', 'ip_version': 4, 'cidr': '99.121.14.0/26', 'allocation_pools': [{'start': '99.121.14.2', 'end': '99.121.14.62'}], 'gateway_ip': '99.121.14.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.121.14.2', 'tags': [], 'project_id': '4f31df37825246368a5a391ab25d94ad'}} 2025-12-25 02:37:48,582 - INFO - Created VN ctest-vn-49675535 2025-12-25 02:37:48,594 - DEBUG - VN ctest-vn-49675535 UUID is 89d3ff5c-e184-44cd-9ad7-3621fce8bf5a 2025-12-25 02:37:48,682 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-94830763', 'ctest-vmi-34580712']} 2025-12-25 02:37:49,001 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-34580712', 'id': 'cf2e957a-2d67-4fa5-b2dd-26e7bf69b078', 'tenant_id': '4f31df37825246368a5a391ab25d94ad', 'network_id': '89d3ff5c-e184-44cd-9ad7-3621fce8bf5a', 'mac_address': '02:cf:2e:95:7a:2d', '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': '99.121.14.3', 'subnet_id': '8ded768d-2db6-49cc-9d65-f42169d68a44'}], 'security_groups': ['1e55011c-4b96-4a77-a8e4-b510776fafd3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4f31df37825246368a5a391ab25d94ad'}} 2025-12-25 02:37:49,001 - DEBUG - Created port cf2e957a-2d67-4fa5-b2dd-26e7bf69b078 2025-12-25 02:37:49,120 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/cf2e957a-2d67-4fa5-b2dd-26e7bf69b078 2025-12-25 02:37:49,468 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/cf2e957a-2d67-4fa5-b2dd-26e7bf69b078 2025-12-25 02:37:49,515 - INFO - VMI cf2e957a-2d67-4fa5-b2dd-26e7bf69b078 verification in API Server passed 2025-12-25 02:37:49,685 - DEBUG - Response for delete_port : () 2025-12-25 02:37:49,686 - INFO - Deleted port cf2e957a-2d67-4fa5-b2dd-26e7bf69b078 2025-12-25 02:37:49,686 - INFO - Deleting VN ctest-vn-49675535 2025-12-25 02:37:49,869 - DEBUG - Response for deleting network () 2025-12-25 02:37:51,156 - DEBUG - No XMPP flaps were noticed during the test
2025-12-25 02:37:51,156 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2025-12-25 02:37:51,156 - INFO - -------------------------------------------------------------------------------- 2025-12-25 02:37:51,159 - INFO - ================================================================================ 2025-12-25 02:37:51,159 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-25 02:37:51,159 - 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-12-25 02:37:52,468 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.18': '0', '10.20.0.14': '0'}, '10.0.0.130': {'10.20.0.14': '0', '10.20.0.209': '0'}} with 2025-12-25 02:37:52,468 - INFO - Initial checks done. Running the testcase now 2025-12-25 02:37:52,469 - INFO - 2025-12-25 02:37:52,732 - DEBUG - Response for create_network : {'network': {'id': '4d738981-d08f-4d3e-b139-42b8bc042a5a', 'name': 'ctest-vn1-91592766', 'tenant_id': '4f31df37825246368a5a391ab25d94ad', 'project_id': '4f31df37825246368a5a391ab25d94ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94830763', 'ctest-vn1-91592766'], 'port_security_enabled': True, 'description': ''}} 2025-12-25 02:37:52,991 - DEBUG - Response for create_subnet : {'subnet': {'id': '9ab87e51-0a9b-48d2-b422-dc93402bf7db', 'name': '', 'tenant_id': '4f31df37825246368a5a391ab25d94ad', 'network_id': '4d738981-d08f-4d3e-b139-42b8bc042a5a', 'ip_version': 4, 'cidr': '193.134.167.192/26', 'allocation_pools': [{'start': '193.134.167.194', 'end': '193.134.167.254'}], 'gateway_ip': '193.134.167.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.134.167.194', 'tags': [], 'project_id': '4f31df37825246368a5a391ab25d94ad'}} 2025-12-25 02:37:53,228 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a5eb788-cac4-4dd3-98b6-07f78ee85611', 'name': '', 'tenant_id': '4f31df37825246368a5a391ab25d94ad', 'network_id': '4d738981-d08f-4d3e-b139-42b8bc042a5a', 'ip_version': 4, 'cidr': '182.41.42.128/26', 'allocation_pools': [{'start': '182.41.42.130', 'end': '182.41.42.190'}], 'gateway_ip': '182.41.42.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.41.42.130', 'tags': [], 'project_id': '4f31df37825246368a5a391ab25d94ad'}} 2025-12-25 02:37:53,265 - INFO - Created VN ctest-vn1-91592766 2025-12-25 02:37:53,280 - DEBUG - VN ctest-vn1-91592766 UUID is 4d738981-d08f-4d3e-b139-42b8bc042a5a 2025-12-25 02:37:53,716 - DEBUG - Response for create_port : {'port': {'name': 'e33db0a2-f78b-414b-9151-d2a15eaea26d', 'id': 'e33db0a2-f78b-414b-9151-d2a15eaea26d', 'tenant_id': '4f31df37825246368a5a391ab25d94ad', 'network_id': '4d738981-d08f-4d3e-b139-42b8bc042a5a', 'mac_address': '02:e3:3d:b0:a2:f7', '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': '193.134.167.197', 'subnet_id': '9ab87e51-0a9b-48d2-b422-dc93402bf7db'}], 'security_groups': ['1e55011c-4b96-4a77-a8e4-b510776fafd3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4f31df37825246368a5a391ab25d94ad'}} 2025-12-25 02:37:54,005 - DEBUG - Response for create_port : {'port': {'name': '4457c00c-da96-4023-a1ff-2d135cd8d22b', 'id': '4457c00c-da96-4023-a1ff-2d135cd8d22b', 'tenant_id': '4f31df37825246368a5a391ab25d94ad', 'network_id': '4d738981-d08f-4d3e-b139-42b8bc042a5a', 'mac_address': '02:44:57:c0:0c:da', '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': '182.41.42.133', 'subnet_id': '9a5eb788-cac4-4dd3-98b6-07f78ee85611'}], 'security_groups': ['1e55011c-4b96-4a77-a8e4-b510776fafd3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4f31df37825246368a5a391ab25d94ad'}} 2025-12-25 02:37:54,077 - DEBUG - Services list from nova: [, , , ] 2025-12-25 02:37:54,830 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4927-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4927-1) 2025-12-25 02:37:55,423 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4927-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4927-2) 2025-12-25 02:37:55,423 - INFO - Waiting for VM ctest-vn1-vm1-52592471 to be up.. 2025-12-25 02:37:55,470 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-25 02:38:00,607 - DEBUG - VM is in ACTIVE state now 2025-12-25 02:38:00,607 - INFO - VM name : ctest-vn1-vm1-52592471 2025-12-25 02:38:00,722 - DEBUG - VM ctest-vn1-vm1-52592471 ID is c024c4bd-11a4-413f-832b-055b27b089e8 2025-12-25 02:38:00,763 - DEBUG - VM ctest-vn1-vm1-52592471 launched on Node an-jenkins-deploy-platform-ansible-os-4927-1 2025-12-25 02:38:00,891 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/c024c4bd-11a4-413f-832b-055b27b089e8 2025-12-25 02:38:01,290 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/c024c4bd-11a4-413f-832b-055b27b089e8 2025-12-25 02:38:01,347 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/e33db0a2-f78b-414b-9151-d2a15eaea26d 2025-12-25 02:38:04,534 - 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 1011ms') 2025-12-25 02:38:04,534 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52592471 failed! 2025-12-25 02:38:04,549 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94830763:ctest-vn1-91592766 is 193.134.167.193 and allocation pool is NOT set 2025-12-25 02:38:04,549 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94830763:ctest-vn1-91592766 is 182.41.42.129 and allocation pool is NOT set 2025-12-25 02:38:08,627 - 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=6.58 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 6.580/6.580/6.580/0.000 ms') 2025-12-25 02:38:08,627 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52592471 passed 2025-12-25 02:38:08,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:38:08,700 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52592471, IP 193.134.167.197, Port 22 2025-12-25 02:38:08,768 - 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-12-25 02:38:08,889 - DEBUG - VM ctest-vn1-vm1-52592471 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-25 02:38:13,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:38:13,890 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52592471, IP 193.134.167.197, Port 22 2025-12-25 02:38:14,059 - DEBUG - VM ctest-vn1-vm1-52592471 is ready for SSH connections 2025-12-25 02:38:14,060 - INFO - Waiting for VM ctest-vn1-vm2-23820572 to be up.. 2025-12-25 02:38:14,152 - DEBUG - VM is in ACTIVE state now 2025-12-25 02:38:14,152 - INFO - VM name : ctest-vn1-vm2-23820572 2025-12-25 02:38:14,248 - DEBUG - VM ctest-vn1-vm2-23820572 ID is 2877d297-6c31-4535-9c4e-47ecbc5a0d0a 2025-12-25 02:38:14,248 - DEBUG - VM ctest-vn1-vm2-23820572 launched on Node an-jenkins-deploy-platform-ansible-os-4927-2 2025-12-25 02:38:14,352 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/2877d297-6c31-4535-9c4e-47ecbc5a0d0a 2025-12-25 02:38:14,363 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/4457c00c-da96-4023-a1ff-2d135cd8d22b 2025-12-25 02:38:15,524 - 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.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.527 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.527/1.875/3.224/1.348 ms') 2025-12-25 02:38:15,524 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-23820572 passed 2025-12-25 02:38:15,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:38:15,598 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-23820572, IP 182.41.42.133, Port 22 2025-12-25 02:38:15,766 - DEBUG - VM ctest-vn1-vm2-23820572 is ready for SSH connections 2025-12-25 02:38:15,766 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:38:15,766 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:38:15,766 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:38:15,766 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.134.167.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-12-25 02:38:15,766 - DEBUG - ping -s 56 -c 3 -W 1 193.134.167.197 2025-12-25 02:38:18,784 - DEBUG - PING 193.134.167.197 (193.134.167.197): 56 data bytes 64 bytes from 193.134.167.197: seq=0 ttl=63 time=7.725 ms 64 bytes from 193.134.167.197: seq=1 ttl=63 time=1.364 ms 64 bytes from 193.134.167.197: seq=2 ttl=63 time=1.280 ms --- 193.134.167.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.280/3.456/7.725 ms 2025-12-25 02:38:18,784 - INFO - Ping to IP 193.134.167.197 from VM ctest-vn1-vm2-23820572 passed 2025-12-25 02:38:18,784 - INFO - Detaching port 4457c00c-da96-4023-a1ff-2d135cd8d22b from VM ctest-vn1-vm2-23820572 2025-12-25 02:38:18,847 - INFO - Deleting VM ctest-vn1-vm2-23820572 2025-12-25 02:38:18,932 - INFO - Detaching port e33db0a2-f78b-414b-9151-d2a15eaea26d from VM ctest-vn1-vm1-52592471 2025-12-25 02:38:18,978 - INFO - Deleting VM ctest-vn1-vm1-52592471 2025-12-25 02:38:19,439 - DEBUG - Response for delete_port : () 2025-12-25 02:38:19,789 - DEBUG - Response for delete_port : () 2025-12-25 02:38:19,789 - INFO - Deleting VN ctest-vn1-91592766 2025-12-25 02:38:20,019 - DEBUG - Response for deleting network () 2025-12-25 02:38:21,344 - DEBUG - No XMPP flaps were noticed during the test
2025-12-25 02:38:21,344 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:30]
2025-12-25 02:38:21,344 - INFO - -------------------------------------------------------------------------------- 2025-12-25 02:38:22,279 - INFO - Deleted project: ctest-TestPorts-94830763, ID : 4f31df37-8252-4636-8a5a-391ab25d94ad