Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Travis artifact upload is broken #309

Closed
rhyolight opened this issue Oct 17, 2013 · 5 comments
Closed

Travis artifact upload is broken #309

rhyolight opened this issue Oct 17, 2013 · 5 comments
Assignees
Milestone

Comments

@rhyolight
Copy link
Member

Example output from build 902.1:

$ travis-artifacts upload --path build-$TRAVIS_COMMIT.tar.gz --target-path $TRAVIS_REPO_SLUG
/home/travis/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/find.rb:38:in `block in find': No such file or directory (Errno::ENOENT)
    from /home/travis/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/find.rb:38:in `collect!'
    from /home/travis/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/find.rb:38:in `find'
    from /home/travis/.rvm/gems/ruby-1.9.3-p448/gems/travis-artifacts-0.2.0/lib/travis/artifacts/uploader.rb:38:in `block in files'
    from /home/travis/.rvm/gems/ruby-1.9.3-p448/gems/travis-artifacts-0.2.0/lib/travis/artifacts/uploader.rb:28:in `each'
    from /home/travis/.rvm/gems/ruby-1.9.3-p448/gems/travis-artifacts-0.2.0/lib/travis/artifacts/uploader.rb:28:in `files'
    from /home/travis/.rvm/gems/ruby-1.9.3-p448/gems/travis-artifacts-0.2.0/lib/travis/artifacts/uploader.rb:20:in `upload'
    from /home/travis/.rvm/gems/ruby-1.9.3-p448/gems/travis-artifacts-0.2.0/lib/travis/artifacts/cli.rb:32:in `upload'
    from /home/travis/.rvm/gems/ruby-1.9.3-p448/gems/travis-artifacts-0.2.0/lib/travis/artifacts/cli.rb:39:in `execute_command'
    from /home/travis/.rvm/gems/ruby-1.9.3-p448/gems/travis-artifacts-0.2.0/lib/travis/artifacts/cli.rb:24:in `start'
    from /home/travis/.rvm/gems/ruby-1.9.3-p448/gems/travis-artifacts-0.2.0/bin/travis-artifacts:4:in `<top (required)>'
    from /home/travis/.rvm/gems/ruby-1.9.3-p448/bin/travis-artifacts:23:in `load'
    from /home/travis/.rvm/gems/ruby-1.9.3-p448/bin/travis-artifacts:23:in `<main>'
    from /home/travis/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in `eval'
    from /home/travis/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in `<main>'
@ghost ghost assigned rhyolight Oct 17, 2013
@rhyolight
Copy link
Member Author

Identified breaking commit: 2ee940a...872d8d3

rhyolight added a commit that referenced this issue Oct 17, 2013
Fixes #309 by uploading the correct tarball name.
@rhyolight
Copy link
Member Author

Not going to close this until I see it working in master.

@rhyolight rhyolight reopened this Oct 17, 2013
@rhyolight
Copy link
Member Author

Running into a new issue:

$ travis-artifacts upload --path nupic-linux64-$TRAVIS_COMMIT.tar.gz --target-path $TRAVIS_REPO_SLUG
I, [2013-10-17T17:05:39.923281 #8366]  INFO -- : Uploading file /home/travis/build/numenta/nupic/nupic-linux64-dbd74ad392d303be8f2cfa4bdf422b6b7e3363ce.tar.gz to numenta/nupic/nupic-linux64-dbd74ad392d303be8f2cfa4bdf422b6b7e3363ce.tar.gz, public: true
Invalid Excon request keys: :scheme, :host
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/excon-0.27.6/lib/excon/connection.rb:232:in `request'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/fog-1.16.0/lib/fog/xml/sax_parser_connection.rb:36:in `request'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/fog-1.16.0/lib/fog/core/deprecated/connection.rb:18:in `request'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/fog-1.16.0/lib/fog/aws/storage.rb:513:in `request'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/fog-1.16.0/lib/fog/aws/requests/storage/get_bucket.rb:52:in `get_bucket'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/fog-1.16.0/lib/fog/aws/models/storage/directories.rb:24:in `get'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/travis-artifacts-0.2.0/lib/travis/artifacts/uploader.rb:114:in `bucket'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/travis-artifacts-0.2.0/lib/travis/artifacts/uploader.rb:97:in `_upload'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/travis-artifacts-0.2.0/lib/travis/artifacts/uploader.rb:61:in `upload_file'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/travis-artifacts-0.2.0/lib/travis/artifacts/uploader.rb:21:in `block in upload'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/travis-artifacts-0.2.0/lib/travis/artifacts/uploader.rb:20:in `each'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/travis-artifacts-0.2.0/lib/travis/artifacts/uploader.rb:20:in `upload'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/travis-artifacts-0.2.0/lib/travis/artifacts/cli.rb:32:in `upload'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/travis-artifacts-0.2.0/lib/travis/artifacts/cli.rb:39:in `execute_command'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/travis-artifacts-0.2.0/lib/travis/artifacts/cli.rb:24:in `start'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/travis-artifacts-0.2.0/bin/travis-artifacts:4:in `<top (required)>'
/home/travis/.rvm/gems/ruby-1.9.3-p448/bin/travis-artifacts:23:in `load'
/home/travis/.rvm/gems/ruby-1.9.3-p448/bin/travis-artifacts:23:in `<main>'
/home/travis/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in `eval'
/home/travis/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in `<main>'
Invalid Excon request keys: :scheme, :host
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/excon-0.27.6/lib/excon/connection.rb:232:in `request'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/fog-1.16.0/lib/fog/core/connection.rb:57:in `request'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/fog-1.16.0/lib/fog/core/deprecated/connection.rb:20:in `request'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/fog-1.16.0/lib/fog/aws/storage.rb:513:in `request'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/fog-1.16.0/lib/fog/aws/requests/storage/put_object.rb:40:in `put_object'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/fog-1.16.0/lib/fog/aws/models/storage/file.rb:211:in `save'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/fog-1.16.0/lib/fog/core/collection.rb:52:in `create'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/travis-artifacts-0.2.0/lib/travis/artifacts/uploader.rb:97:in `_upload'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/travis-artifacts-0.2.0/lib/travis/artifacts/uploader.rb:61:in `upload_file'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/travis-artifacts-0.2.0/lib/travis/artifacts/uploader.rb:21:in `block in upload'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/travis-artifacts-0.2.0/lib/travis/artifacts/uploader.rb:20:in `each'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/travis-artifacts-0.2.0/lib/travis/artifacts/uploader.rb:20:in `upload'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/travis-artifacts-0.2.0/lib/travis/artifacts/cli.rb:32:in `upload'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/travis-artifacts-0.2.0/lib/travis/artifacts/cli.rb:39:in `execute_command'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/travis-artifacts-0.2.0/lib/travis/artifacts/cli.rb:24:in `start'
/home/travis/.rvm/gems/ruby-1.9.3-p448/gems/travis-artifacts-0.2.0/bin/travis-artifacts:4:in `<top (required)>'
/home/travis/.rvm/gems/ruby-1.9.3-p448/bin/travis-artifacts:23:in `load'
/home/travis/.rvm/gems/ruby-1.9.3-p448/bin/travis-artifacts:23:in `<main>'
/home/travis/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in `eval'
/home/travis/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in `<main>'

@rhyolight
Copy link
Member Author

Contacted travis support to see if they could help. Not sure why the excon error is happening. Excon is the underlying HTTP library used by Fog, which is the cloud service travis-artifacts is using.

@rhyolight
Copy link
Member Author

Weird, the last build seems to have worked. 😏

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant