]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: remove libcephfs-java tests 26807/head
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 26 Feb 2019 18:50:01 +0000 (10:50 -0800)
committerPrashant D <pdhange@redhat.com>
Thu, 7 Mar 2019 01:20:05 +0000 (20:20 -0500)
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>
(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

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 398656450385a847805e6deb66df1b8d68eba728..31fb66aa949e505a5c97f0d863754abf8aa64b49 100644 (file)
@@ -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 (symlink)
index fea2489..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 cc5b15b..0000000
+++ /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 (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