From 09e382d39da3bd32e2d5c63675ce0a9dc30df0c3 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Tue, 26 Feb 2019 10:50:01 -0800 Subject: [PATCH] qa: remove libcephfs-java tests These have bit-rotted and no longer work. No cycles from interested parties available to fix. Fixes: https://tracker.ceph.com/issues/38487 Signed-off-by: Patrick Donnelly (cherry picked from commit df62f2d91dbae19df71eb2be7998e2737e407e3c) Conflicts: qa/suites/fs/basic_functional/tasks/libcephfs_java.yaml - file removed qa/suites/rados/upgrade/jewel-x-singleton/2-partial-upgrade/.qa - symlink retained (not sure why "git cherry-pick" sees a conflict in this file...) --- doc/api/libcephfs-java.rst | 9 +++++ qa/packages/packages.yaml | 4 -- .../tasks/libcephfs_java.yaml | 14 ------- qa/workunits/libcephfs-java/test.sh | 39 ------------------- 4 files changed, 9 insertions(+), 57 deletions(-) delete mode 100644 qa/suites/fs/basic_functional/tasks/libcephfs_java.yaml delete mode 100755 qa/workunits/libcephfs-java/test.sh diff --git a/doc/api/libcephfs-java.rst b/doc/api/libcephfs-java.rst index 85b5c311221..83b5a663880 100644 --- a/doc/api/libcephfs-java.rst +++ b/doc/api/libcephfs-java.rst @@ -2,8 +2,17 @@ Libcephfs (JavaDoc) =================== +.. warning:: + + CephFS Java bindings are no longer tested by CI. They may not work properly + or corrupt data. + + Developers interested in reviving these bindings by fixing and writing tests + are encouraged to contribute! + .. The admin/build-docs script runs Ant to build the JavaDoc files, and copies them to api/libcephfs-java/javadoc/. + View the auto-generated `JavaDoc pages for the CephFS Java bindings `_. diff --git a/qa/packages/packages.yaml b/qa/packages/packages.yaml index 39865645038..31fb66aa949 100644 --- a/qa/packages/packages.yaml +++ b/qa/packages/packages.yaml @@ -11,8 +11,6 @@ ceph: - python-ceph - libcephfs2 - libcephfs-dev - - libcephfs-java - - libcephfs-jni - librados2 - librbd1 - rbd-fuse @@ -40,8 +38,6 @@ ceph: - ceph - ceph-mgr - ceph-fuse - - cephfs-java - - libcephfs_jni1 - libcephfs2 - libcephfs-devel - librados2 diff --git a/qa/suites/fs/basic_functional/tasks/libcephfs_java.yaml b/qa/suites/fs/basic_functional/tasks/libcephfs_java.yaml deleted file mode 100644 index aaffa033811..00000000000 --- a/qa/suites/fs/basic_functional/tasks/libcephfs_java.yaml +++ /dev/null @@ -1,14 +0,0 @@ - -os_type: ubuntu -os_version: "14.04" - -overrides: - ceph-fuse: - disabled: true - kclient: - disabled: true -tasks: -- workunit: - clients: - client.0: - - libcephfs-java/test.sh diff --git a/qa/workunits/libcephfs-java/test.sh b/qa/workunits/libcephfs-java/test.sh deleted file mode 100755 index f299e959727..00000000000 --- a/qa/workunits/libcephfs-java/test.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/sh -e - -echo "starting libcephfs-java tests" -# configure CEPH_CONF and LD_LIBRARY_PATH if they're not already set -conf="$CEPH_CONF" -if [ -z "$conf" ] ; then - echo "Setting conf to /etc/ceph/ceph.conf" - conf="/etc/ceph/ceph.conf" -else - echo "conf is set to $conf" -fi - -ld_lib_path="$LD_LIBRARY_PATH" -if [ -z "$ld_lib_path" ] ; then - echo "Setting ld_lib_path to /usr/lib/jni:/usr/lib64" - ld_lib_path="/usr/lib/jni:/usr/lib64" -else - echo "ld_lib_path was set to $ld_lib_path" -fi - -ceph_java="$CEPH_JAVA_PATH" -if [ -z "$ceph_java" ] ; then - echo "Setting ceph_java to /usr/share/java" - ceph_java="/usr/share/java" -else - echo "ceph_java was set to $ceph_java" -fi - -command="java -DCEPH_CONF_FILE=$conf -Djava.library.path=$ld_lib_path -cp /usr/share/java/junit4.jar:$ceph_java/libcephfs.jar:$ceph_java/libcephfs-test.jar org.junit.runner.JUnitCore com.ceph.fs.CephAllTests" - -echo "----------------------" -echo $command -echo "----------------------" - -$command - -echo "completed libcephfs-java tests" - -exit 0 -- 2.47.3