# Getting Error while execution in Unix env

**URL:** <https://forum.katalon.com/t/getting-error-while-execution-in-unix-env/8425>\
**Category:** Miscellaneous\
**Created:** [December 1, 2017, 10:09pm UTC](https://forum.katalon.com/t/getting-error-while-execution-in-unix-env/8425 "2017-12-01T22:09:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tarun](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@Tarun](https://forum.katalon.com/u/Tarun)\
**Post date:** [December 1, 2017, 10:09pm UTC](https://forum.katalon.com/t/getting-error-while-execution-in-unix-env/8425/1 "2017-12-01T22:09:25Z")

</div>

Hi Team,

I have installed libxrender on Ubuntu unix env using below  
sudo apt-get install libxrender1:i386 libxtst6:i386 libxi6:i386

But this time getting different error /opt/software/jdk1.8.0\_111/jre/lib/amd64/libawt\_xawt.so: libXtst.so.6: cannot open shared object file: No such file or directory

Started by user anonymous  
Building on master in workspace /var/lib/jenkins/jobs/ExecuteAutomation/workspace  
SSH: Connecting from host [psas20]  
SSH: Connecting with configuration [PSTAS07ForAutomation] …  
SSH: Creating session: username [jenktran], hostname [172.16.81.78], port [22]  
SSH: Connecting session …  
SSH: Connected  
SSH: Opening exec channel …  
SSH: EXEC: channel open  
SSH: EXEC: STDOUT/STDERR from command [cd /home/jenktran/Automation

export DISPLAY=:0.0

## ./executeKatalon.sh] … SSH: EXEC: connected #!/bin/bash Katalon Command line execution started /opt/software/jdk1.8.0\_111 Starting Groovy-Eclipse compiler resolver. Specified compiler level: unspecified 129 2.4.7.xx-201611170128-e46 = ACTIVE /%home%jenktran%Automation%Katalon First Proj%Katalon First Proj.prj/Keywords/newPackage/newKeyword.groovy: 24 Groovy:unable to resolve class internal.GlobalVariable /%home%jenktran%Automation%Katalon First Proj%Katalon First Proj.prj/Keywords/newPackage/newKeyword.groovy: 24 Groovy:unable to resolve class internal.GlobalVariable

## Test Suites/TimesheetTestCaseForChrome - Chrome (headless) - 20171201\_155934… …0/1(0%)

## 12-01-2017 03:59:38 PM - [START] - Start Test Suite : TimesheetTestCaseForChrome 12-01-2017 03:59:38 PM - [RUN\_DATA] - Logging run data ‘hostName’ with value ‘jenktran - [pstas07.pstech.pstechnology.com](http://pstas07.pstech.pstechnology.com)’ 12-01-2017 03:59:38 PM - [RUN\_DATA] - Logging run data ‘os’ with value ‘Linux 64bit’ 12-01-2017 03:59:38 PM - [RUN\_DATA] - Logging run data ‘hostAddress’ with value ‘127.0.1.1’ 12-01-2017 03:59:38 PM - [RUN\_DATA] - Logging run data ‘katalonVersion’ with value ‘5.1.0.1’ 12-01-2017 03:59:39 PM - [START] - Start Test Case : Test Cases/ManualMode/CreateUpdateTimeSheet 12-01-2017 03:59:39 PM - [INFO] - Evaluating variables for test case 12-01-2017 03:59:39 PM - [INFO] - Checking test data id 12-01-2017 03:59:39 PM - [INFO] - Finding test data with id ‘Data Files/Excel Data source/Timesheet\_input\_data’ 12-01-2017 03:59:39 PM - [INFO] - Test data is excel file, reading excel file 12-01-2017 03:59:39 PM - [INFO] - Reading excel file with source file ‘/home/jenktran/Automation/Katalon First Proj/Data Files/Excel Data source/Timesheet\_input\_data.xlsx’ and sheet name ‘Sheet1’ 12-01-2017 03:59:43 PM - [INFO] - Variable ‘getEmployeeToRemoveHardcodedVal’ is set to 535551 as default 12-01-2017 03:59:44 PM - [START] - Start action : Statement - For (def index : (7..8)) 12-01-2017 03:59:44 PM - [START] - Start action : openBrowser 12-01-2017 03:59:44 PM - [END] - End action : openBrowser 12-01-2017 03:59:44 PM - [END] - End action : Statement - For (def index : (7..8)) 12-01-2017 03:59:44 PM - [ERROR] - Test Cases/ManualMode/CreateUpdateTimeSheet FAILED because (of) java.lang.UnsatisfiedLinkError: /opt/software/jdk1.8.0\_111/jre/lib/amd64/libawt\_xawt.so: libXtst.so.6: cannot open shared object file: No such file or directory 12-01-2017 03:59:44 PM - [END] - End Test Case : Test Cases/ManualMode/CreateUpdateTimeSheet 12-01-2017 03:59:44 PM - [END] - End Test Suite : TimesheetTestCaseForChrome Uploading report to Katalon Analytics… Start sending test result to Katalon Analytics Uploading log files in folder path: /home/jenktran/Automation/Katalon First Proj/Reports/TimesheetTestCaseForChrome/20171201\_155934 Sending file: /home/jenktran/Automation/Katalon First Proj/Reports/TimesheetTestCaseForChrome/20171201\_155934/execution0.log Sending file: /home/jenktran/Automation/Katalon First Proj/Reports/TimesheetTestCaseForChrome/20171201\_155934/execution.properties Sending file: /home/jenktran/Automation/Katalon First Proj/Reports/TimesheetTestCaseForChrome/20171201\_155934/JUnit\_Report.xml Sending file: /home/jenktran/Automation/Katalon First Proj/Reports/TimesheetTestCaseForChrome/20171201\_155934/JSON\_Report.json End sending to Katalon Analytics Report has been sent to Katalon Analytics

## Test Suites/TimesheetTestCaseForChrome - Chrome (headless) - 20171201\_155934… …1/1(100%)

/opt/software/jdk1.8.0\_111  
SSH: EXEC: completed after 27,421 ms  
SSH: Disconnecting configuration [PSTAS07ForAutomation] …  
SSH: Transferred 0 file(s)  
Build step ‘Send files or execute commands over SSH’ changed build result to SUCCESS  
Recording test results  
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?  
Finished: FAILURE

---

<div class="post-metadata">

**Author:** ![duyluong](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/duyluong/32/1116_2.png) [@duyluong](https://forum.katalon.com/u/duyluong)\
**Post date:** [December 5, 2017, 8:39am UTC](https://forum.katalon.com/t/getting-error-while-execution-in-unix-env/8425/2 "2017-12-05T08:39:46Z")

</div>

Hi Tarun,  
Your jdk is 64-bit versions, so please try this command:

> $ sudo apt-get update  
> $ sudo apt-get install libxtst6
