Skip to content

PR #3907

PR #3907 #18157

GitHub Actions / SDK CLI Test Result [ninhu/disable_tracing](https://github.com/microsoft/promptflow/actions/workflows/promptflow-sdk-cli-test.yml?query=branch:ninhu/disable_tracing++) failed Jan 7, 2025 in 0s

8 fail, 23 skipped, 759 pass in 45m 3s

    3 files  ±0      3 suites  ±0   45m 3s ⏱️ -23s
  790 tests ±0    759 ✅ ±0  23 💤 ±0   8 ❌ ±0 
2 370 runs  ±0  2 277 ✅ ±0  69 💤 ±0  24 ❌ ±0 

Results for commit 0f10fd4. ± Comparison against earlier commit 77bc9f8.

Annotations

Check warning on line 0 in tests.sdk_cli_test.e2etests.test_cli.TestCli

See this annotation in the file changed.

@github-actions github-actions / SDK CLI Test Result [ninhu/disable_tracing](https://github.com/microsoft/promptflow/actions/workflows/promptflow-sdk-cli-test.yml?query=branch:ninhu/disable_tracing++)

All 3 runs failed: test_pf_version (tests.sdk_cli_test.e2etests.test_cli.TestCli)

artifacts/Test Results (Python 3.10) (OS ubuntu-latest)/test-results.xml [took 2s]
artifacts/Test Results (Python 3.11) (OS ubuntu-latest)/test-results.xml [took 2s]
artifacts/Test Results (Python 3.9) (OS ubuntu-latest)/test-results.xml [took 2s]
Raw output
ModuleNotFoundError: No module named 'pkg_resources'
/home/runner/work/promptflow/promptflow/src/promptflow-devkit/tests/sdk_cli_test/e2etests/test_cli.py:99: in test_pf_version
    from pkg_resources import parse_version
E   ModuleNotFoundError: No module named 'pkg_resources'

Check warning on line 0 in tests.sdk_cli_test.e2etests.test_cli.TestCli

See this annotation in the file changed.

@github-actions github-actions / SDK CLI Test Result [ninhu/disable_tracing](https://github.com/microsoft/promptflow/actions/workflows/promptflow-sdk-cli-test.yml?query=branch:ninhu/disable_tracing++)

All 3 runs failed: test_flow_run_resume_from_token (tests.sdk_cli_test.e2etests.test_cli.TestCli)

artifacts/Test Results (Python 3.10) (OS ubuntu-latest)/test-results.xml [took 14s]
artifacts/Test Results (Python 3.11) (OS ubuntu-latest)/test-results.xml [took 15s]
artifacts/Test Results (Python 3.9) (OS ubuntu-latest)/test-results.xml [took 15s]
Raw output
assert 0 < 0
/home/runner/work/promptflow/promptflow/src/promptflow-devkit/tests/sdk_cli_test/e2etests/test_cli.py:2452: in test_flow_run_resume_from_token
    assert (
E   assert 0 < 0

Check warning on line 0 in tests.sdk_cli_test.e2etests.test_trace.TestTraceLifeCycle

See this annotation in the file changed.

@github-actions github-actions / SDK CLI Test Result [ninhu/disable_tracing](https://github.com/microsoft/promptflow/actions/workflows/promptflow-sdk-cli-test.yml?query=branch:ninhu/disable_tracing++)

All 3 runs failed: test_flow_test_dag_flow (tests.sdk_cli_test.e2etests.test_trace.TestTraceLifeCycle)

artifacts/Test Results (Python 3.10) (OS ubuntu-latest)/test-results.xml [took 20s]
artifacts/Test Results (Python 3.11) (OS ubuntu-latest)/test-results.xml [took 20s]
artifacts/Test Results (Python 3.9) (OS ubuntu-latest)/test-results.xml [took 20s]
Raw output
assert 0 == 1
 +  where 0 = len([])
/home/runner/work/promptflow/promptflow/src/promptflow-devkit/tests/sdk_cli_test/e2etests/test_trace.py:529: in test_flow_test_dag_flow
    self._pf_test_and_assert(pf, flow_path, inputs, collection)
/home/runner/work/promptflow/promptflow/src/promptflow-devkit/tests/sdk_cli_test/e2etests/test_trace.py:524: in _pf_test_and_assert
    assert len(line_runs) == 1
E   assert 0 == 1
E    +  where 0 = len([])

Check warning on line 0 in tests.sdk_cli_test.e2etests.test_trace.TestTraceLifeCycle

See this annotation in the file changed.

@github-actions github-actions / SDK CLI Test Result [ninhu/disable_tracing](https://github.com/microsoft/promptflow/actions/workflows/promptflow-sdk-cli-test.yml?query=branch:ninhu/disable_tracing++)

All 3 runs failed: test_flow_test_flex_flow (tests.sdk_cli_test.e2etests.test_trace.TestTraceLifeCycle)

artifacts/Test Results (Python 3.10) (OS ubuntu-latest)/test-results.xml [took 0s]
artifacts/Test Results (Python 3.11) (OS ubuntu-latest)/test-results.xml [took 0s]
artifacts/Test Results (Python 3.9) (OS ubuntu-latest)/test-results.xml [took 0s]
Raw output
assert 0 == 1
 +  where 0 = len([])
/home/runner/work/promptflow/promptflow/src/promptflow-devkit/tests/sdk_cli_test/e2etests/test_trace.py:535: in test_flow_test_flex_flow
    self._pf_test_and_assert(pf, flow_path, inputs, collection)
/home/runner/work/promptflow/promptflow/src/promptflow-devkit/tests/sdk_cli_test/e2etests/test_trace.py:524: in _pf_test_and_assert
    assert len(line_runs) == 1
E   assert 0 == 1
E    +  where 0 = len([])

Check warning on line 0 in tests.sdk_cli_test.e2etests.test_trace.TestTraceLifeCycle

See this annotation in the file changed.

@github-actions github-actions / SDK CLI Test Result [ninhu/disable_tracing](https://github.com/microsoft/promptflow/actions/workflows/promptflow-sdk-cli-test.yml?query=branch:ninhu/disable_tracing++)

All 3 runs failed: test_flow_test_prompty (tests.sdk_cli_test.e2etests.test_trace.TestTraceLifeCycle)

artifacts/Test Results (Python 3.10) (OS ubuntu-latest)/test-results.xml [took 0s]
artifacts/Test Results (Python 3.11) (OS ubuntu-latest)/test-results.xml [took 0s]
artifacts/Test Results (Python 3.9) (OS ubuntu-latest)/test-results.xml [took 0s]
Raw output
assert 0 == 1
 +  where 0 = len([])
/home/runner/work/promptflow/promptflow/src/promptflow-devkit/tests/sdk_cli_test/e2etests/test_trace.py:540: in test_flow_test_prompty
    self._pf_test_and_assert(pf, flow_path, inputs, collection)
/home/runner/work/promptflow/promptflow/src/promptflow-devkit/tests/sdk_cli_test/e2etests/test_trace.py:524: in _pf_test_and_assert
    assert len(line_runs) == 1
E   assert 0 == 1
E    +  where 0 = len([])

Check warning on line 0 in tests.sdk_cli_test.e2etests.test_trace.TestTraceLifeCycle

See this annotation in the file changed.

@github-actions github-actions / SDK CLI Test Result [ninhu/disable_tracing](https://github.com/microsoft/promptflow/actions/workflows/promptflow-sdk-cli-test.yml?query=branch:ninhu/disable_tracing++)

All 3 runs failed: test_batch_run_dag_flow (tests.sdk_cli_test.e2etests.test_trace.TestTraceLifeCycle)

artifacts/Test Results (Python 3.10) (OS ubuntu-latest)/test-results.xml [took 9s]
artifacts/Test Results (Python 3.11) (OS ubuntu-latest)/test-results.xml [took 10s]
artifacts/Test Results (Python 3.9) (OS ubuntu-latest)/test-results.xml [took 10s]
Raw output
assert 0 == 3
 +  where 0 = len([])
/home/runner/work/promptflow/promptflow/src/promptflow-devkit/tests/sdk_cli_test/e2etests/test_trace.py:556: in test_batch_run_dag_flow
    self._pf_run_and_assert(pf, flow_path, data_path, expected_number_lines=3)
/home/runner/work/promptflow/promptflow/src/promptflow-devkit/tests/sdk_cli_test/e2etests/test_trace.py:551: in _pf_run_and_assert
    assert len(line_runs) == expected_number_lines
E   assert 0 == 3
E    +  where 0 = len([])

Check warning on line 0 in tests.sdk_cli_test.e2etests.test_trace.TestTraceLifeCycle

See this annotation in the file changed.

@github-actions github-actions / SDK CLI Test Result [ninhu/disable_tracing](https://github.com/microsoft/promptflow/actions/workflows/promptflow-sdk-cli-test.yml?query=branch:ninhu/disable_tracing++)

All 3 runs failed: test_batch_run_flex_flow (tests.sdk_cli_test.e2etests.test_trace.TestTraceLifeCycle)

artifacts/Test Results (Python 3.10) (OS ubuntu-latest)/test-results.xml [took 8s]
artifacts/Test Results (Python 3.11) (OS ubuntu-latest)/test-results.xml [took 8s]
artifacts/Test Results (Python 3.9) (OS ubuntu-latest)/test-results.xml [took 8s]
Raw output
assert 0 == 1
 +  where 0 = len([])
/home/runner/work/promptflow/promptflow/src/promptflow-devkit/tests/sdk_cli_test/e2etests/test_trace.py:561: in test_batch_run_flex_flow
    self._pf_run_and_assert(pf, flow_path, data_path, expected_number_lines=1)
/home/runner/work/promptflow/promptflow/src/promptflow-devkit/tests/sdk_cli_test/e2etests/test_trace.py:551: in _pf_run_and_assert
    assert len(line_runs) == expected_number_lines
E   assert 0 == 1
E    +  where 0 = len([])

Check warning on line 0 in tests.sdk_cli_test.e2etests.test_trace.TestTraceLifeCycle

See this annotation in the file changed.

@github-actions github-actions / SDK CLI Test Result [ninhu/disable_tracing](https://github.com/microsoft/promptflow/actions/workflows/promptflow-sdk-cli-test.yml?query=branch:ninhu/disable_tracing++)

All 3 runs failed: test_batch_run_prompty (tests.sdk_cli_test.e2etests.test_trace.TestTraceLifeCycle)

artifacts/Test Results (Python 3.10) (OS ubuntu-latest)/test-results.xml [took 9s]
artifacts/Test Results (Python 3.11) (OS ubuntu-latest)/test-results.xml [took 9s]
artifacts/Test Results (Python 3.9) (OS ubuntu-latest)/test-results.xml [took 9s]
Raw output
assert 0 == 3
 +  where 0 = len([])
/home/runner/work/promptflow/promptflow/src/promptflow-devkit/tests/sdk_cli_test/e2etests/test_trace.py:566: in test_batch_run_prompty
    self._pf_run_and_assert(pf, flow_path, data_path, expected_number_lines=3)
/home/runner/work/promptflow/promptflow/src/promptflow-devkit/tests/sdk_cli_test/e2etests/test_trace.py:551: in _pf_run_and_assert
    assert len(line_runs) == expected_number_lines
E   assert 0 == 3
E    +  where 0 = len([])