-
Notifications
You must be signed in to change notification settings - Fork 130
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
fix the error handling in run_travis #265
fix the error handling in run_travis #265
Conversation
@130s: please test |
2020846
to
d82394e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ROS_DISTRO
seems to be set in the config.
swri_profiler$ echo $ROS_DISTRO
kinetic
swri_profiler$ git branch -vv
* master 71ae85e [origin/master] Merge pull request #11 from pjreed/install-files
swri_profiler$ more .travis.yml
sudo: required
dist: trusty
language: generic
compiler:
- gcc
notifications:
email:
on_success: always
on_failure: always
env:
global:
- USE_DEB=true
- ROS_DISTRO="jade"
matrix:
- ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu
- ROS_REPOSITORY_PATH=http://packages.ros.org/ros-shadow-fixed/ubuntu
matrix:
allow_failures:
- env: ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu
install:
- git clone https://github.com/ros-industrial/industrial_ci.git .ci_config
script:
- source .ci_config/travis.sh
# - source ./travis.sh # Enable this when you have a package-local script
swri_profiler$ ~/industrial_ci/industrial_ci/scripts/run_travis
Job 1: ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu
Job 2: ROS_REPOSITORY_PATH=http://packages.ros.org/ros-shadow-fixed/ubuntu
run all with ~/industrial_ci/industrial_ci/scripts/run_travis -
swri_profiler$ ~/industrial_ci/industrial_ci/scripts/run_travis -
Running job 1: ~/industrial_ci/industrial_ci/scripts/run_ci /home/n130s/cws_profiler/src/swri-robotics/swri_profiler ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu
Testing /home/n130s/cws_profiler/src/swri-robotics/swri_profiler
ROS distro '' is not supported
Tests failed exit code '1'
Failed job 1: ~/industrial_ci/industrial_ci/scripts/run_ci /home/n130s/cws_profiler/src/swri-robotics/swri_profiler ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu
swri_profiler$ ~/industrial_ci/industrial_ci/scripts/run_travis . -
Running job 1: ~/industrial_ci/industrial_ci/scripts/run_ci /home/n130s/cws_profiler/src/swri-robotics/swri_profiler ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu
Testing /home/n130s/cws_profiler/src/swri-robotics/swri_profiler
ROS distro '' is not supported
Tests failed exit code '1'
Failed job 1: ~/industrial_ci/industrial_ci/scripts/run_ci /home/n130s/cws_profiler/src/swri-robotics/swri_profiler ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu
swri_profiler$ ~/industrial_ci/industrial_ci/scripts/run_travis .
Job 1: ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu
Job 2: ROS_REPOSITORY_PATH=http://packages.ros.org/ros-shadow-fixed/ubuntu
run all with ~/industrial_ci/industrial_ci/scripts/run_travis -
Passing ROS_DISTRO
from commandline seems to work.
swri_profiler$ ~/industrial_ci/industrial_ci/scripts/run_travis - -- ROS_DISTRO=jade
- Does the script not read it from the .travis.yml?
- If this is a requirement could you add to help or document?
For some reason I have used "globals" instead of "global".. |
Hmm...
|
Yeah, another bug ;) |
@130s: While this PR does not fixes all issues, it fixes at least two. Can we track the other issue individually? |
@130s: |
Gets stuck at the following line. Am I missing anything? Looks like
Passing
|
Currently the values in
Should work.
This passes after 2min on my system. |
@130s: please try again |
Same steps in #265 (comment) worked on my computer! Merging. |
fixes #262