2025-07-28 02:18:29,258 - INFO - Domain Default found not creating 2025-07-28 02:18:29,412 - INFO - Project ctest-TestPorts-02283919 not found, creating it 2025-07-28 02:18:29,886 - INFO - Created Project:ctest-TestPorts-02283919, ID : c09e1249-850b-4868-8508-2d79f03d4cfb 2025-07-28 02:18:31,430 - INFO - ================================================================================ 2025-07-28 02:18:31,430 - INFO - STARTING TEST : test_ports_bindings 2025-07-28 02:18:31,430 - 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-28 02:18:31,686 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-28 02:18:31,686 - INFO - Initial checks done. Running the testcase now 2025-07-28 02:18:31,686 - INFO - 2025-07-28 02:18:32,236 - DEBUG - Response for create_network : {'network': {'id': '66a03eb7-99ae-4ead-9d58-a46c4834e176', 'name': 'ctest-vn-79558356', 'tenant_id': 'c09e1249850b486885082d79f03d4cfb', 'project_id': 'c09e1249850b486885082d79f03d4cfb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-02283919', 'ctest-vn-79558356'], 'port_security_enabled': True, 'description': ''}} 2025-07-28 02:18:32,426 - DEBUG - Response for create_subnet : {'subnet': {'id': '79c7fe23-cdc6-408e-a1b5-07af1aa4330c', 'name': '', 'tenant_id': 'c09e1249850b486885082d79f03d4cfb', 'network_id': '66a03eb7-99ae-4ead-9d58-a46c4834e176', 'ip_version': 4, 'cidr': '63.212.246.64/26', 'allocation_pools': [{'start': '63.212.246.66', 'end': '63.212.246.126'}], 'gateway_ip': '63.212.246.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.212.246.66', 'tags': [], 'project_id': 'c09e1249850b486885082d79f03d4cfb'}} 2025-07-28 02:18:32,448 - INFO - Created VN ctest-vn-79558356 2025-07-28 02:18:32,507 - DEBUG - VN ctest-vn-79558356 UUID is 66a03eb7-99ae-4ead-9d58-a46c4834e176 2025-07-28 02:18:32,617 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-02283919', 'ctest-vmi-13848478']} 2025-07-28 02:18:32,890 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-13848478', 'id': '57372460-d97a-4672-b885-0b567ac086f1', 'tenant_id': 'c09e1249850b486885082d79f03d4cfb', 'network_id': '66a03eb7-99ae-4ead-9d58-a46c4834e176', 'mac_address': '02:57:37:24:60:d9', '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': '63.212.246.67', 'subnet_id': '79c7fe23-cdc6-408e-a1b5-07af1aa4330c'}], 'security_groups': ['1cf48d70-c40f-4c46-8723-ad23fd259ba5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c09e1249850b486885082d79f03d4cfb'}} 2025-07-28 02:18:32,890 - DEBUG - Created port 57372460-d97a-4672-b885-0b567ac086f1 2025-07-28 02:18:32,999 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/57372460-d97a-4672-b885-0b567ac086f1 2025-07-28 02:18:33,298 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/57372460-d97a-4672-b885-0b567ac086f1 2025-07-28 02:18:33,333 - INFO - VMI 57372460-d97a-4672-b885-0b567ac086f1 verification in API Server passed 2025-07-28 02:18:33,426 - DEBUG - Response for delete_port : () 2025-07-28 02:18:33,426 - INFO - Deleted port 57372460-d97a-4672-b885-0b567ac086f1 2025-07-28 02:18:33,426 - INFO - Deleting VN ctest-vn-79558356 2025-07-28 02:18:33,536 - DEBUG - Response for deleting network () 2025-07-28 02:18:33,793 - DEBUG - No XMPP flaps were noticed during the test
2025-07-28 02:18:33,793 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-07-28 02:18:33,793 - INFO - -------------------------------------------------------------------------------- 2025-07-28 02:18:33,796 - INFO - ================================================================================ 2025-07-28 02:18:33,796 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-07-28 02:18:33,796 - 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-28 02:18:34,085 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-28 02:18:34,085 - INFO - Initial checks done. Running the testcase now 2025-07-28 02:18:34,085 - INFO - 2025-07-28 02:18:34,264 - DEBUG - Response for create_network : {'network': {'id': '1fcfe7fd-70ae-4e03-a356-ce5b6efb07e0', 'name': 'ctest-vn1-94133972', 'tenant_id': 'c09e1249850b486885082d79f03d4cfb', 'project_id': 'c09e1249850b486885082d79f03d4cfb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-02283919', 'ctest-vn1-94133972'], 'port_security_enabled': True, 'description': ''}} 2025-07-28 02:18:34,432 - DEBUG - Response for create_subnet : {'subnet': {'id': '00c5ebe9-2f8b-4245-993e-6517db94e655', 'name': '', 'tenant_id': 'c09e1249850b486885082d79f03d4cfb', 'network_id': '1fcfe7fd-70ae-4e03-a356-ce5b6efb07e0', 'ip_version': 4, 'cidr': '168.206.15.0/26', 'allocation_pools': [{'start': '168.206.15.2', 'end': '168.206.15.62'}], 'gateway_ip': '168.206.15.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.206.15.2', 'tags': [], 'project_id': 'c09e1249850b486885082d79f03d4cfb'}} 2025-07-28 02:18:34,608 - DEBUG - Response for create_subnet : {'subnet': {'id': '687344ab-7c21-4407-b0b8-7f4f21737be5', 'name': '', 'tenant_id': 'c09e1249850b486885082d79f03d4cfb', 'network_id': '1fcfe7fd-70ae-4e03-a356-ce5b6efb07e0', 'ip_version': 4, 'cidr': '217.2.127.64/26', 'allocation_pools': [{'start': '217.2.127.66', 'end': '217.2.127.126'}], 'gateway_ip': '217.2.127.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.2.127.66', 'tags': [], 'project_id': 'c09e1249850b486885082d79f03d4cfb'}} 2025-07-28 02:18:34,628 - INFO - Created VN ctest-vn1-94133972 2025-07-28 02:18:34,683 - DEBUG - VN ctest-vn1-94133972 UUID is 1fcfe7fd-70ae-4e03-a356-ce5b6efb07e0 2025-07-28 02:18:35,029 - DEBUG - Response for create_port : {'port': {'name': '9eedbfea-eeea-4cef-90d4-860c62060a8c', 'id': '9eedbfea-eeea-4cef-90d4-860c62060a8c', 'tenant_id': 'c09e1249850b486885082d79f03d4cfb', 'network_id': '1fcfe7fd-70ae-4e03-a356-ce5b6efb07e0', 'mac_address': '02:9e:ed:bf:ea:ee', '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': '168.206.15.5', 'subnet_id': '00c5ebe9-2f8b-4245-993e-6517db94e655'}], 'security_groups': ['1cf48d70-c40f-4c46-8723-ad23fd259ba5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c09e1249850b486885082d79f03d4cfb'}} 2025-07-28 02:18:35,222 - DEBUG - Response for create_port : {'port': {'name': '51c1309a-a7f5-4541-8958-bdac5eca30b3', 'id': '51c1309a-a7f5-4541-8958-bdac5eca30b3', 'tenant_id': 'c09e1249850b486885082d79f03d4cfb', 'network_id': '1fcfe7fd-70ae-4e03-a356-ce5b6efb07e0', 'mac_address': '02:51:c1:30:9a:a7', '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': '217.2.127.69', 'subnet_id': '687344ab-7c21-4407-b0b8-7f4f21737be5'}], 'security_groups': ['1cf48d70-c40f-4c46-8723-ad23fd259ba5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c09e1249850b486885082d79f03d4cfb'}} 2025-07-28 02:18:35,280 - DEBUG - Services list from nova: [, , ] 2025-07-28 02:18:35,604 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3716-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3716-1) 2025-07-28 02:18:35,990 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3716-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3716-1) 2025-07-28 02:18:35,990 - INFO - Waiting for VM ctest-vn1-vm1-46708356 to be up.. 2025-07-28 02:18:36,029 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-28 02:18:41,120 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-28 02:18:46,196 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-28 02:18:51,272 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-28 02:18:56,364 - DEBUG - VM is in ACTIVE state now 2025-07-28 02:18:56,364 - INFO - VM name : ctest-vn1-vm1-46708356 2025-07-28 02:18:56,444 - DEBUG - VM ctest-vn1-vm1-46708356 ID is c1ca16b1-e8e2-494b-8059-b0c789552e02 2025-07-28 02:18:56,461 - DEBUG - VM ctest-vn1-vm1-46708356 launched on Node cn-jenkins-deploy-platform-ansible-os-3716-1 2025-07-28 02:18:56,534 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c1ca16b1-e8e2-494b-8059-b0c789552e02 2025-07-28 02:18:56,545 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9eedbfea-eeea-4cef-90d4-860c62060a8c 2025-07-28 02:18:59,791 - 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 1006ms') 2025-07-28 02:18:59,792 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-46708356 failed! 2025-07-28 02:18:59,851 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-02283919:ctest-vn1-94133972 is 168.206.15.1 and allocation pool is NOT set 2025-07-28 02:18:59,851 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-02283919:ctest-vn1-94133972 is 217.2.127.65 and allocation pool is NOT set 2025-07-28 02:19:03,915 - 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 1007ms') 2025-07-28 02:19:03,915 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-46708356 failed! 2025-07-28 02:19:03,971 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-02283919:ctest-vn1-94133972 is 168.206.15.1 and allocation pool is NOT set 2025-07-28 02:19:03,971 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-02283919:ctest-vn1-94133972 is 217.2.127.65 and allocation pool is NOT set 2025-07-28 02:19:06,036 - 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=3.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.562 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.562/2.063/3.565/1.501 ms') 2025-07-28 02:19:06,036 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-46708356 passed 2025-07-28 02:19:06,151 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:19:06,151 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-46708356, IP 168.206.15.5, Port 22 2025-07-28 02:19:06,306 - DEBUG - VM ctest-vn1-vm1-46708356 is ready for SSH connections 2025-07-28 02:19:06,306 - INFO - Waiting for VM ctest-vn1-vm2-17478172 to be up.. 2025-07-28 02:19:06,386 - DEBUG - VM is in ACTIVE state now 2025-07-28 02:19:06,386 - INFO - VM name : ctest-vn1-vm2-17478172 2025-07-28 02:19:06,459 - DEBUG - VM ctest-vn1-vm2-17478172 ID is b7888527-b12c-4830-a319-fa9eb89f3061 2025-07-28 02:19:06,459 - DEBUG - VM ctest-vn1-vm2-17478172 launched on Node cn-jenkins-deploy-platform-ansible-os-3716-1 2025-07-28 02:19:06,537 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b7888527-b12c-4830-a319-fa9eb89f3061 2025-07-28 02:19:06,546 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/51c1309a-a7f5-4541-8958-bdac5eca30b3 2025-07-28 02:19:07,803 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.409 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.409/2.001/3.593/1.592 ms') 2025-07-28 02:19:07,803 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-17478172 passed 2025-07-28 02:19:07,955 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:19:07,955 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-17478172, IP 217.2.127.69, Port 22 2025-07-28 02:19:08,123 - DEBUG - VM ctest-vn1-vm2-17478172 is ready for SSH connections 2025-07-28 02:19:08,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:19:08,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:19:08,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:19:08,123 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.206.15.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-28 02:19:08,123 - DEBUG - ping -s 56 -c 3 -W 1 168.206.15.5 2025-07-28 02:19:10,815 - DEBUG - PING 168.206.15.5 (168.206.15.5): 56 data bytes 64 bytes from 168.206.15.5: seq=0 ttl=63 time=5.248 ms 64 bytes from 168.206.15.5: seq=1 ttl=63 time=1.175 ms 64 bytes from 168.206.15.5: seq=2 ttl=63 time=1.062 ms --- 168.206.15.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.062/2.495/5.248 ms 2025-07-28 02:19:10,815 - INFO - Ping to IP 168.206.15.5 from VM ctest-vn1-vm2-17478172 passed 2025-07-28 02:19:10,815 - INFO - Detaching port 51c1309a-a7f5-4541-8958-bdac5eca30b3 from VM ctest-vn1-vm2-17478172 2025-07-28 02:19:10,868 - INFO - Deleting VM ctest-vn1-vm2-17478172 2025-07-28 02:19:10,940 - INFO - Detaching port 9eedbfea-eeea-4cef-90d4-860c62060a8c from VM ctest-vn1-vm1-46708356 2025-07-28 02:19:10,986 - INFO - Deleting VM ctest-vn1-vm1-46708356 2025-07-28 02:19:11,287 - DEBUG - Response for delete_port : () 2025-07-28 02:19:11,479 - DEBUG - Response for delete_port : () 2025-07-28 02:19:11,479 - INFO - Deleting VN ctest-vn1-94133972 2025-07-28 02:19:11,630 - DEBUG - Response for deleting network () 2025-07-28 02:19:11,894 - DEBUG - No XMPP flaps were noticed during the test
2025-07-28 02:19:11,894 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:38]
2025-07-28 02:19:11,895 - INFO - -------------------------------------------------------------------------------- 2025-07-28 02:19:12,631 - INFO - Deleted project: ctest-TestPorts-02283919, ID : c09e1249-850b-4868-8508-2d79f03d4cfb