Forum Discussion

tadsit's avatar
tadsit
New Contributor
18 days ago
Solved

Failed to upload the report data - An exception occurred

Ran about 7 hours of tests. At the end received this message: An exception occurred within the TLogObserver handler of the ltcLogData event: Failed to upload the report data.

This happened multiple times. I ran several execution plans on several VM's over night and then again today.

What is happening to cause the issue? Do I have to break up the execution plans smaller than 7 hours?

  • Since you are using the parameter /shr to upload and share your results to sharereports.smartbear.com. There can be a number of issues, such as timeout, data uploaded exceeding limit (500 MB), sharereports services gone down, firewalls or proxies running in your network etc. Also, your test seems to have run for 66 hours!

    Your best option is to open a ticket via https://support.smartbear.com/testcomplete/message/, as it's most likely a server-side issue. 

     

4 Replies

  • tadsit's avatar
    tadsit
    New Contributor

    The test had an error at the end and since it was running Friday night, I did not click the error message until Monday morning. So a few hours of tests and about 60 hours waiting for me to click on the error message.

  • rraghvani's avatar
    rraghvani
    Icon for Champion Level 3 rankChampion Level 3

    Are you able to give us some more clues please? 

    How are you running your automation? Are you using TestComplete or TestExecute? What version of TC/TE are you using? Where are you uploading the reports to? Has it happened before? 

    • tadsit's avatar
      tadsit
      New Contributor

      Thank you for asking. I am using TestExecute. This has happened multiple times from multiple VMs. TestExecute 15.73.16.11 x64

      Here is my .bat file that I run to launch TestExecute:

      For /f "tokens=2-4 delims=/ " %%a in ('date /t') do (set mydate=%%a-%%b-%%c)

      For /f "tokens=1-2 delims=/:" %%a in ('time /t') do (set mytime=%%a%%b)

      set projectsuite=ShopTrak

      set project=STRegressionTests

      "C:\Program Files (x86)\SmartBear\TestExecute 15\x64\Bin\TestExecute.exe" "Z:\ProjectWork\%projectsuite%\%projectsuite%.pjs" /run /project:%project% /ns /el:"C:\Users\Public\Documents\log testing\%project%_%mydate%_%mytime%.mht" /shr:"C:\Users\Public\Documents\log testing\%project%_%mydate%_%mytime%.txt" /shrei:14 /exit

      First I get a message The log cannot be shared. Reason: Failed to upload the report data. Then Packing log files... status bar displays. Then the exception error "An exception occurred within the TLogObserver handler of theltcLogData event: Failed to upload the report data.

      Then I can open TestExecute again, Open the Project and Share Results. The Packing log files...status bar displays.

      Then the log will create: https://sharereports.smartbear.com/ADB9F05AC89943C1B90CAD356792924C02/STRegressionTests-Copy

      I wonder if TestComplete is having issues establishing my license.

       

      • rraghvani's avatar
        rraghvani
        Icon for Champion Level 3 rankChampion Level 3

        Since you are using the parameter /shr to upload and share your results to sharereports.smartbear.com. There can be a number of issues, such as timeout, data uploaded exceeding limit (500 MB), sharereports services gone down, firewalls or proxies running in your network etc. Also, your test seems to have run for 66 hours!

        Your best option is to open a ticket via https://support.smartbear.com/testcomplete/message/, as it's most likely a server-side issue.