Some update, here is the latest logs I got while the test failed:
https://paste.fedoraproject.org/paste/Yy8CuDvgqzX1RazON6Cmag
I haven't time to dig further today, but see in the middle that lovely
stack trace:
*18:01:59,012 ERROR
[org.infinispan.transaction.impl.TransactionCoordinator] (default task-35)
ISPN000255: Error while processing prepare:
org.infinispan.transaction.WriteSkewException: Write skew detected on key
itest-rest-feed~Local DMR~/subsystem=datasources/xa-data-source=testXaDs
for transaction TransactionImple < ac, BasicAction:
0:ffffc0a8000c:-5784e282:59f75acd:b4 status: ActionStatus.RUNNING >*
* at
org.infinispan.transaction.impl.WriteSkewHelper.performWriteSkewCheckAndReturnNewVersions(WriteSkewHelper.java:66)*
* at
org.infinispan.interceptors.locking.ClusteringDependentLogic$AbstractClusteringDependentLogic.clusteredCreateNewVersionsAndCheckForWriteSkews(ClusteringDependentLogic.java:261)*
I have no idea why it wasn't displayed before, and it is now.
On Mon, Oct 30, 2017 at 1:15 PM, Joel Takvorian <jtakvori(a)redhat.com> wrote:
I've seen the same error just once (out of 5 or 6 tries), and,
coincidentally, had the same error notified "Failed to store
notification: {"type":"RESOURCE_ADDED" etc." with
"MethodNotAllowed" at
the very same moment, that is, just when the testRemoveXaDatasource test
runs.
That's maybe a trail to investigate, maybe it betrays some server-side
malfunction. I don't know if it's possible to see server-side logs during
agent itests, but it would probably help. I don't know why this error
happens.
When I run tests successfully, I also see from times to times this error,
but it's distributed randomly in tests, and fortunately or not (rather
not), tests pass.