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 |
---|---|---|
On Ubuntu, 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:
|
On Ubuntu, DNS is not working as expected. |
The DNS configuration that is used by the cluster can be displayed by using the following command: kubectl get cm -n kube-system coredns -ojsonpath="{.data.Corefile}" The forward setting displays the nameservers that are used. For example, you might see the following in the corefile:
.:53 { : forward . 8.8.8.8 9.9.9.9 : } A script (ubuntu-set-dns.sh) is supplied for managing these values. For example, to set the DNS values for the values shown in the previous example:
sudo ./ubuntu-set-dns.sh --server 8.8.8.8 --server 9.9.9.9 Note: If you do not use sudo in the command, the script runs but the configuration might be lost if the cluster is restarted. To learn more about the behavior of the script, run the following command:
sudo ./ubuntu-set-dns.sh --help |
|
When running helm install the created pods keep crashing, and the logs contain: ACCESS_REFUSED when trying to connect to RabbitMQ | In some instances, the RabbitMQ password is not automatically setup correctly. | Manually apply the necessary password:kubectl exec -n <namespace> <release-name>-rabbitmq-0 -- rabbitmqctl change_password user \ "$(kubectl get secret -n <namespace> <release-name>-rabbitmq -o jsonpath='{.data.rabbitmq-password}' | base64 --decode)" |
Problem |
Description |
Solution |
---|---|---|
When a user is assigned an additional role, the change in the permissions is not observed in the browser. |
You must log out of the session and log in again for the changed role to take effect. |
|
You see the following message displayed on HCL OneTest™ Server: You can’t request to join a project that has no owners |
You requested to join an project that no longer has an owner. Orphaned projects occur when the project owners are deleted. This can occur, for example, when the person leaves the organization. |
Ask an administrator to take ownership of the project, and then add you as a member. |
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 by using k3s. If not, consult your cluster administrator to get the Prometheus server installed and configured. |
Problem |
Description |
Solution |
---|---|---|
When you configure a run of a schedule that matches the following conditions:
|
The cause might be because of the following reasons:
|
To resolve the problem, select from either of the following methods:
|
You have added a remote repository to your project that contains the test assets or resources of the following types:
|
This problem occurs if the server extension is not enabled. Although the extension was enabled at the time of installation of HCL OneTest™ Server, it was disabled subsequently by the server administrator. |
You must verify if the server extension is enabled and running by running the following command:kubectl get pod -n <test-system>, where <test-system> is the namespace that you created to install the server software. The server extensions that are running are displayed. If the server extension that you want is not running implying that the server extension is not enabled. You must enable the server extension. Contact the server administrator to enable the server extension. |
Problem |
Description |
Solution |
|||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
You encounter any of the following issues:
|
The issue is seen when any of the following events occur:
|
To resolve the problem, you can increase the resource allocation for test runs. You can enter arguments in the Additional configuration options field in the Advanced settings panel of the Execute test asset dialog box when configuring a 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 can
increase the resource allocation for test runs by using any
of the following arguments:
In addition, in the JVM Arguments field under the Advanced settings you can set the maximum heap size for the test runtime. For example, adding the JVM argument -Xmx3g sets the maximum heap size to 3Gi. |
|||||||||||||||||||||||||||||||||||
You are not able to run the Istio stubs from the Execution page. |
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:
|