2025-10-29 19:44:49,890 - INFO - Domain Default found not creating 2025-10-29 19:44:50,051 - INFO - Project ctest-TestPorts-67086166 not found, creating it 2025-10-29 19:44:50,534 - INFO - Created Project:ctest-TestPorts-67086166, ID : d7b9b49d-8caf-489d-acd4-9bf69281c8cc 2025-10-29 19:44:52,105 - INFO - ================================================================================ 2025-10-29 19:44:52,105 - INFO - STARTING TEST : test_ports_bindings 2025-10-29 19:44:52,105 - 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 19:44:53,433 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.254': '0', '10.20.0.18': '0'}, '10.0.0.242': {'10.20.0.18': '0', '10.20.0.14': '0'}} with 2025-10-29 19:44:53,433 - INFO - Initial checks done. Running the testcase now 2025-10-29 19:44:53,433 - INFO - 2025-10-29 19:44:54,114 - DEBUG - Response for create_network : {'network': {'id': 'ab4c38e7-6f54-4cda-8f1e-ebeb33c93ca2', 'name': 'ctest-vn-36164282', 'tenant_id': 'd7b9b49d8caf489dacd49bf69281c8cc', 'project_id': 'd7b9b49d8caf489dacd49bf69281c8cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-67086166', 'ctest-vn-36164282'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 19:44:54,379 - DEBUG - Response for create_subnet : {'subnet': {'id': '15d2ff18-cd51-4273-a8bc-ab933ff15252', 'name': '', 'tenant_id': 'd7b9b49d8caf489dacd49bf69281c8cc', 'network_id': 'ab4c38e7-6f54-4cda-8f1e-ebeb33c93ca2', 'ip_version': 4, 'cidr': '55.202.166.64/26', 'allocation_pools': [{'start': '55.202.166.66', 'end': '55.202.166.126'}], 'gateway_ip': '55.202.166.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.202.166.66', 'tags': [], 'project_id': 'd7b9b49d8caf489dacd49bf69281c8cc'}} 2025-10-29 19:44:54,405 - INFO - Created VN ctest-vn-36164282 2025-10-29 19:44:54,418 - DEBUG - VN ctest-vn-36164282 UUID is ab4c38e7-6f54-4cda-8f1e-ebeb33c93ca2 2025-10-29 19:44:54,495 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-67086166', 'ctest-vmi-79599950']} 2025-10-29 19:44:54,804 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-79599950', 'id': '3ac122c2-1444-4818-bb4c-d36669322333', 'tenant_id': 'd7b9b49d8caf489dacd49bf69281c8cc', 'network_id': 'ab4c38e7-6f54-4cda-8f1e-ebeb33c93ca2', 'mac_address': '02:3a:c1:22:c2:14', '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': '55.202.166.67', 'subnet_id': '15d2ff18-cd51-4273-a8bc-ab933ff15252'}], 'security_groups': ['bbaad94c-16c3-444b-b683-aa502c333133'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd7b9b49d8caf489dacd49bf69281c8cc'}} 2025-10-29 19:44:54,804 - DEBUG - Created port 3ac122c2-1444-4818-bb4c-d36669322333 2025-10-29 19:44:54,871 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3ac122c2-1444-4818-bb4c-d36669322333 2025-10-29 19:44:55,163 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3ac122c2-1444-4818-bb4c-d36669322333 2025-10-29 19:44:55,199 - INFO - VMI 3ac122c2-1444-4818-bb4c-d36669322333 verification in API Server passed 2025-10-29 19:44:55,352 - DEBUG - Response for delete_port : () 2025-10-29 19:44:55,352 - INFO - Deleted port 3ac122c2-1444-4818-bb4c-d36669322333 2025-10-29 19:44:55,352 - INFO - Deleting VN ctest-vn-36164282 2025-10-29 19:44:55,502 - DEBUG - Response for deleting network () 2025-10-29 19:44:56,818 - DEBUG - No XMPP flaps were noticed during the test 2025-10-29 19:44:56,818 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04] 2025-10-29 19:44:56,818 - INFO - -------------------------------------------------------------------------------- 2025-10-29 19:44:56,821 - INFO - ================================================================================ 2025-10-29 19:44:56,821 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-29 19:44:56,821 - 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 19:44:58,129 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.254': '0', '10.20.0.18': '0'}, '10.0.0.242': {'10.20.0.18': '0', '10.20.0.14': '0'}} with 2025-10-29 19:44:58,129 - INFO - Initial checks done. Running the testcase now 2025-10-29 19:44:58,129 - INFO - 2025-10-29 19:44:58,374 - DEBUG - Response for create_network : {'network': {'id': '913381ae-691d-41f4-b69c-67fb49806041', 'name': 'ctest-vn1-39708992', 'tenant_id': 'd7b9b49d8caf489dacd49bf69281c8cc', 'project_id': 'd7b9b49d8caf489dacd49bf69281c8cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-67086166', 'ctest-vn1-39708992'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 19:44:58,586 - DEBUG - Response for create_subnet : {'subnet': {'id': '13bce52f-266f-4022-960d-a42928eeb3dd', 'name': '', 'tenant_id': 'd7b9b49d8caf489dacd49bf69281c8cc', 'network_id': '913381ae-691d-41f4-b69c-67fb49806041', 'ip_version': 4, 'cidr': '142.89.2.128/26', 'allocation_pools': [{'start': '142.89.2.130', 'end': '142.89.2.190'}], 'gateway_ip': '142.89.2.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.89.2.130', 'tags': [], 'project_id': 'd7b9b49d8caf489dacd49bf69281c8cc'}} 2025-10-29 19:44:58,792 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b336473-8d2a-4727-a14d-f31e1b3da731', 'name': '', 'tenant_id': 'd7b9b49d8caf489dacd49bf69281c8cc', 'network_id': '913381ae-691d-41f4-b69c-67fb49806041', 'ip_version': 4, 'cidr': '179.110.74.64/26', 'allocation_pools': [{'start': '179.110.74.66', 'end': '179.110.74.126'}], 'gateway_ip': '179.110.74.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.110.74.66', 'tags': [], 'project_id': 'd7b9b49d8caf489dacd49bf69281c8cc'}} 2025-10-29 19:44:58,819 - INFO - Created VN ctest-vn1-39708992 2025-10-29 19:44:58,834 - DEBUG - VN ctest-vn1-39708992 UUID is 913381ae-691d-41f4-b69c-67fb49806041 2025-10-29 19:44:59,172 - DEBUG - Response for create_port : {'port': {'name': 'f8fa5f4b-ddda-4129-900f-e7410c90b576', 'id': 'f8fa5f4b-ddda-4129-900f-e7410c90b576', 'tenant_id': 'd7b9b49d8caf489dacd49bf69281c8cc', 'network_id': '913381ae-691d-41f4-b69c-67fb49806041', 'mac_address': '02:f8:fa:5f:4b:dd', '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': '142.89.2.133', 'subnet_id': '13bce52f-266f-4022-960d-a42928eeb3dd'}], 'security_groups': ['bbaad94c-16c3-444b-b683-aa502c333133'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd7b9b49d8caf489dacd49bf69281c8cc'}} 2025-10-29 19:44:59,499 - DEBUG - Response for create_port : {'port': {'name': '0d719c09-2952-4237-bd38-df97b1256c2e', 'id': '0d719c09-2952-4237-bd38-df97b1256c2e', 'tenant_id': 'd7b9b49d8caf489dacd49bf69281c8cc', 'network_id': '913381ae-691d-41f4-b69c-67fb49806041', 'mac_address': '02:0d:71:9c:09:29', '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': '179.110.74.69', 'subnet_id': '3b336473-8d2a-4727-a14d-f31e1b3da731'}], 'security_groups': ['bbaad94c-16c3-444b-b683-aa502c333133'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd7b9b49d8caf489dacd49bf69281c8cc'}} 2025-10-29 19:44:59,564 - DEBUG - Services list from nova: [, , , ] 2025-10-29 19:45:00,140 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4527-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4527-2) 2025-10-29 19:45:00,750 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4527-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4527-1) 2025-10-29 19:45:00,750 - INFO - Waiting for VM ctest-vn1-vm1-06517702 to be up.. 2025-10-29 19:45:00,821 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 19:45:05,916 - DEBUG - VM is in ACTIVE state now 2025-10-29 19:45:05,916 - INFO - VM name : ctest-vn1-vm1-06517702 2025-10-29 19:45:05,999 - DEBUG - VM ctest-vn1-vm1-06517702 ID is 3eef5e95-ec5b-4832-ba61-af7f2bae0277 2025-10-29 19:45:06,027 - DEBUG - VM ctest-vn1-vm1-06517702 launched on Node an-jenkins-deploy-platform-ansible-os-4527-2 2025-10-29 19:45:06,120 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/3eef5e95-ec5b-4832-ba61-af7f2bae0277 2025-10-29 19:45:06,430 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/3eef5e95-ec5b-4832-ba61-af7f2bae0277 2025-10-29 19:45:06,462 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f8fa5f4b-ddda-4129-900f-e7410c90b576 2025-10-29 19:45:09,633 - 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 1007ms') 2025-10-29 19:45:09,633 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06517702 failed! 2025-10-29 19:45:09,649 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-67086166:ctest-vn1-39708992 is 142.89.2.129 and allocation pool is NOT set 2025-10-29 19:45:09,649 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-67086166:ctest-vn1-39708992 is 179.110.74.65 and allocation pool is NOT set 2025-10-29 19:45:11,717 - 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=4.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.51 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.514/3.108/4.702/1.594 ms') 2025-10-29 19:45:11,717 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06517702 passed 2025-10-29 19:45:11,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 19:45:11,790 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-06517702, IP 142.89.2.133, Port 22 2025-10-29 19:45:11,961 - DEBUG - VM ctest-vn1-vm1-06517702 is ready for SSH connections 2025-10-29 19:45:11,961 - INFO - Waiting for VM ctest-vn1-vm2-26652572 to be up.. 2025-10-29 19:45:12,054 - DEBUG - VM is in ACTIVE state now 2025-10-29 19:45:12,054 - INFO - VM name : ctest-vn1-vm2-26652572 2025-10-29 19:45:12,152 - DEBUG - VM ctest-vn1-vm2-26652572 ID is 249c0635-fe6a-4fc2-919b-81e77fc42242 2025-10-29 19:45:12,152 - DEBUG - VM ctest-vn1-vm2-26652572 launched on Node an-jenkins-deploy-platform-ansible-os-4527-1 2025-10-29 19:45:12,250 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/249c0635-fe6a-4fc2-919b-81e77fc42242 2025-10-29 19:45:12,260 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0d719c09-2952-4237-bd38-df97b1256c2e 2025-10-29 19:45:13,462 - 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=4.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.47 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.468/2.863/4.258/1.395 ms') 2025-10-29 19:45:13,462 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-26652572 passed 2025-10-29 19:45:13,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 19:45:13,531 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-26652572, IP 179.110.74.69, Port 22 2025-10-29 19:45:13,611 - 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 19:45:13,698 - DEBUG - VM ctest-vn1-vm2-26652572 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 19:45:18,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 19:45:18,699 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-26652572, IP 179.110.74.69, Port 22 2025-10-29 19:45:18,906 - DEBUG - VM ctest-vn1-vm2-26652572 is ready for SSH connections 2025-10-29 19:45:18,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 19:45:18,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 19:45:18,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 19:45:18,906 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.89.2.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-29 19:45:18,907 - DEBUG - ping -s 56 -c 3 -W 1 142.89.2.133 2025-10-29 19:45:22,153 - DEBUG - PING 142.89.2.133 (142.89.2.133): 56 data bytes 64 bytes from 142.89.2.133: seq=0 ttl=63 time=6.991 ms 64 bytes from 142.89.2.133: seq=1 ttl=63 time=2.684 ms 64 bytes from 142.89.2.133: seq=2 ttl=63 time=1.734 ms --- 142.89.2.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.734/3.803/6.991 ms 2025-10-29 19:45:22,153 - INFO - Ping to IP 142.89.2.133 from VM ctest-vn1-vm2-26652572 passed 2025-10-29 19:45:22,153 - INFO - Detaching port 0d719c09-2952-4237-bd38-df97b1256c2e from VM ctest-vn1-vm2-26652572 2025-10-29 19:45:22,206 - INFO - Deleting VM ctest-vn1-vm2-26652572 2025-10-29 19:45:22,277 - INFO - Detaching port f8fa5f4b-ddda-4129-900f-e7410c90b576 from VM ctest-vn1-vm1-06517702 2025-10-29 19:45:22,308 - INFO - Deleting VM ctest-vn1-vm1-06517702 2025-10-29 19:45:22,605 - DEBUG - Response for delete_port : () 2025-10-29 19:45:22,838 - DEBUG - Response for delete_port : () 2025-10-29 19:45:22,838 - INFO - Deleting VN ctest-vn1-39708992 2025-10-29 19:45:23,053 - DEBUG - Response for deleting network () 2025-10-29 19:45:24,382 - DEBUG - No XMPP flaps were noticed during the test 2025-10-29 19:45:24,382 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:28] 2025-10-29 19:45:24,382 - INFO - -------------------------------------------------------------------------------- 2025-10-29 19:45:25,089 - INFO - Deleted project: ctest-TestPorts-67086166, ID : d7b9b49d-8caf-489d-acd4-9bf69281c8cc