2025-09-19 01:55:32,592 - INFO - Domain Default found not creating 2025-09-19 01:55:32,739 - INFO - Project ctest-TestPorts-49833232 not found, creating it 2025-09-19 01:55:33,184 - INFO - Created Project:ctest-TestPorts-49833232, ID : e778a8c8-4d78-44ec-9278-77f2b153eb5f 2025-09-19 01:55:34,544 - INFO - ================================================================================ 2025-09-19 01:55:34,544 - INFO - STARTING TEST : test_ports_bindings 2025-09-19 01:55:34,544 - 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-09-19 01:55:34,804 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-09-19 01:55:34,804 - INFO - Initial checks done. Running the testcase now 2025-09-19 01:55:34,804 - INFO - 2025-09-19 01:55:35,315 - DEBUG - Response for create_network : {'network': {'id': 'ce21d74c-d65e-44c6-b248-512e1d615573', 'name': 'ctest-vn-15379605', 'tenant_id': 'e778a8c84d7844ec927877f2b153eb5f', 'project_id': 'e778a8c84d7844ec927877f2b153eb5f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-49833232', 'ctest-vn-15379605'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 01:55:35,490 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2d8b8b4-e685-478d-93e5-b0a74924a2e0', 'name': '', 'tenant_id': 'e778a8c84d7844ec927877f2b153eb5f', 'network_id': 'ce21d74c-d65e-44c6-b248-512e1d615573', 'ip_version': 4, 'cidr': '133.96.86.128/26', 'allocation_pools': [{'start': '133.96.86.130', 'end': '133.96.86.190'}], 'gateway_ip': '133.96.86.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.96.86.130', 'tags': [], 'project_id': 'e778a8c84d7844ec927877f2b153eb5f'}} 2025-09-19 01:55:35,510 - INFO - Created VN ctest-vn-15379605 2025-09-19 01:55:35,561 - DEBUG - VN ctest-vn-15379605 UUID is ce21d74c-d65e-44c6-b248-512e1d615573 2025-09-19 01:55:35,663 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-49833232', 'ctest-vmi-70151634']} 2025-09-19 01:55:35,937 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-70151634', 'id': '5faf5ee0-7c63-4456-97e9-d26cd37e14b9', 'tenant_id': 'e778a8c84d7844ec927877f2b153eb5f', 'network_id': 'ce21d74c-d65e-44c6-b248-512e1d615573', 'mac_address': '02:5f:af:5e:e0:7c', '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': '133.96.86.131', 'subnet_id': 'f2d8b8b4-e685-478d-93e5-b0a74924a2e0'}], 'security_groups': ['f077db1e-cf15-45fd-9c22-23bec361f4f7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e778a8c84d7844ec927877f2b153eb5f'}} 2025-09-19 01:55:35,937 - DEBUG - Created port 5faf5ee0-7c63-4456-97e9-d26cd37e14b9 2025-09-19 01:55:36,041 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/5faf5ee0-7c63-4456-97e9-d26cd37e14b9 2025-09-19 01:55:36,329 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/5faf5ee0-7c63-4456-97e9-d26cd37e14b9 2025-09-19 01:55:36,359 - INFO - VMI 5faf5ee0-7c63-4456-97e9-d26cd37e14b9 verification in API Server passed 2025-09-19 01:55:36,440 - DEBUG - Response for delete_port : () 2025-09-19 01:55:36,440 - INFO - Deleted port 5faf5ee0-7c63-4456-97e9-d26cd37e14b9 2025-09-19 01:55:36,440 - INFO - Deleting VN ctest-vn-15379605 2025-09-19 01:55:36,533 - DEBUG - Response for deleting network () 2025-09-19 01:55:36,785 - DEBUG - No XMPP flaps were noticed during the test
2025-09-19 01:55:36,785 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-19 01:55:36,785 - INFO - -------------------------------------------------------------------------------- 2025-09-19 01:55:36,788 - INFO - ================================================================================ 2025-09-19 01:55:36,788 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-19 01:55:36,788 - 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-09-19 01:55:37,077 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-09-19 01:55:37,078 - INFO - Initial checks done. Running the testcase now 2025-09-19 01:55:37,078 - INFO - 2025-09-19 01:55:37,239 - DEBUG - Response for create_network : {'network': {'id': '20042677-d40e-4418-bdaf-fe47d73484e1', 'name': 'ctest-vn1-07451680', 'tenant_id': 'e778a8c84d7844ec927877f2b153eb5f', 'project_id': 'e778a8c84d7844ec927877f2b153eb5f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-49833232', 'ctest-vn1-07451680'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 01:55:37,394 - DEBUG - Response for create_subnet : {'subnet': {'id': '641636c5-dd10-4d93-a33d-ac7bec498a51', 'name': '', 'tenant_id': 'e778a8c84d7844ec927877f2b153eb5f', 'network_id': '20042677-d40e-4418-bdaf-fe47d73484e1', 'ip_version': 4, 'cidr': '22.87.235.0/26', 'allocation_pools': [{'start': '22.87.235.2', 'end': '22.87.235.62'}], 'gateway_ip': '22.87.235.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.87.235.2', 'tags': [], 'project_id': 'e778a8c84d7844ec927877f2b153eb5f'}} 2025-09-19 01:55:37,588 - DEBUG - Response for create_subnet : {'subnet': {'id': '0447e1d8-6b7b-4bca-b909-5a0f124b093e', 'name': '', 'tenant_id': 'e778a8c84d7844ec927877f2b153eb5f', 'network_id': '20042677-d40e-4418-bdaf-fe47d73484e1', 'ip_version': 4, 'cidr': '131.100.215.64/26', 'allocation_pools': [{'start': '131.100.215.66', 'end': '131.100.215.126'}], 'gateway_ip': '131.100.215.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.100.215.66', 'tags': [], 'project_id': 'e778a8c84d7844ec927877f2b153eb5f'}} 2025-09-19 01:55:37,606 - INFO - Created VN ctest-vn1-07451680 2025-09-19 01:55:37,657 - DEBUG - VN ctest-vn1-07451680 UUID is 20042677-d40e-4418-bdaf-fe47d73484e1 2025-09-19 01:55:37,930 - DEBUG - Response for create_port : {'port': {'name': '457ad414-3f0d-42d8-9ff6-1c87d6dea8c3', 'id': '457ad414-3f0d-42d8-9ff6-1c87d6dea8c3', 'tenant_id': 'e778a8c84d7844ec927877f2b153eb5f', 'network_id': '20042677-d40e-4418-bdaf-fe47d73484e1', 'mac_address': '02:45:7a:d4:14:3f', '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': '22.87.235.5', 'subnet_id': '641636c5-dd10-4d93-a33d-ac7bec498a51'}], 'security_groups': ['f077db1e-cf15-45fd-9c22-23bec361f4f7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e778a8c84d7844ec927877f2b153eb5f'}} 2025-09-19 01:55:38,108 - DEBUG - Response for create_port : {'port': {'name': '90ba7216-50f1-4ca0-ab70-77e7cf685d98', 'id': '90ba7216-50f1-4ca0-ab70-77e7cf685d98', 'tenant_id': 'e778a8c84d7844ec927877f2b153eb5f', 'network_id': '20042677-d40e-4418-bdaf-fe47d73484e1', 'mac_address': '02:90:ba:72:16:50', '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': '131.100.215.69', 'subnet_id': '0447e1d8-6b7b-4bca-b909-5a0f124b093e'}], 'security_groups': ['f077db1e-cf15-45fd-9c22-23bec361f4f7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e778a8c84d7844ec927877f2b153eb5f'}} 2025-09-19 01:55:38,159 - DEBUG - Services list from nova: [, , ] 2025-09-19 01:55:38,463 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4144-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4144-1) 2025-09-19 01:55:38,939 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4144-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4144-1) 2025-09-19 01:55:38,939 - INFO - Waiting for VM ctest-vn1-vm1-70129007 to be up.. 2025-09-19 01:55:38,977 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-19 01:55:44,044 - DEBUG - VM is in ACTIVE state now 2025-09-19 01:55:44,044 - INFO - VM name : ctest-vn1-vm1-70129007 2025-09-19 01:55:44,113 - DEBUG - VM ctest-vn1-vm1-70129007 ID is 2227f906-1489-406d-abbf-3c67993d47a3 2025-09-19 01:55:44,131 - DEBUG - VM ctest-vn1-vm1-70129007 launched on Node cn-jenkins-deploy-platform-ansible-os-4144-1 2025-09-19 01:55:44,195 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/2227f906-1489-406d-abbf-3c67993d47a3 2025-09-19 01:55:44,203 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/457ad414-3f0d-42d8-9ff6-1c87d6dea8c3 2025-09-19 01:55:47,451 - 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-09-19 01:55:47,451 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70129007 failed! 2025-09-19 01:55:47,505 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-49833232:ctest-vn1-07451680 is 22.87.235.1 and allocation pool is NOT set 2025-09-19 01:55:47,505 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-49833232:ctest-vn1-07451680 is 131.100.215.65 and allocation pool is NOT set 2025-09-19 01:55:49,571 - 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=6.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.64 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.639/4.271/6.903/2.632 ms') 2025-09-19 01:55:49,571 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70129007 passed 2025-09-19 01:55:49,721 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 01:55:49,721 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-70129007, IP 22.87.235.5, Port 22 2025-09-19 01:55:49,882 - DEBUG - VM ctest-vn1-vm1-70129007 is ready for SSH connections 2025-09-19 01:55:49,882 - INFO - Waiting for VM ctest-vn1-vm2-26279424 to be up.. 2025-09-19 01:55:49,970 - DEBUG - VM is in ACTIVE state now 2025-09-19 01:55:49,970 - INFO - VM name : ctest-vn1-vm2-26279424 2025-09-19 01:55:50,038 - DEBUG - VM ctest-vn1-vm2-26279424 ID is d96146cc-2994-4407-82e7-f6901bba8d1f 2025-09-19 01:55:50,038 - DEBUG - VM ctest-vn1-vm2-26279424 launched on Node cn-jenkins-deploy-platform-ansible-os-4144-1 2025-09-19 01:55:50,106 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/d96146cc-2994-4407-82e7-f6901bba8d1f 2025-09-19 01:55:50,115 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/90ba7216-50f1-4ca0-ab70-77e7cf685d98 2025-09-19 01:55:51,351 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.317 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.317/1.886/3.456/1.569 ms') 2025-09-19 01:55:51,351 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-26279424 passed 2025-09-19 01:55:51,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 01:55:51,501 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-26279424, IP 131.100.215.69, Port 22 2025-09-19 01:55:51,657 - DEBUG - VM ctest-vn1-vm2-26279424 is ready for SSH connections 2025-09-19 01:55:51,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 01:55:51,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 01:55:51,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 01:55:51,657 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.87.235.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-09-19 01:55:51,657 - DEBUG - ping -s 56 -c 3 -W 1 22.87.235.5 2025-09-19 01:55:54,276 - DEBUG - PING 22.87.235.5 (22.87.235.5): 56 data bytes 64 bytes from 22.87.235.5: seq=0 ttl=63 time=3.084 ms 64 bytes from 22.87.235.5: seq=1 ttl=63 time=0.680 ms 64 bytes from 22.87.235.5: seq=2 ttl=63 time=0.714 ms --- 22.87.235.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.680/1.492/3.084 ms 2025-09-19 01:55:54,276 - INFO - Ping to IP 22.87.235.5 from VM ctest-vn1-vm2-26279424 passed 2025-09-19 01:55:54,277 - INFO - Detaching port 90ba7216-50f1-4ca0-ab70-77e7cf685d98 from VM ctest-vn1-vm2-26279424 2025-09-19 01:55:54,327 - INFO - Deleting VM ctest-vn1-vm2-26279424 2025-09-19 01:55:54,395 - INFO - Detaching port 457ad414-3f0d-42d8-9ff6-1c87d6dea8c3 from VM ctest-vn1-vm1-70129007 2025-09-19 01:55:54,425 - INFO - Deleting VM ctest-vn1-vm1-70129007 2025-09-19 01:55:54,655 - DEBUG - Response for delete_port : () 2025-09-19 01:55:54,809 - DEBUG - Response for delete_port : () 2025-09-19 01:55:54,810 - INFO - Deleting VN ctest-vn1-07451680 2025-09-19 01:55:54,928 - DEBUG - Response for deleting network () 2025-09-19 01:55:55,186 - DEBUG - No XMPP flaps were noticed during the test
2025-09-19 01:55:55,186 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-09-19 01:55:55,186 - INFO - -------------------------------------------------------------------------------- 2025-09-19 01:55:55,833 - INFO - Deleted project: ctest-TestPorts-49833232, ID : e778a8c8-4d78-44ec-9278-77f2b153eb5f