You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Ittay Dror (JIRA)" <ji...@apache.org> on 2008/11/16 09:51:47 UTC

[jira] Created: (BUILDR-214) buildr is stuck uploading to sftp repository

buildr is stuck uploading to sftp repository
--------------------------------------------

                 Key: BUILDR-214
                 URL: https://issues.apache.org/jira/browse/BUILDR-214
             Project: Buildr
          Issue Type: Bug
          Components: Packaging
    Affects Versions: 1.3.4
            Reporter: Ittay Dror
             Fix For: 1.3.4


When I try to use #upload to an sftp 'release_to' repository, buildr 1.3.4 gets stuck on 'Deploying', and on the repository, a file of size 0 is created

Running with buildr 1.3.2 works fine

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (BUILDR-214) buildr is stuck uploading to sftp repository

Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655098#action_12655098 ] 

alexismidon edited comment on BUILDR-214 at 12/9/08 9:18 PM:
--------------------------------------------------------------

it didn't solve my issue :(

/usr/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh.rb:195:in `start'
/usr/lib/ruby/gems/1.8/gems/net-sftp-2.0.1/lib/net/sftp.rb:31:in `start'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/transports.rb:441:in `write_internal'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/transports.rb:189:in `write'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/transports.rb:222:in `upload'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/transports.rb:216:in `upload'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/transports.rb:216:in `open'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/transports.rb:216:in `upload'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/transports.rb:116:in `upload'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/packaging/artifact.rb:179:in `upload'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/packaging/artifact.rb:167:in `upload'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/packaging/package.rb:187:in `package'
/home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `call'
/home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `execute'
/home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `each'
/home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `execute'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:637:in `invoke_with_call_chain'


      was (Author: alexismidon):
    it didn't solve my issue :(


Command failed with status (1): [/usr/bin/buildr _1.3.4_ clean upload --tra...]
/home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:971:in `sh'
/home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:984:in `call'
/home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:984:in `sh'
/home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:1072:in `sh'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/build.rb:420:in `buildr'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/build.rb:378:in `make'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/build.rb:447:in `with_release_candidate_version'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/build.rb:375:in `make'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/build.rb:503
/home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:615:in `call'
/home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:615:in `execute'
/home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `each'
/home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `execute'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:637:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:623:in `invoke_with_call_chain'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:618:in `invoke'
/home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:2019:in `invoke_task'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:232:in `top_level'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:232:in `each'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:232:in `top_level'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:503:in `standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:223:in `top_level'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:138:in `run'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:503:in `standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:135:in `run'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/bin/buildr:19
/usr/bin/buildr:19:in `load'
/usr/bin/buildr:19
  
> buildr is stuck uploading to sftp repository
> --------------------------------------------
>
>                 Key: BUILDR-214
>                 URL: https://issues.apache.org/jira/browse/BUILDR-214
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.3.4
>            Reporter: Ittay Dror
>             Fix For: 1.3.4
>
>
> When I try to use #upload to an sftp 'release_to' repository, buildr 1.3.4 gets stuck on 'Deploying', and on the repository, a file of size 0 is created
> Running with buildr 1.3.2 works fine

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (BUILDR-214) buildr is stuck uploading to sftp repository

Posted by "Ittay Dror (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652409#action_12652409 ] 

Ittay Dror commented on BUILDR-214:
-----------------------------------

confirmed that this also works for me

> buildr is stuck uploading to sftp repository
> --------------------------------------------
>
>                 Key: BUILDR-214
>                 URL: https://issues.apache.org/jira/browse/BUILDR-214
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.3.4
>            Reporter: Ittay Dror
>             Fix For: 1.3.4
>
>
> When I try to use #upload to an sftp 'release_to' repository, buildr 1.3.4 gets stuck on 'Deploying', and on the repository, a file of size 0 is created
> Running with buildr 1.3.2 works fine

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (BUILDR-214) buildr is stuck uploading to sftp repository

Posted by "Heikki Hulkko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650555#action_12650555 ] 

hhulkko edited comment on BUILDR-214 at 11/25/08 4:31 AM:
----------------------------------------------------------------

It seems that commit r698409 to ./lib/buildr/core/transports.rb introduces this regression.
The following reverting patch works for me:

43c43
<   RW_CHUNK_SIZE = 2 ** 20 #:nodoc:
---
>   RW_CHUNK_SIZE = 32 * 4096


      was (Author: hhulkko):
    It seems that commit r698409 to ./lib/buildr/core/transports.rb introduces this regression.
With the following reverting patch it works for me:

43c43
<   RW_CHUNK_SIZE = 2 ** 20 #:nodoc:
---
>   RW_CHUNK_SIZE = 32 * 4096

  
> buildr is stuck uploading to sftp repository
> --------------------------------------------
>
>                 Key: BUILDR-214
>                 URL: https://issues.apache.org/jira/browse/BUILDR-214
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.3.4
>            Reporter: Ittay Dror
>             Fix For: 1.3.4
>
>
> When I try to use #upload to an sftp 'release_to' repository, buildr 1.3.4 gets stuck on 'Deploying', and on the repository, a file of size 0 is created
> Running with buildr 1.3.2 works fine

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (BUILDR-214) buildr is stuck uploading to sftp repository

Posted by "Heikki Hulkko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650555#action_12650555 ] 

Heikki Hulkko commented on BUILDR-214:
--------------------------------------

It seems that commit r698409 to ./lib/buildr/core/transports.rb introduces this regression.
With the following reverting patch it works for me:

43c43
<   RW_CHUNK_SIZE = 2 ** 20 #:nodoc:
---
>   RW_CHUNK_SIZE = 32 * 4096


> buildr is stuck uploading to sftp repository
> --------------------------------------------
>
>                 Key: BUILDR-214
>                 URL: https://issues.apache.org/jira/browse/BUILDR-214
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.3.4
>            Reporter: Ittay Dror
>             Fix For: 1.3.4
>
>
> When I try to use #upload to an sftp 'release_to' repository, buildr 1.3.4 gets stuck on 'Deploying', and on the repository, a file of size 0 is created
> Running with buildr 1.3.2 works fine

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (BUILDR-214) buildr is stuck uploading to sftp repository

Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655102#action_12655102 ] 

Alexis Midon commented on BUILDR-214:
-------------------------------------

One good and one bad news:
oups, actually it works. I was fooled by the size and number of artifacts, and the connection bandwidth I guess.

The bad one: it seems that the progress bar is out of order.

> buildr is stuck uploading to sftp repository
> --------------------------------------------
>
>                 Key: BUILDR-214
>                 URL: https://issues.apache.org/jira/browse/BUILDR-214
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.3.4
>            Reporter: Ittay Dror
>             Fix For: 1.3.4
>
>
> When I try to use #upload to an sftp 'release_to' repository, buildr 1.3.4 gets stuck on 'Deploying', and on the repository, a file of size 0 is created
> Running with buildr 1.3.2 works fine

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (BUILDR-214) buildr is stuck uploading to sftp repository

Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655098#action_12655098 ] 

Alexis Midon commented on BUILDR-214:
-------------------------------------

it didn't solve my issue :(


Command failed with status (1): [/usr/bin/buildr _1.3.4_ clean upload --tra...]
/home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:971:in `sh'
/home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:984:in `call'
/home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:984:in `sh'
/home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:1072:in `sh'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/build.rb:420:in `buildr'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/build.rb:378:in `make'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/build.rb:447:in `with_release_candidate_version'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/build.rb:375:in `make'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/build.rb:503
/home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:615:in `call'
/home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:615:in `execute'
/home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `each'
/home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `execute'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:637:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:623:in `invoke_with_call_chain'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:618:in `invoke'
/home/alexis/.gem/ruby/1.8/gems/rake-0.8.3/lib/rake.rb:2019:in `invoke_task'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:232:in `top_level'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:232:in `each'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:232:in `top_level'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:503:in `standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:223:in `top_level'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:138:in `run'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:503:in `standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:135:in `run'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/bin/buildr:19
/usr/bin/buildr:19:in `load'
/usr/bin/buildr:19

> buildr is stuck uploading to sftp repository
> --------------------------------------------
>
>                 Key: BUILDR-214
>                 URL: https://issues.apache.org/jira/browse/BUILDR-214
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.3.4
>            Reporter: Ittay Dror
>             Fix For: 1.3.4
>
>
> When I try to use #upload to an sftp 'release_to' repository, buildr 1.3.4 gets stuck on 'Deploying', and on the repository, a file of size 0 is created
> Running with buildr 1.3.2 works fine

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (BUILDR-214) buildr is stuck uploading to sftp repository

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert resolved BUILDR-214.
----------------------------------

    Resolution: Fixed

Fixed.

Index: transports.rb
===================================================================
--- transports.rb	(revision 722520)
+++ transports.rb	(working copy)
 
   # How many bytes to read/write at once.
-  RW_CHUNK_SIZE = 2 ** 20 #:nodoc:
+  RW_CHUNK_SIZE = 128 * 1024 #:nodoc:

svn commit -m "BUILDR-214: buildr is stuck uploading to sftp repository - change RW_CHUNK_SIZE from 1MB downto 128K" transports.rb 
Sending        transports.rb
Transmitting file data .
Committed revision 724953.



> buildr is stuck uploading to sftp repository
> --------------------------------------------
>
>                 Key: BUILDR-214
>                 URL: https://issues.apache.org/jira/browse/BUILDR-214
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.3.4
>            Reporter: Ittay Dror
>             Fix For: 1.3.4
>
>
> When I try to use #upload to an sftp 'release_to' repository, buildr 1.3.4 gets stuck on 'Deploying', and on the repository, a file of size 0 is created
> Running with buildr 1.3.2 works fine

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.