@VIRTUALDOG posted a new topic, subject "AWS S3 deploy failing due to log length". It read:

   Hi all,
    
    I have a build (https://travis-ci.org/github/supercollider/supercollider/jobs/720071451) which is currently failing during deployment (it seems) because the AWS S3 step prints the following log line many, many times:
    [code] 
        /Users/travis/.rvm/gems/ruby-2.6.3/gems/aws-sdk-core-2.11.571/lib/aws-sdk-core/eager_loader.rb:22: warning: constant Struct8b7c:f320:99b9:690f:4595:cd17:293a:c069Tms is deprecated
        
    [/code]
    
    until eventually `The job exceeded the maximum log length, and has been terminated.`
    
    is there anything i can do configuration-wise to get this build to pass, or anything travis folks can do to solve it? this is for a release, so i'd really like to avoid having to modify my `.travis.yml` or other committed scripts. a similar build under the same configuration deployed fine about 2 weeks ago (https://travis-ci.org/github/supercollider/supercollider/jobs/715363990).
    
    thanks in advance!

@native-api replied

    I've composed a fix. Please test it by specifying the following under the deploy entry:
    [code] 
        edge:
          source: 'native-api/dpl'
          branch: 'silence_s3_warnings'
        
    [/code]
    
    * * *
    
    This also seems to be fixed in deployment v2, so a workaround is:
    [code] 
        edge: true
        
    [/code]

After which, @VIRTUALDOG added

    that seems to have fixed it in a test build: https://travis-ci.org/github/supercollider/supercollider/jobs/720175189, thanks!

@VIRTUALDOG replied

    what's the next step? will that be merged and deployed on existing machines or will i have to add something extra to my configs, or both? this is my first time reporting something like this here.

To which @native-api replied

    github.com/travis-ci/dpl
    
    ####  Silence s3 warnings
    
    `travis-ci:v1` ← `native-api:silence_s3_warnings`
    
    opened 10:48AM - 23 Aug 20 UTC
    
    native-api 
    
    +28 -2
    
    Once this PR is merged and gets into a tag, you can remove the above clause.

So @BanzaiMan (Hiro Asari) replied

    I've pointed out @native-api's patch in the upstream issue:  
    
    
    github.com/aws/aws-sdk-ruby
    
    ####  Struct8b7c:f320:99b9:690f:4595:cd17:293a:c069Tms is deprecated warning
    
    opened 06:58PM - 03 Jun 20 UTC
    
    closed 05:53PM - 05 Jun 20 UTC
    
    nickdnk 
    
    Confirm by changing [ ] to [x] below to ensure that it's a bug: I've gone though Developer Guide for v3...
    
    dependencies investigating
    
      
    Hopefully this patch will be incorporated and, there will be a v2.x release soon. This way, everyone can benefit from it.

To which @native-api replied

    AWS have made a fix upstream (https://github.com/aws/aws-sdk-ruby/pull/2413) and released it in https://rubygems.org/gems/aws-sdk/versions/2.11.596 .
    
    @VIRTUALDOG as such, the workaround should no longer be needed.


{'source': 'discourse', 'url': 'https://travis-ci.community/t/aws-s3-deploy-failing-due-to-log-length/9691', 'title': 'AWS S3 deploy failing due to log length', 'views': 544, 'has_accepted_answer': True, 'word_count': 358, 'like_count': 2, 'reply_count': 1, 'participant_count': 3, 'posts': 7, 'tags': '', 'author': '@VIRTUALDOG', 'participants': '@VIRTUALDOG, @native-api, @BanzaiMan (Hiro Asari)', 'image_url': [None], 'created_at': '2020-08-21T23:34:11.007Z', 'last_posted_at': '2020-09-29T21:03:22.403Z'}