2025-10-22 19:46:50,925 - INFO - Reading existing Domain with UUID cc7bf0c9-b3f5-4805-bbd2-f13c8e4f2bc8 2025-10-22 19:46:50,940 - INFO - Using existing domain ['admin_domain'](cc7bf0c9-b3f5-4805-bbd2-f13c8e4f2bc8) 2025-10-22 19:46:51,204 - INFO - Project ctest-TestPorts-48593546 not found, creating it 2025-10-22 19:46:51,781 - INFO - Created Project:ctest-TestPorts-48593546, ID : 970459a5-5cb6-4cdc-8725-e5ee4b093b09 2025-10-22 19:46:53,804 - INFO - ================================================================================ 2025-10-22 19:46:53,804 - INFO - STARTING TEST : test_ports_bindings 2025-10-22 19:46:53,804 - 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-22 19:46:54,209 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.0.0.141': '0'}} with 2025-10-22 19:46:54,209 - INFO - Initial checks done. Running the testcase now 2025-10-22 19:46:54,209 - INFO - 2025-10-22 19:46:55,144 - DEBUG - Response for create_network : {'network': {'id': '0803ccd7-d28a-48bf-9f68-42fea9f8a931', 'name': 'ctest-vn-87242978', 'tenant_id': '970459a55cb64cdc8725e5ee4b093b09', 'project_id': '970459a55cb64cdc8725e5ee4b093b09', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-48593546', 'ctest-vn-87242978'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-22 19:46:55,396 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a353b89-710b-4a96-b872-501e41229010', 'name': '', 'tenant_id': '970459a55cb64cdc8725e5ee4b093b09', 'network_id': '0803ccd7-d28a-48bf-9f68-42fea9f8a931', 'ip_version': 4, 'cidr': '82.177.3.192/26', 'allocation_pools': [{'start': '82.177.3.194', 'end': '82.177.3.254'}], 'gateway_ip': '82.177.3.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-22T19:46:55.272139', 'updated_at': '2025-10-22T19:46:55.272139', 'dns_server_address': '82.177.3.194', 'tags': [], 'project_id': '970459a55cb64cdc8725e5ee4b093b09'}} 2025-10-22 19:46:55,465 - INFO - Created VN ctest-vn-87242978 2025-10-22 19:46:55,523 - DEBUG - VN ctest-vn-87242978 UUID is 0803ccd7-d28a-48bf-9f68-42fea9f8a931 2025-10-22 19:46:55,762 - DEBUG - Read virtual machine interface {'fq_name': ['admin_domain', 'ctest-TestPorts-48593546', 'ctest-vmi-20998766']} 2025-10-22 19:46:56,140 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-20998766', 'id': '8523da76-0d12-47b6-90ad-a36ccebd318e', 'tenant_id': '970459a55cb64cdc8725e5ee4b093b09', 'network_id': '0803ccd7-d28a-48bf-9f68-42fea9f8a931', 'mac_address': '02:85:23:da:76:0d', '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': '82.177.3.195', 'subnet_id': '1a353b89-710b-4a96-b872-501e41229010'}], 'security_groups': ['8093bd3f-8f70-4717-8844-9d7f87908080'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-22T19:46:55.907271', 'updated_at': '2025-10-22T19:46:55.976848', 'project_id': '970459a55cb64cdc8725e5ee4b093b09'}} 2025-10-22 19:46:56,140 - DEBUG - Created port 8523da76-0d12-47b6-90ad-a36ccebd318e 2025-10-22 19:46:56,255 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine-interface/8523da76-0d12-47b6-90ad-a36ccebd318e 2025-10-22 19:46:56,620 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine-interface/8523da76-0d12-47b6-90ad-a36ccebd318e 2025-10-22 19:46:56,725 - INFO - VMI 8523da76-0d12-47b6-90ad-a36ccebd318e verification in API Server passed 2025-10-22 19:46:56,908 - DEBUG - Response for delete_port : () 2025-10-22 19:46:56,909 - INFO - Deleted port 8523da76-0d12-47b6-90ad-a36ccebd318e 2025-10-22 19:46:56,909 - INFO - Deleting VN ctest-vn-87242978 2025-10-22 19:46:57,114 - DEBUG - Response for deleting network () 2025-10-22 19:46:57,524 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 19:46:57,525 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04]
2025-10-22 19:46:57,525 - INFO - -------------------------------------------------------------------------------- 2025-10-22 19:46:57,528 - INFO - ================================================================================ 2025-10-22 19:46:57,529 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-22 19:46:57,529 - 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-22 19:46:57,924 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.0.0.141': '0'}} with 2025-10-22 19:46:57,925 - INFO - Initial checks done. Running the testcase now 2025-10-22 19:46:57,925 - INFO - 2025-10-22 19:46:58,244 - DEBUG - Response for create_network : {'network': {'id': '728cbfc5-e36d-46d8-893c-160ea3393c28', 'name': 'ctest-vn1-38349601', 'tenant_id': '970459a55cb64cdc8725e5ee4b093b09', 'project_id': '970459a55cb64cdc8725e5ee4b093b09', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-48593546', 'ctest-vn1-38349601'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-22 19:46:58,512 - DEBUG - Response for create_subnet : {'subnet': {'id': '27db7c7c-f05a-4dcc-91ff-169d07c9b2dc', 'name': '', 'tenant_id': '970459a55cb64cdc8725e5ee4b093b09', 'network_id': '728cbfc5-e36d-46d8-893c-160ea3393c28', 'ip_version': 4, 'cidr': '15.240.220.192/26', 'allocation_pools': [{'start': '15.240.220.194', 'end': '15.240.220.254'}], 'gateway_ip': '15.240.220.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-22T19:46:58.382763', 'updated_at': '2025-10-22T19:46:58.382763', 'dns_server_address': '15.240.220.194', 'tags': [], 'project_id': '970459a55cb64cdc8725e5ee4b093b09'}} 2025-10-22 19:46:58,816 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd7862520-d4aa-4443-8392-8c9056a40840', 'name': '', 'tenant_id': '970459a55cb64cdc8725e5ee4b093b09', 'network_id': '728cbfc5-e36d-46d8-893c-160ea3393c28', 'ip_version': 4, 'cidr': '70.183.21.192/26', 'allocation_pools': [{'start': '70.183.21.194', 'end': '70.183.21.254'}], 'gateway_ip': '70.183.21.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-22T19:46:58.651727', 'updated_at': '2025-10-22T19:46:58.651727', 'dns_server_address': '70.183.21.194', 'tags': [], 'project_id': '970459a55cb64cdc8725e5ee4b093b09'}} 2025-10-22 19:46:58,889 - INFO - Created VN ctest-vn1-38349601 2025-10-22 19:46:58,947 - DEBUG - VN ctest-vn1-38349601 UUID is 728cbfc5-e36d-46d8-893c-160ea3393c28 2025-10-22 19:46:59,597 - DEBUG - Response for create_port : {'port': {'name': '8dc4639a-f683-487a-817c-7e4f24127a61', 'id': '8dc4639a-f683-487a-817c-7e4f24127a61', 'tenant_id': '970459a55cb64cdc8725e5ee4b093b09', 'network_id': '728cbfc5-e36d-46d8-893c-160ea3393c28', 'mac_address': '02:8d:c4:63:9a:f6', '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': '15.240.220.197', 'subnet_id': '27db7c7c-f05a-4dcc-91ff-169d07c9b2dc'}], 'security_groups': ['8093bd3f-8f70-4717-8844-9d7f87908080'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-22T19:46:59.358772', 'updated_at': '2025-10-22T19:46:59.429541', 'project_id': '970459a55cb64cdc8725e5ee4b093b09'}} 2025-10-22 19:46:59,884 - DEBUG - Response for create_port : {'port': {'name': 'cda63c45-c768-458b-90ac-e2f2a8081c63', 'id': 'cda63c45-c768-458b-90ac-e2f2a8081c63', 'tenant_id': '970459a55cb64cdc8725e5ee4b093b09', 'network_id': '728cbfc5-e36d-46d8-893c-160ea3393c28', 'mac_address': '02:cd:a6:3c:45:c7', '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': '70.183.21.197', 'subnet_id': 'd7862520-d4aa-4443-8392-8c9056a40840'}], 'security_groups': ['8093bd3f-8f70-4717-8844-9d7f87908080'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-22T19:46:59.681150', 'updated_at': '2025-10-22T19:46:59.755064', 'project_id': '970459a55cb64cdc8725e5ee4b093b09'}} 2025-10-22 19:47:00,011 - DEBUG - Services list from nova: [, , ] 2025-10-22 19:47:00,949 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-605-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-605-1) 2025-10-22 19:47:01,986 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-605-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-605-1) 2025-10-22 19:47:01,986 - INFO - Waiting for VM ctest-vn1-vm1-68894086 to be up.. 2025-10-22 19:47:02,120 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 19:47:07,373 - DEBUG - VM is in ACTIVE state now 2025-10-22 19:47:07,373 - INFO - VM name : ctest-vn1-vm1-68894086 2025-10-22 19:47:07,695 - DEBUG - VM ctest-vn1-vm1-68894086 ID is 0c580f2b-25b2-4a4c-a300-bfbe79630f9c 2025-10-22 19:47:07,876 - DEBUG - VM ctest-vn1-vm1-68894086 launched on Node cn-jenkins-deploy-platform-juju-os-605-1 2025-10-22 19:47:08,327 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine/0c580f2b-25b2-4a4c-a300-bfbe79630f9c 2025-10-22 19:47:08,436 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine-interface/8dc4639a-f683-487a-817c-7e4f24127a61 2025-10-22 19:47:12,043 - 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 1031ms') 2025-10-22 19:47:12,043 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-68894086 failed! 2025-10-22 19:47:12,103 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-48593546:ctest-vn1-38349601 is 15.240.220.193 and allocation pool is NOT set 2025-10-22 19:47:12,104 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-48593546:ctest-vn1-38349601 is 70.183.21.193 and allocation pool is NOT set 2025-10-22 19:47:16,237 - 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 1032ms') 2025-10-22 19:47:16,238 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-68894086 failed! 2025-10-22 19:47:16,319 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-48593546:ctest-vn1-38349601 is 15.240.220.193 and allocation pool is NOT set 2025-10-22 19:47:16,319 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-48593546:ctest-vn1-38349601 is 70.183.21.193 and allocation pool is NOT set 2025-10-22 19:47:18,422 - 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=6.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.07 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.072/3.622/6.173/2.550 ms') 2025-10-22 19:47:18,422 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-68894086 passed 2025-10-22 19:47:18,587 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:47:18,587 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-68894086, IP 15.240.220.197, Port 22 2025-10-22 19:47:18,817 - DEBUG - VM ctest-vn1-vm1-68894086 is ready for SSH connections 2025-10-22 19:47:18,817 - INFO - Waiting for VM ctest-vn1-vm2-43736226 to be up.. 2025-10-22 19:47:18,976 - DEBUG - VM is in ACTIVE state now 2025-10-22 19:47:18,976 - INFO - VM name : ctest-vn1-vm2-43736226 2025-10-22 19:47:19,148 - DEBUG - VM ctest-vn1-vm2-43736226 ID is f683c8e6-4fcc-4d27-9794-89db530081b5 2025-10-22 19:47:19,148 - DEBUG - VM ctest-vn1-vm2-43736226 launched on Node cn-jenkins-deploy-platform-juju-os-605-1 2025-10-22 19:47:19,312 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine/f683c8e6-4fcc-4d27-9794-89db530081b5 2025-10-22 19:47:19,371 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine-interface/cda63c45-c768-458b-90ac-e2f2a8081c63 2025-10-22 19:47:20,855 - 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=4.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.667 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.667/2.354/4.042/1.687 ms') 2025-10-22 19:47:20,855 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-43736226 passed 2025-10-22 19:47:21,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:47:21,015 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-43736226, IP 70.183.21.197, Port 22 2025-10-22 19:47:21,256 - DEBUG - VM ctest-vn1-vm2-43736226 is ready for SSH connections 2025-10-22 19:47:21,256 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:47:21,256 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:47:21,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:47:21,257 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 15.240.220.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-22 19:47:21,257 - DEBUG - ping -s 56 -c 3 -W 1 15.240.220.197 2025-10-22 19:47:24,437 - DEBUG - PING 15.240.220.197 (15.240.220.197): 56 data bytes 64 bytes from 15.240.220.197: seq=0 ttl=63 time=4.785 ms 64 bytes from 15.240.220.197: seq=1 ttl=63 time=1.199 ms 64 bytes from 15.240.220.197: seq=2 ttl=63 time=1.928 ms --- 15.240.220.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.199/2.637/4.785 ms 2025-10-22 19:47:24,437 - INFO - Ping to IP 15.240.220.197 from VM ctest-vn1-vm2-43736226 passed 2025-10-22 19:47:24,437 - INFO - Detaching port cda63c45-c768-458b-90ac-e2f2a8081c63 from VM ctest-vn1-vm2-43736226 2025-10-22 19:47:24,523 - INFO - Deleting VM ctest-vn1-vm2-43736226 2025-10-22 19:47:24,719 - INFO - Detaching port 8dc4639a-f683-487a-817c-7e4f24127a61 from VM ctest-vn1-vm1-68894086 2025-10-22 19:47:24,819 - INFO - Deleting VM ctest-vn1-vm1-68894086 2025-10-22 19:47:25,309 - DEBUG - Response for delete_port : () 2025-10-22 19:47:25,688 - DEBUG - Response for delete_port : () 2025-10-22 19:47:25,688 - INFO - Deleting VN ctest-vn1-38349601 2025-10-22 19:47:25,963 - DEBUG - Response for deleting network () 2025-10-22 19:47:26,377 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 19:47:26,377 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:29]
2025-10-22 19:47:26,377 - INFO - -------------------------------------------------------------------------------- 2025-10-22 19:47:27,221 - INFO - Deleted project: ctest-TestPorts-48593546, ID : 970459a5-5cb6-4cdc-8725-e5ee4b093b09