2025-08-19 10:30:54,200 - INFO - Domain Default found not creating 2025-08-19 10:30:54,341 - INFO - Project ctest-TestPorts-48005184 not found, creating it 2025-08-19 10:30:54,794 - INFO - Created Project:ctest-TestPorts-48005184, ID : 28d11936-1446-47dd-94ea-c9fbc86362c0 2025-08-19 10:30:56,187 - INFO - ================================================================================ 2025-08-19 10:30:56,187 - INFO - STARTING TEST : test_ports_bindings 2025-08-19 10:30:56,188 - 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-08-19 10:30:56,444 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-08-19 10:30:56,444 - INFO - Initial checks done. Running the testcase now 2025-08-19 10:30:56,444 - INFO - 2025-08-19 10:30:56,968 - DEBUG - Response for create_network : {'network': {'id': 'e30173a9-5d77-4d49-8ccb-ad2694813850', 'name': 'ctest-vn-70066386', 'tenant_id': '28d11936144647dd94eac9fbc86362c0', 'project_id': '28d11936144647dd94eac9fbc86362c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48005184', 'ctest-vn-70066386'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 10:30:57,158 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3453b6a-fa63-4ae3-aef7-165f8c8c3b71', 'name': '', 'tenant_id': '28d11936144647dd94eac9fbc86362c0', 'network_id': 'e30173a9-5d77-4d49-8ccb-ad2694813850', 'ip_version': 4, 'cidr': '125.219.126.128/26', 'allocation_pools': [{'start': '125.219.126.130', 'end': '125.219.126.190'}], 'gateway_ip': '125.219.126.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.219.126.130', 'tags': [], 'project_id': '28d11936144647dd94eac9fbc86362c0'}} 2025-08-19 10:30:57,175 - INFO - Created VN ctest-vn-70066386 2025-08-19 10:30:57,229 - DEBUG - VN ctest-vn-70066386 UUID is e30173a9-5d77-4d49-8ccb-ad2694813850 2025-08-19 10:30:57,336 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-48005184', 'ctest-vmi-07851697']} 2025-08-19 10:30:57,566 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-07851697', 'id': '4de3ff63-c9f9-45bb-ab25-aeb16ae02ca1', 'tenant_id': '28d11936144647dd94eac9fbc86362c0', 'network_id': 'e30173a9-5d77-4d49-8ccb-ad2694813850', 'mac_address': '02:4d:e3:ff:63:c9', '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': '125.219.126.131', 'subnet_id': 'e3453b6a-fa63-4ae3-aef7-165f8c8c3b71'}], 'security_groups': ['0d33332b-e62f-4ebe-92ec-31ea80b80257'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '28d11936144647dd94eac9fbc86362c0'}} 2025-08-19 10:30:57,567 - DEBUG - Created port 4de3ff63-c9f9-45bb-ab25-aeb16ae02ca1 2025-08-19 10:30:57,670 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/4de3ff63-c9f9-45bb-ab25-aeb16ae02ca1 2025-08-19 10:30:57,959 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/4de3ff63-c9f9-45bb-ab25-aeb16ae02ca1 2025-08-19 10:30:57,991 - INFO - VMI 4de3ff63-c9f9-45bb-ab25-aeb16ae02ca1 verification in API Server passed 2025-08-19 10:30:58,077 - DEBUG - Response for delete_port : () 2025-08-19 10:30:58,077 - INFO - Deleted port 4de3ff63-c9f9-45bb-ab25-aeb16ae02ca1 2025-08-19 10:30:58,077 - INFO - Deleting VN ctest-vn-70066386 2025-08-19 10:30:58,172 - DEBUG - Response for deleting network () 2025-08-19 10:30:58,431 - DEBUG - No XMPP flaps were noticed during the test 2025-08-19 10:30:58,431 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-19 10:30:58,431 - INFO - -------------------------------------------------------------------------------- 2025-08-19 10:30:58,434 - INFO - ================================================================================ 2025-08-19 10:30:58,434 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-19 10:30:58,434 - 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-08-19 10:30:58,718 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-08-19 10:30:58,719 - INFO - Initial checks done. Running the testcase now 2025-08-19 10:30:58,719 - INFO - 2025-08-19 10:30:58,884 - DEBUG - Response for create_network : {'network': {'id': 'cb1b2daa-70af-4992-a394-76112f0f6476', 'name': 'ctest-vn1-28889445', 'tenant_id': '28d11936144647dd94eac9fbc86362c0', 'project_id': '28d11936144647dd94eac9fbc86362c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48005184', 'ctest-vn1-28889445'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 10:30:59,024 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c92a85ca-805e-4599-8e6f-a918aa9b39f4', 'name': '', 'tenant_id': '28d11936144647dd94eac9fbc86362c0', 'network_id': 'cb1b2daa-70af-4992-a394-76112f0f6476', 'ip_version': 4, 'cidr': '31.105.233.0/26', 'allocation_pools': [{'start': '31.105.233.2', 'end': '31.105.233.62'}], 'gateway_ip': '31.105.233.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.105.233.2', 'tags': [], 'project_id': '28d11936144647dd94eac9fbc86362c0'}} 2025-08-19 10:30:59,180 - DEBUG - Response for create_subnet : {'subnet': {'id': '9429136d-3ade-430f-b199-84e069fcb51e', 'name': '', 'tenant_id': '28d11936144647dd94eac9fbc86362c0', 'network_id': 'cb1b2daa-70af-4992-a394-76112f0f6476', 'ip_version': 4, 'cidr': '180.255.83.192/26', 'allocation_pools': [{'start': '180.255.83.194', 'end': '180.255.83.254'}], 'gateway_ip': '180.255.83.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.255.83.194', 'tags': [], 'project_id': '28d11936144647dd94eac9fbc86362c0'}} 2025-08-19 10:30:59,198 - INFO - Created VN ctest-vn1-28889445 2025-08-19 10:30:59,249 - DEBUG - VN ctest-vn1-28889445 UUID is cb1b2daa-70af-4992-a394-76112f0f6476 2025-08-19 10:30:59,571 - DEBUG - Response for create_port : {'port': {'name': '52d760f2-e3ec-4088-abf4-c168f11659fc', 'id': '52d760f2-e3ec-4088-abf4-c168f11659fc', 'tenant_id': '28d11936144647dd94eac9fbc86362c0', 'network_id': 'cb1b2daa-70af-4992-a394-76112f0f6476', 'mac_address': '02:52:d7:60:f2:e3', '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': '31.105.233.5', 'subnet_id': 'c92a85ca-805e-4599-8e6f-a918aa9b39f4'}], 'security_groups': ['0d33332b-e62f-4ebe-92ec-31ea80b80257'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '28d11936144647dd94eac9fbc86362c0'}} 2025-08-19 10:30:59,766 - DEBUG - Response for create_port : {'port': {'name': 'b6f3bd54-12a7-458f-91a1-b038900626a4', 'id': 'b6f3bd54-12a7-458f-91a1-b038900626a4', 'tenant_id': '28d11936144647dd94eac9fbc86362c0', 'network_id': 'cb1b2daa-70af-4992-a394-76112f0f6476', 'mac_address': '02:b6:f3:bd:54:12', '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': '180.255.83.197', 'subnet_id': '9429136d-3ade-430f-b199-84e069fcb51e'}], 'security_groups': ['0d33332b-e62f-4ebe-92ec-31ea80b80257'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '28d11936144647dd94eac9fbc86362c0'}} 2025-08-19 10:30:59,821 - DEBUG - Services list from nova: [, , ] 2025-08-19 10:31:00,130 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3882-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3882-1) 2025-08-19 10:31:00,490 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3882-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3882-1) 2025-08-19 10:31:00,491 - INFO - Waiting for VM ctest-vn1-vm1-01377306 to be up.. 2025-08-19 10:31:00,527 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-19 10:31:05,596 - DEBUG - VM is in ACTIVE state now 2025-08-19 10:31:05,597 - INFO - VM name : ctest-vn1-vm1-01377306 2025-08-19 10:31:05,788 - DEBUG - VM ctest-vn1-vm1-01377306 ID is 50a7b71b-334c-42be-b70e-1938b6c6ebd3 2025-08-19 10:31:05,807 - DEBUG - VM ctest-vn1-vm1-01377306 launched on Node cn-jenkins-deploy-platform-ansible-os-3882-1 2025-08-19 10:31:05,890 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/50a7b71b-334c-42be-b70e-1938b6c6ebd3 2025-08-19 10:31:05,898 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/52d760f2-e3ec-4088-abf4-c168f11659fc 2025-08-19 10:31:09,163 - 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 1020ms') 2025-08-19 10:31:09,163 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01377306 failed! 2025-08-19 10:31:09,218 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48005184:ctest-vn1-28889445 is 31.105.233.1 and allocation pool is NOT set 2025-08-19 10:31:09,218 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48005184:ctest-vn1-28889445 is 180.255.83.193 and allocation pool is NOT set 2025-08-19 10:31:11,273 - 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=7.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.685 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.685/4.315/7.946/3.630 ms') 2025-08-19 10:31:11,273 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01377306 passed 2025-08-19 10:31:11,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 10:31:11,422 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01377306, IP 31.105.233.5, Port 22 2025-08-19 10:31:11,577 - DEBUG - VM ctest-vn1-vm1-01377306 is ready for SSH connections 2025-08-19 10:31:11,577 - INFO - Waiting for VM ctest-vn1-vm2-80675568 to be up.. 2025-08-19 10:31:11,647 - DEBUG - VM is in ACTIVE state now 2025-08-19 10:31:11,647 - INFO - VM name : ctest-vn1-vm2-80675568 2025-08-19 10:31:11,715 - DEBUG - VM ctest-vn1-vm2-80675568 ID is 19f2de2b-dafc-478c-b6a1-4cb4d35bba93 2025-08-19 10:31:11,715 - DEBUG - VM ctest-vn1-vm2-80675568 launched on Node cn-jenkins-deploy-platform-ansible-os-3882-1 2025-08-19 10:31:11,778 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/19f2de2b-dafc-478c-b6a1-4cb4d35bba93 2025-08-19 10:31:11,786 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/b6f3bd54-12a7-458f-91a1-b038900626a4 2025-08-19 10:31:13,023 - 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=4.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.590 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.590/2.615/4.641/2.025 ms') 2025-08-19 10:31:13,023 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-80675568 passed 2025-08-19 10:31:13,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 10:31:13,174 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-80675568, IP 180.255.83.197, Port 22 2025-08-19 10:31:13,229 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-19 10:31:13,293 - DEBUG - VM ctest-vn1-vm2-80675568 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-19 10:31:18,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 10:31:18,294 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-80675568, IP 180.255.83.197, Port 22 2025-08-19 10:31:18,449 - DEBUG - VM ctest-vn1-vm2-80675568 is ready for SSH connections 2025-08-19 10:31:18,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 10:31:18,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 10:31:18,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 10:31:18,449 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.105.233.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-19 10:31:18,450 - DEBUG - ping -s 56 -c 3 -W 1 31.105.233.5 2025-08-19 10:31:21,094 - DEBUG - PING 31.105.233.5 (31.105.233.5): 56 data bytes 64 bytes from 31.105.233.5: seq=0 ttl=63 time=4.333 ms 64 bytes from 31.105.233.5: seq=1 ttl=63 time=0.949 ms 64 bytes from 31.105.233.5: seq=2 ttl=63 time=0.754 ms --- 31.105.233.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.754/2.012/4.333 ms 2025-08-19 10:31:21,094 - INFO - Ping to IP 31.105.233.5 from VM ctest-vn1-vm2-80675568 passed 2025-08-19 10:31:21,094 - INFO - Detaching port b6f3bd54-12a7-458f-91a1-b038900626a4 from VM ctest-vn1-vm2-80675568 2025-08-19 10:31:21,142 - INFO - Deleting VM ctest-vn1-vm2-80675568 2025-08-19 10:31:21,208 - INFO - Detaching port 52d760f2-e3ec-4088-abf4-c168f11659fc from VM ctest-vn1-vm1-01377306 2025-08-19 10:31:21,242 - INFO - Deleting VM ctest-vn1-vm1-01377306 2025-08-19 10:31:21,479 - DEBUG - Response for delete_port : () 2025-08-19 10:31:21,638 - DEBUG - Response for delete_port : () 2025-08-19 10:31:21,638 - INFO - Deleting VN ctest-vn1-28889445 2025-08-19 10:31:21,799 - DEBUG - Response for deleting network () 2025-08-19 10:31:22,065 - DEBUG - No XMPP flaps were noticed during the test 2025-08-19 10:31:22,065 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-08-19 10:31:22,065 - INFO - -------------------------------------------------------------------------------- 2025-08-19 10:31:22,736 - INFO - Deleted project: ctest-TestPorts-48005184, ID : 28d11936-1446-47dd-94ea-c9fbc86362c0