2025-11-20 02:11:06,995 - INFO - Domain Default found not creating 2025-11-20 02:11:07,155 - INFO - Project ctest-TestPorts-36062342 not found, creating it 2025-11-20 02:11:07,693 - INFO - Created Project:ctest-TestPorts-36062342, ID : c08098c4-b643-4b84-9bbd-adc880adfe4a 2025-11-20 02:11:09,229 - INFO - ================================================================================ 2025-11-20 02:11:09,230 - INFO - STARTING TEST : test_ports_bindings 2025-11-20 02:11:09,230 - 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-20 02:11:10,529 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.201': '0', '10.20.0.129': '0'}, '10.0.0.48': {'10.20.0.201': '0', '10.20.0.129': '0'}} with 2025-11-20 02:11:10,529 - INFO - Initial checks done. Running the testcase now 2025-11-20 02:11:10,529 - INFO - 2025-11-20 02:11:11,212 - DEBUG - Response for create_network : {'network': {'id': 'c2c12bba-c0da-4e04-a5ef-946ee7b41966', 'name': 'ctest-vn-12944166', 'tenant_id': 'c08098c4b6434b849bbdadc880adfe4a', 'project_id': 'c08098c4b6434b849bbdadc880adfe4a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-36062342', 'ctest-vn-12944166'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 02:11:11,524 - DEBUG - Response for create_subnet : {'subnet': {'id': '6907938f-8210-45a5-b5f3-027d76dfdf4f', 'name': '', 'tenant_id': 'c08098c4b6434b849bbdadc880adfe4a', 'network_id': 'c2c12bba-c0da-4e04-a5ef-946ee7b41966', 'ip_version': 4, 'cidr': '114.27.29.64/26', 'allocation_pools': [{'start': '114.27.29.66', 'end': '114.27.29.126'}], 'gateway_ip': '114.27.29.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.27.29.66', 'tags': [], 'project_id': 'c08098c4b6434b849bbdadc880adfe4a'}} 2025-11-20 02:11:11,555 - INFO - Created VN ctest-vn-12944166 2025-11-20 02:11:11,566 - DEBUG - VN ctest-vn-12944166 UUID is c2c12bba-c0da-4e04-a5ef-946ee7b41966 2025-11-20 02:11:11,643 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-36062342', 'ctest-vmi-53726041']} 2025-11-20 02:11:11,944 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-53726041', 'id': '401987c1-6c74-458a-8149-d6f657dbeb48', 'tenant_id': 'c08098c4b6434b849bbdadc880adfe4a', 'network_id': 'c2c12bba-c0da-4e04-a5ef-946ee7b41966', 'mac_address': '02:40:19:87:c1:6c', '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': '114.27.29.67', 'subnet_id': '6907938f-8210-45a5-b5f3-027d76dfdf4f'}], 'security_groups': ['beccff74-ee5d-4f6f-8c5c-d8afca7bd950'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c08098c4b6434b849bbdadc880adfe4a'}} 2025-11-20 02:11:11,944 - DEBUG - Created port 401987c1-6c74-458a-8149-d6f657dbeb48 2025-11-20 02:11:12,015 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/401987c1-6c74-458a-8149-d6f657dbeb48 2025-11-20 02:11:12,315 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/401987c1-6c74-458a-8149-d6f657dbeb48 2025-11-20 02:11:12,353 - INFO - VMI 401987c1-6c74-458a-8149-d6f657dbeb48 verification in API Server passed 2025-11-20 02:11:12,523 - DEBUG - Response for delete_port : () 2025-11-20 02:11:12,523 - INFO - Deleted port 401987c1-6c74-458a-8149-d6f657dbeb48 2025-11-20 02:11:12,523 - INFO - Deleting VN ctest-vn-12944166 2025-11-20 02:11:12,696 - DEBUG - Response for deleting network () 2025-11-20 02:11:13,992 - DEBUG - No XMPP flaps were noticed during the test 2025-11-20 02:11:13,992 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04] 2025-11-20 02:11:13,992 - INFO - -------------------------------------------------------------------------------- 2025-11-20 02:11:13,994 - INFO - ================================================================================ 2025-11-20 02:11:13,994 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-20 02:11:13,994 - 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-20 02:11:15,271 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.201': '0', '10.20.0.129': '0'}, '10.0.0.48': {'10.20.0.201': '0', '10.20.0.129': '0'}} with 2025-11-20 02:11:15,271 - INFO - Initial checks done. Running the testcase now 2025-11-20 02:11:15,271 - INFO - 2025-11-20 02:11:15,576 - DEBUG - Response for create_network : {'network': {'id': '0cd014ab-d45c-4ff1-b63e-eeaf2f02fc8c', 'name': 'ctest-vn1-94112675', 'tenant_id': 'c08098c4b6434b849bbdadc880adfe4a', 'project_id': 'c08098c4b6434b849bbdadc880adfe4a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-36062342', 'ctest-vn1-94112675'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 02:11:15,801 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fce83d17-48d7-4515-aa72-2c43f20ad78c', 'name': '', 'tenant_id': 'c08098c4b6434b849bbdadc880adfe4a', 'network_id': '0cd014ab-d45c-4ff1-b63e-eeaf2f02fc8c', 'ip_version': 4, 'cidr': '136.99.64.64/26', 'allocation_pools': [{'start': '136.99.64.66', 'end': '136.99.64.126'}], 'gateway_ip': '136.99.64.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.99.64.66', 'tags': [], 'project_id': 'c08098c4b6434b849bbdadc880adfe4a'}} 2025-11-20 02:11:16,028 - DEBUG - Response for create_subnet : {'subnet': {'id': '6fb8b7c7-e93e-4a92-9ba7-0a4b807af0f4', 'name': '', 'tenant_id': 'c08098c4b6434b849bbdadc880adfe4a', 'network_id': '0cd014ab-d45c-4ff1-b63e-eeaf2f02fc8c', 'ip_version': 4, 'cidr': '195.182.160.192/26', 'allocation_pools': [{'start': '195.182.160.194', 'end': '195.182.160.254'}], 'gateway_ip': '195.182.160.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.182.160.194', 'tags': [], 'project_id': 'c08098c4b6434b849bbdadc880adfe4a'}} 2025-11-20 02:11:16,051 - INFO - Created VN ctest-vn1-94112675 2025-11-20 02:11:16,064 - DEBUG - VN ctest-vn1-94112675 UUID is 0cd014ab-d45c-4ff1-b63e-eeaf2f02fc8c 2025-11-20 02:11:16,389 - DEBUG - Response for create_port : {'port': {'name': '5ac6281d-d966-4f21-a4b6-050a54caf9d9', 'id': '5ac6281d-d966-4f21-a4b6-050a54caf9d9', 'tenant_id': 'c08098c4b6434b849bbdadc880adfe4a', 'network_id': '0cd014ab-d45c-4ff1-b63e-eeaf2f02fc8c', 'mac_address': '02:5a:c6:28:1d:d9', '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': '136.99.64.69', 'subnet_id': 'fce83d17-48d7-4515-aa72-2c43f20ad78c'}], 'security_groups': ['beccff74-ee5d-4f6f-8c5c-d8afca7bd950'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c08098c4b6434b849bbdadc880adfe4a'}} 2025-11-20 02:11:16,617 - DEBUG - Response for create_port : {'port': {'name': '03cb8219-b662-4ab4-934c-eeac8e9817b2', 'id': '03cb8219-b662-4ab4-934c-eeac8e9817b2', 'tenant_id': 'c08098c4b6434b849bbdadc880adfe4a', 'network_id': '0cd014ab-d45c-4ff1-b63e-eeaf2f02fc8c', 'mac_address': '02:03:cb:82:19:b6', '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': '195.182.160.197', 'subnet_id': '6fb8b7c7-e93e-4a92-9ba7-0a4b807af0f4'}], 'security_groups': ['beccff74-ee5d-4f6f-8c5c-d8afca7bd950'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c08098c4b6434b849bbdadc880adfe4a'}} 2025-11-20 02:11:16,668 - DEBUG - Services list from nova: [, , , ] 2025-11-20 02:11:17,100 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4768-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4768-2) 2025-11-20 02:11:17,633 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4768-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4768-1) 2025-11-20 02:11:17,633 - INFO - Waiting for VM ctest-vn1-vm1-28465367 to be up.. 2025-11-20 02:11:17,792 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 02:11:22,873 - DEBUG - VM is in ACTIVE state now 2025-11-20 02:11:22,873 - INFO - VM name : ctest-vn1-vm1-28465367 2025-11-20 02:11:22,947 - DEBUG - VM ctest-vn1-vm1-28465367 ID is 6086fda4-9975-4897-b839-0840e36892ed 2025-11-20 02:11:22,976 - DEBUG - VM ctest-vn1-vm1-28465367 launched on Node an-jenkins-deploy-platform-ansible-os-4768-2 2025-11-20 02:11:23,053 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/6086fda4-9975-4897-b839-0840e36892ed 2025-11-20 02:11:23,354 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/6086fda4-9975-4897-b839-0840e36892ed 2025-11-20 02:11:23,391 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/5ac6281d-d966-4f21-a4b6-050a54caf9d9 2025-11-20 02:11:26,565 - 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 1015ms') 2025-11-20 02:11:26,566 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28465367 failed! 2025-11-20 02:11:26,580 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-36062342:ctest-vn1-94112675 is 136.99.64.65 and allocation pool is NOT set 2025-11-20 02:11:26,580 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-36062342:ctest-vn1-94112675 is 195.182.160.193 and allocation pool is NOT set 2025-11-20 02:11:28,648 - 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=7.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.377 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.377/3.786/7.195/3.409 ms') 2025-11-20 02:11:28,648 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28465367 passed 2025-11-20 02:11:28,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 02:11:28,718 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-28465367, IP 136.99.64.69, Port 22 2025-11-20 02:11:28,775 - 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-20 02:11:28,861 - DEBUG - VM ctest-vn1-vm1-28465367 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-20 02:11:33,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 02:11:33,863 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-28465367, IP 136.99.64.69, Port 22 2025-11-20 02:11:34,020 - DEBUG - VM ctest-vn1-vm1-28465367 is ready for SSH connections 2025-11-20 02:11:34,020 - INFO - Waiting for VM ctest-vn1-vm2-17446312 to be up.. 2025-11-20 02:11:34,119 - DEBUG - VM is in ACTIVE state now 2025-11-20 02:11:34,119 - INFO - VM name : ctest-vn1-vm2-17446312 2025-11-20 02:11:34,199 - DEBUG - VM ctest-vn1-vm2-17446312 ID is ba1faccc-42b6-4ed9-ad9a-e7ecb8e123d3 2025-11-20 02:11:34,199 - DEBUG - VM ctest-vn1-vm2-17446312 launched on Node an-jenkins-deploy-platform-ansible-os-4768-1 2025-11-20 02:11:34,281 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ba1faccc-42b6-4ed9-ad9a-e7ecb8e123d3 2025-11-20 02:11:34,291 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/03cb8219-b662-4ab4-934c-eeac8e9817b2 2025-11-20 02:11:35,442 - 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.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.379 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.379/1.804/3.230/1.425 ms') 2025-11-20 02:11:35,443 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-17446312 passed 2025-11-20 02:11:35,515 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 02:11:35,515 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-17446312, IP 195.182.160.197, Port 22 2025-11-20 02:11:35,681 - DEBUG - VM ctest-vn1-vm2-17446312 is ready for SSH connections 2025-11-20 02:11:35,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 02:11:35,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 02:11:35,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 02:11:35,682 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.99.64.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-11-20 02:11:35,682 - DEBUG - ping -s 56 -c 3 -W 1 136.99.64.69 2025-11-20 02:11:38,629 - DEBUG - PING 136.99.64.69 (136.99.64.69): 56 data bytes 64 bytes from 136.99.64.69: seq=0 ttl=63 time=5.140 ms 64 bytes from 136.99.64.69: seq=1 ttl=63 time=1.157 ms 64 bytes from 136.99.64.69: seq=2 ttl=63 time=1.508 ms --- 136.99.64.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.157/2.601/5.140 ms 2025-11-20 02:11:38,629 - INFO - Ping to IP 136.99.64.69 from VM ctest-vn1-vm2-17446312 passed 2025-11-20 02:11:38,629 - INFO - Detaching port 03cb8219-b662-4ab4-934c-eeac8e9817b2 from VM ctest-vn1-vm2-17446312 2025-11-20 02:11:38,679 - INFO - Deleting VM ctest-vn1-vm2-17446312 2025-11-20 02:11:38,759 - INFO - Detaching port 5ac6281d-d966-4f21-a4b6-050a54caf9d9 from VM ctest-vn1-vm1-28465367 2025-11-20 02:11:38,792 - INFO - Deleting VM ctest-vn1-vm1-28465367 2025-11-20 02:11:39,091 - DEBUG - Response for delete_port : () 2025-11-20 02:11:39,336 - DEBUG - Response for delete_port : () 2025-11-20 02:11:39,336 - INFO - Deleting VN ctest-vn1-94112675 2025-11-20 02:11:39,535 - DEBUG - Response for deleting network () 2025-11-20 02:11:40,812 - DEBUG - No XMPP flaps were noticed during the test 2025-11-20 02:11:40,812 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27] 2025-11-20 02:11:40,812 - INFO - -------------------------------------------------------------------------------- 2025-11-20 02:11:41,552 - INFO - Deleted project: ctest-TestPorts-36062342, ID : c08098c4-b643-4b84-9bbd-adc880adfe4a