Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

travis logs fails with undefined method `receive' for nil:NilClass #541

Closed
glensc opened this issue Sep 21, 2017 · 3 comments
Closed

travis logs fails with undefined method `receive' for nil:NilClass #541

glensc opened this issue Sep 21, 2017 · 3 comments

Comments

@glensc
Copy link

glensc commented Sep 21, 2017

travis logs exits with fatal error when the followed job finishes.

to reproduce:

  1. start some travis ci job
  2. execute travis logs JOB.NUMBER on the kob
  3. wait for job to finish
  4. get presented with undefined method 'receive' for nil:NilClass error
...
Deploying application.3

travis_fold:end:dpl.3

Done. Your build exited with 0.
undefined method `receive' for nil:NilClass
for a full error report, run travis report --org
@glensc
Copy link
Author

glensc commented Sep 21, 2017

if necessary, then the failed job was (this command succeeds now as the job has finished):

$ travis logs 3360.5 --repo eventum/eventum

@glensc
Copy link
Author

glensc commented Sep 21, 2017

tool information:

$ travis report --org
System
Ruby:                     Ruby 2.1.10-p492
Operating System:         PLD 3.0
RubyGems:                 RubyGems 2.2.5

CLI
Version:                  1.8.8
Plugins:                  none
Auto-Completion:          yes
Last Version Check:       2017-09-21 23:01:20 +0300

Session
API Endpoint:             https://api.travis-ci.org/
Logged In:                no
Verify SSL:               yes
Enterprise:               no

Endpoints
org:                      https://api.travis-ci.org/ (current)

Last Exception
An error occurred running `travis logs --org`:
    NoMethodError: undefined method `receive' for nil:NilClass
        from /home/glen/.gem/ruby/gems/pusher-client-0.6.2/lib/pusher-client/socket.rb:206:in `block in connect_internal'
        from /home/glen/.gem/ruby/gems/pusher-client-0.6.2/lib/pusher-client/socket.rb:205:in `loop'
        from /home/glen/.gem/ruby/gems/pusher-client-0.6.2/lib/pusher-client/socket.rb:205:in `connect_internal'
        from /home/glen/.gem/ruby/gems/pusher-client-0.6.2/lib/pusher-client/socket.rb:76:in `connect'
        from /home/glen/.gem/ruby/gems/travis-1.8.8/lib/travis/client/listener.rb:123:in `listen'
        from /home/glen/.gem/ruby/gems/travis-1.8.8/lib/travis/client/methods.rb:90:in `listen'
        from /home/glen/.gem/ruby/gems/travis-1.8.8/lib/travis/client/artifact.rb:54:in `body'
        from /home/glen/.gem/ruby/gems/travis-1.8.8/lib/travis/cli/logs.rb:39:in `display_log'
        from /home/glen/.gem/ruby/gems/travis-1.8.8/lib/travis/cli/logs.rb:23:in `run'
        from /home/glen/.gem/ruby/gems/travis-1.8.8/lib/travis/cli/command.rb:198:in `execute'
        from /home/glen/.gem/ruby/gems/travis-1.8.8/lib/travis/cli.rb:64:in `run'
        from /home/glen/.gem/ruby/gems/travis-1.8.8/bin/travis:18:in `<top (required)>'
        from /home/glen/bin/travis:23:in `load'
        from /home/glen/bin/travis:23:in `<main>'

For issues with the command line tool, please visit https://github.com/travis-ci/travis.rb/issues.
For Travis CI in general, go to https://github.com/travis-ci/travis-ci/issues or email [email protected].

$

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

No branches or pull requests

1 participant