2025-10-22 21:51:18,328 - INFO - Domain Default found not creating
2025-10-22 21:51:18,499 - INFO - Project ctest-TestPorts-40228732 not found, creating it
2025-10-22 21:51:18,974 - INFO - Created Project:ctest-TestPorts-40228732, ID : 0adcf578-31e4-4baf-89d6-f6a4ca5216a1
2025-10-22 21:51:20,500 - INFO - ================================================================================
2025-10-22 21:51:20,500 - INFO - STARTING TEST : test_ports_bindings
2025-10-22 21:51:20,500 - 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-10-22 21:51:20,755 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2025-10-22 21:51:20,755 - INFO - Initial checks done. Running the testcase now
2025-10-22 21:51:20,755 - INFO -
2025-10-22 21:51:21,334 - DEBUG - Response for create_network : {'network': {'id': 'c091ff0c-2920-443a-8ba6-7e2240c59595', 'name': 'ctest-vn-79085177', 'tenant_id': '0adcf57831e44baf89d6f6a4ca5216a1', 'project_id': '0adcf57831e44baf89d6f6a4ca5216a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-40228732', 'ctest-vn-79085177'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 21:51:21,535 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd7120c94-2334-4f14-bd99-aeb7b1d06f68', 'name': '', 'tenant_id': '0adcf57831e44baf89d6f6a4ca5216a1', 'network_id': 'c091ff0c-2920-443a-8ba6-7e2240c59595', 'ip_version': 4, 'cidr': '11.53.202.192/26', 'allocation_pools': [{'start': '11.53.202.194', 'end': '11.53.202.254'}], 'gateway_ip': '11.53.202.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.53.202.194', 'tags': [], 'project_id': '0adcf57831e44baf89d6f6a4ca5216a1'}}
2025-10-22 21:51:21,553 - INFO - Created VN ctest-vn-79085177
2025-10-22 21:51:21,606 - DEBUG - VN ctest-vn-79085177 UUID is c091ff0c-2920-443a-8ba6-7e2240c59595
2025-10-22 21:51:21,711 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-40228732', 'ctest-vmi-28036565']}
2025-10-22 21:51:21,989 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-28036565', 'id': 'c24f01dd-87e2-40c8-8b9a-521b460232d5', 'tenant_id': '0adcf57831e44baf89d6f6a4ca5216a1', 'network_id': 'c091ff0c-2920-443a-8ba6-7e2240c59595', 'mac_address': '02:c2:4f:01:dd:87', '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': '11.53.202.195', 'subnet_id': 'd7120c94-2334-4f14-bd99-aeb7b1d06f68'}], 'security_groups': ['f10a2db3-5bab-43bb-bae1-4d525ea41cf0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0adcf57831e44baf89d6f6a4ca5216a1'}}
2025-10-22 21:51:21,989 - DEBUG - Created port c24f01dd-87e2-40c8-8b9a-521b460232d5
2025-10-22 21:51:22,094 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c24f01dd-87e2-40c8-8b9a-521b460232d5
2025-10-22 21:51:22,426 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c24f01dd-87e2-40c8-8b9a-521b460232d5
2025-10-22 21:51:22,460 - INFO - VMI c24f01dd-87e2-40c8-8b9a-521b460232d5 verification in API Server passed
2025-10-22 21:51:22,550 - DEBUG - Response for delete_port : ()
2025-10-22 21:51:22,550 - INFO - Deleted port c24f01dd-87e2-40c8-8b9a-521b460232d5
2025-10-22 21:51:22,550 - INFO - Deleting VN ctest-vn-79085177
2025-10-22 21:51:22,651 - DEBUG - Response for deleting network ()
2025-10-22 21:51:22,910 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 21:51:22,911 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-22 21:51:22,911 - INFO - --------------------------------------------------------------------------------
2025-10-22 21:51:22,913 - INFO - ================================================================================
2025-10-22 21:51:22,913 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-22 21:51:22,913 - 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-10-22 21:51:23,209 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2025-10-22 21:51:23,210 - INFO - Initial checks done. Running the testcase now
2025-10-22 21:51:23,210 - INFO -
2025-10-22 21:51:23,382 - DEBUG - Response for create_network : {'network': {'id': 'a2639891-ab55-41f8-a89a-373498736e53', 'name': 'ctest-vn1-96042107', 'tenant_id': '0adcf57831e44baf89d6f6a4ca5216a1', 'project_id': '0adcf57831e44baf89d6f6a4ca5216a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-40228732', 'ctest-vn1-96042107'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 21:51:23,571 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d9506a7-6ff3-4222-9012-256dd56b508e', 'name': '', 'tenant_id': '0adcf57831e44baf89d6f6a4ca5216a1', 'network_id': 'a2639891-ab55-41f8-a89a-373498736e53', 'ip_version': 4, 'cidr': '199.198.149.128/26', 'allocation_pools': [{'start': '199.198.149.130', 'end': '199.198.149.190'}], 'gateway_ip': '199.198.149.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.198.149.130', 'tags': [], 'project_id': '0adcf57831e44baf89d6f6a4ca5216a1'}}
2025-10-22 21:51:23,710 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b35fec0-39c1-496b-87db-173510af202d', 'name': '', 'tenant_id': '0adcf57831e44baf89d6f6a4ca5216a1', 'network_id': 'a2639891-ab55-41f8-a89a-373498736e53', 'ip_version': 4, 'cidr': '130.36.175.192/26', 'allocation_pools': [{'start': '130.36.175.194', 'end': '130.36.175.254'}], 'gateway_ip': '130.36.175.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.36.175.194', 'tags': [], 'project_id': '0adcf57831e44baf89d6f6a4ca5216a1'}}
2025-10-22 21:51:23,729 - INFO - Created VN ctest-vn1-96042107
2025-10-22 21:51:23,782 - DEBUG - VN ctest-vn1-96042107 UUID is a2639891-ab55-41f8-a89a-373498736e53
2025-10-22 21:51:24,066 - DEBUG - Response for create_port : {'port': {'name': '06ee7e84-72dc-4cb7-b22e-7690ed957898', 'id': '06ee7e84-72dc-4cb7-b22e-7690ed957898', 'tenant_id': '0adcf57831e44baf89d6f6a4ca5216a1', 'network_id': 'a2639891-ab55-41f8-a89a-373498736e53', 'mac_address': '02:06:ee:7e:84:72', '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': '199.198.149.133', 'subnet_id': '9d9506a7-6ff3-4222-9012-256dd56b508e'}], 'security_groups': ['f10a2db3-5bab-43bb-bae1-4d525ea41cf0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0adcf57831e44baf89d6f6a4ca5216a1'}}
2025-10-22 21:51:24,233 - DEBUG - Response for create_port : {'port': {'name': 'fb066255-714f-4a3d-8d8d-d925e6b3c3b7', 'id': 'fb066255-714f-4a3d-8d8d-d925e6b3c3b7', 'tenant_id': '0adcf57831e44baf89d6f6a4ca5216a1', 'network_id': 'a2639891-ab55-41f8-a89a-373498736e53', 'mac_address': '02:fb:06:62:55:71', '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': '130.36.175.197', 'subnet_id': '6b35fec0-39c1-496b-87db-173510af202d'}], 'security_groups': ['f10a2db3-5bab-43bb-bae1-4d525ea41cf0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0adcf57831e44baf89d6f6a4ca5216a1'}}
2025-10-22 21:51:24,293 - DEBUG - Services list from nova: [, , ]
2025-10-22 21:51:24,621 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4443-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4443-1)
2025-10-22 21:51:25,015 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4443-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4443-1)
2025-10-22 21:51:25,015 - INFO - Waiting for VM ctest-vn1-vm1-69275514 to be up..
2025-10-22 21:51:25,055 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-22 21:51:30,141 - DEBUG - VM is in ACTIVE state now
2025-10-22 21:51:30,141 - INFO - VM name : ctest-vn1-vm1-69275514
2025-10-22 21:51:30,223 - DEBUG - VM ctest-vn1-vm1-69275514 ID is 3609ff59-9a8f-4f44-bf77-c9b76ce954c4
2025-10-22 21:51:30,244 - DEBUG - VM ctest-vn1-vm1-69275514 launched on Node cn-jenkins-deploy-platform-ansible-os-4443-1
2025-10-22 21:51:30,322 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/3609ff59-9a8f-4f44-bf77-c9b76ce954c4
2025-10-22 21:51:30,331 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/06ee7e84-72dc-4cb7-b22e-7690ed957898
2025-10-22 21:51:33,587 - 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 1007ms')
2025-10-22 21:51:33,587 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-69275514 failed!
2025-10-22 21:51:33,650 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-40228732:ctest-vn1-96042107 is 199.198.149.129 and allocation pool is NOT set
2025-10-22 21:51:33,650 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-40228732:ctest-vn1-96042107 is 130.36.175.193 and allocation pool is NOT set
2025-10-22 21:51:37,716 - 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.17 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 8.174/8.174/8.174/0.000 ms')
2025-10-22 21:51:37,716 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-69275514 passed
2025-10-22 21:51:37,870 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 21:51:37,870 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-69275514, IP 199.198.149.133, Port 22
2025-10-22 21:51:37,936 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-22 21:51:38,019 - DEBUG - VM ctest-vn1-vm1-69275514 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-22 21:51:43,020 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 21:51:43,020 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-69275514, IP 199.198.149.133, Port 22
2025-10-22 21:51:43,178 - DEBUG - VM ctest-vn1-vm1-69275514 is ready for SSH connections
2025-10-22 21:51:43,178 - INFO - Waiting for VM ctest-vn1-vm2-53072604 to be up..
2025-10-22 21:51:43,251 - DEBUG - VM is in ACTIVE state now
2025-10-22 21:51:43,251 - INFO - VM name : ctest-vn1-vm2-53072604
2025-10-22 21:51:43,337 - DEBUG - VM ctest-vn1-vm2-53072604 ID is 1d29d194-7727-4e11-a635-65fea173e2de
2025-10-22 21:51:43,337 - DEBUG - VM ctest-vn1-vm2-53072604 launched on Node cn-jenkins-deploy-platform-ansible-os-4443-1
2025-10-22 21:51:43,415 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1d29d194-7727-4e11-a635-65fea173e2de
2025-10-22 21:51:43,424 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/fb066255-714f-4a3d-8d8d-d925e6b3c3b7
2025-10-22 21:51:44,665 - 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.39 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.424 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.424/1.907/3.390/1.483 ms')
2025-10-22 21:51:44,665 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-53072604 passed
2025-10-22 21:51:44,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 21:51:44,822 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-53072604, IP 130.36.175.197, Port 22
2025-10-22 21:51:44,977 - DEBUG - VM ctest-vn1-vm2-53072604 is ready for SSH connections
2025-10-22 21:51:44,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 21:51:44,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 21:51:44,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 21:51:44,978 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.198.149.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-10-22 21:51:44,978 - DEBUG - ping -s 56 -c 3 -W 1 199.198.149.133
2025-10-22 21:51:47,717 - DEBUG - PING 199.198.149.133 (199.198.149.133): 56 data bytes
64 bytes from 199.198.149.133: seq=0 ttl=63 time=4.347 ms
64 bytes from 199.198.149.133: seq=1 ttl=63 time=0.987 ms
64 bytes from 199.198.149.133: seq=2 ttl=63 time=1.166 ms
--- 199.198.149.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.987/2.166/4.347 ms
2025-10-22 21:51:47,717 - INFO - Ping to IP 199.198.149.133 from VM ctest-vn1-vm2-53072604 passed
2025-10-22 21:51:47,717 - INFO - Detaching port fb066255-714f-4a3d-8d8d-d925e6b3c3b7 from VM ctest-vn1-vm2-53072604
2025-10-22 21:51:47,769 - INFO - Deleting VM ctest-vn1-vm2-53072604
2025-10-22 21:51:47,837 - INFO - Detaching port 06ee7e84-72dc-4cb7-b22e-7690ed957898 from VM ctest-vn1-vm1-69275514
2025-10-22 21:51:47,878 - INFO - Deleting VM ctest-vn1-vm1-69275514
2025-10-22 21:51:48,140 - DEBUG - Response for delete_port : ()
2025-10-22 21:51:48,345 - DEBUG - Response for delete_port : ()
2025-10-22 21:51:48,345 - INFO - Deleting VN ctest-vn1-96042107
2025-10-22 21:51:48,503 - DEBUG - Response for deleting network ()
2025-10-22 21:51:48,770 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 21:51:48,770 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-10-22 21:51:48,770 - INFO - --------------------------------------------------------------------------------
2025-10-22 21:51:49,509 - INFO - Deleted project: ctest-TestPorts-40228732, ID : 0adcf578-31e4-4baf-89d6-f6a4ca5216a1