2025-08-14 09:57:25,607 - INFO - Domain Default found not creating 2025-08-14 09:57:25,736 - INFO - Project ctest-TestPorts-12547895 not found, creating it 2025-08-14 09:57:26,165 - INFO - Created Project:ctest-TestPorts-12547895, ID : a4e5e8b7-c219-4a65-8c95-d836927a27eb 2025-08-14 09:57:27,644 - INFO - ================================================================================ 2025-08-14 09:57:27,644 - INFO - STARTING TEST : test_ports_bindings 2025-08-14 09:57:27,644 - 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-14 09:57:27,904 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-14 09:57:27,904 - INFO - Initial checks done. Running the testcase now 2025-08-14 09:57:27,904 - INFO - 2025-08-14 09:57:28,421 - DEBUG - Response for create_network : {'network': {'id': '8482d2f3-af42-4433-a6d8-4b0c13b99f05', 'name': 'ctest-vn-30574919', 'tenant_id': 'a4e5e8b7c2194a658c95d836927a27eb', 'project_id': 'a4e5e8b7c2194a658c95d836927a27eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-12547895', 'ctest-vn-30574919'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 09:57:28,650 - DEBUG - Response for create_subnet : {'subnet': {'id': '07d3b02f-1b96-46f9-8c55-7ad8afa488c7', 'name': '', 'tenant_id': 'a4e5e8b7c2194a658c95d836927a27eb', 'network_id': '8482d2f3-af42-4433-a6d8-4b0c13b99f05', 'ip_version': 4, 'cidr': '106.183.242.192/26', 'allocation_pools': [{'start': '106.183.242.194', 'end': '106.183.242.254'}], 'gateway_ip': '106.183.242.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.183.242.194', 'tags': [], 'project_id': 'a4e5e8b7c2194a658c95d836927a27eb'}} 2025-08-14 09:57:28,666 - INFO - Created VN ctest-vn-30574919 2025-08-14 09:57:28,719 - DEBUG - VN ctest-vn-30574919 UUID is 8482d2f3-af42-4433-a6d8-4b0c13b99f05 2025-08-14 09:57:28,826 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-12547895', 'ctest-vmi-05091943']} 2025-08-14 09:57:29,089 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-05091943', 'id': 'ea8dd928-c4ab-4327-937e-b736edad9ded', 'tenant_id': 'a4e5e8b7c2194a658c95d836927a27eb', 'network_id': '8482d2f3-af42-4433-a6d8-4b0c13b99f05', 'mac_address': '02:ea:8d:d9:28:c4', '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': '106.183.242.195', 'subnet_id': '07d3b02f-1b96-46f9-8c55-7ad8afa488c7'}], 'security_groups': ['f79c42fc-c0fb-4f7a-9ba2-2e1c28cda3a4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a4e5e8b7c2194a658c95d836927a27eb'}} 2025-08-14 09:57:29,090 - DEBUG - Created port ea8dd928-c4ab-4327-937e-b736edad9ded 2025-08-14 09:57:29,199 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ea8dd928-c4ab-4327-937e-b736edad9ded 2025-08-14 09:57:29,489 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ea8dd928-c4ab-4327-937e-b736edad9ded 2025-08-14 09:57:29,521 - INFO - VMI ea8dd928-c4ab-4327-937e-b736edad9ded verification in API Server passed 2025-08-14 09:57:29,616 - DEBUG - Response for delete_port : () 2025-08-14 09:57:29,616 - INFO - Deleted port ea8dd928-c4ab-4327-937e-b736edad9ded 2025-08-14 09:57:29,616 - INFO - Deleting VN ctest-vn-30574919 2025-08-14 09:57:29,714 - DEBUG - Response for deleting network () 2025-08-14 09:57:29,968 - DEBUG - No XMPP flaps were noticed during the test 2025-08-14 09:57:29,968 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-14 09:57:29,968 - INFO - -------------------------------------------------------------------------------- 2025-08-14 09:57:29,970 - INFO - ================================================================================ 2025-08-14 09:57:29,970 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-14 09:57:29,970 - 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-14 09:57:30,272 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-14 09:57:30,272 - INFO - Initial checks done. Running the testcase now 2025-08-14 09:57:30,272 - INFO - 2025-08-14 09:57:30,429 - DEBUG - Response for create_network : {'network': {'id': 'f7155cb1-c430-47ad-bb8a-b2f01ad82cad', 'name': 'ctest-vn1-83510875', 'tenant_id': 'a4e5e8b7c2194a658c95d836927a27eb', 'project_id': 'a4e5e8b7c2194a658c95d836927a27eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-12547895', 'ctest-vn1-83510875'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 09:57:30,594 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ce30cd6e-c482-45ef-8403-50c64092c321', 'name': '', 'tenant_id': 'a4e5e8b7c2194a658c95d836927a27eb', 'network_id': 'f7155cb1-c430-47ad-bb8a-b2f01ad82cad', 'ip_version': 4, 'cidr': '195.90.157.0/26', 'allocation_pools': [{'start': '195.90.157.2', 'end': '195.90.157.62'}], 'gateway_ip': '195.90.157.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.90.157.2', 'tags': [], 'project_id': 'a4e5e8b7c2194a658c95d836927a27eb'}} 2025-08-14 09:57:30,790 - DEBUG - Response for create_subnet : {'subnet': {'id': '3302fd7a-3844-448e-ac94-ba934c82c385', 'name': '', 'tenant_id': 'a4e5e8b7c2194a658c95d836927a27eb', 'network_id': 'f7155cb1-c430-47ad-bb8a-b2f01ad82cad', 'ip_version': 4, 'cidr': '178.69.197.64/26', 'allocation_pools': [{'start': '178.69.197.66', 'end': '178.69.197.126'}], 'gateway_ip': '178.69.197.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.69.197.66', 'tags': [], 'project_id': 'a4e5e8b7c2194a658c95d836927a27eb'}} 2025-08-14 09:57:30,808 - INFO - Created VN ctest-vn1-83510875 2025-08-14 09:57:30,859 - DEBUG - VN ctest-vn1-83510875 UUID is f7155cb1-c430-47ad-bb8a-b2f01ad82cad 2025-08-14 09:57:31,167 - DEBUG - Response for create_port : {'port': {'name': '7ae030bb-8160-4cc0-b90c-98e0e476bee7', 'id': '7ae030bb-8160-4cc0-b90c-98e0e476bee7', 'tenant_id': 'a4e5e8b7c2194a658c95d836927a27eb', 'network_id': 'f7155cb1-c430-47ad-bb8a-b2f01ad82cad', 'mac_address': '02:7a:e0:30:bb:81', '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': '195.90.157.5', 'subnet_id': 'ce30cd6e-c482-45ef-8403-50c64092c321'}], 'security_groups': ['f79c42fc-c0fb-4f7a-9ba2-2e1c28cda3a4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a4e5e8b7c2194a658c95d836927a27eb'}} 2025-08-14 09:57:31,340 - DEBUG - Response for create_port : {'port': {'name': 'ebdd4329-f20f-45a5-a4a4-27fade90671a', 'id': 'ebdd4329-f20f-45a5-a4a4-27fade90671a', 'tenant_id': 'a4e5e8b7c2194a658c95d836927a27eb', 'network_id': 'f7155cb1-c430-47ad-bb8a-b2f01ad82cad', 'mac_address': '02:eb:dd:43:29:f2', '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': '178.69.197.69', 'subnet_id': '3302fd7a-3844-448e-ac94-ba934c82c385'}], 'security_groups': ['f79c42fc-c0fb-4f7a-9ba2-2e1c28cda3a4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a4e5e8b7c2194a658c95d836927a27eb'}} 2025-08-14 09:57:31,395 - DEBUG - Services list from nova: [, , ] 2025-08-14 09:57:31,690 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3853-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3853-1) 2025-08-14 09:57:32,023 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3853-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3853-1) 2025-08-14 09:57:32,023 - INFO - Waiting for VM ctest-vn1-vm1-12117919 to be up.. 2025-08-14 09:57:32,057 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 09:57:37,127 - DEBUG - VM is in ACTIVE state now 2025-08-14 09:57:37,128 - INFO - VM name : ctest-vn1-vm1-12117919 2025-08-14 09:57:37,202 - DEBUG - VM ctest-vn1-vm1-12117919 ID is 08df58a6-296c-4af8-9937-a1ba335e30c9 2025-08-14 09:57:37,225 - DEBUG - VM ctest-vn1-vm1-12117919 launched on Node cn-jenkins-deploy-platform-ansible-os-3853-1 2025-08-14 09:57:37,302 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/08df58a6-296c-4af8-9937-a1ba335e30c9 2025-08-14 09:57:37,311 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7ae030bb-8160-4cc0-b90c-98e0e476bee7 2025-08-14 09:57:40,579 - 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 1027ms') 2025-08-14 09:57:40,579 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12117919 failed! 2025-08-14 09:57:40,635 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-12547895:ctest-vn1-83510875 is 195.90.157.1 and allocation pool is NOT set 2025-08-14 09:57:40,635 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-12547895:ctest-vn1-83510875 is 178.69.197.65 and allocation pool is NOT set 2025-08-14 09:57:42,695 - 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=5.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.75 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 = 1.749/3.372/4.996/1.623 ms') 2025-08-14 09:57:42,695 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12117919 passed 2025-08-14 09:57:42,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 09:57:42,851 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-12117919, IP 195.90.157.5, Port 22 2025-08-14 09:57:43,017 - DEBUG - VM ctest-vn1-vm1-12117919 is ready for SSH connections 2025-08-14 09:57:43,017 - INFO - Waiting for VM ctest-vn1-vm2-15669028 to be up.. 2025-08-14 09:57:43,094 - DEBUG - VM is in ACTIVE state now 2025-08-14 09:57:43,094 - INFO - VM name : ctest-vn1-vm2-15669028 2025-08-14 09:57:43,161 - DEBUG - VM ctest-vn1-vm2-15669028 ID is ef3a2f01-534c-4cf1-9c05-69905b273c90 2025-08-14 09:57:43,161 - DEBUG - VM ctest-vn1-vm2-15669028 launched on Node cn-jenkins-deploy-platform-ansible-os-3853-1 2025-08-14 09:57:43,349 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ef3a2f01-534c-4cf1-9c05-69905b273c90 2025-08-14 09:57:43,357 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ebdd4329-f20f-45a5-a4a4-27fade90671a 2025-08-14 09:57:44,596 - 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=2.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.376 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.376/1.467/2.559/1.091 ms') 2025-08-14 09:57:44,596 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-15669028 passed 2025-08-14 09:57:44,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 09:57:44,747 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-15669028, IP 178.69.197.69, Port 22 2025-08-14 09:57:44,902 - DEBUG - VM ctest-vn1-vm2-15669028 is ready for SSH connections 2025-08-14 09:57:44,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 09:57:44,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 09:57:44,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 09:57:44,902 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.90.157.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-14 09:57:44,903 - DEBUG - ping -s 56 -c 3 -W 1 195.90.157.5 2025-08-14 09:57:47,802 - DEBUG - PING 195.90.157.5 (195.90.157.5): 56 data bytes 64 bytes from 195.90.157.5: seq=0 ttl=63 time=4.021 ms 64 bytes from 195.90.157.5: seq=1 ttl=63 time=0.717 ms 64 bytes from 195.90.157.5: seq=2 ttl=63 time=1.139 ms --- 195.90.157.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.717/1.959/4.021 ms 2025-08-14 09:57:47,802 - INFO - Ping to IP 195.90.157.5 from VM ctest-vn1-vm2-15669028 passed 2025-08-14 09:57:47,802 - INFO - Detaching port ebdd4329-f20f-45a5-a4a4-27fade90671a from VM ctest-vn1-vm2-15669028 2025-08-14 09:57:47,853 - INFO - Deleting VM ctest-vn1-vm2-15669028 2025-08-14 09:57:47,926 - INFO - Detaching port 7ae030bb-8160-4cc0-b90c-98e0e476bee7 from VM ctest-vn1-vm1-12117919 2025-08-14 09:57:47,955 - INFO - Deleting VM ctest-vn1-vm1-12117919 2025-08-14 09:57:48,165 - DEBUG - Response for delete_port : () 2025-08-14 09:57:48,324 - DEBUG - Response for delete_port : () 2025-08-14 09:57:48,325 - INFO - Deleting VN ctest-vn1-83510875 2025-08-14 09:57:48,452 - DEBUG - Response for deleting network () 2025-08-14 09:57:48,716 - DEBUG - No XMPP flaps were noticed during the test 2025-08-14 09:57:48,716 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19] 2025-08-14 09:57:48,716 - INFO - -------------------------------------------------------------------------------- 2025-08-14 09:57:49,356 - INFO - Deleted project: ctest-TestPorts-12547895, ID : a4e5e8b7-c219-4a65-8c95-d836927a27eb