2025-07-23 13:32:42,774 - INFO - Domain Default found not creating 2025-07-23 13:32:42,963 - INFO - Project ctest-TestPorts-27764387 not found, creating it 2025-07-23 13:32:43,502 - INFO - Created Project:ctest-TestPorts-27764387, ID : 3cc91787-be0f-49eb-9100-955a21687cf5 2025-07-23 13:32:45,238 - INFO - ================================================================================ 2025-07-23 13:32:45,238 - INFO - STARTING TEST : test_ports_bindings 2025-07-23 13:32:45,238 - 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-23 13:32:45,497 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.209': '0'}} with 2025-07-23 13:32:45,497 - INFO - Initial checks done. Running the testcase now 2025-07-23 13:32:45,497 - INFO - 2025-07-23 13:32:46,087 - DEBUG - Response for create_network : {'network': {'id': 'c833b196-2ed1-41bd-ace9-b0fdb434fa84', 'name': 'ctest-vn-81379979', 'tenant_id': '3cc91787be0f49eb9100955a21687cf5', 'project_id': '3cc91787be0f49eb9100955a21687cf5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-27764387', 'ctest-vn-81379979'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 13:32:46,275 - DEBUG - Response for create_subnet : {'subnet': {'id': '24150318-fc4d-4f6b-b630-69fb95cf1f6e', 'name': '', 'tenant_id': '3cc91787be0f49eb9100955a21687cf5', 'network_id': 'c833b196-2ed1-41bd-ace9-b0fdb434fa84', 'ip_version': 4, 'cidr': '89.37.235.192/26', 'allocation_pools': [{'start': '89.37.235.194', 'end': '89.37.235.254'}], 'gateway_ip': '89.37.235.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.37.235.194', 'tags': [], 'project_id': '3cc91787be0f49eb9100955a21687cf5'}} 2025-07-23 13:32:46,296 - INFO - Created VN ctest-vn-81379979 2025-07-23 13:32:46,350 - DEBUG - VN ctest-vn-81379979 UUID is c833b196-2ed1-41bd-ace9-b0fdb434fa84 2025-07-23 13:32:46,480 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-27764387', 'ctest-vmi-27526599']} 2025-07-23 13:32:46,764 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-27526599', 'id': 'b7d6bfc8-2c4c-48b7-b51c-47a8957309a5', 'tenant_id': '3cc91787be0f49eb9100955a21687cf5', 'network_id': 'c833b196-2ed1-41bd-ace9-b0fdb434fa84', 'mac_address': '02:b7:d6:bf:c8:2c', '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': '89.37.235.195', 'subnet_id': '24150318-fc4d-4f6b-b630-69fb95cf1f6e'}], 'security_groups': ['d4f0dadd-4f8d-4c54-96bc-fd873c67eb90'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3cc91787be0f49eb9100955a21687cf5'}} 2025-07-23 13:32:46,764 - DEBUG - Created port b7d6bfc8-2c4c-48b7-b51c-47a8957309a5 2025-07-23 13:32:46,882 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/b7d6bfc8-2c4c-48b7-b51c-47a8957309a5 2025-07-23 13:32:47,188 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/b7d6bfc8-2c4c-48b7-b51c-47a8957309a5 2025-07-23 13:32:47,230 - INFO - VMI b7d6bfc8-2c4c-48b7-b51c-47a8957309a5 verification in API Server passed 2025-07-23 13:32:47,351 - DEBUG - Response for delete_port : () 2025-07-23 13:32:47,351 - INFO - Deleted port b7d6bfc8-2c4c-48b7-b51c-47a8957309a5 2025-07-23 13:32:47,351 - INFO - Deleting VN ctest-vn-81379979 2025-07-23 13:32:47,478 - DEBUG - Response for deleting network () 2025-07-23 13:32:47,734 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 13:32:47,734 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-07-23 13:32:47,734 - INFO - -------------------------------------------------------------------------------- 2025-07-23 13:32:47,738 - INFO - ================================================================================ 2025-07-23 13:32:47,738 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-07-23 13:32:47,738 - 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-23 13:32:48,031 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.209': '0'}} with 2025-07-23 13:32:48,031 - INFO - Initial checks done. Running the testcase now 2025-07-23 13:32:48,031 - INFO - 2025-07-23 13:32:48,245 - DEBUG - Response for create_network : {'network': {'id': 'ff922371-1751-4278-a161-e76eaa4870d1', 'name': 'ctest-vn1-18108325', 'tenant_id': '3cc91787be0f49eb9100955a21687cf5', 'project_id': '3cc91787be0f49eb9100955a21687cf5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-27764387', 'ctest-vn1-18108325'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 13:32:48,492 - DEBUG - Response for create_subnet : {'subnet': {'id': '82f8667d-9e60-4b7c-8353-b6213b51f74c', 'name': '', 'tenant_id': '3cc91787be0f49eb9100955a21687cf5', 'network_id': 'ff922371-1751-4278-a161-e76eaa4870d1', 'ip_version': 4, 'cidr': '217.55.255.0/26', 'allocation_pools': [{'start': '217.55.255.2', 'end': '217.55.255.62'}], 'gateway_ip': '217.55.255.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.55.255.2', 'tags': [], 'project_id': '3cc91787be0f49eb9100955a21687cf5'}} 2025-07-23 13:32:48,707 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e54f9d30-b8d6-4535-b43a-b2603514158e', 'name': '', 'tenant_id': '3cc91787be0f49eb9100955a21687cf5', 'network_id': 'ff922371-1751-4278-a161-e76eaa4870d1', 'ip_version': 4, 'cidr': '156.2.141.128/26', 'allocation_pools': [{'start': '156.2.141.130', 'end': '156.2.141.190'}], 'gateway_ip': '156.2.141.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.2.141.130', 'tags': [], 'project_id': '3cc91787be0f49eb9100955a21687cf5'}} 2025-07-23 13:32:48,730 - INFO - Created VN ctest-vn1-18108325 2025-07-23 13:32:48,790 - DEBUG - VN ctest-vn1-18108325 UUID is ff922371-1751-4278-a161-e76eaa4870d1 2025-07-23 13:32:49,163 - DEBUG - Response for create_port : {'port': {'name': '87a54cb0-76dd-441b-a2e4-01e302889d72', 'id': '87a54cb0-76dd-441b-a2e4-01e302889d72', 'tenant_id': '3cc91787be0f49eb9100955a21687cf5', 'network_id': 'ff922371-1751-4278-a161-e76eaa4870d1', 'mac_address': '02:87:a5:4c:b0:76', '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.55.255.5', 'subnet_id': '82f8667d-9e60-4b7c-8353-b6213b51f74c'}], 'security_groups': ['d4f0dadd-4f8d-4c54-96bc-fd873c67eb90'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3cc91787be0f49eb9100955a21687cf5'}} 2025-07-23 13:32:49,378 - DEBUG - Response for create_port : {'port': {'name': '54fcc200-35cf-4b46-ba3e-4b27cb181e41', 'id': '54fcc200-35cf-4b46-ba3e-4b27cb181e41', 'tenant_id': '3cc91787be0f49eb9100955a21687cf5', 'network_id': 'ff922371-1751-4278-a161-e76eaa4870d1', 'mac_address': '02:54:fc:c2:00:35', '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': '156.2.141.133', 'subnet_id': 'e54f9d30-b8d6-4535-b43a-b2603514158e'}], 'security_groups': ['d4f0dadd-4f8d-4c54-96bc-fd873c67eb90'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3cc91787be0f49eb9100955a21687cf5'}} 2025-07-23 13:32:49,464 - DEBUG - Services list from nova: [, , ] 2025-07-23 13:32:49,880 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3700-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3700-1) 2025-07-23 13:32:50,392 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3700-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3700-1) 2025-07-23 13:32:50,392 - INFO - Waiting for VM ctest-vn1-vm1-19354344 to be up.. 2025-07-23 13:32:50,453 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-23 13:32:55,562 - DEBUG - VM is in ACTIVE state now 2025-07-23 13:32:55,563 - INFO - VM name : ctest-vn1-vm1-19354344 2025-07-23 13:32:55,655 - DEBUG - VM ctest-vn1-vm1-19354344 ID is 463ee1e7-a5b2-4517-b744-a1ccead891e6 2025-07-23 13:32:55,679 - DEBUG - VM ctest-vn1-vm1-19354344 launched on Node cn-jenkins-deploy-platform-ansible-os-3700-1 2025-07-23 13:32:55,764 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/463ee1e7-a5b2-4517-b744-a1ccead891e6 2025-07-23 13:32:55,775 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/87a54cb0-76dd-441b-a2e4-01e302889d72 2025-07-23 13:32:59,035 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1009ms') 2025-07-23 13:32:59,035 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-19354344 failed! 2025-07-23 13:32:59,095 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-27764387:ctest-vn1-18108325 is 217.55.255.1 and allocation pool is NOT set 2025-07-23 13:32:59,095 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-27764387:ctest-vn1-18108325 is 156.2.141.129 and allocation pool is NOT set 2025-07-23 13:33:03,155 - 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=2 ttl=63 time=8.80 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1003ms\r\nrtt min/avg/max/mdev = 8.798/8.798/8.798/0.000 ms') 2025-07-23 13:33:03,155 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-19354344 passed 2025-07-23 13:33:03,326 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:33:03,326 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-19354344, IP 217.55.255.5, Port 22 2025-07-23 13:33:03,507 - DEBUG - VM ctest-vn1-vm1-19354344 is ready for SSH connections 2025-07-23 13:33:03,507 - INFO - Waiting for VM ctest-vn1-vm2-51900608 to be up.. 2025-07-23 13:33:03,620 - DEBUG - VM is in ACTIVE state now 2025-07-23 13:33:03,620 - INFO - VM name : ctest-vn1-vm2-51900608 2025-07-23 13:33:03,712 - DEBUG - VM ctest-vn1-vm2-51900608 ID is 5ab537cf-2ad0-4308-b1e1-c0999ca5c943 2025-07-23 13:33:03,712 - DEBUG - VM ctest-vn1-vm2-51900608 launched on Node cn-jenkins-deploy-platform-ansible-os-3700-1 2025-07-23 13:33:03,804 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/5ab537cf-2ad0-4308-b1e1-c0999ca5c943 2025-07-23 13:33:03,817 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/54fcc200-35cf-4b46-ba3e-4b27cb181e41 2025-07-23 13:33:05,100 - 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=4.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.577 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.577/2.530/4.484/1.953 ms') 2025-07-23 13:33:05,100 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-51900608 passed 2025-07-23 13:33:05,258 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:33:05,258 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-51900608, IP 156.2.141.133, Port 22 2025-07-23 13:33:05,428 - DEBUG - VM ctest-vn1-vm2-51900608 is ready for SSH connections 2025-07-23 13:33:05,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:33:05,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:33:05,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:33:05,428 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.55.255.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-07-23 13:33:05,428 - DEBUG - ping -s 56 -c 3 -W 1 217.55.255.5 2025-07-23 13:33:09,141 - DEBUG - PING 217.55.255.5 (217.55.255.5): 56 data bytes 64 bytes from 217.55.255.5: seq=0 ttl=63 time=4.145 ms 64 bytes from 217.55.255.5: seq=1 ttl=63 time=1.245 ms 64 bytes from 217.55.255.5: seq=2 ttl=63 time=1.598 ms --- 217.55.255.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.245/2.329/4.145 ms 2025-07-23 13:33:09,141 - INFO - Ping to IP 217.55.255.5 from VM ctest-vn1-vm2-51900608 passed 2025-07-23 13:33:09,142 - INFO - Detaching port 54fcc200-35cf-4b46-ba3e-4b27cb181e41 from VM ctest-vn1-vm2-51900608 2025-07-23 13:33:09,217 - INFO - Deleting VM ctest-vn1-vm2-51900608 2025-07-23 13:33:09,318 - INFO - Detaching port 87a54cb0-76dd-441b-a2e4-01e302889d72 from VM ctest-vn1-vm1-19354344 2025-07-23 13:33:09,371 - INFO - Deleting VM ctest-vn1-vm1-19354344 2025-07-23 13:33:09,680 - DEBUG - Response for delete_port : () 2025-07-23 13:33:09,904 - DEBUG - Response for delete_port : () 2025-07-23 13:33:09,904 - INFO - Deleting VN ctest-vn1-18108325 2025-07-23 13:33:10,086 - DEBUG - Response for deleting network () 2025-07-23 13:33:10,373 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 13:33:10,373 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-07-23 13:33:10,373 - INFO - -------------------------------------------------------------------------------- 2025-07-23 13:33:11,154 - INFO - Deleted project: ctest-TestPorts-27764387, ID : 3cc91787-be0f-49eb-9100-955a21687cf5