Skip to content

test-harness: Add record of known failing tests #47

test-harness: Add record of known failing tests

test-harness: Add record of known failing tests #47

GitHub Actions / Test Results failed Feb 24, 2025 in 0s

1 fail, 1 142 skipped, 423 pass in 9m 51s

1 566 tests  ±0     423 ✅ ±0   9m 51s ⏱️ ±0s
    1 suites ±0   1 142 💤 ±0 
    1 files   ±0       1 ❌ ±0 

Results for commit e9065f5. ± Comparison against earlier commit 3f603a6.

Annotations

Check warning on line 0 in test.test_ad9361_p

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_ad9361_pass_in_rerun[classname=adi.ad9361] (test.test_ad9361_p) failed

results.xml [took 0s]
Raw output
AssertionError
classname = 'adi.ad9361'

    @pytest.mark.iio_hardware(hardware)
    @pytest.mark.parametrize("classname", [(classname)])
    def test_ad9361_pass_in_rerun(classname):
        try:
>           assert (os.environ.get('VAR_THAT_EXISTS_ONLY_AFTER_FAILURE'))
E           AssertionError: assert None
E            +  where None = get('VAR_THAT_EXISTS_ONLY_AFTER_FAILURE')
E            +    where get = environ({'SELENIUM_JAR_PATH': '/usr/share/java/selenium-server.jar', 'CONDA': '/usr/share/miniconda', 'GITHUB_WORKSPACE': '/home/runner/work/pyadi-iio/pyadi-iio', 'JAVA_HOME_11_X64': '/usr/lib/jvm/temurin-11-jdk-amd64', 'GITHUB_PATH': '/home/runner/work/_temp/_runner_file_commands/add_path_3814445c-d028-457a-a22c-aa67121c272e', 'GITHUB_ACTION': '__run_2', 'JAVA_HOME': '/usr/lib/jvm/temurin-11-jdk-amd64', 'GITHUB_RUN_NUMBER': '47', 'RUNNER_NAME': 'GitHub Actions 12', 'GRADLE_HOME': '/usr/share/gradle-8.12.1', 'GITHUB_REPOSITORY_OWNER_ID': '76926625', 'ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE': '/opt/actionarchivecache', 'XDG_CONFIG_HOME': '/home/runner/.config', 'DOTNET_SKIP_FIRST_TIME_EXPERIENCE': '1', 'ANT_HOME': '/usr/share/ant', 'JAVA_HOME_8_X64': '/usr/lib/jvm/temurin-8-jdk-amd64', 'GITHUB_TRIGGERING_ACTOR': 'jpineda3', 'pythonLocation': '/opt/hostedtoolcache/Python/3.8.18/x64', 'GITHUB_REF_TYPE': 'branch', 'HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS': '3650', 'ANDROID_NDK': '/usr/local/lib/android/sdk/ndk/27.2.12479018', 'BOOTSTRAP_HASKELL_NONINTERACTIVE': '1', 'PWD': '/home/runner/work/pyadi-iio/pyadi-iio', 'PIPX_BIN_DIR': '/opt/pipx_bin', 'STATS_TRP': 'true', 'GITHUB_REPOSITORY_ID': '...stedtoolcache/Python/3.8.18/x64/bin:/opt/hostedtoolcache/Python/3.8.18/x64:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'RUNNER_PERFLOG': '/home/runner/perflog', 'GITHUB_BASE_REF': '', 'GHCUP_INSTALL_BASE_PREFIX': '/usr/local', 'CI': 'true', 'SWIFT_PATH': '/usr/share/swift/usr/bin', 'ImageOS': 'ubuntu22', 'STATS_D_D': 'true', 'GITHUB_REPOSITORY_OWNER': 'jpineda3', 'GITHUB_HEAD_REF': '', 'GITHUB_ACTION_REF': '', 'STATS_D_TC': 'true', 'GITHUB_WORKFLOW': 'Linux Tests', 'DEBIAN_FRONTEND': 'noninteractive', 'GITHUB_OUTPUT': '/home/runner/work/_temp/_runner_file_commands/set_output_3814445c-d028-457a-a22c-aa67121c272e', 'AGENT_TOOLSDIRECTORY': '/opt/hostedtoolcache', '_': '/opt/hostedtoolcache/Python/3.8.18/x64/bin/pytest', 'PYTEST_VERSION': '8.3.4', 'COV_CORE_SOURCE': 'adi', 'COV_CORE_CONFIG': ':', 'COV_CORE_DATAFILE': '/home/runner/work/pyadi-iio/pyadi-iio/.coverage', 'PYTEST_CURRENT_TEST': 'test/test_ad9361_p.py::test_ad9361_pass_in_rerun[classname=adi.ad9361] (call)'}).get
E            +      where environ({'SELENIUM_JAR_PATH': '/usr/share/java/selenium-server.jar', 'CONDA': '/usr/share/miniconda', 'GITHUB_WORKSPACE': '/home/runner/work/pyadi-iio/pyadi-iio', 'JAVA_HOME_11_X64': '/usr/lib/jvm/temurin-11-jdk-amd64', 'GITHUB_PATH': '/home/runner/work/_temp/_runner_file_commands/add_path_3814445c-d028-457a-a22c-aa67121c272e', 'GITHUB_ACTION': '__run_2', 'JAVA_HOME': '/usr/lib/jvm/temurin-11-jdk-amd64', 'GITHUB_RUN_NUMBER': '47', 'RUNNER_NAME': 'GitHub Actions 12', 'GRADLE_HOME': '/usr/share/gradle-8.12.1', 'GITHUB_REPOSITORY_OWNER_ID': '76926625', 'ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE': '/opt/actionarchivecache', 'XDG_CONFIG_HOME': '/home/runner/.config', 'DOTNET_SKIP_FIRST_TIME_EXPERIENCE': '1', 'ANT_HOME': '/usr/share/ant', 'JAVA_HOME_8_X64': '/usr/lib/jvm/temurin-8-jdk-amd64', 'GITHUB_TRIGGERING_ACTOR': 'jpineda3', 'pythonLocation': '/opt/hostedtoolcache/Python/3.8.18/x64', 'GITHUB_REF_TYPE': 'branch', 'HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS': '3650', 'ANDROID_NDK': '/usr/local/lib/android/sdk/ndk/27.2.12479018', 'BOOTSTRAP_HASKELL_NONINTERACTIVE': '1', 'PWD': '/home/runner/work/pyadi-iio/pyadi-iio', 'PIPX_BIN_DIR': '/opt/pipx_bin', 'STATS_TRP': 'true', 'GITHUB_REPOSITORY_ID': '...stedtoolcache/Python/3.8.18/x64/bin:/opt/hostedtoolcache/Python/3.8.18/x64:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'RUNNER_PERFLOG': '/home/runner/perflog', 'GITHUB_BASE_REF': '', 'GHCUP_INSTALL_BASE_PREFIX': '/usr/local', 'CI': 'true', 'SWIFT_PATH': '/usr/share/swift/usr/bin', 'ImageOS': 'ubuntu22', 'STATS_D_D': 'true', 'GITHUB_REPOSITORY_OWNER': 'jpineda3', 'GITHUB_HEAD_REF': '', 'GITHUB_ACTION_REF': '', 'STATS_D_TC': 'true', 'GITHUB_WORKFLOW': 'Linux Tests', 'DEBIAN_FRONTEND': 'noninteractive', 'GITHUB_OUTPUT': '/home/runner/work/_temp/_runner_file_commands/set_output_3814445c-d028-457a-a22c-aa67121c272e', 'AGENT_TOOLSDIRECTORY': '/opt/hostedtoolcache', '_': '/opt/hostedtoolcache/Python/3.8.18/x64/bin/pytest', 'PYTEST_VERSION': '8.3.4', 'COV_CORE_SOURCE': 'adi', 'COV_CORE_CONFIG': ':', 'COV_CORE_DATAFILE': '/home/runner/work/pyadi-iio/pyadi-iio/.coverage', 'PYTEST_CURRENT_TEST': 'test/test_ad9361_p.py::test_ad9361_pass_in_rerun[classname=adi.ad9361] (call)'}) = os.environ

test/test_ad9361_p.py:20: AssertionError

During handling of the above exception, another exception occurred:

classname = 'adi.ad9361'

    @pytest.mark.iio_hardware(hardware)
    @pytest.mark.parametrize("classname", [(classname)])
    def test_ad9361_pass_in_rerun(classname):
        try:
            assert (os.environ.get('VAR_THAT_EXISTS_ONLY_AFTER_FAILURE'))
        except AssertionError:
            os.environ['VAR_THAT_EXISTS_ONLY_AFTER_FAILURE'] = 'EXISTING_VAR'
>           raise AssertionError
E           AssertionError

test/test_ad9361_p.py:23: AssertionError