2025-07-31 02:38:21,347 - INFO - Domain Default found not creating 2025-07-31 02:38:21,610 - INFO - Project ctest-TestPorts-25306740 not found, creating it 2025-07-31 02:38:22,390 - INFO - Created Project:ctest-TestPorts-25306740, ID : b2b6b185-371b-4e28-834c-7184ea88a5ab 2025-07-31 02:38:24,510 - INFO - ================================================================================ 2025-07-31 02:38:24,510 - INFO - STARTING TEST : test_ports_bindings 2025-07-31 02:38:24,511 - 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-07-31 02:38:24,845 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.129': '0'}} with 2025-07-31 02:38:24,845 - INFO - Initial checks done. Running the testcase now 2025-07-31 02:38:24,845 - INFO - 2025-07-31 02:38:25,580 - DEBUG - Response for create_network : {'network': {'id': '9fafbb15-8b82-4633-8e95-d7fb47a983d2', 'name': 'ctest-vn-34437303', 'tenant_id': 'b2b6b185371b4e28834c7184ea88a5ab', 'project_id': 'b2b6b185371b4e28834c7184ea88a5ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-25306740', 'ctest-vn-34437303'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 02:38:25,867 - DEBUG - Response for create_subnet : {'subnet': {'id': '9eb4fac4-806a-431a-a2d5-e5265e273579', 'name': '', 'tenant_id': 'b2b6b185371b4e28834c7184ea88a5ab', 'network_id': '9fafbb15-8b82-4633-8e95-d7fb47a983d2', 'ip_version': 4, 'cidr': '73.252.160.0/26', 'allocation_pools': [{'start': '73.252.160.2', 'end': '73.252.160.62'}], 'gateway_ip': '73.252.160.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.252.160.2', 'tags': [], 'project_id': 'b2b6b185371b4e28834c7184ea88a5ab'}} 2025-07-31 02:38:25,911 - INFO - Created VN ctest-vn-34437303 2025-07-31 02:38:25,975 - DEBUG - VN ctest-vn-34437303 UUID is 9fafbb15-8b82-4633-8e95-d7fb47a983d2 2025-07-31 02:38:26,175 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-25306740', 'ctest-vmi-02071370']} 2025-07-31 02:38:26,656 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-02071370', 'id': '7d93dddc-ad9c-4665-933b-c6933bd8aa8a', 'tenant_id': 'b2b6b185371b4e28834c7184ea88a5ab', 'network_id': '9fafbb15-8b82-4633-8e95-d7fb47a983d2', 'mac_address': '02:7d:93:dd:dc:ad', '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': '73.252.160.3', 'subnet_id': '9eb4fac4-806a-431a-a2d5-e5265e273579'}], 'security_groups': ['f6bf0b5f-97d4-48f9-89a2-efb809b51295'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b2b6b185371b4e28834c7184ea88a5ab'}} 2025-07-31 02:38:26,656 - DEBUG - Created port 7d93dddc-ad9c-4665-933b-c6933bd8aa8a 2025-07-31 02:38:26,792 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/7d93dddc-ad9c-4665-933b-c6933bd8aa8a 2025-07-31 02:38:27,168 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/7d93dddc-ad9c-4665-933b-c6933bd8aa8a 2025-07-31 02:38:27,237 - INFO - VMI 7d93dddc-ad9c-4665-933b-c6933bd8aa8a verification in API Server passed 2025-07-31 02:38:27,471 - DEBUG - Response for delete_port : () 2025-07-31 02:38:27,471 - INFO - Deleted port 7d93dddc-ad9c-4665-933b-c6933bd8aa8a 2025-07-31 02:38:27,472 - INFO - Deleting VN ctest-vn-34437303 2025-07-31 02:38:27,699 - DEBUG - Response for deleting network () 2025-07-31 02:38:28,020 - DEBUG - No XMPP flaps were noticed during the test 2025-07-31 02:38:28,020 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04] 2025-07-31 02:38:28,021 - INFO - -------------------------------------------------------------------------------- 2025-07-31 02:38:28,029 - INFO - ================================================================================ 2025-07-31 02:38:28,030 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-07-31 02:38:28,030 - 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-07-31 02:38:28,364 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.129': '0'}} with 2025-07-31 02:38:28,364 - INFO - Initial checks done. Running the testcase now 2025-07-31 02:38:28,365 - INFO - 2025-07-31 02:38:28,767 - DEBUG - Response for create_network : {'network': {'id': '1365a258-4237-4dcb-b3bf-a8891add19af', 'name': 'ctest-vn1-08410855', 'tenant_id': 'b2b6b185371b4e28834c7184ea88a5ab', 'project_id': 'b2b6b185371b4e28834c7184ea88a5ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-25306740', 'ctest-vn1-08410855'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 02:38:29,010 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b663cde4-79f0-4ba0-b6d6-603cab4e004b', 'name': '', 'tenant_id': 'b2b6b185371b4e28834c7184ea88a5ab', 'network_id': '1365a258-4237-4dcb-b3bf-a8891add19af', 'ip_version': 4, 'cidr': '110.227.169.0/26', 'allocation_pools': [{'start': '110.227.169.2', 'end': '110.227.169.62'}], 'gateway_ip': '110.227.169.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.227.169.2', 'tags': [], 'project_id': 'b2b6b185371b4e28834c7184ea88a5ab'}} 2025-07-31 02:38:29,307 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd02cb44b-0709-4376-a89c-bf4bf51de23c', 'name': '', 'tenant_id': 'b2b6b185371b4e28834c7184ea88a5ab', 'network_id': '1365a258-4237-4dcb-b3bf-a8891add19af', 'ip_version': 4, 'cidr': '122.253.228.128/26', 'allocation_pools': [{'start': '122.253.228.130', 'end': '122.253.228.190'}], 'gateway_ip': '122.253.228.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.253.228.130', 'tags': [], 'project_id': 'b2b6b185371b4e28834c7184ea88a5ab'}} 2025-07-31 02:38:29,365 - INFO - Created VN ctest-vn1-08410855 2025-07-31 02:38:29,435 - DEBUG - VN ctest-vn1-08410855 UUID is 1365a258-4237-4dcb-b3bf-a8891add19af 2025-07-31 02:38:29,979 - DEBUG - Response for create_port : {'port': {'name': '66495b16-239c-4af3-8656-2d614eaf300b', 'id': '66495b16-239c-4af3-8656-2d614eaf300b', 'tenant_id': 'b2b6b185371b4e28834c7184ea88a5ab', 'network_id': '1365a258-4237-4dcb-b3bf-a8891add19af', 'mac_address': '02:66:49:5b:16:23', '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': '110.227.169.5', 'subnet_id': 'b663cde4-79f0-4ba0-b6d6-603cab4e004b'}], 'security_groups': ['f6bf0b5f-97d4-48f9-89a2-efb809b51295'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b2b6b185371b4e28834c7184ea88a5ab'}} 2025-07-31 02:38:30,181 - DEBUG - Response for create_port : {'port': {'name': 'b44731ee-5239-45b1-a5a6-53d579d7abcd', 'id': 'b44731ee-5239-45b1-a5a6-53d579d7abcd', 'tenant_id': 'b2b6b185371b4e28834c7184ea88a5ab', 'network_id': '1365a258-4237-4dcb-b3bf-a8891add19af', 'mac_address': '02:b4:47:31:ee:52', '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': '122.253.228.133', 'subnet_id': 'd02cb44b-0709-4376-a89c-bf4bf51de23c'}], 'security_groups': ['f6bf0b5f-97d4-48f9-89a2-efb809b51295'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b2b6b185371b4e28834c7184ea88a5ab'}} 2025-07-31 02:38:30,241 - DEBUG - Services list from nova: [, , ] 2025-07-31 02:38:30,804 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3731-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3731-1) 2025-07-31 02:38:31,467 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3731-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3731-1) 2025-07-31 02:38:31,467 - INFO - Waiting for VM ctest-vn1-vm1-40679394 to be up.. 2025-07-31 02:38:31,524 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-31 02:38:36,641 - DEBUG - VM is in ACTIVE state now 2025-07-31 02:38:36,641 - INFO - VM name : ctest-vn1-vm1-40679394 2025-07-31 02:38:36,821 - DEBUG - VM ctest-vn1-vm1-40679394 ID is 8bd65000-af44-45f8-a75d-1fc597c2ae32 2025-07-31 02:38:36,874 - DEBUG - VM ctest-vn1-vm1-40679394 launched on Node cn-jenkins-deploy-platform-ansible-os-3731-1 2025-07-31 02:38:37,100 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/8bd65000-af44-45f8-a75d-1fc597c2ae32 2025-07-31 02:38:37,125 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/66495b16-239c-4af3-8656-2d614eaf300b 2025-07-31 02:38:40,499 - 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 1025ms') 2025-07-31 02:38:40,500 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-40679394 failed! 2025-07-31 02:38:40,580 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-25306740:ctest-vn1-08410855 is 110.227.169.1 and allocation pool is NOT set 2025-07-31 02:38:40,580 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-25306740:ctest-vn1-08410855 is 122.253.228.129 and allocation pool is NOT set 2025-07-31 02:38:44,652 - 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=11.6 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1004ms\r\nrtt min/avg/max/mdev = 11.566/11.566/11.566/0.000 ms') 2025-07-31 02:38:44,652 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-40679394 passed 2025-07-31 02:38:44,831 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:38:44,832 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-40679394, IP 110.227.169.5, Port 22 2025-07-31 02:38:45,033 - DEBUG - VM ctest-vn1-vm1-40679394 is ready for SSH connections 2025-07-31 02:38:45,033 - INFO - Waiting for VM ctest-vn1-vm2-04189914 to be up.. 2025-07-31 02:38:45,173 - DEBUG - VM is in ACTIVE state now 2025-07-31 02:38:45,173 - INFO - VM name : ctest-vn1-vm2-04189914 2025-07-31 02:38:45,269 - DEBUG - VM ctest-vn1-vm2-04189914 ID is be0d7c53-6775-4def-b71a-314f3e62ded1 2025-07-31 02:38:45,270 - DEBUG - VM ctest-vn1-vm2-04189914 launched on Node cn-jenkins-deploy-platform-ansible-os-3731-1 2025-07-31 02:38:45,353 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/be0d7c53-6775-4def-b71a-314f3e62ded1 2025-07-31 02:38:45,364 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/b44731ee-5239-45b1-a5a6-53d579d7abcd 2025-07-31 02:38:46,640 - 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=10.1 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.863 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 = 0.863/5.486/10.110/4.623 ms') 2025-07-31 02:38:46,641 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-04189914 passed 2025-07-31 02:38:46,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:38:46,836 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-04189914, IP 122.253.228.133, Port 22 2025-07-31 02:38:47,045 - DEBUG - VM ctest-vn1-vm2-04189914 is ready for SSH connections 2025-07-31 02:38:47,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:38:47,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:38:47,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:38:47,046 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.227.169.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-07-31 02:38:47,047 - DEBUG - ping -s 56 -c 3 -W 1 110.227.169.5 2025-07-31 02:38:50,220 - DEBUG - PING 110.227.169.5 (110.227.169.5): 56 data bytes 64 bytes from 110.227.169.5: seq=0 ttl=63 time=4.425 ms 64 bytes from 110.227.169.5: seq=1 ttl=63 time=0.813 ms 64 bytes from 110.227.169.5: seq=2 ttl=63 time=2.513 ms --- 110.227.169.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.813/2.583/4.425 ms 2025-07-31 02:38:50,221 - INFO - Ping to IP 110.227.169.5 from VM ctest-vn1-vm2-04189914 passed 2025-07-31 02:38:50,221 - INFO - Detaching port b44731ee-5239-45b1-a5a6-53d579d7abcd from VM ctest-vn1-vm2-04189914 2025-07-31 02:38:50,314 - INFO - Deleting VM ctest-vn1-vm2-04189914 2025-07-31 02:38:50,517 - INFO - Detaching port 66495b16-239c-4af3-8656-2d614eaf300b from VM ctest-vn1-vm1-40679394 2025-07-31 02:38:50,599 - INFO - Deleting VM ctest-vn1-vm1-40679394 2025-07-31 02:38:50,935 - DEBUG - Response for delete_port : () 2025-07-31 02:38:51,116 - DEBUG - Response for delete_port : () 2025-07-31 02:38:51,117 - INFO - Deleting VN ctest-vn1-08410855 2025-07-31 02:38:51,268 - DEBUG - Response for deleting network () 2025-07-31 02:38:51,551 - DEBUG - No XMPP flaps were noticed during the test 2025-07-31 02:38:51,551 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2025-07-31 02:38:51,551 - INFO - -------------------------------------------------------------------------------- 2025-07-31 02:38:52,328 - INFO - Deleted project: ctest-TestPorts-25306740, ID : b2b6b185-371b-4e28-834c-7184ea88a5ab