Project

General

Profile

Actions

Bug #35554

closed

Intermittent React suite failure on CI

Added by Samir Jha over 1 year ago. Updated 7 months ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Tests
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Summary of all failing tests
FAIL webpack/scenes/ContentViews/Details/Filters/__tests__/CVRpmFilterContent.test.js (7.041s, 484 MB heap size)
  ● Can add package rules to filter in a self-closing modal

    Error: Error: Nock: No match for request {
      "method": "GET",
      "url": "http://localhost/katello/api/v2/packages/auto_complete_name?organization_id=1&term=elephant&non_modular=true",
      "headers": {
        "accept": "application/json, text/plain, */*",
        "x-requested-with": "XMLHttpRequest",
        "x-csrf-token": "",
        "referer": "http://localhost/",
        "user-agent": "Mozilla/5.0 (linux) AppleWebKit/537.36 (KHTML, like Gecko) jsdom/11.12.0",
        "accept-language": "en",
        "host": "localhost",
        "accept-encoding": "gzip, deflate" 
      }
    }

      28 |   // }
      29 |
    > 30 |   throw new Error(error); // comment this and uncomment the next line when checking for ouia ids
         |         ^
      31 |   // if (!error.includes('Failed prop type')) throw new Error(error);
      32 | };
      33 |

      at Object.dispatchError (node_modules/jsdom/lib/jsdom/living/xhr-utils.js:65:19)
      at Request.<anonymous> (node_modules/jsdom/lib/jsdom/living/xmlhttprequest.js:676:20)
      at Request.onRequestError (node_modules/request/request.js:877:8)
      at node_modules/nock/lib/intercepted_request_router.js:108:11
      at console.Object.<anonymous>.global.console.error (webpack/global_test_setup.js:30:9)
      at VirtualConsole.<anonymous> (node_modules/jsdom/lib/jsdom/virtual-console.js:29:45)
      at Object.dispatchError (node_modules/jsdom/lib/jsdom/living/xhr-utils.js:68:53)
      at Request.<anonymous> (node_modules/jsdom/lib/jsdom/living/xmlhttprequest.js:676:20)
      at Request.onRequestError (node_modules/request/request.js:877:8)
      at node_modules/nock/lib/intercepted_request_router.js:108:11

  ● Remove rpm filter rule in a self-closing modal

    Network Error

      at createError (../foreman/node_modules/axios/lib/core/createError.js:16:15)
      at XMLHttpRequest.handleError (../foreman/node_modules/axios/lib/adapters/xhr.js:99:14)
      at XMLHttpRequest.<anonymous> (node_modules/jsdom/lib/jsdom/living/helpers/create-event-accessor.js:33:32)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:193:27)
      at XMLHttpRequestEventTargetImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:119:9)
      at XMLHttpRequestEventTargetImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:82:17)
      at XMLHttpRequest.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:157:21)
      at requestErrorSteps (node_modules/jsdom/lib/jsdom/living/xhr-utils.js:132:7)
      at Object.dispatchError (node_modules/jsdom/lib/jsdom/living/xhr-utils.js:62:3)
      at Request.<anonymous> (node_modules/jsdom/lib/jsdom/living/xmlhttprequest.js:676:20)
      at Request.onRequestError (node_modules/request/request.js:877:8)
      at node_modules/nock/lib/intercepted_request_router.js:108:11

  ● Edit rpm filter rule in a self-closing modal

    Warning: You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one.

      28 |   // }
      29 |
    > 30 |   throw new Error(error); // comment this and uncomment the next line when checking for ouia ids
         |         ^
      31 |   // if (!error.includes('Failed prop type')) throw new Error(error);
      32 | };
      33 |

      at console.Object.<anonymous>.global.console.error (webpack/global_test_setup.js:30:9)
      at printWarning (../foreman/node_modules/react-dom/cjs/react-dom-test-utils.development.js:87:30)
      at error (../foreman/node_modules/react-dom/cjs/react-dom-test-utils.development.js:59:5)
      at onDone (../foreman/node_modules/react-dom/cjs/react-dom-test-utils.development.js:921:9)
      at ../foreman/node_modules/react-dom/cjs/react-dom-test-utils.development.js:960:13
          at runMicrotasks (<anonymous>)

Test Suites: 1 failed, 133 passed, 134 total
Tests:       3 failed, 553 passed, 556 total
Snapshots:   168 passed, 168 total
Time:        218.828s
Actions #1

Updated by Chris Roberts over 1 year ago

  • Target version set to Katello 4.7.0
  • Triaged changed from No to Yes
Actions #2

Updated by Chris Roberts over 1 year ago

  • Target version changed from Katello 4.7.0 to Katello 4.8.0
Actions #3

Updated by Lucy Fu about 1 year ago

  • Target version changed from Katello 4.8.0 to Katello 4.9.0
Actions #4

Updated by Lucy Fu 11 months ago

  • Target version changed from Katello 4.9.0 to Katello 4.10.0
Actions #5

Updated by Samir Jha 7 months ago

  • Status changed from New to Rejected
  • Target version deleted (Katello 4.10.0)

Haven't seen this in a while. Closing!

Actions

Also available in: Atom PDF