FLUID-5858: FluidIoC tests fail sporadically

Metadata

Source
FLUID-5858
Type
Bug
Priority
Major
Status
Open
Resolution
N/A
Assignee
Colin Clark
Reporter
Giovanni Tirloni
Created
2016-02-11T07:06:40.707-0500
Updated
2016-02-11T11:37:10.875-0500
Versions
  1. 2.0
Fixed Versions
N/A
Component
  1. IoC System

Description

FluidIoC tests fail sporadically when part of all-tests.html. When run individually (here and here), they always work.

Framework Tests: ./framework-tests/core/html/FluidIoC-test.html (2, 0, 2)Rerun68 ms

    Parser Tests: global failure: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
    Expected: 	

    undefined

    Source: 	

    runLoggingCallbacks@http://build.fluidproject.org/infusion/tests/lib/qunit/js/qunit.js:1599:4

    Expected 462 assertions, but 1 were run
    Source: 	

    QUnit.asyncTest@http://build.fluidproject.org/infusion/tests/lib/qunit/js/qunit.js:401:3

Environments

Fedora Linux 23 / Firefox 44.0
Windows 10 / Firefox 44.0.1

Comments

  • Justin Obara commented 2016-02-11T11:19:44.184-0500

    I attempted to reproduce this on a Surface Pro 3 running Windows 10.

    I ran the tests 3 times using Firefox 44.0.1, one time had an error with the enactors tests.
    I ran the tests 3 times using Firefox 44.0.1 in private browsing mode, all cases the tests all passed.

    NOTE: I had cleared the browser history and cache before starting the above.

    It might be an issue with browser caching between test runs?

  • Giovanni Tirloni commented 2016-02-11T11:36:48.918-0500

    I cleared the cache between runs.

    Yesterday I was running the tests on one laptop and this morning I reproduced the issue on a different laptop. Although "reproduced" probably means I "lucked out" because it's inconsistent.

    I was running firefox with "--safe-mode" to disable extensions/plugins.