2025-08-08 09:52:16,653 - INFO - Domain Default found not creating 2025-08-08 09:52:16,819 - INFO - Project ctest-TestPorts-42856253 not found, creating it 2025-08-08 09:52:17,296 - INFO - Created Project:ctest-TestPorts-42856253, ID : c2075e05-906e-4b23-bffe-6be9fbd2922d 2025-08-08 09:52:18,835 - INFO - ================================================================================ 2025-08-08 09:52:18,835 - INFO - STARTING TEST : test_ports_bindings 2025-08-08 09:52:18,835 - 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-08 09:52:19,099 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.252': '0'}} with 2025-08-08 09:52:19,099 - INFO - Initial checks done. Running the testcase now 2025-08-08 09:52:19,099 - INFO - 2025-08-08 09:52:19,692 - DEBUG - Response for create_network : {'network': {'id': 'fa483ae3-9df5-4ab8-9e5b-372fa09688c7', 'name': 'ctest-vn-43146225', 'tenant_id': 'c2075e05906e4b23bffe6be9fbd2922d', 'project_id': 'c2075e05906e4b23bffe6be9fbd2922d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-42856253', 'ctest-vn-43146225'], 'port_security_enabled': True, 'description': ''}} 2025-08-08 09:52:19,903 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7cc69bd-b347-4122-8a28-e462ba400206', 'name': '', 'tenant_id': 'c2075e05906e4b23bffe6be9fbd2922d', 'network_id': 'fa483ae3-9df5-4ab8-9e5b-372fa09688c7', 'ip_version': 4, 'cidr': '122.234.181.0/26', 'allocation_pools': [{'start': '122.234.181.2', 'end': '122.234.181.62'}], 'gateway_ip': '122.234.181.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.234.181.2', 'tags': [], 'project_id': 'c2075e05906e4b23bffe6be9fbd2922d'}} 2025-08-08 09:52:19,930 - INFO - Created VN ctest-vn-43146225 2025-08-08 09:52:19,992 - DEBUG - VN ctest-vn-43146225 UUID is fa483ae3-9df5-4ab8-9e5b-372fa09688c7 2025-08-08 09:52:20,118 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-42856253', 'ctest-vmi-27505918']} 2025-08-08 09:52:20,386 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-27505918', 'id': '9a32a6e8-d7fd-4394-a9ec-9eaae0913b34', 'tenant_id': 'c2075e05906e4b23bffe6be9fbd2922d', 'network_id': 'fa483ae3-9df5-4ab8-9e5b-372fa09688c7', 'mac_address': '02:9a:32:a6:e8:d7', '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': '122.234.181.3', 'subnet_id': 'b7cc69bd-b347-4122-8a28-e462ba400206'}], 'security_groups': ['b419bec1-c90f-466b-b774-432c06d6cb2b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c2075e05906e4b23bffe6be9fbd2922d'}} 2025-08-08 09:52:20,386 - DEBUG - Created port 9a32a6e8-d7fd-4394-a9ec-9eaae0913b34 2025-08-08 09:52:20,500 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/9a32a6e8-d7fd-4394-a9ec-9eaae0913b34 2025-08-08 09:52:20,800 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/9a32a6e8-d7fd-4394-a9ec-9eaae0913b34 2025-08-08 09:52:20,837 - INFO - VMI 9a32a6e8-d7fd-4394-a9ec-9eaae0913b34 verification in API Server passed 2025-08-08 09:52:20,939 - DEBUG - Response for delete_port : () 2025-08-08 09:52:20,939 - INFO - Deleted port 9a32a6e8-d7fd-4394-a9ec-9eaae0913b34 2025-08-08 09:52:20,939 - INFO - Deleting VN ctest-vn-43146225 2025-08-08 09:52:21,054 - DEBUG - Response for deleting network () 2025-08-08 09:52:21,311 - DEBUG - No XMPP flaps were noticed during the test
2025-08-08 09:52:21,311 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-08 09:52:21,311 - INFO - -------------------------------------------------------------------------------- 2025-08-08 09:52:21,316 - INFO - ================================================================================ 2025-08-08 09:52:21,316 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-08 09:52:21,316 - 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-08 09:52:21,607 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.252': '0'}} with 2025-08-08 09:52:21,607 - INFO - Initial checks done. Running the testcase now 2025-08-08 09:52:21,607 - INFO - 2025-08-08 09:52:21,830 - DEBUG - Response for create_network : {'network': {'id': 'cc9142f6-c57b-4e02-974b-7558148332c8', 'name': 'ctest-vn1-48514286', 'tenant_id': 'c2075e05906e4b23bffe6be9fbd2922d', 'project_id': 'c2075e05906e4b23bffe6be9fbd2922d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-42856253', 'ctest-vn1-48514286'], 'port_security_enabled': True, 'description': ''}} 2025-08-08 09:52:22,001 - DEBUG - Response for create_subnet : {'subnet': {'id': '65b9bf93-1bba-4535-bfee-0af4df9ba8f5', 'name': '', 'tenant_id': 'c2075e05906e4b23bffe6be9fbd2922d', 'network_id': 'cc9142f6-c57b-4e02-974b-7558148332c8', 'ip_version': 4, 'cidr': '99.59.242.0/26', 'allocation_pools': [{'start': '99.59.242.2', 'end': '99.59.242.62'}], 'gateway_ip': '99.59.242.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.59.242.2', 'tags': [], 'project_id': 'c2075e05906e4b23bffe6be9fbd2922d'}} 2025-08-08 09:52:22,223 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a80bf58-bc3e-4766-a27c-5f57d68b95c7', 'name': '', 'tenant_id': 'c2075e05906e4b23bffe6be9fbd2922d', 'network_id': 'cc9142f6-c57b-4e02-974b-7558148332c8', 'ip_version': 4, 'cidr': '52.212.231.192/26', 'allocation_pools': [{'start': '52.212.231.194', 'end': '52.212.231.254'}], 'gateway_ip': '52.212.231.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.212.231.194', 'tags': [], 'project_id': 'c2075e05906e4b23bffe6be9fbd2922d'}} 2025-08-08 09:52:22,245 - INFO - Created VN ctest-vn1-48514286 2025-08-08 09:52:22,304 - DEBUG - VN ctest-vn1-48514286 UUID is cc9142f6-c57b-4e02-974b-7558148332c8 2025-08-08 09:52:22,645 - DEBUG - Response for create_port : {'port': {'name': '35b85ef7-9421-4bb2-bd02-430eadce26b3', 'id': '35b85ef7-9421-4bb2-bd02-430eadce26b3', 'tenant_id': 'c2075e05906e4b23bffe6be9fbd2922d', 'network_id': 'cc9142f6-c57b-4e02-974b-7558148332c8', 'mac_address': '02:35:b8:5e:f7:94', '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.59.242.5', 'subnet_id': '65b9bf93-1bba-4535-bfee-0af4df9ba8f5'}], 'security_groups': ['b419bec1-c90f-466b-b774-432c06d6cb2b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c2075e05906e4b23bffe6be9fbd2922d'}} 2025-08-08 09:52:22,857 - DEBUG - Response for create_port : {'port': {'name': '56a95849-dad3-4c33-807f-e49b505f5658', 'id': '56a95849-dad3-4c33-807f-e49b505f5658', 'tenant_id': 'c2075e05906e4b23bffe6be9fbd2922d', 'network_id': 'cc9142f6-c57b-4e02-974b-7558148332c8', 'mac_address': '02:56:a9:58:49: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': '52.212.231.197', 'subnet_id': '3a80bf58-bc3e-4766-a27c-5f57d68b95c7'}], 'security_groups': ['b419bec1-c90f-466b-b774-432c06d6cb2b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c2075e05906e4b23bffe6be9fbd2922d'}} 2025-08-08 09:52:22,925 - DEBUG - Services list from nova: [, , ] 2025-08-08 09:52:23,307 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3783-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3783-1) 2025-08-08 09:52:23,731 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3783-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3783-1) 2025-08-08 09:52:23,731 - INFO - Waiting for VM ctest-vn1-vm1-69345701 to be up.. 2025-08-08 09:52:23,777 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-08 09:52:28,854 - DEBUG - VM is in ACTIVE state now 2025-08-08 09:52:28,854 - INFO - VM name : ctest-vn1-vm1-69345701 2025-08-08 09:52:28,950 - DEBUG - VM ctest-vn1-vm1-69345701 ID is 4e8735f2-1fa7-42ea-adc1-c190dd266c9f 2025-08-08 09:52:28,970 - DEBUG - VM ctest-vn1-vm1-69345701 launched on Node cn-jenkins-deploy-platform-ansible-os-3783-1 2025-08-08 09:52:29,046 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/4e8735f2-1fa7-42ea-adc1-c190dd266c9f 2025-08-08 09:52:29,057 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/35b85ef7-9421-4bb2-bd02-430eadce26b3 2025-08-08 09:52:32,329 - 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 1022ms') 2025-08-08 09:52:32,329 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-69345701 failed! 2025-08-08 09:52:32,384 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-42856253:ctest-vn1-48514286 is 99.59.242.1 and allocation pool is NOT set 2025-08-08 09:52:32,384 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-42856253:ctest-vn1-48514286 is 52.212.231.193 and allocation pool is NOT set 2025-08-08 09:52:34,445 - 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=8.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.687 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.687/4.627/8.568/3.940 ms') 2025-08-08 09:52:34,445 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-69345701 passed 2025-08-08 09:52:34,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 09:52:34,600 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-69345701, IP 99.59.242.5, Port 22 2025-08-08 09:52:34,767 - DEBUG - VM ctest-vn1-vm1-69345701 is ready for SSH connections 2025-08-08 09:52:34,767 - INFO - Waiting for VM ctest-vn1-vm2-66234565 to be up.. 2025-08-08 09:52:34,875 - DEBUG - VM is in ACTIVE state now 2025-08-08 09:52:34,875 - INFO - VM name : ctest-vn1-vm2-66234565 2025-08-08 09:52:34,969 - DEBUG - VM ctest-vn1-vm2-66234565 ID is 9b3475d4-7c58-4666-aa5a-419e354c440e 2025-08-08 09:52:34,969 - DEBUG - VM ctest-vn1-vm2-66234565 launched on Node cn-jenkins-deploy-platform-ansible-os-3783-1 2025-08-08 09:52:35,050 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/9b3475d4-7c58-4666-aa5a-419e354c440e 2025-08-08 09:52:35,064 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/56a95849-dad3-4c33-807f-e49b505f5658 2025-08-08 09:52:36,334 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.450 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.450/1.840/3.231/1.390 ms') 2025-08-08 09:52:36,334 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-66234565 passed 2025-08-08 09:52:36,492 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 09:52:36,492 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-66234565, IP 52.212.231.197, Port 22 2025-08-08 09:52:36,647 - DEBUG - VM ctest-vn1-vm2-66234565 is ready for SSH connections 2025-08-08 09:52:36,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 09:52:36,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 09:52:36,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 09:52:36,647 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.59.242.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-08-08 09:52:36,647 - DEBUG - ping -s 56 -c 3 -W 1 99.59.242.5 2025-08-08 09:52:39,677 - DEBUG - PING 99.59.242.5 (99.59.242.5): 56 data bytes 64 bytes from 99.59.242.5: seq=0 ttl=63 time=4.827 ms 64 bytes from 99.59.242.5: seq=1 ttl=63 time=1.115 ms 64 bytes from 99.59.242.5: seq=2 ttl=63 time=0.807 ms --- 99.59.242.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.807/2.249/4.827 ms 2025-08-08 09:52:39,677 - INFO - Ping to IP 99.59.242.5 from VM ctest-vn1-vm2-66234565 passed 2025-08-08 09:52:39,677 - INFO - Detaching port 56a95849-dad3-4c33-807f-e49b505f5658 from VM ctest-vn1-vm2-66234565 2025-08-08 09:52:39,735 - INFO - Deleting VM ctest-vn1-vm2-66234565 2025-08-08 09:52:39,816 - INFO - Detaching port 35b85ef7-9421-4bb2-bd02-430eadce26b3 from VM ctest-vn1-vm1-69345701 2025-08-08 09:52:39,855 - INFO - Deleting VM ctest-vn1-vm1-69345701 2025-08-08 09:52:40,131 - DEBUG - Response for delete_port : () 2025-08-08 09:52:40,348 - DEBUG - Response for delete_port : () 2025-08-08 09:52:40,348 - INFO - Deleting VN ctest-vn1-48514286 2025-08-08 09:52:40,519 - DEBUG - Response for deleting network () 2025-08-08 09:52:40,795 - DEBUG - No XMPP flaps were noticed during the test
2025-08-08 09:52:40,795 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-08-08 09:52:40,795 - INFO - -------------------------------------------------------------------------------- 2025-08-08 09:52:41,469 - INFO - Deleted project: ctest-TestPorts-42856253, ID : c2075e05-906e-4b23-bffe-6be9fbd2922d