From 669e35987342ef77de354bcf7ce08d78bec415cc Mon Sep 17 00:00:00 2001 From: Kei Okada Date: Mon, 8 Nov 2021 15:39:06 +0900 Subject: [PATCH 1/2] add melodic-false-planning.yml melodic-false-pr2eus.yml --- .github/workflows/melodic-false-planning.yml | 51 ++++++++++++++++++++ .github/workflows/melodic-false-pr2eus.yml | 51 ++++++++++++++++++++ 2 files changed, 102 insertions(+) create mode 100644 .github/workflows/melodic-false-planning.yml create mode 100644 .github/workflows/melodic-false-pr2eus.yml diff --git a/.github/workflows/melodic-false-planning.yml b/.github/workflows/melodic-false-planning.yml new file mode 100644 index 000000000..09cd8119f --- /dev/null +++ b/.github/workflows/melodic-false-planning.yml @@ -0,0 +1,51 @@ +# generated by `./generate_action_config.py melodic` +# jsk_travis +on: + push: + branches: + - master + pull_request: + +env: + DISPLAY: ':0.0' + +jobs: + melodic-false-planning: + runs-on: ubuntu-latest + name: melodic-false-planning + + container: ubuntu:18.04 + + steps: + - name: Install latest git ( use sudo for ros-ubuntu ) + run: apt-get update && apt-get install -y software-properties-common && apt-get update && add-apt-repository -y ppa:git-core/ppa && apt-get update && apt-get install -y git + - name: Chcekout + uses: actions/checkout@v2 + - name: Start X server + run: | + echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections # set non interactive tzdata https://stackoverflow.com/questions/8671308/non-interactive-method-for-dpkg-reconfigure-tzdata + apt-get -y -qq install mesa-utils x11-xserver-utils xserver-xorg-video-dummy wget + export DISPLAY=:0 + wget https://raw.githubusercontent.com/jsk-ros-pkg/jsk_travis/master/dummy.xorg.conf -O /tmp/dummy.xorg.conf + Xorg -noreset +extension GLX +extension RANDR +extension RENDER -logfile /tmp/xorg.log -config /tmp/dummy.xorg.conf $DISPLAY & + sleep 3 # wait x server up + export QT_X11_NO_MITSHM=1 # http://wiki.ros.org/docker/Tutorials/GUI + xhost +local:root + - name: Install src + run: | + export INSTALL_SRC="http://github.com/jsk-ros-pkg/jsk_planning" + apt-get install -y -qq python-yaml + rm .travis.rosinstall + for src in $INSTALL_SRC; do name=`basename $src`; python -c "import yaml;print(yaml.dump([{'git':{'uri':'$src','local-name':'$name'}}], default_flow_style=False))" >> .travis.rosinstall; done; + cat .travis.rosinstall + - name: Run jsk_travis + uses: jsk-ros-pkg/jsk_travis@master + with: + ROS_PARALLEL_JOBS : "-j2" + CATKIN_PARALLEL_JOBS : "-p2" + ROS_PARALLEL_TEST_JOBS : "-j2" + CATKIN_PARALLEL_TEST_JOBS : "-p2" + ROS_DISTRO : melodic + USE_DEB : false + NOT_TEST_INSTALL : true + TEST_PKGS : "task_compiler" diff --git a/.github/workflows/melodic-false-pr2eus.yml b/.github/workflows/melodic-false-pr2eus.yml new file mode 100644 index 000000000..5979fea2b --- /dev/null +++ b/.github/workflows/melodic-false-pr2eus.yml @@ -0,0 +1,51 @@ +# generated by `./generate_action_config.py melodic` +# jsk_travis +on: + push: + branches: + - master + pull_request: + +env: + DISPLAY: ':0.0' + +jobs: + melodic-false-pr2eus: + runs-on: ubuntu-latest + name: melodic-false-pr2eus + + container: ubuntu:18.04 + + steps: + - name: Install latest git ( use sudo for ros-ubuntu ) + run: apt-get update && apt-get install -y software-properties-common && apt-get update && add-apt-repository -y ppa:git-core/ppa && apt-get update && apt-get install -y git + - name: Chcekout + uses: actions/checkout@v2 + - name: Start X server + run: | + echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections # set non interactive tzdata https://stackoverflow.com/questions/8671308/non-interactive-method-for-dpkg-reconfigure-tzdata + apt-get -y -qq install mesa-utils x11-xserver-utils xserver-xorg-video-dummy wget + export DISPLAY=:0 + wget https://raw.githubusercontent.com/jsk-ros-pkg/jsk_travis/master/dummy.xorg.conf -O /tmp/dummy.xorg.conf + Xorg -noreset +extension GLX +extension RANDR +extension RENDER -logfile /tmp/xorg.log -config /tmp/dummy.xorg.conf $DISPLAY & + sleep 3 # wait x server up + export QT_X11_NO_MITSHM=1 # http://wiki.ros.org/docker/Tutorials/GUI + xhost +local:root + - name: Install src + run: | + export INSTALL_SRC="http://github.com/jsk-ros-pkg/jsk_pr2eus" + apt-get install -y -qq python-yaml + rm .travis.rosinstall + for src in $INSTALL_SRC; do name=`basename $src`; python -c "import yaml;print(yaml.dump([{'git':{'uri':'$src','local-name':'$name'}}], default_flow_style=False))" >> .travis.rosinstall; done; + cat .travis.rosinstall + - name: Run jsk_travis + uses: jsk-ros-pkg/jsk_travis@master + with: + ROS_PARALLEL_JOBS : "-j2" + CATKIN_PARALLEL_JOBS : "-p2" + ROS_PARALLEL_TEST_JOBS : "-j2" + CATKIN_PARALLEL_TEST_JOBS : "-p2" + ROS_DISTRO : melodic + USE_DEB : false + NOT_TEST_INSTALL : true + TEST_PKGS : "pr2eus pr2eus_moveit" From cba1f56d16978be7a2f4e4f26463deb5ec211c9b Mon Sep 17 00:00:00 2001 From: Kei Okada Date: Mon, 8 Nov 2021 19:39:53 +0900 Subject: [PATCH 2/2] fix param-test.l to pass noetic test --- roseus/test/param-test.l | 1 + 1 file changed, 1 insertion(+) diff --git a/roseus/test/param-test.l b/roseus/test/param-test.l index 12f5044cb..077f7828c 100755 --- a/roseus/test/param-test.l +++ b/roseus/test/param-test.l @@ -180,6 +180,7 @@ '("/test_dictionary/str_value" "/test_dictionary/dictionary/key_bool" "/test_dictionary/dictionary/key_dbl" "/test_dictionary/dictionary/key_str" "/test_dictionary/dictionary/key_int" "/test_dictionary/dictionary/key_list" "/test_dictionary/list" "/test_dictionary/bool_value" "/test_dictionary/int_value" "/test_dictionary/dbl_value" "/rosversion" "/run_id" "/param/test" "/param/read_parameter/test" "/test" "/rosdistro" "/test2" "/param/read_parameter/test2" "/param/test2" "/test_dictionary2/str_value" "/test_dictionary2/dictionary/key_bool" "/test_dictionary2/dictionary/key_dbl" "/test_dictionary2/dictionary/key_str" "/test_dictionary2/dictionary/key_int" "/test_dictionary2/dictionary/key_list" "/test_dictionary2/bool_value" "/test_dictionary2/list" "/test_dictionary2/int_value" "/test_dictionary2/dbl_value") :test #'equal)) + (setq diff (remove-if #'(lambda (x) (substringp "/roslaunch/uris/host_" x)) diff)) ;; from noetic roslaunch set params https://github.com/ros/ros_comm/blob/07fb5469c71e10e4a05fa3a631897d9adece61c5/tools/roslaunch/src/roslaunch/launch.py#L448-L449 (assert (not diff) "list-param ~A failed" diff) ))