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.7
Patch: http://rb.dcache.org/r/6556/
Require-book: no
Require-notes: no
Acked-by: Gerd
Acked-by: Pau
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)

Conflicts:
	pom.xml
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 #408 from alrossi/fix/2.7/remove-billing-test

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

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

pool: Fix access time update
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/
(cherry picked from commit 4f7d02d9c2e5d6e3eeded68acf00352689905bd4)
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 #428 from gbehrmann/fix/2.7/rb6576

Fix NPE in save command
Merge pull request #433 from kofemann/zero-stateid-2.7

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

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

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>
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 #441 from kofemann/nfs-0.7.4-2.7

libs: update nfs to 0.7.4
Merge pull request #442 from kofemann/fix-chimera-mv-2.7

chimera: fix rename into a file
srm-client: fix adler32

The adler32 script invokes the Adler32 class to calculate the ADLER32 digest of a file.

Subsequent to the 2.6.0 release, this class was mistakenly moved to srm-server, so isn't
part of the srm-client packages, which means that this command fails if srm-client is
built from branches newer than 2.6.

This patch moves the Adler32 class to the srm-client package.  It also moves the GridftpList
class that is also used by a script (which we currently don't distribute).  The two scripts
command-line-clietn and srm_v1 (both of which we don't distribute) are deleted as they
refer to classes that do not exist.  The unused Makefile is also deleted.

Target: master
Request: 2.8
Request: 2.7
Acked-by: Gerd Behrmann
Patch: http://rb.dcache.org/r/6643/
Merge pull request #444 from paulmillar/fix/2.7/srm-client

srm-client: fix adler32