2025-10-13 01:50:33,902 - INFO - Reading existing Domain with UUID 537505e7-1547-4002-bf39-a6f4fbcc30df 2025-10-13 01:50:33,912 - INFO - Using existing domain ['admin_domain'](537505e7-1547-4002-bf39-a6f4fbcc30df) 2025-10-13 01:50:34,096 - INFO - Project ctest-TestPorts-52314665 not found, creating it 2025-10-13 01:50:34,585 - INFO - Created Project:ctest-TestPorts-52314665, ID : 859b4aa0-7476-4edb-9eed-7268520fa954 2025-10-13 01:50:36,267 - INFO - ================================================================================ 2025-10-13 01:50:36,267 - INFO - STARTING TEST : test_ports_bindings 2025-10-13 01:50:36,267 - 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-10-13 01:50:36,657 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with 2025-10-13 01:50:36,657 - INFO - Initial checks done. Running the testcase now 2025-10-13 01:50:36,657 - INFO - 2025-10-13 01:50:37,431 - DEBUG - Response for create_network : {'network': {'id': '55bd1ec2-1442-43a4-b9fe-c87b83413265', 'name': 'ctest-vn-49693307', 'tenant_id': '859b4aa074764edb9eed7268520fa954', 'project_id': '859b4aa074764edb9eed7268520fa954', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-52314665', 'ctest-vn-49693307'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-13 01:50:37,672 - DEBUG - Response for create_subnet : {'subnet': {'id': '65c869e2-a7b7-496b-9d7c-47042b1dcc4a', 'name': '', 'tenant_id': '859b4aa074764edb9eed7268520fa954', 'network_id': '55bd1ec2-1442-43a4-b9fe-c87b83413265', 'ip_version': 4, 'cidr': '146.169.253.192/26', 'allocation_pools': [{'start': '146.169.253.194', 'end': '146.169.253.254'}], 'gateway_ip': '146.169.253.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-13T01:50:37.564872', 'updated_at': '2025-10-13T01:50:37.564872', 'dns_server_address': '146.169.253.194', 'tags': [], 'project_id': '859b4aa074764edb9eed7268520fa954'}} 2025-10-13 01:50:37,734 - INFO - Created VN ctest-vn-49693307 2025-10-13 01:50:37,787 - DEBUG - VN ctest-vn-49693307 UUID is 55bd1ec2-1442-43a4-b9fe-c87b83413265 2025-10-13 01:50:37,998 - DEBUG - Read virtual machine interface {'fq_name': ['admin_domain', 'ctest-TestPorts-52314665', 'ctest-vmi-19738817']} 2025-10-13 01:50:38,492 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-19738817', 'id': 'cd0f9adf-a0cc-4c1b-9813-a67495c59e87', 'tenant_id': '859b4aa074764edb9eed7268520fa954', 'network_id': '55bd1ec2-1442-43a4-b9fe-c87b83413265', 'mac_address': '02:cd:0f:9a:df:a0', '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': '146.169.253.195', 'subnet_id': '65c869e2-a7b7-496b-9d7c-47042b1dcc4a'}], 'security_groups': ['1b096cbb-4737-4365-96cd-772fa690be9c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-13T01:50:38.120958', 'updated_at': '2025-10-13T01:50:38.199004', 'project_id': '859b4aa074764edb9eed7268520fa954'}} 2025-10-13 01:50:38,492 - DEBUG - Created port cd0f9adf-a0cc-4c1b-9813-a67495c59e87 2025-10-13 01:50:38,624 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/cd0f9adf-a0cc-4c1b-9813-a67495c59e87 2025-10-13 01:50:39,006 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/cd0f9adf-a0cc-4c1b-9813-a67495c59e87 2025-10-13 01:50:39,130 - INFO - VMI cd0f9adf-a0cc-4c1b-9813-a67495c59e87 verification in API Server passed 2025-10-13 01:50:39,317 - DEBUG - Response for delete_port : () 2025-10-13 01:50:39,317 - INFO - Deleted port cd0f9adf-a0cc-4c1b-9813-a67495c59e87 2025-10-13 01:50:39,318 - INFO - Deleting VN ctest-vn-49693307 2025-10-13 01:50:39,526 - DEBUG - Response for deleting network () 2025-10-13 01:50:39,913 - DEBUG - No XMPP flaps were noticed during the test 2025-10-13 01:50:39,913 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-13 01:50:39,913 - INFO - -------------------------------------------------------------------------------- 2025-10-13 01:50:39,915 - INFO - ================================================================================ 2025-10-13 01:50:39,915 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-13 01:50:39,915 - 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-10-13 01:50:40,325 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with 2025-10-13 01:50:40,325 - INFO - Initial checks done. Running the testcase now 2025-10-13 01:50:40,325 - INFO - 2025-10-13 01:50:40,628 - DEBUG - Response for create_network : {'network': {'id': 'c440518c-9078-4be5-bb64-7028348d40fc', 'name': 'ctest-vn1-01008738', 'tenant_id': '859b4aa074764edb9eed7268520fa954', 'project_id': '859b4aa074764edb9eed7268520fa954', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-52314665', 'ctest-vn1-01008738'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-13 01:50:40,865 - DEBUG - Response for create_subnet : {'subnet': {'id': '00d1b9f9-7972-4ced-a984-3b5824719e6e', 'name': '', 'tenant_id': '859b4aa074764edb9eed7268520fa954', 'network_id': 'c440518c-9078-4be5-bb64-7028348d40fc', 'ip_version': 4, 'cidr': '69.64.144.192/26', 'allocation_pools': [{'start': '69.64.144.194', 'end': '69.64.144.254'}], 'gateway_ip': '69.64.144.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-13T01:50:40.751275', 'updated_at': '2025-10-13T01:50:40.751275', 'dns_server_address': '69.64.144.194', 'tags': [], 'project_id': '859b4aa074764edb9eed7268520fa954'}} 2025-10-13 01:50:41,080 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6edb3f6-301c-45a0-b493-4733145bb2c0', 'name': '', 'tenant_id': '859b4aa074764edb9eed7268520fa954', 'network_id': 'c440518c-9078-4be5-bb64-7028348d40fc', 'ip_version': 4, 'cidr': '155.129.133.64/26', 'allocation_pools': [{'start': '155.129.133.66', 'end': '155.129.133.126'}], 'gateway_ip': '155.129.133.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-13T01:50:40.966522', 'updated_at': '2025-10-13T01:50:40.966522', 'dns_server_address': '155.129.133.66', 'tags': [], 'project_id': '859b4aa074764edb9eed7268520fa954'}} 2025-10-13 01:50:41,146 - INFO - Created VN ctest-vn1-01008738 2025-10-13 01:50:41,199 - DEBUG - VN ctest-vn1-01008738 UUID is c440518c-9078-4be5-bb64-7028348d40fc 2025-10-13 01:50:41,773 - DEBUG - Response for create_port : {'port': {'name': '3ac90f2a-dd16-42bf-a15a-4fb0668f6c19', 'id': '3ac90f2a-dd16-42bf-a15a-4fb0668f6c19', 'tenant_id': '859b4aa074764edb9eed7268520fa954', 'network_id': 'c440518c-9078-4be5-bb64-7028348d40fc', 'mac_address': '02:3a:c9:0f:2a:dd', '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': '69.64.144.197', 'subnet_id': '00d1b9f9-7972-4ced-a984-3b5824719e6e'}], 'security_groups': ['1b096cbb-4737-4365-96cd-772fa690be9c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-13T01:50:41.563830', 'updated_at': '2025-10-13T01:50:41.633448', 'project_id': '859b4aa074764edb9eed7268520fa954'}} 2025-10-13 01:50:42,041 - DEBUG - Response for create_port : {'port': {'name': '8782fe0c-2de5-45ac-9158-3de23108d7af', 'id': '8782fe0c-2de5-45ac-9158-3de23108d7af', 'tenant_id': '859b4aa074764edb9eed7268520fa954', 'network_id': 'c440518c-9078-4be5-bb64-7028348d40fc', 'mac_address': '02:87:82:fe:0c:2d', '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': '155.129.133.69', 'subnet_id': 'b6edb3f6-301c-45a0-b493-4733145bb2c0'}], 'security_groups': ['1b096cbb-4737-4365-96cd-772fa690be9c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-13T01:50:41.860787', 'updated_at': '2025-10-13T01:50:41.926529', 'project_id': '859b4aa074764edb9eed7268520fa954'}} 2025-10-13 01:50:42,167 - DEBUG - Services list from nova: [, , ] 2025-10-13 01:50:42,969 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-589-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-589-1) 2025-10-13 01:50:43,903 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-589-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-589-1) 2025-10-13 01:50:43,903 - INFO - Waiting for VM ctest-vn1-vm1-83828070 to be up.. 2025-10-13 01:50:44,015 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 01:50:49,155 - DEBUG - VM is in ACTIVE state now 2025-10-13 01:50:49,156 - INFO - VM name : ctest-vn1-vm1-83828070 2025-10-13 01:50:49,293 - DEBUG - VM ctest-vn1-vm1-83828070 ID is 9f0b3c73-e947-4957-a909-fc8c2110bbab 2025-10-13 01:50:49,331 - DEBUG - VM ctest-vn1-vm1-83828070 launched on Node cn-jenkins-deploy-platform-juju-os-589-1 2025-10-13 01:50:49,473 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/9f0b3c73-e947-4957-a909-fc8c2110bbab 2025-10-13 01:50:49,532 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/3ac90f2a-dd16-42bf-a15a-4fb0668f6c19 2025-10-13 01:50:52,995 - 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 1004ms') 2025-10-13 01:50:52,995 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83828070 failed! 2025-10-13 01:50:53,051 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-52314665:ctest-vn1-01008738 is 69.64.144.193 and allocation pool is NOT set 2025-10-13 01:50:53,052 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-52314665:ctest-vn1-01008738 is 155.129.133.65 and allocation pool is NOT set 2025-10-13 01:50:57,153 - 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-10-13 01:50:57,154 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83828070 failed! 2025-10-13 01:50:57,211 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-52314665:ctest-vn1-01008738 is 69.64.144.193 and allocation pool is NOT set 2025-10-13 01:50:57,212 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-52314665:ctest-vn1-01008738 is 155.129.133.65 and allocation pool is NOT set 2025-10-13 01:50:59,305 - 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.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.90 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.904/3.145/4.386/1.241 ms') 2025-10-13 01:50:59,305 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83828070 passed 2025-10-13 01:50:59,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 01:50:59,459 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-83828070, IP 69.64.144.197, Port 22 2025-10-13 01:50:59,674 - DEBUG - VM ctest-vn1-vm1-83828070 is ready for SSH connections 2025-10-13 01:50:59,674 - INFO - Waiting for VM ctest-vn1-vm2-98969030 to be up.. 2025-10-13 01:50:59,822 - DEBUG - VM is in ACTIVE state now 2025-10-13 01:50:59,822 - INFO - VM name : ctest-vn1-vm2-98969030 2025-10-13 01:50:59,964 - DEBUG - VM ctest-vn1-vm2-98969030 ID is 03e055e6-706c-4457-bd04-866853b9cce0 2025-10-13 01:50:59,964 - DEBUG - VM ctest-vn1-vm2-98969030 launched on Node cn-jenkins-deploy-platform-juju-os-589-1 2025-10-13 01:51:00,096 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/03e055e6-706c-4457-bd04-866853b9cce0 2025-10-13 01:51:00,152 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/8782fe0c-2de5-45ac-9158-3de23108d7af 2025-10-13 01:51:01,598 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.479 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.479/1.891/3.304/1.412 ms') 2025-10-13 01:51:01,599 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-98969030 passed 2025-10-13 01:51:01,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 01:51:01,747 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-98969030, IP 155.129.133.69, Port 22 2025-10-13 01:51:01,957 - DEBUG - VM ctest-vn1-vm2-98969030 is ready for SSH connections 2025-10-13 01:51:01,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 01:51:01,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 01:51:01,958 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 01:51:01,958 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.64.144.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-10-13 01:51:01,958 - DEBUG - ping -s 56 -c 3 -W 1 69.64.144.197 2025-10-13 01:51:04,989 - DEBUG - PING 69.64.144.197 (69.64.144.197): 56 data bytes 64 bytes from 69.64.144.197: seq=0 ttl=63 time=4.272 ms 64 bytes from 69.64.144.197: seq=1 ttl=63 time=0.792 ms 64 bytes from 69.64.144.197: seq=2 ttl=63 time=0.807 ms --- 69.64.144.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.792/1.957/4.272 ms 2025-10-13 01:51:04,989 - INFO - Ping to IP 69.64.144.197 from VM ctest-vn1-vm2-98969030 passed 2025-10-13 01:51:04,989 - INFO - Detaching port 8782fe0c-2de5-45ac-9158-3de23108d7af from VM ctest-vn1-vm2-98969030 2025-10-13 01:51:05,161 - INFO - Deleting VM ctest-vn1-vm2-98969030 2025-10-13 01:51:05,305 - INFO - Detaching port 3ac90f2a-dd16-42bf-a15a-4fb0668f6c19 from VM ctest-vn1-vm1-83828070 2025-10-13 01:51:05,369 - INFO - Deleting VM ctest-vn1-vm1-83828070 2025-10-13 01:51:05,783 - DEBUG - Response for delete_port : () 2025-10-13 01:51:06,079 - DEBUG - Response for delete_port : () 2025-10-13 01:51:06,079 - INFO - Deleting VN ctest-vn1-01008738 2025-10-13 01:51:06,262 - DEBUG - Response for deleting network () 2025-10-13 01:51:06,648 - DEBUG - No XMPP flaps were noticed during the test 2025-10-13 01:51:06,648 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27] 2025-10-13 01:51:06,648 - INFO - -------------------------------------------------------------------------------- 2025-10-13 01:51:07,372 - INFO - Deleted project: ctest-TestPorts-52314665, ID : 859b4aa0-7476-4edb-9eed-7268520fa954