2025-10-22 12:21:04,157 - INFO - Domain Default found not creating 2025-10-22 12:21:04,359 - INFO - Project ctest-TestPorts-14266494 not found, creating it 2025-10-22 12:21:04,831 - INFO - Created Project:ctest-TestPorts-14266494, ID : 45a0b75c-254a-4ad2-b5b9-5b0cc5fa9573 2025-10-22 12:21:06,338 - INFO - ================================================================================ 2025-10-22 12:21:06,338 - INFO - STARTING TEST : test_ports_bindings 2025-10-22 12:21:06,338 - 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 12:21:06,597 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.17': '0'}} with 2025-10-22 12:21:06,598 - INFO - Initial checks done. Running the testcase now 2025-10-22 12:21:06,598 - INFO - 2025-10-22 12:21:07,168 - DEBUG - Response for create_network : {'network': {'id': '83502302-ab9c-4b97-8aa2-2c77f28fb182', 'name': 'ctest-vn-81092875', 'tenant_id': '45a0b75c254a4ad2b5b95b0cc5fa9573', 'project_id': '45a0b75c254a4ad2b5b95b0cc5fa9573', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-14266494', 'ctest-vn-81092875'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 12:21:07,355 - DEBUG - Response for create_subnet : {'subnet': {'id': '76567911-13f5-4d3a-af3b-680e05de6176', 'name': '', 'tenant_id': '45a0b75c254a4ad2b5b95b0cc5fa9573', 'network_id': '83502302-ab9c-4b97-8aa2-2c77f28fb182', 'ip_version': 4, 'cidr': '66.183.168.0/26', 'allocation_pools': [{'start': '66.183.168.2', 'end': '66.183.168.62'}], 'gateway_ip': '66.183.168.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.183.168.2', 'tags': [], 'project_id': '45a0b75c254a4ad2b5b95b0cc5fa9573'}} 2025-10-22 12:21:07,373 - INFO - Created VN ctest-vn-81092875 2025-10-22 12:21:07,424 - DEBUG - VN ctest-vn-81092875 UUID is 83502302-ab9c-4b97-8aa2-2c77f28fb182 2025-10-22 12:21:07,537 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-14266494', 'ctest-vmi-66910120']} 2025-10-22 12:21:07,831 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-66910120', 'id': '7bcb45bd-1018-4d4d-b64d-2cb138b02f68', 'tenant_id': '45a0b75c254a4ad2b5b95b0cc5fa9573', 'network_id': '83502302-ab9c-4b97-8aa2-2c77f28fb182', 'mac_address': '02:7b:cb:45:bd:10', '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': '66.183.168.3', 'subnet_id': '76567911-13f5-4d3a-af3b-680e05de6176'}], 'security_groups': ['e71966f8-5a40-47bd-a56a-f98d44551c69'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '45a0b75c254a4ad2b5b95b0cc5fa9573'}} 2025-10-22 12:21:07,831 - DEBUG - Created port 7bcb45bd-1018-4d4d-b64d-2cb138b02f68 2025-10-22 12:21:07,936 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/7bcb45bd-1018-4d4d-b64d-2cb138b02f68 2025-10-22 12:21:08,231 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/7bcb45bd-1018-4d4d-b64d-2cb138b02f68 2025-10-22 12:21:08,262 - INFO - VMI 7bcb45bd-1018-4d4d-b64d-2cb138b02f68 verification in API Server passed 2025-10-22 12:21:08,362 - DEBUG - Response for delete_port : () 2025-10-22 12:21:08,362 - INFO - Deleted port 7bcb45bd-1018-4d4d-b64d-2cb138b02f68 2025-10-22 12:21:08,362 - INFO - Deleting VN ctest-vn-81092875 2025-10-22 12:21:08,469 - DEBUG - Response for deleting network () 2025-10-22 12:21:08,730 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 12:21:08,730 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-22 12:21:08,730 - INFO - -------------------------------------------------------------------------------- 2025-10-22 12:21:08,734 - INFO - ================================================================================ 2025-10-22 12:21:08,734 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-22 12:21:08,734 - 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 12:21:09,036 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.17': '0'}} with 2025-10-22 12:21:09,036 - INFO - Initial checks done. Running the testcase now 2025-10-22 12:21:09,036 - INFO - 2025-10-22 12:21:09,218 - DEBUG - Response for create_network : {'network': {'id': '892ea128-6647-4f27-a454-144dc81446a6', 'name': 'ctest-vn1-01738541', 'tenant_id': '45a0b75c254a4ad2b5b95b0cc5fa9573', 'project_id': '45a0b75c254a4ad2b5b95b0cc5fa9573', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-14266494', 'ctest-vn1-01738541'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 12:21:09,449 - DEBUG - Response for create_subnet : {'subnet': {'id': '38b8dc4c-9caf-48f8-8e1d-00e711ec805c', 'name': '', 'tenant_id': '45a0b75c254a4ad2b5b95b0cc5fa9573', 'network_id': '892ea128-6647-4f27-a454-144dc81446a6', 'ip_version': 4, 'cidr': '195.132.83.64/26', 'allocation_pools': [{'start': '195.132.83.66', 'end': '195.132.83.126'}], 'gateway_ip': '195.132.83.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.132.83.66', 'tags': [], 'project_id': '45a0b75c254a4ad2b5b95b0cc5fa9573'}} 2025-10-22 12:21:09,598 - DEBUG - Response for create_subnet : {'subnet': {'id': '969483f2-69fc-437f-b4ad-cc63104044cd', 'name': '', 'tenant_id': '45a0b75c254a4ad2b5b95b0cc5fa9573', 'network_id': '892ea128-6647-4f27-a454-144dc81446a6', 'ip_version': 4, 'cidr': '86.147.202.192/26', 'allocation_pools': [{'start': '86.147.202.194', 'end': '86.147.202.254'}], 'gateway_ip': '86.147.202.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.147.202.194', 'tags': [], 'project_id': '45a0b75c254a4ad2b5b95b0cc5fa9573'}} 2025-10-22 12:21:09,620 - INFO - Created VN ctest-vn1-01738541 2025-10-22 12:21:09,679 - DEBUG - VN ctest-vn1-01738541 UUID is 892ea128-6647-4f27-a454-144dc81446a6 2025-10-22 12:21:10,010 - DEBUG - Response for create_port : {'port': {'name': 'af6e85e4-c62b-4e95-9d62-818dbe63f8da', 'id': 'af6e85e4-c62b-4e95-9d62-818dbe63f8da', 'tenant_id': '45a0b75c254a4ad2b5b95b0cc5fa9573', 'network_id': '892ea128-6647-4f27-a454-144dc81446a6', 'mac_address': '02:af:6e:85:e4:c6', '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': '195.132.83.69', 'subnet_id': '38b8dc4c-9caf-48f8-8e1d-00e711ec805c'}], 'security_groups': ['e71966f8-5a40-47bd-a56a-f98d44551c69'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '45a0b75c254a4ad2b5b95b0cc5fa9573'}} 2025-10-22 12:21:10,207 - DEBUG - Response for create_port : {'port': {'name': '5618cab5-b6d9-4b48-a847-8eb51be2a6da', 'id': '5618cab5-b6d9-4b48-a847-8eb51be2a6da', 'tenant_id': '45a0b75c254a4ad2b5b95b0cc5fa9573', 'network_id': '892ea128-6647-4f27-a454-144dc81446a6', 'mac_address': '02:56:18:ca:b5:b6', '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': '86.147.202.197', 'subnet_id': '969483f2-69fc-437f-b4ad-cc63104044cd'}], 'security_groups': ['e71966f8-5a40-47bd-a56a-f98d44551c69'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '45a0b75c254a4ad2b5b95b0cc5fa9573'}} 2025-10-22 12:21:10,277 - DEBUG - Services list from nova: [, , ] 2025-10-22 12:21:10,692 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4426-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4426-1) 2025-10-22 12:21:11,149 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4426-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4426-1) 2025-10-22 12:21:11,150 - INFO - Waiting for VM ctest-vn1-vm1-77089546 to be up.. 2025-10-22 12:21:11,190 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 12:21:16,322 - DEBUG - VM is in ACTIVE state now 2025-10-22 12:21:16,322 - INFO - VM name : ctest-vn1-vm1-77089546 2025-10-22 12:21:16,434 - DEBUG - VM ctest-vn1-vm1-77089546 ID is 15f609a9-491a-49ba-b5be-faaf476c2e7c 2025-10-22 12:21:16,464 - DEBUG - VM ctest-vn1-vm1-77089546 launched on Node cn-jenkins-deploy-platform-ansible-os-4426-1 2025-10-22 12:21:16,552 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/15f609a9-491a-49ba-b5be-faaf476c2e7c 2025-10-22 12:21:16,563 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/af6e85e4-c62b-4e95-9d62-818dbe63f8da 2025-10-22 12:21:19,847 - 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-10-22 12:21:19,847 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77089546 failed! 2025-10-22 12:21:19,904 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-14266494:ctest-vn1-01738541 is 195.132.83.65 and allocation pool is NOT set 2025-10-22 12:21:19,904 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-14266494:ctest-vn1-01738541 is 86.147.202.193 and allocation pool is NOT set 2025-10-22 12:21:23,974 - 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.23 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 7.234/7.234/7.234/0.000 ms') 2025-10-22 12:21:23,974 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77089546 passed 2025-10-22 12:21:24,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 12:21:24,128 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-77089546, IP 195.132.83.69, Port 22 2025-10-22 12:21:24,287 - DEBUG - VM ctest-vn1-vm1-77089546 is ready for SSH connections 2025-10-22 12:21:24,287 - INFO - Waiting for VM ctest-vn1-vm2-83241893 to be up.. 2025-10-22 12:21:24,381 - DEBUG - VM is in ACTIVE state now 2025-10-22 12:21:24,381 - INFO - VM name : ctest-vn1-vm2-83241893 2025-10-22 12:21:24,481 - DEBUG - VM ctest-vn1-vm2-83241893 ID is 49227750-1814-4b1a-ab1e-cc3b48d06d95 2025-10-22 12:21:24,481 - DEBUG - VM ctest-vn1-vm2-83241893 launched on Node cn-jenkins-deploy-platform-ansible-os-4426-1 2025-10-22 12:21:24,576 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/49227750-1814-4b1a-ab1e-cc3b48d06d95 2025-10-22 12:21:24,587 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/5618cab5-b6d9-4b48-a847-8eb51be2a6da 2025-10-22 12:21:25,834 - 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=5.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.00 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 = 1.003/3.139/5.276/2.136 ms') 2025-10-22 12:21:25,834 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-83241893 passed 2025-10-22 12:21:25,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 12:21:25,988 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-83241893, IP 86.147.202.197, Port 22 2025-10-22 12:21:26,154 - DEBUG - VM ctest-vn1-vm2-83241893 is ready for SSH connections 2025-10-22 12:21:26,154 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 12:21:26,154 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 12:21:26,154 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 12:21:26,154 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.132.83.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-22 12:21:26,154 - DEBUG - ping -s 56 -c 3 -W 1 195.132.83.69 2025-10-22 12:21:28,847 - DEBUG - PING 195.132.83.69 (195.132.83.69): 56 data bytes 64 bytes from 195.132.83.69: seq=0 ttl=63 time=4.354 ms 64 bytes from 195.132.83.69: seq=1 ttl=63 time=1.179 ms 64 bytes from 195.132.83.69: seq=2 ttl=63 time=1.332 ms --- 195.132.83.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.179/2.288/4.354 ms 2025-10-22 12:21:28,847 - INFO - Ping to IP 195.132.83.69 from VM ctest-vn1-vm2-83241893 passed 2025-10-22 12:21:28,847 - INFO - Detaching port 5618cab5-b6d9-4b48-a847-8eb51be2a6da from VM ctest-vn1-vm2-83241893 2025-10-22 12:21:28,908 - INFO - Deleting VM ctest-vn1-vm2-83241893 2025-10-22 12:21:28,994 - INFO - Detaching port af6e85e4-c62b-4e95-9d62-818dbe63f8da from VM ctest-vn1-vm1-77089546 2025-10-22 12:21:29,034 - INFO - Deleting VM ctest-vn1-vm1-77089546 2025-10-22 12:21:29,303 - DEBUG - Response for delete_port : () 2025-10-22 12:21:29,486 - DEBUG - Response for delete_port : () 2025-10-22 12:21:29,486 - INFO - Deleting VN ctest-vn1-01738541 2025-10-22 12:21:29,641 - DEBUG - Response for deleting network () 2025-10-22 12:21:29,913 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 12:21:29,914 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-10-22 12:21:29,914 - INFO - -------------------------------------------------------------------------------- 2025-10-22 12:21:30,613 - INFO - Deleted project: ctest-TestPorts-14266494, ID : 45a0b75c-254a-4ad2-b5b9-5b0cc5fa9573