2025-11-13 02:23:27,916 - INFO - Domain Default found not creating 2025-11-13 02:23:28,065 - INFO - Project ctest-TestPorts-19226675 not found, creating it 2025-11-13 02:23:28,630 - INFO - Created Project:ctest-TestPorts-19226675, ID : dba94db7-b6b9-4c62-9297-ee80c736cc4e 2025-11-13 02:23:30,167 - INFO - ================================================================================ 2025-11-13 02:23:30,167 - INFO - STARTING TEST : test_ports_bindings 2025-11-13 02:23:30,167 - 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-13 02:23:31,468 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.25': '0', '10.20.0.254': '0'}, '10.0.0.23': {'10.20.0.25': '0', '10.20.0.193': '0'}} with 2025-11-13 02:23:31,468 - INFO - Initial checks done. Running the testcase now 2025-11-13 02:23:31,468 - INFO - 2025-11-13 02:23:32,182 - DEBUG - Response for create_network : {'network': {'id': '8a1cfb9b-d2ab-4134-b501-7a9ed8b47aa1', 'name': 'ctest-vn-26768191', 'tenant_id': 'dba94db7b6b94c629297ee80c736cc4e', 'project_id': 'dba94db7b6b94c629297ee80c736cc4e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-19226675', 'ctest-vn-26768191'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 02:23:32,528 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eaeeb4b5-d17f-4077-a863-03e21d89bdbb', 'name': '', 'tenant_id': 'dba94db7b6b94c629297ee80c736cc4e', 'network_id': '8a1cfb9b-d2ab-4134-b501-7a9ed8b47aa1', 'ip_version': 4, 'cidr': '144.51.221.0/26', 'allocation_pools': [{'start': '144.51.221.2', 'end': '144.51.221.62'}], 'gateway_ip': '144.51.221.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.51.221.2', 'tags': [], 'project_id': 'dba94db7b6b94c629297ee80c736cc4e'}} 2025-11-13 02:23:32,557 - INFO - Created VN ctest-vn-26768191 2025-11-13 02:23:32,568 - DEBUG - VN ctest-vn-26768191 UUID is 8a1cfb9b-d2ab-4134-b501-7a9ed8b47aa1 2025-11-13 02:23:32,643 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-19226675', 'ctest-vmi-99163931']} 2025-11-13 02:23:32,936 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-99163931', 'id': '48a5bb90-22e7-47fe-9d7c-b6f64e0cb3a5', 'tenant_id': 'dba94db7b6b94c629297ee80c736cc4e', 'network_id': '8a1cfb9b-d2ab-4134-b501-7a9ed8b47aa1', 'mac_address': '02:48:a5:bb:90:22', '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': '144.51.221.3', 'subnet_id': 'eaeeb4b5-d17f-4077-a863-03e21d89bdbb'}], 'security_groups': ['762ddb97-c08c-4f4a-bef2-db9da51a801e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dba94db7b6b94c629297ee80c736cc4e'}} 2025-11-13 02:23:32,936 - DEBUG - Created port 48a5bb90-22e7-47fe-9d7c-b6f64e0cb3a5 2025-11-13 02:23:33,007 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/48a5bb90-22e7-47fe-9d7c-b6f64e0cb3a5 2025-11-13 02:23:33,350 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/48a5bb90-22e7-47fe-9d7c-b6f64e0cb3a5 2025-11-13 02:23:33,383 - INFO - VMI 48a5bb90-22e7-47fe-9d7c-b6f64e0cb3a5 verification in API Server passed 2025-11-13 02:23:33,527 - DEBUG - Response for delete_port : () 2025-11-13 02:23:33,528 - INFO - Deleted port 48a5bb90-22e7-47fe-9d7c-b6f64e0cb3a5 2025-11-13 02:23:33,528 - INFO - Deleting VN ctest-vn-26768191 2025-11-13 02:23:33,707 - DEBUG - Response for deleting network () 2025-11-13 02:23:34,983 - DEBUG - No XMPP flaps were noticed during the test
2025-11-13 02:23:34,983 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04]
2025-11-13 02:23:34,983 - INFO - -------------------------------------------------------------------------------- 2025-11-13 02:23:34,987 - INFO - ================================================================================ 2025-11-13 02:23:34,987 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-13 02:23:34,987 - 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-13 02:23:36,246 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.25': '0', '10.20.0.254': '0'}, '10.0.0.23': {'10.20.0.25': '0', '10.20.0.193': '0'}} with 2025-11-13 02:23:36,246 - INFO - Initial checks done. Running the testcase now 2025-11-13 02:23:36,246 - INFO - 2025-11-13 02:23:36,580 - DEBUG - Response for create_network : {'network': {'id': '0f0cb4c6-57ce-45b6-b843-8b509fccef46', 'name': 'ctest-vn1-21595922', 'tenant_id': 'dba94db7b6b94c629297ee80c736cc4e', 'project_id': 'dba94db7b6b94c629297ee80c736cc4e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-19226675', 'ctest-vn1-21595922'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 02:23:36,796 - DEBUG - Response for create_subnet : {'subnet': {'id': '176da430-ae24-4af0-9882-d1687fae7654', 'name': '', 'tenant_id': 'dba94db7b6b94c629297ee80c736cc4e', 'network_id': '0f0cb4c6-57ce-45b6-b843-8b509fccef46', 'ip_version': 4, 'cidr': '11.12.146.64/26', 'allocation_pools': [{'start': '11.12.146.66', 'end': '11.12.146.126'}], 'gateway_ip': '11.12.146.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.12.146.66', 'tags': [], 'project_id': 'dba94db7b6b94c629297ee80c736cc4e'}} 2025-11-13 02:23:37,021 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb82cc0a-f403-4362-8a87-d48c7af21e01', 'name': '', 'tenant_id': 'dba94db7b6b94c629297ee80c736cc4e', 'network_id': '0f0cb4c6-57ce-45b6-b843-8b509fccef46', 'ip_version': 4, 'cidr': '109.228.121.64/26', 'allocation_pools': [{'start': '109.228.121.66', 'end': '109.228.121.126'}], 'gateway_ip': '109.228.121.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.228.121.66', 'tags': [], 'project_id': 'dba94db7b6b94c629297ee80c736cc4e'}} 2025-11-13 02:23:37,048 - INFO - Created VN ctest-vn1-21595922 2025-11-13 02:23:37,059 - DEBUG - VN ctest-vn1-21595922 UUID is 0f0cb4c6-57ce-45b6-b843-8b509fccef46 2025-11-13 02:23:37,405 - DEBUG - Response for create_port : {'port': {'name': '0695d26a-3d28-497a-9aac-089d00297dc4', 'id': '0695d26a-3d28-497a-9aac-089d00297dc4', 'tenant_id': 'dba94db7b6b94c629297ee80c736cc4e', 'network_id': '0f0cb4c6-57ce-45b6-b843-8b509fccef46', 'mac_address': '02:06:95:d2:6a:3d', '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': '11.12.146.69', 'subnet_id': '176da430-ae24-4af0-9882-d1687fae7654'}], 'security_groups': ['762ddb97-c08c-4f4a-bef2-db9da51a801e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dba94db7b6b94c629297ee80c736cc4e'}} 2025-11-13 02:23:37,632 - DEBUG - Response for create_port : {'port': {'name': '0a4452ea-b908-43f6-9269-323c2816ffef', 'id': '0a4452ea-b908-43f6-9269-323c2816ffef', 'tenant_id': 'dba94db7b6b94c629297ee80c736cc4e', 'network_id': '0f0cb4c6-57ce-45b6-b843-8b509fccef46', 'mac_address': '02:0a:44:52:ea:b9', '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': '109.228.121.69', 'subnet_id': 'eb82cc0a-f403-4362-8a87-d48c7af21e01'}], 'security_groups': ['762ddb97-c08c-4f4a-bef2-db9da51a801e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dba94db7b6b94c629297ee80c736cc4e'}} 2025-11-13 02:23:37,691 - DEBUG - Services list from nova: [, , , ] 2025-11-13 02:23:38,147 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4712-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4712-2) 2025-11-13 02:23:38,704 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4712-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4712-1) 2025-11-13 02:23:38,704 - INFO - Waiting for VM ctest-vn1-vm1-44029314 to be up.. 2025-11-13 02:23:38,765 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 02:23:43,853 - DEBUG - VM is in ACTIVE state now 2025-11-13 02:23:43,853 - INFO - VM name : ctest-vn1-vm1-44029314 2025-11-13 02:23:43,933 - DEBUG - VM ctest-vn1-vm1-44029314 ID is ce99daef-9f96-4171-a4c6-03a08f05b739 2025-11-13 02:23:44,050 - DEBUG - VM ctest-vn1-vm1-44029314 launched on Node an-jenkins-deploy-platform-ansible-os-4712-2 2025-11-13 02:23:44,123 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/ce99daef-9f96-4171-a4c6-03a08f05b739 2025-11-13 02:23:44,455 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/ce99daef-9f96-4171-a4c6-03a08f05b739 2025-11-13 02:23:44,487 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/0695d26a-3d28-497a-9aac-089d00297dc4 2025-11-13 02:23:47,662 - 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 1019ms') 2025-11-13 02:23:47,662 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-44029314 failed! 2025-11-13 02:23:47,676 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-19226675:ctest-vn1-21595922 is 11.12.146.65 and allocation pool is NOT set 2025-11-13 02:23:47,676 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-19226675:ctest-vn1-21595922 is 109.228.121.65 and allocation pool is NOT set 2025-11-13 02:23:49,743 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.449 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.449/2.188/3.928/1.739 ms') 2025-11-13 02:23:49,743 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-44029314 passed 2025-11-13 02:23:49,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 02:23:49,807 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-44029314, IP 11.12.146.69, Port 22 2025-11-13 02:23:49,972 - DEBUG - VM ctest-vn1-vm1-44029314 is ready for SSH connections 2025-11-13 02:23:49,972 - INFO - Waiting for VM ctest-vn1-vm2-97464229 to be up.. 2025-11-13 02:23:50,050 - DEBUG - VM is in ACTIVE state now 2025-11-13 02:23:50,050 - INFO - VM name : ctest-vn1-vm2-97464229 2025-11-13 02:23:50,128 - DEBUG - VM ctest-vn1-vm2-97464229 ID is 7f30db13-4b64-4b78-b48c-af4c0b0470fe 2025-11-13 02:23:50,128 - DEBUG - VM ctest-vn1-vm2-97464229 launched on Node an-jenkins-deploy-platform-ansible-os-4712-1 2025-11-13 02:23:50,204 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/7f30db13-4b64-4b78-b48c-af4c0b0470fe 2025-11-13 02:23:50,214 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/0a4452ea-b908-43f6-9269-323c2816ffef 2025-11-13 02:23:51,376 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.742 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.742/2.837/4.933/2.095 ms') 2025-11-13 02:23:51,376 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-97464229 passed 2025-11-13 02:23:51,446 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 02:23:51,447 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-97464229, IP 109.228.121.69, Port 22 2025-11-13 02:23:51,619 - DEBUG - VM ctest-vn1-vm2-97464229 is ready for SSH connections 2025-11-13 02:23:51,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 02:23:51,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 02:23:51,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 02:23:51,619 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.12.146.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-11-13 02:23:51,619 - DEBUG - ping -s 56 -c 3 -W 1 11.12.146.69 2025-11-13 02:23:54,643 - DEBUG - PING 11.12.146.69 (11.12.146.69): 56 data bytes 64 bytes from 11.12.146.69: seq=0 ttl=63 time=5.594 ms 64 bytes from 11.12.146.69: seq=1 ttl=63 time=1.219 ms 64 bytes from 11.12.146.69: seq=2 ttl=63 time=1.250 ms --- 11.12.146.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.219/2.687/5.594 ms 2025-11-13 02:23:54,644 - INFO - Ping to IP 11.12.146.69 from VM ctest-vn1-vm2-97464229 passed 2025-11-13 02:23:54,644 - INFO - Detaching port 0a4452ea-b908-43f6-9269-323c2816ffef from VM ctest-vn1-vm2-97464229 2025-11-13 02:23:54,695 - INFO - Deleting VM ctest-vn1-vm2-97464229 2025-11-13 02:23:54,781 - INFO - Detaching port 0695d26a-3d28-497a-9aac-089d00297dc4 from VM ctest-vn1-vm1-44029314 2025-11-13 02:23:54,816 - INFO - Deleting VM ctest-vn1-vm1-44029314 2025-11-13 02:23:55,144 - DEBUG - Response for delete_port : () 2025-11-13 02:23:55,386 - DEBUG - Response for delete_port : () 2025-11-13 02:23:55,386 - INFO - Deleting VN ctest-vn1-21595922 2025-11-13 02:23:55,606 - DEBUG - Response for deleting network () 2025-11-13 02:23:56,887 - DEBUG - No XMPP flaps were noticed during the test
2025-11-13 02:23:56,888 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22]
2025-11-13 02:23:56,888 - INFO - -------------------------------------------------------------------------------- 2025-11-13 02:23:57,631 - INFO - Deleted project: ctest-TestPorts-19226675, ID : dba94db7-b6b9-4c62-9297-ee80c736cc4e