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

[TODO] $HOME/.rvm/scripts/functions/support: line 57: shell_session_update: command not found #9511

Closed
timotheecour opened this issue Apr 17, 2018 · 7 comments

Comments

@timotheecour
Copy link

timotheecour commented Apr 17, 2018

travis fails with

/Users/travis/.rvm/scripts/functions/support: line 57: shell_session_update: command not found

.travis.yml is here: https://github.com/nim-lang/Nim/blob/5492190bc63326069233a8aaf9f2e567cfc555f8/.travis.yml
example travis log here: https://travis-ci.org/nim-lang/Nim/jobs/367840604

this error is very common on the web, however I couldn't find an answer that works

Warning, RVM 1.26.0 introduces signed releases and automated check of signatures when GPG software found.
/Users/travis/.rvm/scripts/functions/cli: line 243: return: _ret: numeric argument required
The command "rvm get head" failed and exited with 255 during .
Your build has been stopped.
/Users/travis/.travis/job_stages: line 166: shell_session_update: command not found

(eg: https://travis-ci.org/nim-lang/Nim/jobs/367878319)

@BanzaiMan - that is intentional. I need to halt the build on errors in my scripts. I agree with you that without that set -e the build would continue past the shell_session_update error, but I can't let other errors happen silently so I need the set -e. I worked around this by doing Project-OSRM/node-osrm@cdb5b6c and now builds are working fine.

This error seems to affect pretty much every project that uses -e since at least 2015. How do we fix this?

related:

#9486
#6522

@stale
Copy link

stale bot commented Jul 19, 2018

Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue in 24 hours. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues

@stale stale bot added the stale label Jul 19, 2018
@stale stale bot closed this as completed Jul 20, 2018
@timotheecour
Copy link
Author

timotheecour commented Aug 6, 2018

/cc @DrTorte @acnagy just curious why was this closed and whether we could reopen this issue; is anyone working on this?

see #8703 (comment) for a workaround

@acnagy
Copy link

acnagy commented Aug 7, 2018

Ah, thanks for the ping - let's def reopen. AFAIK there isn't someone working on this specifically, but I'll see what I can do about raising it with people who might be able to!

@acnagy acnagy reopened this Aug 7, 2018
@stale stale bot removed the stale label Aug 7, 2018
@timotheecour
Copy link
Author

great! a simple search for this issue reveals this problem is widespread and has been going on since at least april:
https://github.com/search?q=%22shell_session_update%3A+command+not+found%22&type=Issues shows 283 issues,
it's causing a lot of overhead in finding workardounds for people using travis

@ThomasWaldmann
Copy link

https://travis-ci.org/borgbackup/borg/jobs/401269432

this job worked some months ago and now is broken due to a shell_session_update issue.

i restarted the job to verify whether travis works because a current pull request was strangely failing due to reasons unrelated to the changes in the PR.

so, is there something broken on travis ci and can it please get fixed?

springmeyer pushed a commit to mapbox/vtshaver that referenced this issue Oct 24, 2018
springmeyer added a commit to mapbox/node-cpp-skel that referenced this issue Oct 25, 2018
springmeyer added a commit to mapbox/vtcomposite that referenced this issue Oct 25, 2018
@BanzaiMan
Copy link
Contributor

travis-ci/travis-build#1591 attempts to fix the warning. The warning might be negligible (or not in other cases), but the use of errexit option causes the build to halt immediately.

springmeyer pushed a commit to mapbox/vtquery that referenced this issue Nov 26, 2018
@DrTorte
Copy link
Contributor

DrTorte commented Dec 5, 2018

Hello,

We're moving our community communications to the Travis CI Community Forum and will no longer be supporting GitHub issues. If this hasn't been solved, please go ahead and create a new thread on the Forum and we'll be better able to help you there. We're looking forward to seeing you there.

If you need support, you can reach our support team here: support@travis-ci.com.

Thanks and happy building!

@DrTorte DrTorte closed this as completed Dec 5, 2018
@timotheecour timotheecour changed the title /Users/travis/.rvm/scripts/functions/support: line 57: shell_session_update: command not found [TODO] $HOME/.rvm/scripts/functions/support: line 57: shell_session_update: command not found Dec 5, 2018
pls0x001 added a commit to pls0x001/vtshaver that referenced this issue May 2, 2024
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

5 participants