2025-12-29 02:24:17,654 - INFO - Domain Default found not creating 2025-12-29 02:24:17,824 - INFO - Project ctest-TestPorts-30887224 not found, creating it 2025-12-29 02:24:18,366 - INFO - Created Project:ctest-TestPorts-30887224, ID : fddc05bb-00b3-4398-ab96-943d5822f14d 2025-12-29 02:24:19,897 - INFO - ================================================================================ 2025-12-29 02:24:19,897 - INFO - STARTING TEST : test_ports_bindings 2025-12-29 02:24:19,897 - 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-12-29 02:24:21,169 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.145': '0', '10.20.0.18': '0'}, '10.0.0.240': {'10.20.0.252': '0', '10.20.0.18': '0'}} with 2025-12-29 02:24:21,169 - INFO - Initial checks done. Running the testcase now 2025-12-29 02:24:21,169 - INFO - 2025-12-29 02:24:21,808 - DEBUG - Response for create_network : {'network': {'id': '343e7e35-14bb-4a4b-b3e2-0cf44a8adf8a', 'name': 'ctest-vn-65966747', 'tenant_id': 'fddc05bb00b34398ab96943d5822f14d', 'project_id': 'fddc05bb00b34398ab96943d5822f14d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-30887224', 'ctest-vn-65966747'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 02:24:22,030 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b2ff0769-c79c-4c74-ae6f-660eb32d76d1', 'name': '', 'tenant_id': 'fddc05bb00b34398ab96943d5822f14d', 'network_id': '343e7e35-14bb-4a4b-b3e2-0cf44a8adf8a', 'ip_version': 4, 'cidr': '37.61.40.128/26', 'allocation_pools': [{'start': '37.61.40.130', 'end': '37.61.40.190'}], 'gateway_ip': '37.61.40.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.61.40.130', 'tags': [], 'project_id': 'fddc05bb00b34398ab96943d5822f14d'}} 2025-12-29 02:24:22,055 - INFO - Created VN ctest-vn-65966747 2025-12-29 02:24:22,066 - DEBUG - VN ctest-vn-65966747 UUID is 343e7e35-14bb-4a4b-b3e2-0cf44a8adf8a 2025-12-29 02:24:22,130 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-30887224', 'ctest-vmi-95949876']} 2025-12-29 02:24:22,445 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-95949876', 'id': '53bbb6fc-e123-480e-8960-03eb8c9af6e4', 'tenant_id': 'fddc05bb00b34398ab96943d5822f14d', 'network_id': '343e7e35-14bb-4a4b-b3e2-0cf44a8adf8a', 'mac_address': '02:53:bb:b6:fc:e1', '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': '37.61.40.131', 'subnet_id': 'b2ff0769-c79c-4c74-ae6f-660eb32d76d1'}], 'security_groups': ['53af436f-a8f7-4506-80bf-cf3641a5b4ad'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fddc05bb00b34398ab96943d5822f14d'}} 2025-12-29 02:24:22,446 - DEBUG - Created port 53bbb6fc-e123-480e-8960-03eb8c9af6e4 2025-12-29 02:24:22,516 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/53bbb6fc-e123-480e-8960-03eb8c9af6e4 2025-12-29 02:24:22,817 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/53bbb6fc-e123-480e-8960-03eb8c9af6e4 2025-12-29 02:24:22,855 - INFO - VMI 53bbb6fc-e123-480e-8960-03eb8c9af6e4 verification in API Server passed 2025-12-29 02:24:23,008 - DEBUG - Response for delete_port : () 2025-12-29 02:24:23,008 - INFO - Deleted port 53bbb6fc-e123-480e-8960-03eb8c9af6e4 2025-12-29 02:24:23,009 - INFO - Deleting VN ctest-vn-65966747 2025-12-29 02:24:23,161 - DEBUG - Response for deleting network () 2025-12-29 02:24:24,453 - DEBUG - No XMPP flaps were noticed during the test
2025-12-29 02:24:24,453 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2025-12-29 02:24:24,454 - INFO - -------------------------------------------------------------------------------- 2025-12-29 02:24:24,457 - INFO - ================================================================================ 2025-12-29 02:24:24,457 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-29 02:24:24,457 - 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-12-29 02:24:25,724 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.145': '0', '10.20.0.18': '0'}, '10.0.0.240': {'10.20.0.252': '0', '10.20.0.18': '0'}} with 2025-12-29 02:24:25,724 - INFO - Initial checks done. Running the testcase now 2025-12-29 02:24:25,724 - INFO - 2025-12-29 02:24:26,020 - DEBUG - Response for create_network : {'network': {'id': 'fb1923c9-df4e-4234-bc9f-dd9b0bc77557', 'name': 'ctest-vn1-94965081', 'tenant_id': 'fddc05bb00b34398ab96943d5822f14d', 'project_id': 'fddc05bb00b34398ab96943d5822f14d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-30887224', 'ctest-vn1-94965081'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 02:24:26,290 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a93ce1d4-69ff-4148-a5b6-67009f34969b', 'name': '', 'tenant_id': 'fddc05bb00b34398ab96943d5822f14d', 'network_id': 'fb1923c9-df4e-4234-bc9f-dd9b0bc77557', 'ip_version': 4, 'cidr': '19.202.154.64/26', 'allocation_pools': [{'start': '19.202.154.66', 'end': '19.202.154.126'}], 'gateway_ip': '19.202.154.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.202.154.66', 'tags': [], 'project_id': 'fddc05bb00b34398ab96943d5822f14d'}} 2025-12-29 02:24:26,546 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a457be8-fc53-45ae-8061-0d99379a2002', 'name': '', 'tenant_id': 'fddc05bb00b34398ab96943d5822f14d', 'network_id': 'fb1923c9-df4e-4234-bc9f-dd9b0bc77557', 'ip_version': 4, 'cidr': '61.108.142.128/26', 'allocation_pools': [{'start': '61.108.142.130', 'end': '61.108.142.190'}], 'gateway_ip': '61.108.142.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.108.142.130', 'tags': [], 'project_id': 'fddc05bb00b34398ab96943d5822f14d'}} 2025-12-29 02:24:26,683 - INFO - Created VN ctest-vn1-94965081 2025-12-29 02:24:26,694 - DEBUG - VN ctest-vn1-94965081 UUID is fb1923c9-df4e-4234-bc9f-dd9b0bc77557 2025-12-29 02:24:27,067 - DEBUG - Response for create_port : {'port': {'name': '5c53c165-0915-442b-b037-e591f0266dee', 'id': '5c53c165-0915-442b-b037-e591f0266dee', 'tenant_id': 'fddc05bb00b34398ab96943d5822f14d', 'network_id': 'fb1923c9-df4e-4234-bc9f-dd9b0bc77557', 'mac_address': '02:5c:53:c1:65:09', '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': '19.202.154.69', 'subnet_id': 'a93ce1d4-69ff-4148-a5b6-67009f34969b'}], 'security_groups': ['53af436f-a8f7-4506-80bf-cf3641a5b4ad'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fddc05bb00b34398ab96943d5822f14d'}} 2025-12-29 02:24:27,329 - DEBUG - Response for create_port : {'port': {'name': '7c402c54-880a-46e7-85ac-d4acc2dd0ea5', 'id': '7c402c54-880a-46e7-85ac-d4acc2dd0ea5', 'tenant_id': 'fddc05bb00b34398ab96943d5822f14d', 'network_id': 'fb1923c9-df4e-4234-bc9f-dd9b0bc77557', 'mac_address': '02:7c:40:2c:54:88', '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': '61.108.142.133', 'subnet_id': '3a457be8-fc53-45ae-8061-0d99379a2002'}], 'security_groups': ['53af436f-a8f7-4506-80bf-cf3641a5b4ad'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fddc05bb00b34398ab96943d5822f14d'}} 2025-12-29 02:24:27,386 - DEBUG - Services list from nova: [, , , ] 2025-12-29 02:24:27,811 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4934-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4934-1) 2025-12-29 02:24:28,281 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4934-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4934-2) 2025-12-29 02:24:28,281 - INFO - Waiting for VM ctest-vn1-vm1-02997278 to be up.. 2025-12-29 02:24:28,334 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-29 02:24:33,410 - DEBUG - VM is in ACTIVE state now 2025-12-29 02:24:33,410 - INFO - VM name : ctest-vn1-vm1-02997278 2025-12-29 02:24:33,487 - DEBUG - VM ctest-vn1-vm1-02997278 ID is 85e6239f-56f3-42ab-8f22-ff22360c28a4 2025-12-29 02:24:33,513 - DEBUG - VM ctest-vn1-vm1-02997278 launched on Node an-jenkins-deploy-platform-ansible-os-4934-1 2025-12-29 02:24:33,601 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/85e6239f-56f3-42ab-8f22-ff22360c28a4 2025-12-29 02:24:33,902 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/85e6239f-56f3-42ab-8f22-ff22360c28a4 2025-12-29 02:24:33,940 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/5c53c165-0915-442b-b037-e591f0266dee 2025-12-29 02:24:37,137 - 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 1029ms') 2025-12-29 02:24:37,137 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-02997278 failed! 2025-12-29 02:24:37,150 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-30887224:ctest-vn1-94965081 is 19.202.154.65 and allocation pool is NOT set 2025-12-29 02:24:37,151 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-30887224:ctest-vn1-94965081 is 61.108.142.129 and allocation pool is NOT set 2025-12-29 02:24:41,232 - 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=8.42 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 = 8.418/8.418/8.418/0.000 ms') 2025-12-29 02:24:41,232 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-02997278 passed 2025-12-29 02:24:41,301 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:24:41,302 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-02997278, IP 19.202.154.69, Port 22 2025-12-29 02:24:41,467 - DEBUG - VM ctest-vn1-vm1-02997278 is ready for SSH connections 2025-12-29 02:24:41,467 - INFO - Waiting for VM ctest-vn1-vm2-38447112 to be up.. 2025-12-29 02:24:41,556 - DEBUG - VM is in ACTIVE state now 2025-12-29 02:24:41,556 - INFO - VM name : ctest-vn1-vm2-38447112 2025-12-29 02:24:41,639 - DEBUG - VM ctest-vn1-vm2-38447112 ID is 631480ff-f4b3-4c32-9174-9b7eed9916aa 2025-12-29 02:24:41,640 - DEBUG - VM ctest-vn1-vm2-38447112 launched on Node an-jenkins-deploy-platform-ansible-os-4934-2 2025-12-29 02:24:41,729 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/631480ff-f4b3-4c32-9174-9b7eed9916aa 2025-12-29 02:24:41,740 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/7c402c54-880a-46e7-85ac-d4acc2dd0ea5 2025-12-29 02:24:42,906 - 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=2.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.498 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.498/1.683/2.869/1.185 ms') 2025-12-29 02:24:42,906 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-38447112 passed 2025-12-29 02:24:42,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:24:42,978 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-38447112, IP 61.108.142.133, Port 22 2025-12-29 02:24:43,137 - DEBUG - VM ctest-vn1-vm2-38447112 is ready for SSH connections 2025-12-29 02:24:43,137 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:24:43,138 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:24:43,138 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:24:43,138 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.202.154.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2025-12-29 02:24:43,138 - DEBUG - ping -s 56 -c 3 -W 1 19.202.154.69 2025-12-29 02:24:46,081 - DEBUG - PING 19.202.154.69 (19.202.154.69): 56 data bytes 64 bytes from 19.202.154.69: seq=0 ttl=63 time=4.933 ms 64 bytes from 19.202.154.69: seq=1 ttl=63 time=1.412 ms 64 bytes from 19.202.154.69: seq=2 ttl=63 time=1.405 ms --- 19.202.154.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.405/2.583/4.933 ms 2025-12-29 02:24:46,081 - INFO - Ping to IP 19.202.154.69 from VM ctest-vn1-vm2-38447112 passed 2025-12-29 02:24:46,081 - INFO - Detaching port 7c402c54-880a-46e7-85ac-d4acc2dd0ea5 from VM ctest-vn1-vm2-38447112 2025-12-29 02:24:46,125 - INFO - Deleting VM ctest-vn1-vm2-38447112 2025-12-29 02:24:46,188 - INFO - Detaching port 5c53c165-0915-442b-b037-e591f0266dee from VM ctest-vn1-vm1-02997278 2025-12-29 02:24:46,216 - INFO - Deleting VM ctest-vn1-vm1-02997278 2025-12-29 02:24:46,500 - DEBUG - Response for delete_port : () 2025-12-29 02:24:46,735 - DEBUG - Response for delete_port : () 2025-12-29 02:24:46,735 - INFO - Deleting VN ctest-vn1-94965081 2025-12-29 02:24:46,926 - DEBUG - Response for deleting network () 2025-12-29 02:24:48,205 - DEBUG - No XMPP flaps were noticed during the test
2025-12-29 02:24:48,205 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-12-29 02:24:48,205 - INFO - -------------------------------------------------------------------------------- 2025-12-29 02:24:49,037 - INFO - Deleted project: ctest-TestPorts-30887224, ID : fddc05bb-00b3-4398-ab96-943d5822f14d