Troubleshooting issues
You can find information about the issues or problems that you might encounter while working with HCL OneTest™ Server. Details about issues, their causes and the resolutions that you can apply to fix the issues are described.
Problem |
Description |
Solution |
---|---|---|
When you are installing the server software and you encounter errors in the scripts that are running. |
At times, scripts might not appear to be running due to any of the following reasons:
|
You can complete any of the following tasks:
|
The DNS is not working as expected. |
You can change the nameservers by using the following command:kubectl edit cm coredns -n kube-system The changes are applied when you restart the coredns pod. If you are unsure of how to do this you can run the following script that helps you manage the DNS settings: ubuntu-set-dns.sh |
Problem |
Description |
Solution |
---|---|---|
Less recently patched versions of OpenShift can give errors when ever OpenShift performs internal checks. For example, the following error is displayed:
ValidationError(Route.spec.to): missing required field "weight" |
The errors are caused because OpenShift performs the internal checks that are invalid. |
Apply the latest OpenShift patches when they become available. If you do not want to apply the patches or cannot apply the patches, you can disable these checks in OpenShift by appending the following option to the helm command: --disable-openapi-validation |
If your user-realm role is changed when you are logged in a session, the changed role is not applied immediately or even after the browser is refreshed. |
You must log out of the session and log in again for the changed role to take effect. |
Problem |
Description |
Solution |
---|---|---|
You are not able to add a Prometheus server as a Resource Monitoring source. |
The cause might be that you have not installed the Prometheus server at the time of server installation. |
Verify that the Prometheus server was installed in Helm at the time of server installation. See Installing the server software on Ubuntu using microk8s. If not, consult your cluster administrator to get the Promethues server installed and configured. |
Problem |
Description |
Solution |
---|---|---|
When you run tests and you encounter any of the following issues:
|
The issue is seen when the memory that is used by the particular test during the test run exceeds the allocated default memory of 3 GB. |
You can increase the memory usage for the test run in any of following ways:
You can set the heap size or set the memory limit by performing the following steps when you configure the test run:
Important: The memory settings that you configure for a test run is persisted for the test when ever you run it. You must use this setting judiciously. Configuring all tests for an increased memory limit might affect subsequent test runs or cause other memory issues when tests run simultaneously. |
You are not able to run the Istio stubs from the Execution page. |
The cause might be that you have not enabled the service visualization via Istio at the time of server installation. The default configuration does not enable service virtualization via Istio. |
Contact your cluster administrator or if you have the privileges, configure Helm as follows:
|
The cause might be that the fully qualified domain name is not specified in the Host field for the stub when it was created. |
Verify and ensure to add the fully qualified domain name of the server in the Host field when the physical transport for the stub is configured in HCL OneTest™ API. |
Problem |
Description |
Solution |
---|---|---|
You are not able to view the Jaeger traces for the tests you ran. |
The cause can be as follows:
|
Check for any of the following solutions:
|