smartdevicelink / manticore

Dynamically provision SDL Core and SDL HMI instances in the cloud
BSD 3-Clause "New" or "Revised" License
6 stars 4 forks source link

Policy Table Update Fails to find sdl_snapshot.json when using a Cloud App #120

Closed RHenigan closed 3 years ago

RHenigan commented 4 years ago

When testing Policy table Updates with a JavaSE application the Policy Table Update fails to send a populated body in the OnSystemRequest RPCmessage. Reviewing the logs in manticore the issues seems to be a result of a missing file (sdl_snapshot.json).

Manticore Logs: 20769 DEBUG [18:30:51,812][Utils::FileSystem] Filename: /tmp/fs/mp/images/ivsu_cache/sdl_snapshot.json 20770 ERROR [18:30:51,812][Utils::FileSystem] Unable to check that file exists: /tmp/fs/mp/images/ivsu_cache/sdl_snapshot.json reason: No such file or directory, error code 2 (No such file or directory) 20771 ERROR [18:30:51,812][Utils::FileSystem] Not able to read binary file: /tmp/fs/mp/images/ivsu_cache/sdl_snapshot.json

Reproduction Steps: 1) Add Hello Sdl Java as a web app in manticore 2) Start the Hello Sdl Java app and connect to manticore 3) Update the Policy Table URL

Expected Behavior: An OnSystemRequest RPCmessage is sent to the app with a populated body

Observed Behavior: An OnSystemRequest RPCmessage is sent to the app with an empty String for a body

renonick87 commented 3 years ago

Closed as duplicate of #140 which has been resolved.