From: Patrick Donnelly Date: Tue, 26 Feb 2019 18:50:01 +0000 (-0800) Subject: qa: remove libcephfs-java tests X-Git-Tag: v13.2.6~72^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=caf5720be04490479e03a04cdc227399e0716642;p=ceph.git 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/.qa : Deleted qa/suites/fs/basic_functional/tasks/libcephfs_java/ubuntu_latest.yaml : Deleted --- diff --git a/doc/api/libcephfs-java.rst b/doc/api/libcephfs-java.rst index 85b5c3112216..83b5a6638801 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 398656450385..31fb66aa949e 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/.qa b/qa/suites/fs/basic_functional/tasks/libcephfs_java/.qa deleted file mode 120000 index fea2489fdf6d..000000000000 --- a/qa/suites/fs/basic_functional/tasks/libcephfs_java/.qa +++ /dev/null @@ -1 +0,0 @@ -../.qa \ No newline at end of file diff --git a/qa/suites/fs/basic_functional/tasks/libcephfs_java/libcephfs_java.yaml b/qa/suites/fs/basic_functional/tasks/libcephfs_java/libcephfs_java.yaml deleted file mode 100644 index 6c5d874400ea..000000000000 --- a/qa/suites/fs/basic_functional/tasks/libcephfs_java/libcephfs_java.yaml +++ /dev/null @@ -1,10 +0,0 @@ -overrides: - ceph-fuse: - disabled: true - kclient: - disabled: true -tasks: -- workunit: - clients: - client.0: - - libcephfs-java/test.sh diff --git a/qa/suites/fs/basic_functional/tasks/libcephfs_java/ubuntu_latest.yaml b/qa/suites/fs/basic_functional/tasks/libcephfs_java/ubuntu_latest.yaml deleted file mode 120000 index cc5b15bccc72..000000000000 --- a/qa/suites/fs/basic_functional/tasks/libcephfs_java/ubuntu_latest.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../../distros/supported/ubuntu_latest.yaml \ No newline at end of file diff --git a/qa/workunits/libcephfs-java/test.sh b/qa/workunits/libcephfs-java/test.sh deleted file mode 100755 index f299e9597279..000000000000 --- 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