2025-11-05 06:37:35,129 - INFO - Domain Default found not creating 2025-11-05 06:37:35,304 - INFO - Project ctest-TestPorts-77910125 not found, creating it 2025-11-05 06:37:35,787 - INFO - Created Project:ctest-TestPorts-77910125, ID : 1c9f2489-8c02-4157-9cae-65cfafb39154 2025-11-05 06:37:37,590 - INFO - ================================================================================ 2025-11-05 06:37:37,590 - INFO - STARTING TEST : test_ports_bindings 2025-11-05 06:37:37,591 - 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-11-05 06:37:37,867 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2025-11-05 06:37:37,867 - INFO - Initial checks done. Running the testcase now 2025-11-05 06:37:37,867 - INFO - 2025-11-05 06:37:38,489 - DEBUG - Response for create_network : {'network': {'id': '95391100-194a-4d17-b1dc-71b00607f212', 'name': 'ctest-vn-27736031', 'tenant_id': '1c9f24898c0241579cae65cfafb39154', 'project_id': '1c9f24898c0241579cae65cfafb39154', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-77910125', 'ctest-vn-27736031'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 06:37:38,656 - DEBUG - Response for create_subnet : {'subnet': {'id': '4eee0084-46f9-4be3-9343-369d7b509fd8', 'name': '', 'tenant_id': '1c9f24898c0241579cae65cfafb39154', 'network_id': '95391100-194a-4d17-b1dc-71b00607f212', 'ip_version': 4, 'cidr': '147.104.190.64/26', 'allocation_pools': [{'start': '147.104.190.66', 'end': '147.104.190.126'}], 'gateway_ip': '147.104.190.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.104.190.66', 'tags': [], 'project_id': '1c9f24898c0241579cae65cfafb39154'}} 2025-11-05 06:37:38,675 - INFO - Created VN ctest-vn-27736031 2025-11-05 06:37:38,730 - DEBUG - VN ctest-vn-27736031 UUID is 95391100-194a-4d17-b1dc-71b00607f212 2025-11-05 06:37:38,849 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-77910125', 'ctest-vmi-82622897']} 2025-11-05 06:37:39,092 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-82622897', 'id': '31433356-cd40-4a11-bf91-8f90a5ea5928', 'tenant_id': '1c9f24898c0241579cae65cfafb39154', 'network_id': '95391100-194a-4d17-b1dc-71b00607f212', 'mac_address': '02:31:43:33:56:cd', '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': '147.104.190.67', 'subnet_id': '4eee0084-46f9-4be3-9343-369d7b509fd8'}], 'security_groups': ['f890920e-10bd-42cf-82b0-82c3a3e7ee04'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1c9f24898c0241579cae65cfafb39154'}} 2025-11-05 06:37:39,092 - DEBUG - Created port 31433356-cd40-4a11-bf91-8f90a5ea5928 2025-11-05 06:37:39,198 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/31433356-cd40-4a11-bf91-8f90a5ea5928 2025-11-05 06:37:39,532 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/31433356-cd40-4a11-bf91-8f90a5ea5928 2025-11-05 06:37:39,574 - INFO - VMI 31433356-cd40-4a11-bf91-8f90a5ea5928 verification in API Server passed 2025-11-05 06:37:39,680 - DEBUG - Response for delete_port : () 2025-11-05 06:37:39,680 - INFO - Deleted port 31433356-cd40-4a11-bf91-8f90a5ea5928 2025-11-05 06:37:39,681 - INFO - Deleting VN ctest-vn-27736031 2025-11-05 06:37:39,791 - DEBUG - Response for deleting network () 2025-11-05 06:37:40,051 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 06:37:40,051 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-05 06:37:40,051 - INFO - -------------------------------------------------------------------------------- 2025-11-05 06:37:40,054 - INFO - ================================================================================ 2025-11-05 06:37:40,054 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-05 06:37:40,054 - 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-11-05 06:37:40,344 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2025-11-05 06:37:40,344 - INFO - Initial checks done. Running the testcase now 2025-11-05 06:37:40,345 - INFO - 2025-11-05 06:37:40,533 - DEBUG - Response for create_network : {'network': {'id': 'df8c53b8-b257-4d58-8277-6b59d15e40eb', 'name': 'ctest-vn1-69703251', 'tenant_id': '1c9f24898c0241579cae65cfafb39154', 'project_id': '1c9f24898c0241579cae65cfafb39154', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-77910125', 'ctest-vn1-69703251'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 06:37:40,722 - DEBUG - Response for create_subnet : {'subnet': {'id': '39c1f225-2f5b-40c7-815f-40f06c924d15', 'name': '', 'tenant_id': '1c9f24898c0241579cae65cfafb39154', 'network_id': 'df8c53b8-b257-4d58-8277-6b59d15e40eb', 'ip_version': 4, 'cidr': '125.184.95.128/26', 'allocation_pools': [{'start': '125.184.95.130', 'end': '125.184.95.190'}], 'gateway_ip': '125.184.95.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.184.95.130', 'tags': [], 'project_id': '1c9f24898c0241579cae65cfafb39154'}} 2025-11-05 06:37:40,864 - DEBUG - Response for create_subnet : {'subnet': {'id': '44c011e0-45d6-464c-8370-8c61dec992af', 'name': '', 'tenant_id': '1c9f24898c0241579cae65cfafb39154', 'network_id': 'df8c53b8-b257-4d58-8277-6b59d15e40eb', 'ip_version': 4, 'cidr': '111.115.242.64/26', 'allocation_pools': [{'start': '111.115.242.66', 'end': '111.115.242.126'}], 'gateway_ip': '111.115.242.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.115.242.66', 'tags': [], 'project_id': '1c9f24898c0241579cae65cfafb39154'}} 2025-11-05 06:37:40,885 - INFO - Created VN ctest-vn1-69703251 2025-11-05 06:37:40,937 - DEBUG - VN ctest-vn1-69703251 UUID is df8c53b8-b257-4d58-8277-6b59d15e40eb 2025-11-05 06:37:41,280 - DEBUG - Response for create_port : {'port': {'name': 'dbd43527-c583-45a5-82f1-3e937530fe13', 'id': 'dbd43527-c583-45a5-82f1-3e937530fe13', 'tenant_id': '1c9f24898c0241579cae65cfafb39154', 'network_id': 'df8c53b8-b257-4d58-8277-6b59d15e40eb', 'mac_address': '02:db:d4:35:27:c5', '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': '125.184.95.133', 'subnet_id': '39c1f225-2f5b-40c7-815f-40f06c924d15'}], 'security_groups': ['f890920e-10bd-42cf-82b0-82c3a3e7ee04'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1c9f24898c0241579cae65cfafb39154'}} 2025-11-05 06:37:41,471 - DEBUG - Response for create_port : {'port': {'name': '2d12aa9b-1a93-47f6-a875-9e1bb7638cd3', 'id': '2d12aa9b-1a93-47f6-a875-9e1bb7638cd3', 'tenant_id': '1c9f24898c0241579cae65cfafb39154', 'network_id': 'df8c53b8-b257-4d58-8277-6b59d15e40eb', 'mac_address': '02:2d:12:aa:9b:1a', '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': '111.115.242.69', 'subnet_id': '44c011e0-45d6-464c-8370-8c61dec992af'}], 'security_groups': ['f890920e-10bd-42cf-82b0-82c3a3e7ee04'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1c9f24898c0241579cae65cfafb39154'}} 2025-11-05 06:37:41,538 - DEBUG - Services list from nova: [, , ] 2025-11-05 06:37:41,910 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4627-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4627-1) 2025-11-05 06:37:42,347 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4627-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4627-1) 2025-11-05 06:37:42,347 - INFO - Waiting for VM ctest-vn1-vm1-56641748 to be up.. 2025-11-05 06:37:42,391 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 06:37:47,481 - DEBUG - VM is in ACTIVE state now 2025-11-05 06:37:47,481 - INFO - VM name : ctest-vn1-vm1-56641748 2025-11-05 06:37:47,564 - DEBUG - VM ctest-vn1-vm1-56641748 ID is 979039ad-6fe2-4252-bd68-db1aae83885c 2025-11-05 06:37:47,585 - DEBUG - VM ctest-vn1-vm1-56641748 launched on Node cn-jenkins-deploy-platform-ansible-os-4627-1 2025-11-05 06:37:47,668 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/979039ad-6fe2-4252-bd68-db1aae83885c 2025-11-05 06:37:47,678 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/dbd43527-c583-45a5-82f1-3e937530fe13 2025-11-05 06:37:50,932 - 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 1013ms') 2025-11-05 06:37:50,932 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56641748 failed! 2025-11-05 06:37:50,989 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-77910125:ctest-vn1-69703251 is 125.184.95.129 and allocation pool is NOT set 2025-11-05 06:37:50,990 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-77910125:ctest-vn1-69703251 is 111.115.242.65 and allocation pool is NOT set 2025-11-05 06:37:55,060 - 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 1010ms') 2025-11-05 06:37:55,060 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56641748 failed! 2025-11-05 06:37:55,117 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-77910125:ctest-vn1-69703251 is 125.184.95.129 and allocation pool is NOT set 2025-11-05 06:37:55,118 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-77910125:ctest-vn1-69703251 is 111.115.242.65 and allocation pool is NOT set 2025-11-05 06:37:57,180 - 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=4.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.564 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 = 0.564/2.508/4.452/1.944 ms') 2025-11-05 06:37:57,180 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56641748 passed 2025-11-05 06:37:57,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 06:37:57,330 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-56641748, IP 125.184.95.133, Port 22 2025-11-05 06:37:57,496 - DEBUG - VM ctest-vn1-vm1-56641748 is ready for SSH connections 2025-11-05 06:37:57,496 - INFO - Waiting for VM ctest-vn1-vm2-24826273 to be up.. 2025-11-05 06:37:57,588 - DEBUG - VM is in ACTIVE state now 2025-11-05 06:37:57,588 - INFO - VM name : ctest-vn1-vm2-24826273 2025-11-05 06:37:57,668 - DEBUG - VM ctest-vn1-vm2-24826273 ID is f9be8652-f830-4a65-8a41-f0bc10ee303e 2025-11-05 06:37:57,668 - DEBUG - VM ctest-vn1-vm2-24826273 launched on Node cn-jenkins-deploy-platform-ansible-os-4627-1 2025-11-05 06:37:57,753 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/f9be8652-f830-4a65-8a41-f0bc10ee303e 2025-11-05 06:37:57,763 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/2d12aa9b-1a93-47f6-a875-9e1bb7638cd3 2025-11-05 06:37:59,010 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.417 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.417/2.084/3.751/1.667 ms') 2025-11-05 06:37:59,010 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-24826273 passed 2025-11-05 06:37:59,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 06:37:59,162 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-24826273, IP 111.115.242.69, Port 22 2025-11-05 06:37:59,337 - DEBUG - VM ctest-vn1-vm2-24826273 is ready for SSH connections 2025-11-05 06:37:59,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 06:37:59,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 06:37:59,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 06:37:59,337 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.184.95.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-11-05 06:37:59,337 - DEBUG - ping -s 56 -c 3 -W 1 125.184.95.133 2025-11-05 06:38:02,088 - DEBUG - PING 125.184.95.133 (125.184.95.133): 56 data bytes 64 bytes from 125.184.95.133: seq=0 ttl=63 time=3.772 ms 64 bytes from 125.184.95.133: seq=1 ttl=63 time=1.188 ms 64 bytes from 125.184.95.133: seq=2 ttl=63 time=0.868 ms --- 125.184.95.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.868/1.942/3.772 ms 2025-11-05 06:38:02,088 - INFO - Ping to IP 125.184.95.133 from VM ctest-vn1-vm2-24826273 passed 2025-11-05 06:38:02,088 - INFO - Detaching port 2d12aa9b-1a93-47f6-a875-9e1bb7638cd3 from VM ctest-vn1-vm2-24826273 2025-11-05 06:38:02,149 - INFO - Deleting VM ctest-vn1-vm2-24826273 2025-11-05 06:38:02,230 - INFO - Detaching port dbd43527-c583-45a5-82f1-3e937530fe13 from VM ctest-vn1-vm1-56641748 2025-11-05 06:38:02,271 - INFO - Deleting VM ctest-vn1-vm1-56641748 2025-11-05 06:38:02,536 - DEBUG - Response for delete_port : () 2025-11-05 06:38:02,729 - DEBUG - Response for delete_port : () 2025-11-05 06:38:02,729 - INFO - Deleting VN ctest-vn1-69703251 2025-11-05 06:38:02,912 - DEBUG - Response for deleting network () 2025-11-05 06:38:03,187 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 06:38:03,187 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-11-05 06:38:03,187 - INFO - -------------------------------------------------------------------------------- 2025-11-05 06:38:03,923 - INFO - Deleted project: ctest-TestPorts-77910125, ID : 1c9f2489-8c02-4157-9cae-65cfafb39154