2025-11-10 01:39:56,213 - INFO - Reading existing Domain with UUID ac1d6412-51c4-40dc-abeb-d81d08131878 2025-11-10 01:39:56,223 - INFO - Using existing domain ['admin_domain'](ac1d6412-51c4-40dc-abeb-d81d08131878) 2025-11-10 01:39:56,398 - INFO - Project ctest-TestPorts-03160532 not found, creating it 2025-11-10 01:39:56,868 - INFO - Created Project:ctest-TestPorts-03160532, ID : 37087680-4a20-49e2-a47e-0b0498818ac8 2025-11-10 01:39:58,431 - INFO - ================================================================================ 2025-11-10 01:39:58,432 - INFO - STARTING TEST : test_ports_bindings 2025-11-10 01:39:58,432 - 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-11-10 01:39:58,802 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with 2025-11-10 01:39:58,802 - INFO - Initial checks done. Running the testcase now 2025-11-10 01:39:58,802 - INFO - 2025-11-10 01:39:59,573 - DEBUG - Response for create_network : {'network': {'id': '1fab1c57-1ee0-48f6-b190-2d38a954fb15', 'name': 'ctest-vn-10870445', 'tenant_id': '370876804a2049e2a47e0b0498818ac8', 'project_id': '370876804a2049e2a47e0b0498818ac8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-03160532', 'ctest-vn-10870445'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-11-10 01:39:59,837 - DEBUG - Response for create_subnet : {'subnet': {'id': '031e46e1-df6f-4e60-8b6f-df177b4628af', 'name': '', 'tenant_id': '370876804a2049e2a47e0b0498818ac8', 'network_id': '1fab1c57-1ee0-48f6-b190-2d38a954fb15', 'ip_version': 4, 'cidr': '85.174.127.128/26', 'allocation_pools': [{'start': '85.174.127.130', 'end': '85.174.127.190'}], 'gateway_ip': '85.174.127.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-11-10T01:39:59.744513', 'updated_at': '2025-11-10T01:39:59.744513', 'dns_server_address': '85.174.127.130', 'tags': [], 'project_id': '370876804a2049e2a47e0b0498818ac8'}} 2025-11-10 01:39:59,899 - INFO - Created VN ctest-vn-10870445 2025-11-10 01:39:59,953 - DEBUG - VN ctest-vn-10870445 UUID is 1fab1c57-1ee0-48f6-b190-2d38a954fb15 2025-11-10 01:40:00,155 - DEBUG - Read virtual machine interface {'fq_name': ['admin_domain', 'ctest-TestPorts-03160532', 'ctest-vmi-69810802']} 2025-11-10 01:40:00,487 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-69810802', 'id': 'd9610d74-d869-43be-9c33-365550e37c86', 'tenant_id': '370876804a2049e2a47e0b0498818ac8', 'network_id': '1fab1c57-1ee0-48f6-b190-2d38a954fb15', 'mac_address': '02:d9:61:0d:74:d8', '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': '85.174.127.131', 'subnet_id': '031e46e1-df6f-4e60-8b6f-df177b4628af'}], 'security_groups': ['ccf66595-905e-44ce-9475-1e3bc3272350'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-11-10T01:40:00.261778', 'updated_at': '2025-11-10T01:40:00.331590', 'project_id': '370876804a2049e2a47e0b0498818ac8'}} 2025-11-10 01:40:00,487 - DEBUG - Created port d9610d74-d869-43be-9c33-365550e37c86 2025-11-10 01:40:00,593 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/d9610d74-d869-43be-9c33-365550e37c86 2025-11-10 01:40:00,954 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/d9610d74-d869-43be-9c33-365550e37c86 2025-11-10 01:40:01,034 - INFO - VMI d9610d74-d869-43be-9c33-365550e37c86 verification in API Server passed 2025-11-10 01:40:01,186 - DEBUG - Response for delete_port : () 2025-11-10 01:40:01,186 - INFO - Deleted port d9610d74-d869-43be-9c33-365550e37c86 2025-11-10 01:40:01,186 - INFO - Deleting VN ctest-vn-10870445 2025-11-10 01:40:01,346 - DEBUG - Response for deleting network () 2025-11-10 01:40:01,722 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 01:40:01,722 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-10 01:40:01,722 - INFO - -------------------------------------------------------------------------------- 2025-11-10 01:40:01,724 - INFO - ================================================================================ 2025-11-10 01:40:01,725 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-10 01:40:01,725 - 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-11-10 01:40:02,103 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with 2025-11-10 01:40:02,103 - INFO - Initial checks done. Running the testcase now 2025-11-10 01:40:02,103 - INFO - 2025-11-10 01:40:02,377 - DEBUG - Response for create_network : {'network': {'id': '36033f38-eb1f-4186-bec9-97a208ff6536', 'name': 'ctest-vn1-74852663', 'tenant_id': '370876804a2049e2a47e0b0498818ac8', 'project_id': '370876804a2049e2a47e0b0498818ac8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-03160532', 'ctest-vn1-74852663'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-11-10 01:40:02,606 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d982741-e99e-407c-bdd4-d3685b2af44c', 'name': '', 'tenant_id': '370876804a2049e2a47e0b0498818ac8', 'network_id': '36033f38-eb1f-4186-bec9-97a208ff6536', 'ip_version': 4, 'cidr': '117.83.13.192/26', 'allocation_pools': [{'start': '117.83.13.194', 'end': '117.83.13.254'}], 'gateway_ip': '117.83.13.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-11-10T01:40:02.502993', 'updated_at': '2025-11-10T01:40:02.502993', 'dns_server_address': '117.83.13.194', 'tags': [], 'project_id': '370876804a2049e2a47e0b0498818ac8'}} 2025-11-10 01:40:02,817 - DEBUG - Response for create_subnet : {'subnet': {'id': 'be71b3ef-4244-4420-a885-b48a6034aa20', 'name': '', 'tenant_id': '370876804a2049e2a47e0b0498818ac8', 'network_id': '36033f38-eb1f-4186-bec9-97a208ff6536', 'ip_version': 4, 'cidr': '9.48.254.64/26', 'allocation_pools': [{'start': '9.48.254.66', 'end': '9.48.254.126'}], 'gateway_ip': '9.48.254.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-11-10T01:40:02.713184', 'updated_at': '2025-11-10T01:40:02.713184', 'dns_server_address': '9.48.254.66', 'tags': [], 'project_id': '370876804a2049e2a47e0b0498818ac8'}} 2025-11-10 01:40:02,883 - INFO - Created VN ctest-vn1-74852663 2025-11-10 01:40:02,937 - DEBUG - VN ctest-vn1-74852663 UUID is 36033f38-eb1f-4186-bec9-97a208ff6536 2025-11-10 01:40:03,442 - DEBUG - Response for create_port : {'port': {'name': 'f41504c4-48f8-45cd-9dd3-abae139affb8', 'id': 'f41504c4-48f8-45cd-9dd3-abae139affb8', 'tenant_id': '370876804a2049e2a47e0b0498818ac8', 'network_id': '36033f38-eb1f-4186-bec9-97a208ff6536', 'mac_address': '02:f4:15:04:c4:48', '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': '117.83.13.197', 'subnet_id': '9d982741-e99e-407c-bdd4-d3685b2af44c'}], 'security_groups': ['ccf66595-905e-44ce-9475-1e3bc3272350'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-11-10T01:40:03.269286', 'updated_at': '2025-11-10T01:40:03.331752', 'project_id': '370876804a2049e2a47e0b0498818ac8'}} 2025-11-10 01:40:03,666 - DEBUG - Response for create_port : {'port': {'name': '11fd619e-53ab-4c05-97ec-9203bce9cc4b', 'id': '11fd619e-53ab-4c05-97ec-9203bce9cc4b', 'tenant_id': '370876804a2049e2a47e0b0498818ac8', 'network_id': '36033f38-eb1f-4186-bec9-97a208ff6536', 'mac_address': '02:11:fd:61:9e:53', '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': '9.48.254.69', 'subnet_id': 'be71b3ef-4244-4420-a885-b48a6034aa20'}], 'security_groups': ['ccf66595-905e-44ce-9475-1e3bc3272350'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-11-10T01:40:03.498395', 'updated_at': '2025-11-10T01:40:03.561064', 'project_id': '370876804a2049e2a47e0b0498818ac8'}} 2025-11-10 01:40:03,723 - DEBUG - Services list from nova: [, , ] 2025-11-10 01:40:04,868 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-613-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-613-1) 2025-11-10 01:40:05,825 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-613-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-613-1) 2025-11-10 01:40:05,825 - INFO - Waiting for VM ctest-vn1-vm1-74167969 to be up.. 2025-11-10 01:40:05,926 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 01:40:11,050 - DEBUG - VM is in ACTIVE state now 2025-11-10 01:40:11,050 - INFO - VM name : ctest-vn1-vm1-74167969 2025-11-10 01:40:11,186 - DEBUG - VM ctest-vn1-vm1-74167969 ID is 89998a39-e13a-472b-bebf-a9222615e70d 2025-11-10 01:40:11,219 - DEBUG - VM ctest-vn1-vm1-74167969 launched on Node cn-jenkins-deploy-platform-juju-os-613-1 2025-11-10 01:40:11,350 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/89998a39-e13a-472b-bebf-a9222615e70d 2025-11-10 01:40:11,402 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/f41504c4-48f8-45cd-9dd3-abae139affb8 2025-11-10 01:40:14,848 - 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 1017ms') 2025-11-10 01:40:14,848 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74167969 failed! 2025-11-10 01:40:14,901 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-03160532:ctest-vn1-74852663 is 117.83.13.193 and allocation pool is NOT set 2025-11-10 01:40:14,901 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-03160532:ctest-vn1-74852663 is 9.48.254.65 and allocation pool is NOT set 2025-11-10 01:40:19,015 - 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=7.88 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1028ms\r\nrtt min/avg/max/mdev = 7.884/7.884/7.884/0.000 ms') 2025-11-10 01:40:19,015 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74167969 passed 2025-11-10 01:40:19,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 01:40:19,161 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-74167969, IP 117.83.13.197, Port 22 2025-11-10 01:40:19,357 - DEBUG - VM ctest-vn1-vm1-74167969 is ready for SSH connections 2025-11-10 01:40:19,357 - INFO - Waiting for VM ctest-vn1-vm2-32954863 to be up.. 2025-11-10 01:40:19,484 - DEBUG - VM is in ACTIVE state now 2025-11-10 01:40:19,484 - INFO - VM name : ctest-vn1-vm2-32954863 2025-11-10 01:40:19,606 - DEBUG - VM ctest-vn1-vm2-32954863 ID is dacd5cba-5a38-46e4-b033-b26122616dab 2025-11-10 01:40:19,606 - DEBUG - VM ctest-vn1-vm2-32954863 launched on Node cn-jenkins-deploy-platform-juju-os-613-1 2025-11-10 01:40:19,727 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/dacd5cba-5a38-46e4-b033-b26122616dab 2025-11-10 01:40:19,782 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/11fd619e-53ab-4c05-97ec-9203bce9cc4b 2025-11-10 01:40:21,211 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.423 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.423/1.798/3.174/1.375 ms') 2025-11-10 01:40:21,211 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-32954863 passed 2025-11-10 01:40:21,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 01:40:21,369 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-32954863, IP 9.48.254.69, Port 22 2025-11-10 01:40:21,569 - DEBUG - VM ctest-vn1-vm2-32954863 is ready for SSH connections 2025-11-10 01:40:21,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 01:40:21,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 01:40:21,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 01:40:21,569 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.83.13.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-11-10 01:40:21,570 - DEBUG - ping -s 56 -c 3 -W 1 117.83.13.197 2025-11-10 01:40:24,222 - DEBUG - PING 117.83.13.197 (117.83.13.197): 56 data bytes 64 bytes from 117.83.13.197: seq=0 ttl=63 time=3.802 ms 64 bytes from 117.83.13.197: seq=1 ttl=63 time=0.812 ms 64 bytes from 117.83.13.197: seq=2 ttl=63 time=0.885 ms --- 117.83.13.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.812/1.833/3.802 ms 2025-11-10 01:40:24,223 - INFO - Ping to IP 117.83.13.197 from VM ctest-vn1-vm2-32954863 passed 2025-11-10 01:40:24,223 - INFO - Detaching port 11fd619e-53ab-4c05-97ec-9203bce9cc4b from VM ctest-vn1-vm2-32954863 2025-11-10 01:40:24,288 - INFO - Deleting VM ctest-vn1-vm2-32954863 2025-11-10 01:40:24,450 - INFO - Detaching port f41504c4-48f8-45cd-9dd3-abae139affb8 from VM ctest-vn1-vm1-74167969 2025-11-10 01:40:24,540 - INFO - Deleting VM ctest-vn1-vm1-74167969 2025-11-10 01:40:24,947 - DEBUG - Response for delete_port : () 2025-11-10 01:40:25,224 - DEBUG - Response for delete_port : () 2025-11-10 01:40:25,224 - INFO - Deleting VN ctest-vn1-74852663 2025-11-10 01:40:25,473 - DEBUG - Response for deleting network () 2025-11-10 01:40:25,862 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 01:40:25,862 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-11-10 01:40:25,862 - INFO - -------------------------------------------------------------------------------- 2025-11-10 01:40:26,616 - INFO - Deleted project: ctest-TestPorts-03160532, ID : 37087680-4a20-49e2-a47e-0b0498818ac8