Upload failed (cmdTimeout helps a little) ?

Here you can discuss the universal Integrated Development Environment for OpenVMS.

Topic author
l.cedric
Active Contributor
Posts: 44
Joined: Thu Jul 18, 2019 8:18 am
Reputation: 0
Status: Offline

Upload failed (cmdTimeout helps a little) ?

Post by l.cedric » Wed Apr 13, 2022 8:52 am

Hello,

since few versions I have this issue :

Code: Select all

…  
   inflating: [.src.server.dmtr]db_serializerlistbusiness.pc  
Upload failed. [my_project]
:(

Note that our source code lies in few sub-folders

As our code base is made of ~14 000 files, the Upload lasts about 3 minutes ... So I tried to play with the cmdTimeout parameter and here's my observations :
  • When my OpenVMS destination folder is empty or hosts 1 succeded upload (so ~ 14 000 files), a 3600 value for cmdTimeout allows a succeded Upload
  • If I decrease this value (1800 for example), it fails in a previous file
  • Perhaps a clue ?
    • I noticed that the "purge": true parameter (in vmssoftware.synchronizer-settings.json) does not purge my source files on this OpenVMS destination folder ... So 2 tries give ~ 28 000 files in this folder
    • And the next Uploads fail, except if I purge by myself this OpenVMS folder :!: Which is in fact my workaround
  • Never have an issue with the Quick Upload (very few files in comparison ...)

Despite your Wiki's page which says :
NOTE: Value "0" means, that timeout is not used.
WARN: Do not change timeout settings unless necessary.
If needed, here's some informations :
  • I've just tried today with the new VMS-IDE v1.5.52 (VSCode v1.66.1)
  • SSD and a VPN towards my company thru fiber internet

Is there any new configuration I missed ?
Thanks in advance


Topic author
l.cedric
Active Contributor
Posts: 44
Joined: Thu Jul 18, 2019 8:18 am
Reputation: 0
Status: Offline

Re: Upload failed (cmdTimeout helps a little) ?

Post by l.cedric » Tue Apr 19, 2022 9:32 am

@ARNE_V
2 year, 3 years, 5 years?
I bet more than 5 years ... :roll:
BUT a decision was made NOT to use the little budget available for this very old application, but to create a more modern one... gradually "eating" the old one.
It probably make sense just to do the minimum necessary
Even the minimum necessary is quite expensive with 3 million lines of code to restructure ... :(
The effort to restructure it will pay off later
I agree, I am myself a "technical debt hunter" (among other things), but it is not my role to decide where to put the little money available.


willemgrooters
Valued Contributor
Posts: 78
Joined: Fri Jul 12, 2019 1:59 pm
Reputation: 0
Location: Netherlands
Status: Offline
Contact:

Re: Upload failed (cmdTimeout helps a little) ?

Post by willemgrooters » Sat Aug 20, 2022 3:45 pm

arne_v wrote:
Wed Apr 13, 2022 2:48 pm
If you instead of 1 project with 14000 files had 10 projects at an average of 1400 files, then thing would become more manageable.

The 9 projects would produce either an object library or a shareable image. The last project would produce an executable image. Or whatever works.
It would be possible if you could define either upload all projects in one go, eventually as a 'super-project' combining them. I tried so but uploading such a project wasn't possible at the time; and I haven't seen this solved yet


Topic author
l.cedric
Active Contributor
Posts: 44
Joined: Thu Jul 18, 2019 8:18 am
Reputation: 0
Status: Offline

Re: Upload failed (cmdTimeout helps a little) ?

Post by l.cedric » Mon Aug 29, 2022 5:26 am

sergey_vorfolomeev wrote:
Thu Apr 14, 2022 6:19 am
Oops
I found a hardcoded timeout for unzipping 3 sec

Code: Select all

const unzipResult = await shell.execCmd(unzipCmd, undefined, 3000);
We will fix this soon.
PS: Is there any suggestion? New configuration value? Or use existing 'cmdTimeout'?
@Sergey
Any news about this fix ?
(I looked at this lastest release notes without seeing it)


sergey_vorfolomeev
VSI Expert
Valued Contributor
Posts: 73
Joined: Thu Aug 22, 2019 12:17 am
Reputation: 0
Status: Offline

Re: Upload failed (cmdTimeout helps a little) ?

Post by sergey_vorfolomeev » Mon Aug 29, 2022 8:03 am

The latest version (1.5.54) must have this fix.
Improve uploading via ZIP.
So, hardcoded timeout was deleted. And user may stop uploading using "Stop action".
Last edited by sergey_vorfolomeev on Mon Aug 29, 2022 8:05 am, edited 2 times in total.


Topic author
l.cedric
Active Contributor
Posts: 44
Joined: Thu Jul 18, 2019 8:18 am
Reputation: 0
Status: Offline

Re: Upload failed (cmdTimeout helps a little) ?

Post by l.cedric » Mon Aug 29, 2022 8:11 am

@Sergey
Thank you very much for your clarification

Post Reply