2025-08-07 02:15:36,969 - INFO - Domain Default found not creating 2025-08-07 02:15:37,163 - INFO - Project ctest-TestPorts-94384020 not found, creating it 2025-08-07 02:15:37,677 - INFO - Created Project:ctest-TestPorts-94384020, ID : 3ac2a766-c515-4ff1-bc66-2429c6bc0427 2025-08-07 02:15:39,244 - INFO - ================================================================================ 2025-08-07 02:15:39,245 - INFO - STARTING TEST : test_ports_bindings 2025-08-07 02:15:39,245 - 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-08-07 02:15:39,506 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.18': '0'}} with 2025-08-07 02:15:39,506 - INFO - Initial checks done. Running the testcase now 2025-08-07 02:15:39,506 - INFO - 2025-08-07 02:15:40,112 - DEBUG - Response for create_network : {'network': {'id': 'fce428d0-f852-4cd9-8b81-d46172909546', 'name': 'ctest-vn-10346494', 'tenant_id': '3ac2a766c5154ff1bc662429c6bc0427', 'project_id': '3ac2a766c5154ff1bc662429c6bc0427', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94384020', 'ctest-vn-10346494'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:15:40,354 - DEBUG - Response for create_subnet : {'subnet': {'id': '941528fc-c770-4374-94b9-40ce42dab8d1', 'name': '', 'tenant_id': '3ac2a766c5154ff1bc662429c6bc0427', 'network_id': 'fce428d0-f852-4cd9-8b81-d46172909546', 'ip_version': 4, 'cidr': '208.196.93.192/26', 'allocation_pools': [{'start': '208.196.93.194', 'end': '208.196.93.254'}], 'gateway_ip': '208.196.93.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.196.93.194', 'tags': [], 'project_id': '3ac2a766c5154ff1bc662429c6bc0427'}} 2025-08-07 02:15:40,373 - INFO - Created VN ctest-vn-10346494 2025-08-07 02:15:40,427 - DEBUG - VN ctest-vn-10346494 UUID is fce428d0-f852-4cd9-8b81-d46172909546 2025-08-07 02:15:40,539 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-94384020', 'ctest-vmi-49508710']} 2025-08-07 02:15:40,785 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-49508710', 'id': '8880c26f-1503-43a2-97b7-9ddca5062400', 'tenant_id': '3ac2a766c5154ff1bc662429c6bc0427', 'network_id': 'fce428d0-f852-4cd9-8b81-d46172909546', 'mac_address': '02:88:80:c2:6f:15', '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': '208.196.93.195', 'subnet_id': '941528fc-c770-4374-94b9-40ce42dab8d1'}], 'security_groups': ['ef264e3a-51e9-4340-a072-de539bb38f99'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3ac2a766c5154ff1bc662429c6bc0427'}} 2025-08-07 02:15:40,785 - DEBUG - Created port 8880c26f-1503-43a2-97b7-9ddca5062400 2025-08-07 02:15:40,891 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/8880c26f-1503-43a2-97b7-9ddca5062400 2025-08-07 02:15:41,224 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/8880c26f-1503-43a2-97b7-9ddca5062400 2025-08-07 02:15:41,259 - INFO - VMI 8880c26f-1503-43a2-97b7-9ddca5062400 verification in API Server passed 2025-08-07 02:15:41,357 - DEBUG - Response for delete_port : () 2025-08-07 02:15:41,357 - INFO - Deleted port 8880c26f-1503-43a2-97b7-9ddca5062400 2025-08-07 02:15:41,357 - INFO - Deleting VN ctest-vn-10346494 2025-08-07 02:15:41,459 - DEBUG - Response for deleting network () 2025-08-07 02:15:41,732 - DEBUG - No XMPP flaps were noticed during the test
2025-08-07 02:15:41,732 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-07 02:15:41,732 - INFO - -------------------------------------------------------------------------------- 2025-08-07 02:15:41,736 - INFO - ================================================================================ 2025-08-07 02:15:41,736 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-07 02:15:41,737 - 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-08-07 02:15:42,010 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.18': '0'}} with 2025-08-07 02:15:42,010 - INFO - Initial checks done. Running the testcase now 2025-08-07 02:15:42,010 - INFO - 2025-08-07 02:15:42,193 - DEBUG - Response for create_network : {'network': {'id': '0b38d9f3-4c30-4a14-996e-a1267810c5d1', 'name': 'ctest-vn1-98957158', 'tenant_id': '3ac2a766c5154ff1bc662429c6bc0427', 'project_id': '3ac2a766c5154ff1bc662429c6bc0427', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94384020', 'ctest-vn1-98957158'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:15:42,351 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bfdd593f-9504-4a1f-8519-ad211f69c162', 'name': '', 'tenant_id': '3ac2a766c5154ff1bc662429c6bc0427', 'network_id': '0b38d9f3-4c30-4a14-996e-a1267810c5d1', 'ip_version': 4, 'cidr': '175.71.152.64/26', 'allocation_pools': [{'start': '175.71.152.66', 'end': '175.71.152.126'}], 'gateway_ip': '175.71.152.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.71.152.66', 'tags': [], 'project_id': '3ac2a766c5154ff1bc662429c6bc0427'}} 2025-08-07 02:15:42,494 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd962c953-9157-4344-8d44-00c6785f9438', 'name': '', 'tenant_id': '3ac2a766c5154ff1bc662429c6bc0427', 'network_id': '0b38d9f3-4c30-4a14-996e-a1267810c5d1', 'ip_version': 4, 'cidr': '80.56.118.192/26', 'allocation_pools': [{'start': '80.56.118.194', 'end': '80.56.118.254'}], 'gateway_ip': '80.56.118.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.56.118.194', 'tags': [], 'project_id': '3ac2a766c5154ff1bc662429c6bc0427'}} 2025-08-07 02:15:42,516 - INFO - Created VN ctest-vn1-98957158 2025-08-07 02:15:42,572 - DEBUG - VN ctest-vn1-98957158 UUID is 0b38d9f3-4c30-4a14-996e-a1267810c5d1 2025-08-07 02:15:42,897 - DEBUG - Response for create_port : {'port': {'name': '807eeade-cb60-4e7e-adc7-a19d01c4c749', 'id': '807eeade-cb60-4e7e-adc7-a19d01c4c749', 'tenant_id': '3ac2a766c5154ff1bc662429c6bc0427', 'network_id': '0b38d9f3-4c30-4a14-996e-a1267810c5d1', 'mac_address': '02:80:7e:ea:de:cb', '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': '175.71.152.69', 'subnet_id': 'bfdd593f-9504-4a1f-8519-ad211f69c162'}], 'security_groups': ['ef264e3a-51e9-4340-a072-de539bb38f99'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3ac2a766c5154ff1bc662429c6bc0427'}} 2025-08-07 02:15:43,104 - DEBUG - Response for create_port : {'port': {'name': '04153d4e-22e0-44af-802f-2ad17546889d', 'id': '04153d4e-22e0-44af-802f-2ad17546889d', 'tenant_id': '3ac2a766c5154ff1bc662429c6bc0427', 'network_id': '0b38d9f3-4c30-4a14-996e-a1267810c5d1', 'mac_address': '02:04:15:3d:4e:22', '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': '80.56.118.197', 'subnet_id': 'd962c953-9157-4344-8d44-00c6785f9438'}], 'security_groups': ['ef264e3a-51e9-4340-a072-de539bb38f99'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3ac2a766c5154ff1bc662429c6bc0427'}} 2025-08-07 02:15:43,166 - DEBUG - Services list from nova: [, , ] 2025-08-07 02:15:43,524 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3768-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3768-1) 2025-08-07 02:15:43,958 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3768-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3768-1) 2025-08-07 02:15:43,958 - INFO - Waiting for VM ctest-vn1-vm1-47053206 to be up.. 2025-08-07 02:15:44,000 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 02:15:49,078 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:15:49,078 - INFO - VM name : ctest-vn1-vm1-47053206 2025-08-07 02:15:49,151 - DEBUG - VM ctest-vn1-vm1-47053206 ID is 118227d0-48b0-4505-a07d-bccde4142b17 2025-08-07 02:15:49,170 - DEBUG - VM ctest-vn1-vm1-47053206 launched on Node cn-jenkins-deploy-platform-ansible-os-3768-1 2025-08-07 02:15:49,243 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/118227d0-48b0-4505-a07d-bccde4142b17 2025-08-07 02:15:49,252 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/807eeade-cb60-4e7e-adc7-a19d01c4c749 2025-08-07 02:15:52,500 - 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 1006ms') 2025-08-07 02:15:52,500 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47053206 failed! 2025-08-07 02:15:52,555 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94384020:ctest-vn1-98957158 is 175.71.152.65 and allocation pool is NOT set 2025-08-07 02:15:52,556 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94384020:ctest-vn1-98957158 is 80.56.118.193 and allocation pool is NOT set 2025-08-07 02:15:56,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=2 ttl=63 time=7.34 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 7.341/7.341/7.341/0.000 ms') 2025-08-07 02:15:56,636 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47053206 passed 2025-08-07 02:15:56,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:15:56,792 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-47053206, IP 175.71.152.69, Port 22 2025-08-07 02:15:56,951 - DEBUG - VM ctest-vn1-vm1-47053206 is ready for SSH connections 2025-08-07 02:15:56,951 - INFO - Waiting for VM ctest-vn1-vm2-32798281 to be up.. 2025-08-07 02:15:57,033 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:15:57,033 - INFO - VM name : ctest-vn1-vm2-32798281 2025-08-07 02:15:57,115 - DEBUG - VM ctest-vn1-vm2-32798281 ID is aa84f537-2174-4f5e-a71c-d82464b1b5c3 2025-08-07 02:15:57,115 - DEBUG - VM ctest-vn1-vm2-32798281 launched on Node cn-jenkins-deploy-platform-ansible-os-3768-1 2025-08-07 02:15:57,195 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/aa84f537-2174-4f5e-a71c-d82464b1b5c3 2025-08-07 02:15:57,208 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/04153d4e-22e0-44af-802f-2ad17546889d 2025-08-07 02:15:58,457 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.497 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.497/2.048/3.599/1.551 ms') 2025-08-07 02:15:58,458 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-32798281 passed 2025-08-07 02:15:58,611 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:15:58,612 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-32798281, IP 80.56.118.197, Port 22 2025-08-07 02:15:58,767 - DEBUG - VM ctest-vn1-vm2-32798281 is ready for SSH connections 2025-08-07 02:15:58,767 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:15:58,767 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:15:58,767 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:15:58,767 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.71.152.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-08-07 02:15:58,767 - DEBUG - ping -s 56 -c 3 -W 1 175.71.152.69 2025-08-07 02:16:01,458 - DEBUG - PING 175.71.152.69 (175.71.152.69): 56 data bytes 64 bytes from 175.71.152.69: seq=0 ttl=63 time=3.719 ms 64 bytes from 175.71.152.69: seq=1 ttl=63 time=0.885 ms 64 bytes from 175.71.152.69: seq=2 ttl=63 time=0.833 ms --- 175.71.152.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.833/1.812/3.719 ms 2025-08-07 02:16:01,458 - INFO - Ping to IP 175.71.152.69 from VM ctest-vn1-vm2-32798281 passed 2025-08-07 02:16:01,458 - INFO - Detaching port 04153d4e-22e0-44af-802f-2ad17546889d from VM ctest-vn1-vm2-32798281 2025-08-07 02:16:01,509 - INFO - Deleting VM ctest-vn1-vm2-32798281 2025-08-07 02:16:01,576 - INFO - Detaching port 807eeade-cb60-4e7e-adc7-a19d01c4c749 from VM ctest-vn1-vm1-47053206 2025-08-07 02:16:01,619 - INFO - Deleting VM ctest-vn1-vm1-47053206 2025-08-07 02:16:01,880 - DEBUG - Response for delete_port : () 2025-08-07 02:16:02,111 - DEBUG - Response for delete_port : () 2025-08-07 02:16:02,111 - INFO - Deleting VN ctest-vn1-98957158 2025-08-07 02:16:02,293 - DEBUG - Response for deleting network () 2025-08-07 02:16:02,553 - DEBUG - No XMPP flaps were noticed during the test
2025-08-07 02:16:02,553 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-08-07 02:16:02,554 - INFO - -------------------------------------------------------------------------------- 2025-08-07 02:16:03,296 - INFO - Deleted project: ctest-TestPorts-94384020, ID : 3ac2a766-c515-4ff1-bc66-2429c6bc0427