]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
testnode: Avoid job failure due to fs loop 340/head
authorDavid Galloway <dgallowa@redhat.com>
Fri, 29 Sep 2017 22:50:20 +0000 (18:50 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Thu, 2 Nov 2017 20:22:58 +0000 (16:22 -0400)
Example:

failed: [smithi205.front.sepia.ceph.com] (item=/var/run/) => {"changed": false, "cmd": "find /var/run/ -name \"*ceph*\"", "delta": "0:00:00.004976", "end": "2017-09-29 18:42:23.050412", "failed": true, "failed_when_result": true, "item": "/var/run/", "rc": 1, "start": "2017-09-29 18:42:23.045436", "stderr": "find: File system loop detected; '/var/run/rpc_pipefs/gssd' is part of the same file system loop as '/var/run/rpc_pipefs'.", "stderr_lines": ["find: File system loop detected; '/var/run/rpc_pipefs/gssd' is part of the same file system loop as '/var/run/rpc_pipefs'."], "stdout": "", "stdout_lines": []}

Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/testnode/tasks/main.yml

index da7163f4aba8f06cf291c81d5948761e77d91948..2f244ea3ab82c916e4bd85a62cbbd7fe63103cd2 100644 (file)
     - /var/log/
   register: ceph_test_artifacts
   changed_when: ceph_test_artifacts.stdout != ""
-  failed_when: ceph_test_artifacts.rc != 0 and "No such file or directory" not in ceph_test_artifacts.stderr
+  failed_when: ceph_test_artifacts.rc != 0 and
+               "No such file or directory" not in ceph_test_artifacts.stderr and
+               "File system loop detected" not in ceph_test_artifacts.stderr
 
 - name: Delete any leftover Ceph artifacts from previous jobs
   file: