2025-07-25 02:26:37,395 - INFO - Domain Default found not creating 2025-07-25 02:26:37,552 - INFO - Project ctest-TestPorts-55673958 not found, creating it 2025-07-25 02:26:38,040 - INFO - Created Project:ctest-TestPorts-55673958, ID : 929240e6-df65-4d6f-88ca-3676ebf24c0d 2025-07-25 02:26:39,640 - INFO - ================================================================================ 2025-07-25 02:26:39,640 - INFO - STARTING TEST : test_ports_bindings 2025-07-25 02:26:39,640 - 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-25 02:26:39,897 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-25 02:26:39,897 - INFO - Initial checks done. Running the testcase now 2025-07-25 02:26:39,897 - INFO - 2025-07-25 02:26:40,523 - DEBUG - Response for create_network : {'network': {'id': 'a83a809e-10d7-45c5-9988-da75248e2438', 'name': 'ctest-vn-02982811', 'tenant_id': '929240e6df654d6f88ca3676ebf24c0d', 'project_id': '929240e6df654d6f88ca3676ebf24c0d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-55673958', 'ctest-vn-02982811'], 'port_security_enabled': True, 'description': ''}} 2025-07-25 02:26:40,753 - DEBUG - Response for create_subnet : {'subnet': {'id': '4919a97c-349d-4d86-820b-ac4a0ee2e15e', 'name': '', 'tenant_id': '929240e6df654d6f88ca3676ebf24c0d', 'network_id': 'a83a809e-10d7-45c5-9988-da75248e2438', 'ip_version': 4, 'cidr': '198.122.172.128/26', 'allocation_pools': [{'start': '198.122.172.130', 'end': '198.122.172.190'}], 'gateway_ip': '198.122.172.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.122.172.130', 'tags': [], 'project_id': '929240e6df654d6f88ca3676ebf24c0d'}} 2025-07-25 02:26:40,773 - INFO - Created VN ctest-vn-02982811 2025-07-25 02:26:40,827 - DEBUG - VN ctest-vn-02982811 UUID is a83a809e-10d7-45c5-9988-da75248e2438 2025-07-25 02:26:40,940 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-55673958', 'ctest-vmi-01725489']} 2025-07-25 02:26:41,196 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-01725489', 'id': '4e71ec66-9dc8-41e8-acf2-7224b2185a86', 'tenant_id': '929240e6df654d6f88ca3676ebf24c0d', 'network_id': 'a83a809e-10d7-45c5-9988-da75248e2438', 'mac_address': '02:4e:71:ec:66:9d', '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': '198.122.172.131', 'subnet_id': '4919a97c-349d-4d86-820b-ac4a0ee2e15e'}], 'security_groups': ['7bc9f1fa-2b75-4378-9250-ff915424baff'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '929240e6df654d6f88ca3676ebf24c0d'}} 2025-07-25 02:26:41,197 - DEBUG - Created port 4e71ec66-9dc8-41e8-acf2-7224b2185a86 2025-07-25 02:26:41,306 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4e71ec66-9dc8-41e8-acf2-7224b2185a86 2025-07-25 02:26:41,642 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4e71ec66-9dc8-41e8-acf2-7224b2185a86 2025-07-25 02:26:41,679 - INFO - VMI 4e71ec66-9dc8-41e8-acf2-7224b2185a86 verification in API Server passed 2025-07-25 02:26:41,783 - DEBUG - Response for delete_port : () 2025-07-25 02:26:41,783 - INFO - Deleted port 4e71ec66-9dc8-41e8-acf2-7224b2185a86 2025-07-25 02:26:41,783 - INFO - Deleting VN ctest-vn-02982811 2025-07-25 02:26:41,899 - DEBUG - Response for deleting network () 2025-07-25 02:26:42,157 - DEBUG - No XMPP flaps were noticed during the test
2025-07-25 02:26:42,157 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-07-25 02:26:42,157 - INFO - -------------------------------------------------------------------------------- 2025-07-25 02:26:42,161 - INFO - ================================================================================ 2025-07-25 02:26:42,161 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-07-25 02:26:42,161 - 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-25 02:26:42,449 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-25 02:26:42,449 - INFO - Initial checks done. Running the testcase now 2025-07-25 02:26:42,449 - INFO - 2025-07-25 02:26:42,649 - DEBUG - Response for create_network : {'network': {'id': '38c50bd9-5d65-4938-aaf2-cc646df0f9a1', 'name': 'ctest-vn1-52059651', 'tenant_id': '929240e6df654d6f88ca3676ebf24c0d', 'project_id': '929240e6df654d6f88ca3676ebf24c0d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-55673958', 'ctest-vn1-52059651'], 'port_security_enabled': True, 'description': ''}} 2025-07-25 02:26:42,851 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e90202b5-e362-4eee-a760-4854aa40b6ff', 'name': '', 'tenant_id': '929240e6df654d6f88ca3676ebf24c0d', 'network_id': '38c50bd9-5d65-4938-aaf2-cc646df0f9a1', 'ip_version': 4, 'cidr': '87.235.192.0/26', 'allocation_pools': [{'start': '87.235.192.2', 'end': '87.235.192.62'}], 'gateway_ip': '87.235.192.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.235.192.2', 'tags': [], 'project_id': '929240e6df654d6f88ca3676ebf24c0d'}} 2025-07-25 02:26:43,055 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab7ff220-9009-4aa4-bb93-ea96cc590a3d', 'name': '', 'tenant_id': '929240e6df654d6f88ca3676ebf24c0d', 'network_id': '38c50bd9-5d65-4938-aaf2-cc646df0f9a1', 'ip_version': 4, 'cidr': '199.21.17.64/26', 'allocation_pools': [{'start': '199.21.17.66', 'end': '199.21.17.126'}], 'gateway_ip': '199.21.17.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.21.17.66', 'tags': [], 'project_id': '929240e6df654d6f88ca3676ebf24c0d'}} 2025-07-25 02:26:43,076 - INFO - Created VN ctest-vn1-52059651 2025-07-25 02:26:43,130 - DEBUG - VN ctest-vn1-52059651 UUID is 38c50bd9-5d65-4938-aaf2-cc646df0f9a1 2025-07-25 02:26:43,451 - DEBUG - Response for create_port : {'port': {'name': 'f35d99b6-fa44-4362-a662-1438e6e958ab', 'id': 'f35d99b6-fa44-4362-a662-1438e6e958ab', 'tenant_id': '929240e6df654d6f88ca3676ebf24c0d', 'network_id': '38c50bd9-5d65-4938-aaf2-cc646df0f9a1', 'mac_address': '02:f3:5d:99:b6:fa', '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': '87.235.192.5', 'subnet_id': 'e90202b5-e362-4eee-a760-4854aa40b6ff'}], 'security_groups': ['7bc9f1fa-2b75-4378-9250-ff915424baff'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '929240e6df654d6f88ca3676ebf24c0d'}} 2025-07-25 02:26:43,635 - DEBUG - Response for create_port : {'port': {'name': 'cf54f323-b1a1-4f7c-903c-a667be88cc52', 'id': 'cf54f323-b1a1-4f7c-903c-a667be88cc52', 'tenant_id': '929240e6df654d6f88ca3676ebf24c0d', 'network_id': '38c50bd9-5d65-4938-aaf2-cc646df0f9a1', 'mac_address': '02:cf:54:f3:23:b1', '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': '199.21.17.69', 'subnet_id': 'ab7ff220-9009-4aa4-bb93-ea96cc590a3d'}], 'security_groups': ['7bc9f1fa-2b75-4378-9250-ff915424baff'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '929240e6df654d6f88ca3676ebf24c0d'}} 2025-07-25 02:26:43,701 - DEBUG - Services list from nova: [, , ] 2025-07-25 02:26:44,036 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3715-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3715-1) 2025-07-25 02:26:44,626 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3715-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3715-1) 2025-07-25 02:26:44,627 - INFO - Waiting for VM ctest-vn1-vm1-26027575 to be up.. 2025-07-25 02:26:44,673 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-25 02:26:49,752 - DEBUG - VM is in ACTIVE state now 2025-07-25 02:26:49,753 - INFO - VM name : ctest-vn1-vm1-26027575 2025-07-25 02:26:49,830 - DEBUG - VM ctest-vn1-vm1-26027575 ID is 395bb293-c48c-4458-8bf9-ec3e71087c65 2025-07-25 02:26:49,849 - DEBUG - VM ctest-vn1-vm1-26027575 launched on Node cn-jenkins-deploy-platform-ansible-os-3715-1 2025-07-25 02:26:49,931 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/395bb293-c48c-4458-8bf9-ec3e71087c65 2025-07-25 02:26:49,941 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f35d99b6-fa44-4362-a662-1438e6e958ab 2025-07-25 02:26:53,186 - 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 1002ms') 2025-07-25 02:26:53,187 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-26027575 failed! 2025-07-25 02:26:53,242 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-55673958:ctest-vn1-52059651 is 87.235.192.1 and allocation pool is NOT set 2025-07-25 02:26:53,243 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-55673958:ctest-vn1-52059651 is 199.21.17.65 and allocation pool is NOT set 2025-07-25 02:26:57,308 - 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=8.55 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 8.551/8.551/8.551/0.000 ms') 2025-07-25 02:26:57,308 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-26027575 passed 2025-07-25 02:26:57,466 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-25 02:26:57,466 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-26027575, IP 87.235.192.5, Port 22 2025-07-25 02:26:57,622 - DEBUG - VM ctest-vn1-vm1-26027575 is ready for SSH connections 2025-07-25 02:26:57,622 - INFO - Waiting for VM ctest-vn1-vm2-66863233 to be up.. 2025-07-25 02:26:57,704 - DEBUG - VM is in ACTIVE state now 2025-07-25 02:26:57,704 - INFO - VM name : ctest-vn1-vm2-66863233 2025-07-25 02:26:57,777 - DEBUG - VM ctest-vn1-vm2-66863233 ID is eb6b7d58-b76b-462e-beca-27fbc2d7d73a 2025-07-25 02:26:57,777 - DEBUG - VM ctest-vn1-vm2-66863233 launched on Node cn-jenkins-deploy-platform-ansible-os-3715-1 2025-07-25 02:26:57,853 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/eb6b7d58-b76b-462e-beca-27fbc2d7d73a 2025-07-25 02:26:57,862 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/cf54f323-b1a1-4f7c-903c-a667be88cc52 2025-07-25 02:26:59,112 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.560 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.560/1.732/2.904/1.172 ms') 2025-07-25 02:26:59,112 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-66863233 passed 2025-07-25 02:26:59,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-25 02:26:59,266 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-66863233, IP 199.21.17.69, Port 22 2025-07-25 02:26:59,426 - DEBUG - VM ctest-vn1-vm2-66863233 is ready for SSH connections 2025-07-25 02:26:59,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-25 02:26:59,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-25 02:26:59,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-25 02:26:59,426 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.235.192.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-25 02:26:59,427 - DEBUG - ping -s 56 -c 3 -W 1 87.235.192.5 2025-07-25 02:27:02,117 - DEBUG - PING 87.235.192.5 (87.235.192.5): 56 data bytes 64 bytes from 87.235.192.5: seq=0 ttl=63 time=3.814 ms 64 bytes from 87.235.192.5: seq=1 ttl=63 time=1.052 ms 64 bytes from 87.235.192.5: seq=2 ttl=63 time=0.880 ms --- 87.235.192.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.880/1.915/3.814 ms 2025-07-25 02:27:02,117 - INFO - Ping to IP 87.235.192.5 from VM ctest-vn1-vm2-66863233 passed 2025-07-25 02:27:02,117 - INFO - Detaching port cf54f323-b1a1-4f7c-903c-a667be88cc52 from VM ctest-vn1-vm2-66863233 2025-07-25 02:27:02,171 - INFO - Deleting VM ctest-vn1-vm2-66863233 2025-07-25 02:27:02,250 - INFO - Detaching port f35d99b6-fa44-4362-a662-1438e6e958ab from VM ctest-vn1-vm1-26027575 2025-07-25 02:27:02,296 - INFO - Deleting VM ctest-vn1-vm1-26027575 2025-07-25 02:27:02,545 - DEBUG - Response for delete_port : () 2025-07-25 02:27:02,725 - DEBUG - Response for delete_port : () 2025-07-25 02:27:02,725 - INFO - Deleting VN ctest-vn1-52059651 2025-07-25 02:27:02,873 - DEBUG - Response for deleting network () 2025-07-25 02:27:03,133 - DEBUG - No XMPP flaps were noticed during the test
2025-07-25 02:27:03,133 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-07-25 02:27:03,133 - INFO - -------------------------------------------------------------------------------- 2025-07-25 02:27:03,926 - INFO - Deleted project: ctest-TestPorts-55673958, ID : 929240e6-df65-4d6f-88ca-3676ebf24c0d