2025-10-22 14:09:16,972 - INFO - Domain Default found not creating 2025-10-22 14:09:17,139 - INFO - Project ctest-TestPorts-04992847 not found, creating it 2025-10-22 14:09:17,605 - INFO - Created Project:ctest-TestPorts-04992847, ID : 5eec9412-79cc-40b5-9ff9-784af7c403a7 2025-10-22 14:09:19,200 - INFO - ================================================================================ 2025-10-22 14:09:19,201 - INFO - STARTING TEST : test_ports_bindings 2025-10-22 14:09:19,201 - 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 14:09:19,459 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-10-22 14:09:19,459 - INFO - Initial checks done. Running the testcase now 2025-10-22 14:09:19,459 - INFO - 2025-10-22 14:09:20,036 - DEBUG - Response for create_network : {'network': {'id': 'afd24cfb-f052-4718-ba76-54bd3f53be63', 'name': 'ctest-vn-00634494', 'tenant_id': '5eec941279cc40b59ff9784af7c403a7', 'project_id': '5eec941279cc40b59ff9784af7c403a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-04992847', 'ctest-vn-00634494'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 14:09:20,221 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e5c35029-8a0c-4cc2-99f3-67dfa2d9649d', 'name': '', 'tenant_id': '5eec941279cc40b59ff9784af7c403a7', 'network_id': 'afd24cfb-f052-4718-ba76-54bd3f53be63', 'ip_version': 4, 'cidr': '169.54.134.192/26', 'allocation_pools': [{'start': '169.54.134.194', 'end': '169.54.134.254'}], 'gateway_ip': '169.54.134.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.54.134.194', 'tags': [], 'project_id': '5eec941279cc40b59ff9784af7c403a7'}} 2025-10-22 14:09:20,241 - INFO - Created VN ctest-vn-00634494 2025-10-22 14:09:20,294 - DEBUG - VN ctest-vn-00634494 UUID is afd24cfb-f052-4718-ba76-54bd3f53be63 2025-10-22 14:09:20,407 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-04992847', 'ctest-vmi-28617467']} 2025-10-22 14:09:20,874 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-28617467', 'id': 'b05bc951-3be7-4a45-b32b-a849a4b6e98c', 'tenant_id': '5eec941279cc40b59ff9784af7c403a7', 'network_id': 'afd24cfb-f052-4718-ba76-54bd3f53be63', 'mac_address': '02:b0:5b:c9:51:3b', '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': '169.54.134.195', 'subnet_id': 'e5c35029-8a0c-4cc2-99f3-67dfa2d9649d'}], 'security_groups': ['3d6fdfc4-6584-4368-9ff6-b4d1517192e6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5eec941279cc40b59ff9784af7c403a7'}} 2025-10-22 14:09:20,875 - DEBUG - Created port b05bc951-3be7-4a45-b32b-a849a4b6e98c 2025-10-22 14:09:21,006 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/b05bc951-3be7-4a45-b32b-a849a4b6e98c 2025-10-22 14:09:21,381 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/b05bc951-3be7-4a45-b32b-a849a4b6e98c 2025-10-22 14:09:21,420 - INFO - VMI b05bc951-3be7-4a45-b32b-a849a4b6e98c verification in API Server passed 2025-10-22 14:09:21,517 - DEBUG - Response for delete_port : () 2025-10-22 14:09:21,517 - INFO - Deleted port b05bc951-3be7-4a45-b32b-a849a4b6e98c 2025-10-22 14:09:21,518 - INFO - Deleting VN ctest-vn-00634494 2025-10-22 14:09:21,624 - DEBUG - Response for deleting network () 2025-10-22 14:09:21,879 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 14:09:21,879 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-22 14:09:21,879 - INFO - -------------------------------------------------------------------------------- 2025-10-22 14:09:21,881 - INFO - ================================================================================ 2025-10-22 14:09:21,881 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-22 14:09:21,881 - 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 14:09:22,166 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-10-22 14:09:22,166 - INFO - Initial checks done. Running the testcase now 2025-10-22 14:09:22,166 - INFO - 2025-10-22 14:09:22,344 - DEBUG - Response for create_network : {'network': {'id': '5d76ea48-cd75-4cb6-b979-ae6f20e35c76', 'name': 'ctest-vn1-69289718', 'tenant_id': '5eec941279cc40b59ff9784af7c403a7', 'project_id': '5eec941279cc40b59ff9784af7c403a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-04992847', 'ctest-vn1-69289718'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 14:09:22,545 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ceee930-d245-489b-9350-473fc7d6830d', 'name': '', 'tenant_id': '5eec941279cc40b59ff9784af7c403a7', 'network_id': '5d76ea48-cd75-4cb6-b979-ae6f20e35c76', 'ip_version': 4, 'cidr': '47.205.98.192/26', 'allocation_pools': [{'start': '47.205.98.194', 'end': '47.205.98.254'}], 'gateway_ip': '47.205.98.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.205.98.194', 'tags': [], 'project_id': '5eec941279cc40b59ff9784af7c403a7'}} 2025-10-22 14:09:22,759 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3aa215c-b079-4d26-82b4-44c4b1e63092', 'name': '', 'tenant_id': '5eec941279cc40b59ff9784af7c403a7', 'network_id': '5d76ea48-cd75-4cb6-b979-ae6f20e35c76', 'ip_version': 4, 'cidr': '152.22.28.0/26', 'allocation_pools': [{'start': '152.22.28.2', 'end': '152.22.28.62'}], 'gateway_ip': '152.22.28.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.22.28.2', 'tags': [], 'project_id': '5eec941279cc40b59ff9784af7c403a7'}} 2025-10-22 14:09:22,779 - INFO - Created VN ctest-vn1-69289718 2025-10-22 14:09:22,834 - DEBUG - VN ctest-vn1-69289718 UUID is 5d76ea48-cd75-4cb6-b979-ae6f20e35c76 2025-10-22 14:09:23,150 - DEBUG - Response for create_port : {'port': {'name': '540628d3-a6d9-42a4-bb34-67289db58607', 'id': '540628d3-a6d9-42a4-bb34-67289db58607', 'tenant_id': '5eec941279cc40b59ff9784af7c403a7', 'network_id': '5d76ea48-cd75-4cb6-b979-ae6f20e35c76', 'mac_address': '02:54:06:28:d3:a6', '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': '47.205.98.197', 'subnet_id': '0ceee930-d245-489b-9350-473fc7d6830d'}], 'security_groups': ['3d6fdfc4-6584-4368-9ff6-b4d1517192e6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5eec941279cc40b59ff9784af7c403a7'}} 2025-10-22 14:09:23,341 - DEBUG - Response for create_port : {'port': {'name': 'a39c45eb-407c-4e37-bbbd-5fa99abb8ec0', 'id': 'a39c45eb-407c-4e37-bbbd-5fa99abb8ec0', 'tenant_id': '5eec941279cc40b59ff9784af7c403a7', 'network_id': '5d76ea48-cd75-4cb6-b979-ae6f20e35c76', 'mac_address': '02:a3:9c:45:eb:40', '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': '152.22.28.5', 'subnet_id': 'f3aa215c-b079-4d26-82b4-44c4b1e63092'}], 'security_groups': ['3d6fdfc4-6584-4368-9ff6-b4d1517192e6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5eec941279cc40b59ff9784af7c403a7'}} 2025-10-22 14:09:23,399 - DEBUG - Services list from nova: [, , ] 2025-10-22 14:09:23,733 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4431-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4431-1) 2025-10-22 14:09:24,172 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4431-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4431-1) 2025-10-22 14:09:24,173 - INFO - Waiting for VM ctest-vn1-vm1-57838552 to be up.. 2025-10-22 14:09:24,221 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 14:09:29,316 - DEBUG - VM is in ACTIVE state now 2025-10-22 14:09:29,316 - INFO - VM name : ctest-vn1-vm1-57838552 2025-10-22 14:09:29,401 - DEBUG - VM ctest-vn1-vm1-57838552 ID is 10f0bb2d-f533-496f-bd59-d26875ef44a0 2025-10-22 14:09:29,420 - DEBUG - VM ctest-vn1-vm1-57838552 launched on Node cn-jenkins-deploy-platform-ansible-os-4431-1 2025-10-22 14:09:29,494 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/10f0bb2d-f533-496f-bd59-d26875ef44a0 2025-10-22 14:09:29,502 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/540628d3-a6d9-42a4-bb34-67289db58607 2025-10-22 14:09:32,759 - 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 1022ms') 2025-10-22 14:09:32,759 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57838552 failed! 2025-10-22 14:09:32,814 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-04992847:ctest-vn1-69289718 is 47.205.98.193 and allocation pool is NOT set 2025-10-22 14:09:32,814 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-04992847:ctest-vn1-69289718 is 152.22.28.1 and allocation pool is NOT set 2025-10-22 14:09:36,892 - 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=3.30 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 3.300/3.300/3.300/0.000 ms') 2025-10-22 14:09:36,893 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57838552 passed 2025-10-22 14:09:37,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:09:37,046 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-57838552, IP 47.205.98.197, Port 22 2025-10-22 14:09:37,201 - DEBUG - VM ctest-vn1-vm1-57838552 is ready for SSH connections 2025-10-22 14:09:37,201 - INFO - Waiting for VM ctest-vn1-vm2-45728397 to be up.. 2025-10-22 14:09:37,281 - DEBUG - VM is in ACTIVE state now 2025-10-22 14:09:37,281 - INFO - VM name : ctest-vn1-vm2-45728397 2025-10-22 14:09:37,357 - DEBUG - VM ctest-vn1-vm2-45728397 ID is ab1a7110-6375-4588-a8f9-67c50cccc8f8 2025-10-22 14:09:37,358 - DEBUG - VM ctest-vn1-vm2-45728397 launched on Node cn-jenkins-deploy-platform-ansible-os-4431-1 2025-10-22 14:09:37,434 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/ab1a7110-6375-4588-a8f9-67c50cccc8f8 2025-10-22 14:09:37,443 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/a39c45eb-407c-4e37-bbbd-5fa99abb8ec0 2025-10-22 14:09:38,679 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.390 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.390/1.758/3.127/1.368 ms') 2025-10-22 14:09:38,680 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-45728397 passed 2025-10-22 14:09:38,830 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:09:38,830 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-45728397, IP 152.22.28.5, Port 22 2025-10-22 14:09:38,995 - DEBUG - VM ctest-vn1-vm2-45728397 is ready for SSH connections 2025-10-22 14:09:38,995 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:09:38,996 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:09:38,996 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:09:38,996 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.205.98.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-22 14:09:38,996 - DEBUG - ping -s 56 -c 3 -W 1 47.205.98.197 2025-10-22 14:09:41,697 - DEBUG - PING 47.205.98.197 (47.205.98.197): 56 data bytes 64 bytes from 47.205.98.197: seq=0 ttl=63 time=3.780 ms 64 bytes from 47.205.98.197: seq=1 ttl=63 time=0.959 ms 64 bytes from 47.205.98.197: seq=2 ttl=63 time=0.806 ms --- 47.205.98.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.806/1.848/3.780 ms 2025-10-22 14:09:41,698 - INFO - Ping to IP 47.205.98.197 from VM ctest-vn1-vm2-45728397 passed 2025-10-22 14:09:41,698 - INFO - Detaching port a39c45eb-407c-4e37-bbbd-5fa99abb8ec0 from VM ctest-vn1-vm2-45728397 2025-10-22 14:09:41,748 - INFO - Deleting VM ctest-vn1-vm2-45728397 2025-10-22 14:09:41,817 - INFO - Detaching port 540628d3-a6d9-42a4-bb34-67289db58607 from VM ctest-vn1-vm1-57838552 2025-10-22 14:09:41,852 - INFO - Deleting VM ctest-vn1-vm1-57838552 2025-10-22 14:09:42,114 - DEBUG - Response for delete_port : () 2025-10-22 14:09:42,293 - DEBUG - Response for delete_port : () 2025-10-22 14:09:42,293 - INFO - Deleting VN ctest-vn1-69289718 2025-10-22 14:09:42,438 - DEBUG - Response for deleting network () 2025-10-22 14:09:42,700 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 14:09:42,700 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-10-22 14:09:42,700 - INFO - -------------------------------------------------------------------------------- 2025-10-22 14:09:43,393 - INFO - Deleted project: ctest-TestPorts-04992847, ID : 5eec9412-79cc-40b5-9ff9-784af7c403a7