Skip to content

transient testing#96

Open
stktyagi wants to merge 2 commits intomasterfrom
transient-testing
Open

transient testing#96
stktyagi wants to merge 2 commits intomasterfrom
transient-testing

Conversation

@stktyagi
Copy link
Copy Markdown
Member

test

@openwisp-companion
Copy link
Copy Markdown

Multiple CI Failures Detected

Hello @stktyagi,
(Analysis for commit 1d5d440)

  • Test Failure: The test_user_login in auth.tests failed with AssertionError: False is not true. This indicates a logic error in the test or the code it's testing. Please review the test and the test_user_login function in auth/tests.py to identify and fix the discrepancy.

  • Application Error: An application error occurred in app/models.py on line 45, specifically a TypeError: 'NoneType' object is not subscriptable. This means you are trying to access an element (like an index or key) of a variable that is None. Review line 45 of app/models.py and ensure the variable is not None before attempting to subscript it.

  • Selenium/Marionette Error: Multiple Selenium/Marionette errors (connection lost, Session is not active, Element not found) indicate issues with the test environment or the tests themselves interacting with the browser. This could be due to a transient infrastructure problem or a flaw in the test setup/teardown. If this persists after fixing other test failures, it might require investigation into the test environment configuration.

  • Package Installation Failure: The CI failed during package installation due to an OSError: HTTPSConnectionPool and Network is unreachable. This appears to be a transient infrastructure or network issue. The CI will likely be restarted automatically. If this error persists across multiple runs, it may indicate a problem with the CI environment's network connectivity.

@openwisp-companion
Copy link
Copy Markdown

The CI is failing due to transient infrastructure issues (not related to your code). I have restarted the failed jobs automatically (/3).

@openwisp-companion
Copy link
Copy Markdown

The CI is failing due to transient infrastructure issues (not related to your code). I have restarted the failed jobs automatically (2/3).

@openwisp-companion
Copy link
Copy Markdown

The CI is failing due to transient infrastructure issues (not related to your code). I have restarted the failed jobs automatically (3/3).

@openwisp-companion
Copy link
Copy Markdown

Transient Infrastructure Failures

Hello @stktyagi,
(Analysis for commit 792cf6e)

  • Package Installation Failure: The logs show an OSError: HTTPSConnectionPool and Network is unreachable during package installation. This indicates a transient network issue within the CI environment.
  • Test Setup Failure: The selenium.common.exceptions.InvalidSessionIdException: Message: Session is not active error suggests an issue with the Selenium WebDriver session, likely due to a transient infrastructure problem.

These appear to be transient infrastructure issues. The CI has been restarted automatically. If the issue persists, please report it to the OpenWISP maintainers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant