You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
samples/core/exit_handler/exit_handler_test.py is failing
Full logs:
I0610 14:24:34.625197 26 launcher_v2.go:90] input ComponentSpec:{
"executorLabel": "exec-fail-op",
"inputDefinitions": {
"parameters": {
"message": {
"parameterType": "STRING"
}
}
}
}
I0610 14:24:34.625952 26 cache.go:116] Connecting to cache endpoint 10.96.159.44:8887
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
[KFP Executor 2024-06-10 14:24:40,767 INFO]: Looking for component `fail_op` in --component_module_path `/tmp/tmp.fmftAEDVvr/ephemeral_component.py`
[KFP Executor 2024-06-10 14:24:40,767 INFO]: Loading KFP component "fail_op" from /tmp/tmp.fmftAEDVvr/ephemeral_component.py (directory "/tmp/tmp.fmftAEDVvr" and module name "ephemeral_component")
[KFP Executor 2024-06-10 14:24:40,768 INFO]: Got executor_input:
{
"inputs": {
"parameterValues": {
"message": "Task failed."
}
},
"outputs": {
"outputFile": "/tmp/kfp_outputs/output_metadata.json"
}
}
Task failed.
/usr/local/lib/python3.7/runpy.py:109: FutureWarning: Python 3.7 has reached end-of-life. KFP will drop support for Python 3.7 on April 23, 2024. To use new versions of the KFP SDK after that date, you will need to upgrade to Python >= 3.8. See https://devguide.python.org/versions/ for more details.
__import__(pkg_name)
I0610 14:24:40.791065 26 launcher_v2.go:151] publish success.
F0610 14:24:40.791111 26 main.go:49] failed to execute component: exit status 1
samples/core/exit_handler/exit_handler_test.py
is failingFull logs:
Steps to reproduce
Enable the tests in:
pipelines/.github/workflows/e2e-test.yaml
Line 72 in 4dab191
Run the CI
Reproducing locally
Deploy KFP to a cluster.
Forward the API and UI ports:
Tweak the test to use your cluster
pipelines/test/sample-test/constants.py
Line 22 in f328f0b
BASE_DIR = os.path.abspath('./')
pipelines/test/sample-test/sample_test_launcher.py
Line 59 in f328f0b
pipelines/test/sample-test/sample_test_launcher.py
Line 73 in f328f0b
pipelines/test/sample-test/sample_test_launcher.py
Line 75 in f328f0b
self._host = 'http://localhost:8888'
Run:
The command should fail with exit code 1.
Labels
/area testing
Impacted by this bug? Give it a 👍.
The text was updated successfully, but these errors were encountered: