core, billing: remove unit test

The unit test for billing persistence uses timeouts/sleep to check the presence and absence of entries in the database.  This timing, however, is inherently unstable because it depends on the OS and the thread scheduler in particular.  Thus the test will sometimes fail during the build process.

However, the usefulness of this test is very limited, so I propose simply to eliminate it.

Target: 2.8
Patch: http://rb.dcache.org/r/6556/
Require-book: no
Require-notes: no
Acked-by: Gerd
Acked-by: Paul
xrootd: Upgrade to xrootd4j v1.2.4

Contains the following changes over v1.2.3:

42101c6 xrootd4j: Make errors null terminated
5ae3a44 Fix read beyond end of file

These changes improve compatibility with the "new xrootd client".

Target: trunk
Request: 2.8
Request: 2.7
Request: 2.6
Ticket: http://rt.dcache.org/Ticket/Display.html?id=8156
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: http://rb.dcache.org/r/6557/
(cherry picked from commit 68055d49528c12e714928c0d83418798fb8cf793)
pool: Fix access time update

The bug causes access time update to happen on pool to pool and not on regular
downloads - the reverse is supposed to happen.

This affects sweeper garbage collection order, space cost calculation, and
access time update in the name space.

Target: trunk
Request: 2.8
Request: 2.7
Request: 2.6
Require-notes: yes
Require-book: no
Ticket: http://rt.dcache.org/Ticket/Display.html?id=8234
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/6564/
(cherry picked from commit 05cb3fcab635d741210801efbcc39bd2590dead1)
Merge pull request #407 from alrossi/fix/2.8/remove-billing-test

core, billing: remove unit test
Merge pull request #411 from gbehrmann/fix/2.8/rb6557

xrootd: Upgrade to xrootd4j v1.2.4
Merge pull request #414 from gbehrmann/fix/2.8/rb6564

pool: Fix access time update
gplazma2-xacml: revert version of opensaml

The privilege xacml client is incompatible with the newer opensaml library.
In particular, the client bootstrap method calls a method which is missing
in the newer version.

Restores opensaml to 2.4.1 (last compatible).  Also eliminates unused opensaml1 library.

Target: master
Request: 2.8
Patch: http://rb.dcache.org/r/6581/
Bug: http://rt.dcache.org/Ticket/Display.html?id=8244
Requires-book: no
Requires-notes: no
Acked-by: Paul
(cherry picked from commit 71de63c00e30933bfceb6d60ad4f017a6c82694f)

Signed-off-by: alrossi <arossi@otfrid.fnal.gov>
Fix NPE in save command

Fixes

java.lang.NullPointerException: null
    at org.dcache.cells.UniversalSpringCell.ac_save(UniversalSpringCell.java:455) ~[dcache-core-2.8.1-SNAPSHOT.jar:2.8.1-SNAPSHOT]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_51]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_51]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_51]
    at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51]
    at dmg.util.command.AcCommandExecutor.execute(AcCommandExecutor.java:157) ~[cells-2.8.1-SNAPSHOT.jar:2.8.1-SNAPSHOT]
    at dmg.util.CommandInterpreter$CommandEntry.execute(CommandInterpreter.java:385) ~[cells-2.8.1-SNAPSHOT.jar:2.8.1-SNAPSHOT]
    at dmg.util.CommandInterpreter.execute(CommandInterpreter.java:281) ~[cells-2.8.1-SNAPSHOT.jar:2.8.1-SNAPSHOT]
    at dmg.util.CommandInterpreter.command(CommandInterpreter.java:215) ~[cells-2.8.1-SNAPSHOT.jar:2.8.1-SNAPSHOT]
    at dmg.cells.nucleus.CellAdapter.executeLocalCommand(CellAdapter.java:1025) ~[cells-2.8.1-SNAPSHOT.jar:2.8.1-SNAPSHOT]
    at dmg.cells.nucleus.CellAdapter.messageArrived(CellAdapter.java:952) ~[cells-2.8.1-SNAPSHOT.jar:2.8.1-SNAPSHOT]
    at dmg.cells.nucleus.CellNucleus$DeliverMessageTask.innerRun(CellNucleus.java:1070) ~[cells-2.8.1-SNAPSHOT.jar:2.8.1-SNAPSHOT]
    at dmg.cells.nucleus.CellNucleus$AbstractNucleusTask.run(CellNucleus.java:975) ~[cells-2.8.1-SNAPSHOT.jar:2.8.1-SNAPSHOT]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51]
    at dmg.cells.nucleus.CellNucleus$1.run(CellNucleus.java:687) [cells-2.8.1-SNAPSHOT.jar:2.8.1-SNAPSHOT]
    at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51]

Affects all services that use UniversalSpringCell and do not have a default
setup file.

Target: 2.8
Request: 2.7
Request: 2.6
Require-notes: yes
Require-book: no
Acked-by: Paul Millar <paul.millar@desy.de>
Acked-by: Albert Rossi <arossi@fnal.gov>
Patch: http://rb.dcache.org/r/6576/
nfs-proxy: add support for open-less read requests

in a production we observe situations, where client
decides to perform IO through MDS (door) with
all-zero stateid. Such behavior is  allowed by
rfc5661 (#8.2.3) and should be supported
to keep clients happy.

Acked-by: Gerd Behrmann
Target: master, 2.8, 2.7
Require-book: no
Require-notes: no
(cherry picked from commit f29613b1859c22b99abbcd3de063a15fd7a01831)
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
nfs4: clean failed request from pending queue

if door have failed to start a mover, then we have to
clean pending message queue to avoid dead records. A
new entry will be created on client retry.

Acked-by: Gerd Behrmann
Target: master, 2.7, 2.8
Require-book: no
Require-notes: no
(cherry picked from commit 9f78b39ca1aac8418e9adea9c1ab219316178ce8)
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
nfs-proxy: fix logging CDC

Acked-by: Gerd Behrmann
Target: master, 2.8, 2.7
Require-book: no
Require-notes: no
(cherry picked from commit 6e7943fe960f165ab9474188c59c79bc6f61c64a)
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Merge pull request #420 from alrossi/fix/2.8/revert-opensaml-version

gplazma2-xacml: revert version of opensaml
Merge pull request #427 from gbehrmann/fix/save

Fix NPE in save command
Merge pull request #432 from kofemann/zero-stateid-2.8

nfs-proxy: add support for open-less read requests
Merge pull request #434 from kofemann/cdc-2.8

nfs-proxy: fix logging CDC
Merge pull request #436 from kofemann/clean-dead-request-2.8

nfs4: clean failed request from pending queue
libs: update nfs to 0.7.4

minor bugfix to support chimera's rename fixes

Changelog for nfs4j-0.7.3..nfs4j-0.7.4
    * [b11ec2a] nfs4: fix lookupp on the root of the tree
    * [f99922b] nfs4: fix handling of illegal operations
    * [5646570] vfs: chimera: translate exceptions to nfs errors

Acked-by: Gerd Behrmann
Target: master, 2.8, 2.7
Require-book: no
Require-notes: no
(cherry picked from commit fb72047265ae500fbdad0d26eef35d0028781339)
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Merge pull request #440 from kofemann/nfs-0.7.4-2.8

libs: update nfs to 0.7.4
chimera: fix rename into a file

fix confitions when file is remove into an existing file
as a parent.

Ticket: #8250
Acked-by: Paul Millar
Target: master
Require-book: no
Require-notes: no
(cherry picked from commit 119ecfe92c1a69925ad31934f7517421e3f74405)
(cherry picked from commit 1287a28a057c233b9e9c7d93876e4593d50343f4)
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Merge pull request #443 from kofemann/fix-chimera-mv-2.8

chimera: fix rename into a file