2025-09-18 02:08:26,500 - INFO - Domain Default found not creating 2025-09-18 02:08:26,664 - INFO - Project ctest-TestPorts-94247843 not found, creating it 2025-09-18 02:08:27,212 - INFO - Created Project:ctest-TestPorts-94247843, ID : 85b0ae88-2853-4bc0-9295-c3488cfb638a 2025-09-18 02:08:29,054 - INFO - ================================================================================ 2025-09-18 02:08:29,054 - INFO - STARTING TEST : test_ports_bindings 2025-09-18 02:08:29,054 - 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-09-18 02:08:30,323 - DEBUG - Nothing to compare xmpp stats {'10.0.0.61': {'10.20.0.17': '0', '10.20.0.25': '0'}, '10.0.0.27': {'10.20.0.17': '0', '10.20.0.25': '0'}} with 2025-09-18 02:08:30,323 - INFO - Initial checks done. Running the testcase now 2025-09-18 02:08:30,323 - INFO - 2025-09-18 02:08:31,085 - DEBUG - Response for create_network : {'network': {'id': 'e73f8929-94d8-4af7-a006-a068bf452ba6', 'name': 'ctest-vn-34057679', 'tenant_id': '85b0ae8828534bc09295c3488cfb638a', 'project_id': '85b0ae8828534bc09295c3488cfb638a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94247843', 'ctest-vn-34057679'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 02:08:31,390 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b033f5db-731d-4e5f-bdf7-ccb7cbd24d93', 'name': '', 'tenant_id': '85b0ae8828534bc09295c3488cfb638a', 'network_id': 'e73f8929-94d8-4af7-a006-a068bf452ba6', 'ip_version': 4, 'cidr': '54.253.48.128/26', 'allocation_pools': [{'start': '54.253.48.130', 'end': '54.253.48.190'}], 'gateway_ip': '54.253.48.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.253.48.130', 'tags': [], 'project_id': '85b0ae8828534bc09295c3488cfb638a'}} 2025-09-18 02:08:31,416 - INFO - Created VN ctest-vn-34057679 2025-09-18 02:08:31,427 - DEBUG - VN ctest-vn-34057679 UUID is e73f8929-94d8-4af7-a006-a068bf452ba6 2025-09-18 02:08:31,504 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-94247843', 'ctest-vmi-81529009']} 2025-09-18 02:08:31,852 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-81529009', 'id': '4b60c1f0-7886-4550-b0cb-626b80979432', 'tenant_id': '85b0ae8828534bc09295c3488cfb638a', 'network_id': 'e73f8929-94d8-4af7-a006-a068bf452ba6', 'mac_address': '02:4b:60:c1:f0:78', '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': '54.253.48.131', 'subnet_id': 'b033f5db-731d-4e5f-bdf7-ccb7cbd24d93'}], 'security_groups': ['86cdb706-e232-424a-9eb3-2d907ed076af'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '85b0ae8828534bc09295c3488cfb638a'}} 2025-09-18 02:08:31,852 - DEBUG - Created port 4b60c1f0-7886-4550-b0cb-626b80979432 2025-09-18 02:08:31,926 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/4b60c1f0-7886-4550-b0cb-626b80979432 2025-09-18 02:08:32,303 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/4b60c1f0-7886-4550-b0cb-626b80979432 2025-09-18 02:08:32,345 - INFO - VMI 4b60c1f0-7886-4550-b0cb-626b80979432 verification in API Server passed 2025-09-18 02:08:32,515 - DEBUG - Response for delete_port : () 2025-09-18 02:08:32,515 - INFO - Deleted port 4b60c1f0-7886-4550-b0cb-626b80979432 2025-09-18 02:08:32,516 - INFO - Deleting VN ctest-vn-34057679 2025-09-18 02:08:32,691 - DEBUG - Response for deleting network () 2025-09-18 02:08:33,961 - DEBUG - No XMPP flaps were noticed during the test
2025-09-18 02:08:33,961 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04]
2025-09-18 02:08:33,961 - INFO - -------------------------------------------------------------------------------- 2025-09-18 02:08:33,965 - INFO - ================================================================================ 2025-09-18 02:08:33,965 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-18 02:08:33,966 - 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-09-18 02:08:35,221 - DEBUG - Nothing to compare xmpp stats {'10.0.0.61': {'10.20.0.17': '0', '10.20.0.25': '0'}, '10.0.0.27': {'10.20.0.17': '0', '10.20.0.25': '0'}} with 2025-09-18 02:08:35,221 - INFO - Initial checks done. Running the testcase now 2025-09-18 02:08:35,222 - INFO - 2025-09-18 02:08:35,502 - DEBUG - Response for create_network : {'network': {'id': '2fe7d0ea-d5ee-43bd-b88c-e14e006b7573', 'name': 'ctest-vn1-97340565', 'tenant_id': '85b0ae8828534bc09295c3488cfb638a', 'project_id': '85b0ae8828534bc09295c3488cfb638a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94247843', 'ctest-vn1-97340565'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 02:08:35,754 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cba994be-8429-490d-8204-31324c874e9c', 'name': '', 'tenant_id': '85b0ae8828534bc09295c3488cfb638a', 'network_id': '2fe7d0ea-d5ee-43bd-b88c-e14e006b7573', 'ip_version': 4, 'cidr': '93.37.241.128/26', 'allocation_pools': [{'start': '93.37.241.130', 'end': '93.37.241.190'}], 'gateway_ip': '93.37.241.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.37.241.130', 'tags': [], 'project_id': '85b0ae8828534bc09295c3488cfb638a'}} 2025-09-18 02:08:36,004 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e297abb-bec7-4edf-82b4-e743e3bce6f2', 'name': '', 'tenant_id': '85b0ae8828534bc09295c3488cfb638a', 'network_id': '2fe7d0ea-d5ee-43bd-b88c-e14e006b7573', 'ip_version': 4, 'cidr': '11.99.56.192/26', 'allocation_pools': [{'start': '11.99.56.194', 'end': '11.99.56.254'}], 'gateway_ip': '11.99.56.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.99.56.194', 'tags': [], 'project_id': '85b0ae8828534bc09295c3488cfb638a'}} 2025-09-18 02:08:36,046 - INFO - Created VN ctest-vn1-97340565 2025-09-18 02:08:36,075 - DEBUG - VN ctest-vn1-97340565 UUID is 2fe7d0ea-d5ee-43bd-b88c-e14e006b7573 2025-09-18 02:08:36,453 - DEBUG - Response for create_port : {'port': {'name': '316fddc1-8add-4158-9a1f-5404234ed420', 'id': '316fddc1-8add-4158-9a1f-5404234ed420', 'tenant_id': '85b0ae8828534bc09295c3488cfb638a', 'network_id': '2fe7d0ea-d5ee-43bd-b88c-e14e006b7573', 'mac_address': '02:31:6f:dd:c1:8a', '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': '93.37.241.133', 'subnet_id': 'cba994be-8429-490d-8204-31324c874e9c'}], 'security_groups': ['86cdb706-e232-424a-9eb3-2d907ed076af'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '85b0ae8828534bc09295c3488cfb638a'}} 2025-09-18 02:08:36,751 - DEBUG - Response for create_port : {'port': {'name': '98b26f9b-55c7-47ca-8e35-bd69ccecfe66', 'id': '98b26f9b-55c7-47ca-8e35-bd69ccecfe66', 'tenant_id': '85b0ae8828534bc09295c3488cfb638a', 'network_id': '2fe7d0ea-d5ee-43bd-b88c-e14e006b7573', 'mac_address': '02:98:b2:6f:9b:55', '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': '11.99.56.197', 'subnet_id': '6e297abb-bec7-4edf-82b4-e743e3bce6f2'}], 'security_groups': ['86cdb706-e232-424a-9eb3-2d907ed076af'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '85b0ae8828534bc09295c3488cfb638a'}} 2025-09-18 02:08:36,815 - DEBUG - Services list from nova: [, , , ] 2025-09-18 02:08:37,293 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4130-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4130-1) 2025-09-18 02:08:37,789 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4130-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4130-2) 2025-09-18 02:08:37,789 - INFO - Waiting for VM ctest-vn1-vm1-93482216 to be up.. 2025-09-18 02:08:37,846 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 02:08:42,934 - DEBUG - VM is in ACTIVE state now 2025-09-18 02:08:42,934 - INFO - VM name : ctest-vn1-vm1-93482216 2025-09-18 02:08:43,031 - DEBUG - VM ctest-vn1-vm1-93482216 ID is d883509e-5d27-47ce-a19c-c6b4c87cd7d1 2025-09-18 02:08:43,068 - DEBUG - VM ctest-vn1-vm1-93482216 launched on Node an-jenkins-deploy-platform-ansible-os-4130-1 2025-09-18 02:08:43,158 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/d883509e-5d27-47ce-a19c-c6b4c87cd7d1 2025-09-18 02:08:43,520 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/d883509e-5d27-47ce-a19c-c6b4c87cd7d1 2025-09-18 02:08:43,555 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/316fddc1-8add-4158-9a1f-5404234ed420 2025-09-18 02:08:46,735 - 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-09-18 02:08:46,735 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-93482216 failed! 2025-09-18 02:08:46,749 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94247843:ctest-vn1-97340565 is 93.37.241.129 and allocation pool is NOT set 2025-09-18 02:08:46,749 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94247843:ctest-vn1-97340565 is 11.99.56.193 and allocation pool is NOT set 2025-09-18 02:08:48,811 - 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.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.321 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.321/2.091/3.861/1.770 ms') 2025-09-18 02:08:48,811 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-93482216 passed 2025-09-18 02:08:48,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 02:08:48,882 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-93482216, IP 93.37.241.133, Port 22 2025-09-18 02:08:49,048 - DEBUG - VM ctest-vn1-vm1-93482216 is ready for SSH connections 2025-09-18 02:08:49,048 - INFO - Waiting for VM ctest-vn1-vm2-35036821 to be up.. 2025-09-18 02:08:49,135 - DEBUG - VM is in ACTIVE state now 2025-09-18 02:08:49,135 - INFO - VM name : ctest-vn1-vm2-35036821 2025-09-18 02:08:49,222 - DEBUG - VM ctest-vn1-vm2-35036821 ID is 4e310fc2-0c59-4f72-9b8a-4880f94fd794 2025-09-18 02:08:49,222 - DEBUG - VM ctest-vn1-vm2-35036821 launched on Node an-jenkins-deploy-platform-ansible-os-4130-2 2025-09-18 02:08:49,307 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/4e310fc2-0c59-4f72-9b8a-4880f94fd794 2025-09-18 02:08:49,319 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/98b26f9b-55c7-47ca-8e35-bd69ccecfe66 2025-09-18 02:08:52,520 - 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 1031ms') 2025-09-18 02:08:52,520 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-35036821 failed! 2025-09-18 02:08:52,534 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94247843:ctest-vn1-97340565 is 93.37.241.129 and allocation pool is NOT set 2025-09-18 02:08:52,534 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94247843:ctest-vn1-97340565 is 11.99.56.193 and allocation pool is NOT set 2025-09-18 02:08:56,617 - 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-09-18 02:08:56,617 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-35036821 failed! 2025-09-18 02:08:56,631 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94247843:ctest-vn1-97340565 is 93.37.241.129 and allocation pool is NOT set 2025-09-18 02:08:56,631 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94247843:ctest-vn1-97340565 is 11.99.56.193 and allocation pool is NOT set 2025-09-18 02:09:00,716 - 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-09-18 02:09:00,717 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-35036821 failed! 2025-09-18 02:09:00,734 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94247843:ctest-vn1-97340565 is 93.37.241.129 and allocation pool is NOT set 2025-09-18 02:09:00,734 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94247843:ctest-vn1-97340565 is 11.99.56.193 and allocation pool is NOT set 2025-09-18 02:09:02,795 - 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.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.462 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.462/1.758/3.055/1.296 ms') 2025-09-18 02:09:02,795 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-35036821 passed 2025-09-18 02:09:02,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 02:09:02,866 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-35036821, IP 11.99.56.197, Port 22 2025-09-18 02:09:03,043 - DEBUG - VM ctest-vn1-vm2-35036821 is ready for SSH connections 2025-09-18 02:09:03,043 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 02:09:03,043 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 02:09:03,043 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 02:09:03,043 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.37.241.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-09-18 02:09:03,043 - DEBUG - ping -s 56 -c 3 -W 1 93.37.241.133 2025-09-18 02:09:06,120 - DEBUG - PING 93.37.241.133 (93.37.241.133): 56 data bytes 64 bytes from 93.37.241.133: seq=0 ttl=63 time=6.135 ms 64 bytes from 93.37.241.133: seq=1 ttl=63 time=1.236 ms 64 bytes from 93.37.241.133: seq=2 ttl=63 time=1.442 ms --- 93.37.241.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.236/2.937/6.135 ms 2025-09-18 02:09:06,120 - INFO - Ping to IP 93.37.241.133 from VM ctest-vn1-vm2-35036821 passed 2025-09-18 02:09:06,120 - INFO - Detaching port 98b26f9b-55c7-47ca-8e35-bd69ccecfe66 from VM ctest-vn1-vm2-35036821 2025-09-18 02:09:06,193 - INFO - Deleting VM ctest-vn1-vm2-35036821 2025-09-18 02:09:06,301 - INFO - Detaching port 316fddc1-8add-4158-9a1f-5404234ed420 from VM ctest-vn1-vm1-93482216 2025-09-18 02:09:06,344 - INFO - Deleting VM ctest-vn1-vm1-93482216 2025-09-18 02:09:06,700 - DEBUG - Response for delete_port : () 2025-09-18 02:09:06,972 - DEBUG - Response for delete_port : () 2025-09-18 02:09:06,972 - INFO - Deleting VN ctest-vn1-97340565 2025-09-18 02:09:07,447 - DEBUG - Response for deleting network () 2025-09-18 02:09:08,738 - DEBUG - No XMPP flaps were noticed during the test
2025-09-18 02:09:08,738 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:35]
2025-09-18 02:09:08,738 - INFO - -------------------------------------------------------------------------------- 2025-09-18 02:09:09,560 - INFO - Deleted project: ctest-TestPorts-94247843, ID : 85b0ae88-2853-4bc0-9295-c3488cfb638a