Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-25059

Fix Funkload tests on marketplace-3d

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 9.10
    • Fix Version/s: HOTFIX_9.10
    • Component/s: 3D

      Description

      Funkload tests fail since a long time on our CI but it doesn't mark the build as FAILED.

      The error is:

      18:36:22 3d-funkload-tests.fl-run-tests:
      18:36:22 [INFO]      [echo] Suite: test_sample.py - Test: testAvailable
      18:36:22 [INFO]      [echo] Running: fl-run-test -v --simple-fetch test_sample.py -e testAvailable -u http://localhost:8080/nuxeo --no-color
      18:36:23 [INFO]      [exec] testAvailable (test_sample.Sample) ... testAvailable: [testAvailable] description not found
      18:36:23 [INFO]      [exec] testAvailable: Starting -----------------------------------
      18:36:23 [INFO]      [exec] testAvailable: setUp
      18:36:23 [INFO]      [exec] testAvailable: GET: http://localhost:8080/nuxeo
      18:36:23 [INFO]      [exec] 	Page 1: login page ...
      18:36:23 [INFO]      [exec] testAvailable:  Done in 0.003s
      18:36:23 [INFO]      [exec] testAvailable:  Load redirect link: http://localhost:8080/nuxeo/
      18:36:24 [INFO]      [exec] testAvailable:  Done in 0.858s
      18:36:24 [INFO]      [exec] testAvailable:  Load redirect link: http://localhost:8080/nuxeo/nxstartup.faces
      18:36:24 [INFO]      [exec] testAvailable:  Failed in 0.043s
      18:36:24 [INFO]      [exec] FAIL
      18:36:24 [INFO]      [exec] testAvailable: tearDown.
      18:36:24 [INFO]      [exec] ======================================================================
      18:36:24 [INFO]      [exec] FAIL: testAvailable (test_sample.Sample)
      18:36:24 [INFO]      [exec] ----------------------------------------------------------------------
      18:36:24 [INFO]      [exec] Traceback (most recent call last):
      18:36:24 [INFO]      [exec]   File "/usr/local/lib/python2.7/dist-packages/funkload-1.17.1-py2.7.egg/funkload/FunkLoadTestCase.py", line 1019, in __call__
      18:36:24 [INFO]      [exec]     testMethod()
      18:36:24 [INFO]      [exec]   File "/opt/jenkins/workspace/master/addons_FT_nuxeo-platform-3d-master/ftest/funkload/test_sample.py", line 19, in testAvailable
      18:36:24 [INFO]      [exec]     self.get(server_url, description="login page")
      18:36:24 [INFO]      [exec]   File "/usr/local/lib/python2.7/dist-packages/funkload-1.17.1-py2.7.egg/funkload/FunkLoadTestCase.py", line 434, in get
      18:36:24 [INFO]      [exec]     follow_redirect=follow_redirect)
      18:36:24 [INFO]      [exec]   File "/usr/local/lib/python2.7/dist-packages/funkload-1.17.1-py2.7.egg/funkload/FunkLoadTestCase.py", line 353, in _browse
      18:36:24 [INFO]      [exec]     description=None, redirect=True)
      18:36:24 [INFO]      [exec]   File "/usr/local/lib/python2.7/dist-packages/funkload-1.17.1-py2.7.egg/funkload/FunkLoadTestCase.py", line 245, in _connect
      18:36:24 [INFO]      [exec]     raise self.failureException, str(value.response)
      18:36:24 [INFO]      [exec] AssertionError: /nuxeo/nxstartup.faces
      18:36:24 [INFO]      [exec] HTTP Response 401: 
      18:36:24 [INFO]      [exec] ----------------------------------------------------------------------
      18:36:24 [INFO]      [exec] Ran 1 test in 0.910s
      18:36:24 [INFO]      [exec] FAILED (failures=1)
      18:36:24 [ERROR]      [exec] Result: 1
      

      This was extracted from https://qa.nuxeo.org/jenkins/job/master/job/addons_FT_nuxeo-platform-3d-master/773/consoleFull.

      Note: The detection of failure looks like NXBT-2076.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: