I'd be surprised if Git fails as well, although Git does some fancy encoding so 
may not be pushing as many separate files.  DropBox might be a better test 
where you drop 500+ .asc files into a DropBox folder and see if it fails as it 
uploads them.

And that's why I'm suggesting that effort be spend on a workaround where the CI 
server pushes the bits, but it is up to you how you spend your time.  We can 
certainly teach the CI server to download .asc files from some GitHub URL.  The 
big question that hasn't been tested yet is whether the CI server would have 
the same failure issues uploading the big bits to staging.  If you have time, 
that's what I recommend that you do next.  If we find that the CI server is 
reliable pushing bits to staging then that is our workaround.  If it has the 
same issues, then the workaround may be to push the bits to GH and have someone 
with more reliable internet push to staging.

-Alex

On 4/29/20, 10:36 AM, "Yishay Weiss" <[email protected]> wrote:

    It ‘hangs’, no message. I can do the Git test, but I’d be really surprised 
if that failed.
    
    From: Alex Harui<mailto:[email protected]>
    Sent: Wednesday, April 29, 2020 8:10 PM
    To: [email protected]<mailto:[email protected]>
    Subject: Re: Optimize wagon:upload
    
    So to me, a good test would be to copy all of the .asc files to the 
internet somewhere else.  Push them all to a git repo, or to dropbox or some 
other cloud storage via a git command or a script.  Because if that works for 
you, it really points the finger at some aspect of Windows networking not 
communicating well with the staging server.
    
    Also, is it really "hanging" as in you have to kill maven or does it just 
fail at some point? And if it fails does it give you the option to continue 
where it failed?
    
    -Alex
    
    On 4/29/20, 10:05 AM, "Yishay Weiss" <[email protected]> wrote:
    
        I put the flag there just as a test. If it does what the documentation 
says it should it should be helpful for bigger bulks, but I haven’t gotten it 
to work.
    
        Yes, the total of .asc files is I think less than an mb, and yet even 
this hangs for me.
    
        From: Alex Harui<mailto:[email protected]>
        Sent: Wednesday, April 29, 2020 6:58 PM
        To: [email protected]<mailto:[email protected]>
        Subject: Re: Optimize wagon:upload
    
        Try turning off the optimize flag in the ant script where it calls 
Maven.  If you are just uploading individual .asc files it is far less data 
than pushing all of the binary bits.
    
        -Alex
    
        On 4/29/20, 7:18 AM, "Yishay Weiss" <[email protected]> wrote:
    
            Has anyone got this [1] to work? Didn’t for me. I got
    
                 [exec] [ERROR] Failed to execute goal 
org.codehaus.mojo:wagon-maven-plugin:2.0.0:upload (default-cli) on project 
royale-framework-parent: Error handling resource
            : Wagon https does not support optimize upload -> [Help 1]
                 [exec] org.apache.maven.lifecycle.LifecycleExecutionException: 
Failed to execute goal org.codehaus.mojo:wagon-maven-plugin:2.0.0:upload 
(default-cli) on project
    
            [1] 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.mojohaus.org%2Fwagon-maven-plugin%2Fupload-mojo.html%23optimize&amp;data=02%7C01%7Caharui%40adobe.com%7C4d2745e7a4014981800d08d7ec63d718%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637237785868133658&amp;sdata=U3%2F3Hf1ZYptS4TbGT4QXZ%2BuXLAAsp4hTHYoIlefW5sc%3D&amp;reserved=0
    
    
    
    
    
    

Reply via email to