2025-09-24 11:05:24,138 - INFO - Domain Default found not creating 2025-09-24 11:05:24,301 - INFO - Project ctest-TestPorts-35700255 not found, creating it 2025-09-24 11:05:24,813 - INFO - Created Project:ctest-TestPorts-35700255, ID : eb95cf6e-123a-4c41-9e0b-1841bc86cf33 2025-09-24 11:05:26,405 - INFO - ================================================================================ 2025-09-24 11:05:26,405 - INFO - STARTING TEST : test_ports_bindings 2025-09-24 11:05:26,405 - 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-24 11:05:26,660 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-09-24 11:05:26,660 - INFO - Initial checks done. Running the testcase now 2025-09-24 11:05:26,660 - INFO - 2025-09-24 11:05:27,253 - DEBUG - Response for create_network : {'network': {'id': '909ed2f9-409d-4782-b225-2d7f6591c276', 'name': 'ctest-vn-10071084', 'tenant_id': 'eb95cf6e123a4c419e0b1841bc86cf33', 'project_id': 'eb95cf6e123a4c419e0b1841bc86cf33', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-35700255', 'ctest-vn-10071084'], 'port_security_enabled': True, 'description': ''}} 2025-09-24 11:05:27,432 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c6672ec7-fbdb-4908-bccf-28d2325e724e', 'name': '', 'tenant_id': 'eb95cf6e123a4c419e0b1841bc86cf33', 'network_id': '909ed2f9-409d-4782-b225-2d7f6591c276', 'ip_version': 4, 'cidr': '4.177.33.192/26', 'allocation_pools': [{'start': '4.177.33.194', 'end': '4.177.33.254'}], 'gateway_ip': '4.177.33.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.177.33.194', 'tags': [], 'project_id': 'eb95cf6e123a4c419e0b1841bc86cf33'}} 2025-09-24 11:05:27,454 - INFO - Created VN ctest-vn-10071084 2025-09-24 11:05:27,510 - DEBUG - VN ctest-vn-10071084 UUID is 909ed2f9-409d-4782-b225-2d7f6591c276 2025-09-24 11:05:27,623 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-35700255', 'ctest-vmi-91262059']} 2025-09-24 11:05:27,861 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-91262059', 'id': 'e41fca50-2c67-44ac-bcc1-b45a91728635', 'tenant_id': 'eb95cf6e123a4c419e0b1841bc86cf33', 'network_id': '909ed2f9-409d-4782-b225-2d7f6591c276', 'mac_address': '02:e4:1f:ca:50: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': '4.177.33.195', 'subnet_id': 'c6672ec7-fbdb-4908-bccf-28d2325e724e'}], 'security_groups': ['07df4a03-0620-43a2-8970-aa3763a1dac1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'eb95cf6e123a4c419e0b1841bc86cf33'}} 2025-09-24 11:05:27,861 - DEBUG - Created port e41fca50-2c67-44ac-bcc1-b45a91728635 2025-09-24 11:05:27,966 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/e41fca50-2c67-44ac-bcc1-b45a91728635 2025-09-24 11:05:28,303 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/e41fca50-2c67-44ac-bcc1-b45a91728635 2025-09-24 11:05:28,337 - INFO - VMI e41fca50-2c67-44ac-bcc1-b45a91728635 verification in API Server passed 2025-09-24 11:05:28,430 - DEBUG - Response for delete_port : () 2025-09-24 11:05:28,431 - INFO - Deleted port e41fca50-2c67-44ac-bcc1-b45a91728635 2025-09-24 11:05:28,431 - INFO - Deleting VN ctest-vn-10071084 2025-09-24 11:05:28,540 - DEBUG - Response for deleting network () 2025-09-24 11:05:28,805 - DEBUG - No XMPP flaps were noticed during the test
2025-09-24 11:05:28,805 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-24 11:05:28,805 - INFO - -------------------------------------------------------------------------------- 2025-09-24 11:05:28,808 - INFO - ================================================================================ 2025-09-24 11:05:28,808 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-24 11:05:28,808 - 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-24 11:05:29,091 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-09-24 11:05:29,091 - INFO - Initial checks done. Running the testcase now 2025-09-24 11:05:29,091 - INFO - 2025-09-24 11:05:29,278 - DEBUG - Response for create_network : {'network': {'id': 'ea157288-a6ee-4a0c-ad18-40878e98e36f', 'name': 'ctest-vn1-04019229', 'tenant_id': 'eb95cf6e123a4c419e0b1841bc86cf33', 'project_id': 'eb95cf6e123a4c419e0b1841bc86cf33', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-35700255', 'ctest-vn1-04019229'], 'port_security_enabled': True, 'description': ''}} 2025-09-24 11:05:29,448 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4f9d12f-5345-41fd-84f5-6f0dac8d4501', 'name': '', 'tenant_id': 'eb95cf6e123a4c419e0b1841bc86cf33', 'network_id': 'ea157288-a6ee-4a0c-ad18-40878e98e36f', 'ip_version': 4, 'cidr': '105.66.98.0/26', 'allocation_pools': [{'start': '105.66.98.2', 'end': '105.66.98.62'}], 'gateway_ip': '105.66.98.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.66.98.2', 'tags': [], 'project_id': 'eb95cf6e123a4c419e0b1841bc86cf33'}} 2025-09-24 11:05:29,630 - DEBUG - Response for create_subnet : {'subnet': {'id': '698172d8-a6c1-4424-bff5-7fc33d2709e2', 'name': '', 'tenant_id': 'eb95cf6e123a4c419e0b1841bc86cf33', 'network_id': 'ea157288-a6ee-4a0c-ad18-40878e98e36f', 'ip_version': 4, 'cidr': '17.178.34.192/26', 'allocation_pools': [{'start': '17.178.34.194', 'end': '17.178.34.254'}], 'gateway_ip': '17.178.34.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.178.34.194', 'tags': [], 'project_id': 'eb95cf6e123a4c419e0b1841bc86cf33'}} 2025-09-24 11:05:29,651 - INFO - Created VN ctest-vn1-04019229 2025-09-24 11:05:29,702 - DEBUG - VN ctest-vn1-04019229 UUID is ea157288-a6ee-4a0c-ad18-40878e98e36f 2025-09-24 11:05:29,989 - DEBUG - Response for create_port : {'port': {'name': '02deee62-500b-40a1-90b6-b6d9bdf4f039', 'id': '02deee62-500b-40a1-90b6-b6d9bdf4f039', 'tenant_id': 'eb95cf6e123a4c419e0b1841bc86cf33', 'network_id': 'ea157288-a6ee-4a0c-ad18-40878e98e36f', 'mac_address': '02:02:de:ee:62:50', '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': '105.66.98.5', 'subnet_id': 'f4f9d12f-5345-41fd-84f5-6f0dac8d4501'}], 'security_groups': ['07df4a03-0620-43a2-8970-aa3763a1dac1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'eb95cf6e123a4c419e0b1841bc86cf33'}} 2025-09-24 11:05:30,158 - DEBUG - Response for create_port : {'port': {'name': 'abadab0d-861e-4fc2-96a9-1a28ae4ebeda', 'id': 'abadab0d-861e-4fc2-96a9-1a28ae4ebeda', 'tenant_id': 'eb95cf6e123a4c419e0b1841bc86cf33', 'network_id': 'ea157288-a6ee-4a0c-ad18-40878e98e36f', 'mac_address': '02:ab:ad:ab:0d:86', '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': '17.178.34.197', 'subnet_id': '698172d8-a6c1-4424-bff5-7fc33d2709e2'}], 'security_groups': ['07df4a03-0620-43a2-8970-aa3763a1dac1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'eb95cf6e123a4c419e0b1841bc86cf33'}} 2025-09-24 11:05:30,217 - DEBUG - Services list from nova: [, , ] 2025-09-24 11:05:30,579 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4182-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4182-1) 2025-09-24 11:05:30,984 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4182-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4182-1) 2025-09-24 11:05:30,984 - INFO - Waiting for VM ctest-vn1-vm1-70800895 to be up.. 2025-09-24 11:05:31,027 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-24 11:05:36,105 - DEBUG - VM is in ACTIVE state now 2025-09-24 11:05:36,105 - INFO - VM name : ctest-vn1-vm1-70800895 2025-09-24 11:05:36,178 - DEBUG - VM ctest-vn1-vm1-70800895 ID is 95ed2d99-4fa6-4ee9-847e-8521adb158f7 2025-09-24 11:05:36,199 - DEBUG - VM ctest-vn1-vm1-70800895 launched on Node cn-jenkins-deploy-platform-ansible-os-4182-1 2025-09-24 11:05:36,271 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/95ed2d99-4fa6-4ee9-847e-8521adb158f7 2025-09-24 11:05:36,279 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/02deee62-500b-40a1-90b6-b6d9bdf4f039 2025-09-24 11:05:39,535 - 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 1014ms') 2025-09-24 11:05:39,535 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70800895 failed! 2025-09-24 11:05:39,594 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-35700255:ctest-vn1-04019229 is 105.66.98.1 and allocation pool is NOT set 2025-09-24 11:05:39,594 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-35700255:ctest-vn1-04019229 is 17.178.34.193 and allocation pool is NOT set 2025-09-24 11:05:43,659 - 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 1003ms') 2025-09-24 11:05:43,659 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70800895 failed! 2025-09-24 11:05:43,714 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-35700255:ctest-vn1-04019229 is 105.66.98.1 and allocation pool is NOT set 2025-09-24 11:05:43,714 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-35700255:ctest-vn1-04019229 is 17.178.34.193 and allocation pool is NOT set 2025-09-24 11:05:45,775 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.482 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.482/1.800/3.118/1.318 ms') 2025-09-24 11:05:45,775 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70800895 passed 2025-09-24 11:05:45,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 11:05:45,886 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-70800895, IP 105.66.98.5, Port 22 2025-09-24 11:05:46,046 - DEBUG - VM ctest-vn1-vm1-70800895 is ready for SSH connections 2025-09-24 11:05:46,046 - INFO - Waiting for VM ctest-vn1-vm2-29988907 to be up.. 2025-09-24 11:05:46,123 - DEBUG - VM is in ACTIVE state now 2025-09-24 11:05:46,123 - INFO - VM name : ctest-vn1-vm2-29988907 2025-09-24 11:05:46,197 - DEBUG - VM ctest-vn1-vm2-29988907 ID is f21367e9-72b5-451b-8a53-8850b8eefd90 2025-09-24 11:05:46,197 - DEBUG - VM ctest-vn1-vm2-29988907 launched on Node cn-jenkins-deploy-platform-ansible-os-4182-1 2025-09-24 11:05:46,274 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/f21367e9-72b5-451b-8a53-8850b8eefd90 2025-09-24 11:05:46,282 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/abadab0d-861e-4fc2-96a9-1a28ae4ebeda 2025-09-24 11:05:47,519 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 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.444/1.830/3.216/1.386 ms') 2025-09-24 11:05:47,519 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-29988907 passed 2025-09-24 11:05:47,666 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 11:05:47,666 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-29988907, IP 17.178.34.197, Port 22 2025-09-24 11:05:47,826 - DEBUG - VM ctest-vn1-vm2-29988907 is ready for SSH connections 2025-09-24 11:05:47,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 11:05:47,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 11:05:47,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 11:05:47,826 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.66.98.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-24 11:05:47,826 - DEBUG - ping -s 56 -c 3 -W 1 105.66.98.5 2025-09-24 11:05:50,553 - DEBUG - PING 105.66.98.5 (105.66.98.5): 56 data bytes 64 bytes from 105.66.98.5: seq=0 ttl=63 time=4.894 ms 64 bytes from 105.66.98.5: seq=1 ttl=63 time=0.989 ms 64 bytes from 105.66.98.5: seq=2 ttl=63 time=0.853 ms --- 105.66.98.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.853/2.245/4.894 ms 2025-09-24 11:05:50,553 - INFO - Ping to IP 105.66.98.5 from VM ctest-vn1-vm2-29988907 passed 2025-09-24 11:05:50,553 - INFO - Detaching port abadab0d-861e-4fc2-96a9-1a28ae4ebeda from VM ctest-vn1-vm2-29988907 2025-09-24 11:05:50,609 - INFO - Deleting VM ctest-vn1-vm2-29988907 2025-09-24 11:05:50,679 - INFO - Detaching port 02deee62-500b-40a1-90b6-b6d9bdf4f039 from VM ctest-vn1-vm1-70800895 2025-09-24 11:05:50,719 - INFO - Deleting VM ctest-vn1-vm1-70800895 2025-09-24 11:05:50,986 - DEBUG - Response for delete_port : () 2025-09-24 11:05:51,175 - DEBUG - Response for delete_port : () 2025-09-24 11:05:51,175 - INFO - Deleting VN ctest-vn1-04019229 2025-09-24 11:05:51,329 - DEBUG - Response for deleting network () 2025-09-24 11:05:51,595 - DEBUG - No XMPP flaps were noticed during the test
2025-09-24 11:05:51,595 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-09-24 11:05:51,595 - INFO - -------------------------------------------------------------------------------- 2025-09-24 11:05:52,318 - INFO - Deleted project: ctest-TestPorts-35700255, ID : eb95cf6e-123a-4c41-9e0b-1841bc86cf33