TestProject Forum

I am getting "Failed to read file signature" when executing test with Get Attribute Addon and other custom addons in Browserstack

I am getting “Failed to read file signature” when executing test with Get Attribute Addon and other custom addons in Browserstack, this was working fine before yesterday.

Test was recorded in cloud and executed

HI TestProject !
Any news on this?
I’m facing the same failure using the “Random Data Generator” Addon when tests are executed from the pipeline. If executed locally, they pass.

Hi Team,
All the schedule jobs in TestProject are failed with the same error message (“Failed to read file signature”) as shown in the below screenshot.

.

@all, looks like issue is fixed in Virtual Agent v3.0.3, you can follow below steps to overcome this:

  1. Login to TestProject
  2. Open Integration > Cloud Execution
  3. Disconnect Browserstack and confirm disconnect.
  4. Reconnect Browserstack with proper credentials
  5. Open Agent screen and confirm Virtual Agent v3.0.3
  6. Now, select the Virtual Agent in previously created Jobs and execute script

If some one facing issue in local machine, you can try upgrading the version.

2 Likes

Hello All,
Post upgrading agent, all is good.

Thanks much for fixing the issue :+1:

Hi all! It’s working fine now! Thanks for fixing the issue :smiley:

I am still seeing this error in a local agent with 3.0.5 version, although it only happens randomly.

2021-07-14 13:29:53.475 ERROR pool-3-thread-6 i.t.a.m.d.a.a                            Failed to get manifest from /home/qa/.testproject/agent/addons/-kT4Fi1xFk6PF8xkHU4vDg/-kT4Fi1xFk6PF8xkHU4vDg     
java.io.EOFException: Unexpected end of ZLIB input stream                                                                                                                                                   
        at java.base/java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:245)                                                                                                                   
        at java.base/java.util.zip.InflaterInputStream.read(InflaterInputStream.java:159)                                                                                                                   
        at java.base/java.util.zip.ZipInputStream.read(ZipInputStream.java:195)                                                                                                                             
        at java.base/java.util.jar.JarInputStream.read(JarInputStream.java:207)                                                                                                                             
        at java.base/java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:141)                                                                                                                       
        at java.base/java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:119)                                                                                                                     
        at java.base/java.util.jar.JarInputStream.getNextEntry(JarInputStream.java:142)                                                                                                                     
        at java.base/java.util.jar.JarInputStream.getNextJarEntry(JarInputStream.java:179)                                                                                                                  
        at io.testproject.agent.managers.d.a.a.a(TestProjectAgent:319)                                                                                                                                      
        at io.testproject.agent.managers.d.a.a.<init>(TestProjectAgent:1282)                                                                                                                                
        at io.testproject.agent.managers.d.a.c.b(TestProjectAgent:171)                                                                                                                                      
        at io.testproject.agent.managers.d.a.c.a(TestProjectAgent:75)                                                                                                                                       
        at io.testproject.agent.fsm.local.a.s.a(TestProjectAgent:211)                                                                                                                                       
        at io.testproject.agent.fsm.local.a.j.a(TestProjectAgent:152)                                                                                                                                       
        at io.testproject.agent.managers.d.o.a(TestProjectAgent:1539)                                                                                                                                       
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)                                                                                                                               
        at io.testproject.agent.c.d.run(TestProjectAgent:33)                                                                                                                                                
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)                                                                                                        
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)                                                                                                        
        at java.base/java.lang.Thread.run(Thread.java:830)                                                                                                                                                  
2021-07-14 13:29:53.476 ERROR pool-3-thread-5 i.t.a.m.d.o                              Failed to read file signature                                                                                        
java.util.concurrent.ExecutionException: java.io.IOException: Failed to read addon manifest file!                                                                                                           
        at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)                                                                                                                            
        at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)                                                                                                                               
        at io.testproject.agent.managers.d.o.d(TestProjectAgent:1543)                                                                                                                                       
        at io.testproject.agent.managers.d.o.a(TestProjectAgent:2534)                                                                                                                                       
        at io.testproject.agent.managers.d.o.a(TestProjectAgent:322)                                                                                                                                        
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)                                                                                                                               
        at io.testproject.agent.c.d.run(TestProjectAgent:33)                                                                                                                                                
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)                                                                                                        
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)                                                                                                        
        at java.base/java.lang.Thread.run(Thread.java:830)                                                                                                                                                  
Caused by: java.io.IOException: Failed to read addon manifest file!                                                                                                                                         
        at io.testproject.agent.managers.d.a.a.<init>(TestProjectAgent:1284)                                                                                                                                
        at io.testproject.agent.managers.d.a.c.b(TestProjectAgent:171)                                                                                                                                      
        at io.testproject.agent.managers.d.a.c.a(TestProjectAgent:75)                                                                                                                                       
        at io.testproject.agent.fsm.local.a.s.a(TestProjectAgent:211)                                                                                                                                       
        at io.testproject.agent.fsm.local.a.j.a(TestProjectAgent:152)                                                                                                                                       
        at io.testproject.agent.managers.d.o.a(TestProjectAgent:1539)                                                                                                                                       
        ... 5 common frames omitted                                                                                                                                                                         

@SjakieMaksym

Could you please send your complete Agent logs via the Intercom for analysis?