]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: remove libcephfs-java tests 26659/head
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 26 Feb 2019 18:50:01 +0000 (10:50 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 28 Feb 2019 21:32:15 +0000 (13:32 -0800)
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 <pdonnell@redhat.com>
doc/api/libcephfs-java.rst
qa/packages/packages.yaml
qa/suites/fs/basic_functional/tasks/libcephfs_java/.qa [deleted symlink]
qa/suites/fs/basic_functional/tasks/libcephfs_java/libcephfs_java.yaml [deleted file]
qa/suites/fs/basic_functional/tasks/libcephfs_java/ubuntu_latest.yaml [deleted symlink]
qa/workunits/libcephfs-java/test.sh [deleted file]

index 85b5c3112216caa0cc1b5ec9991afbe7b5a2886a..83b5a6638801cdb1d97a26b6144cf888eb78aeef 100644 (file)
@@ -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 <javadoc/>`_.
index 79189a0a50f3717f8f95e1db0b967cb63b831766..b19e5b015458fcb36bdcd0b19eaed1481e97c4c6 100644 (file)
@@ -11,8 +11,6 @@ ceph:
   - python-ceph
   - libcephfs2
   - libcephfs-dev
-  - libcephfs-java
-  - libcephfs-jni
   - librados2
   - librbd1
   - rbd-fuse
@@ -43,8 +41,6 @@ ceph:
   - ceph-mgr-rook
   - ceph-mgr-ssh
   - 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 (symlink)
index a602a03..0000000
+++ /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 (file)
index 6c5d874..0000000
+++ /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 (symlink)
index 3a09f9a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.qa/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 (executable)
index f299e95..0000000
+++ /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