Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

frontend rock cannot be built due to compatibility with node version (tracking upstream bug) #80

Open
orfeas-k opened this issue May 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@orfeas-k
Copy link
Contributor

orfeas-k commented May 8, 2024

Bug Description

Building fails with the following logs. This is due to upstream bug kubeflow/pipelines#10770.

2024-05-08 11:53:40.332 :: 2024-05-08 11:53:07.025 :: [2/4] Fetching packages...
2024-05-08 11:53:40.332 :: 2024-05-08 11:53:39.625 :: error [email protected]: The engine "node" is incompatible with this module. Expected version ">= 16.0.0". Got "14.21.2"
2024-05-08 11:53:40.332 :: 2024-05-08 11:53:39.626 :: error Found incompatible module.
2024-05-08 11:53:40.332 :: 2024-05-08 11:53:39.627 :: info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
2024-05-08 11:53:40.332 :: 2024-05-08 11:53:39.880 'override-build' in part 'backend' failed with code 1.

To Reproduce

Rebuild the rock from main (e.g. what this PR does)

Environment

CI

Relevant Log Output

2024-05-08 11:53:40.332 :: 2024-05-08 11:53:07.025 :: [2/4] Fetching packages...
2024-05-08 11:53:40.332 :: 2024-05-08 11:53:39.625 :: error [email protected]: The engine "node" is incompatible with this module. Expected version ">= 16.0.0". Got "14.21.2"
2024-05-08 11:53:40.332 :: 2024-05-08 11:53:39.626 :: error Found incompatible module.
2024-05-08 11:53:40.332 :: 2024-05-08 11:53:39.627 :: info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
2024-05-08 11:53:40.332 :: 2024-05-08 11:53:39.880 'override-build' in part 'backend' failed with code 1.
2024-05-08 11:53:40.332 :: 2024-05-08 11:53:39.884 Traceback (most recent call last):
2024-05-08 11:53:40.333 :: 2024-05-08 11:53:39.884   File "/snap/rockcraft/1907/lib/python3.10/site-packages/craft_application/services/lifecycle.py", line 256, in run
2024-05-08 11:53:40.333 :: 2024-05-08 11:53:39.884     aex.execute(action, stdout=stream, stderr=stream)
2024-05-08 11:53:40.333 :: 2024-05-08 11:53:39.884   File "/snap/rockcraft/1907/lib/python3.10/site-packages/craft_parts/executor/executor.py", line 327, in execute
2024-05-08 11:53:40.333 :: 2024-05-08 11:53:39.884     self._executor.execute(actions, stdout=stdout, stderr=stderr)
2024-05-08 11:53:40.333 :: 2024-05-08 11:53:39.885   File "/snap/rockcraft/1907/lib/python3.10/site-packages/craft_parts/executor/executor.py", line 137, in execute
2024-05-08 11:53:40.333 :: 2024-05-08 11:53:39.885     self._run_action(act, stdout=stdout, stderr=stderr)
2024-05-08 11:53:40.333 :: 2024-05-08 11:53:39.886   File "/snap/rockcraft/1907/lib/python3.10/site-packages/craft_parts/executor/executor.py", line 214, in _run_action
2024-05-08 11:53:40.333 :: 2024-05-08 11:53:39.886     handler.run_action(action, stdout=stdout, stderr=stderr)
2024-05-08 11:53:40.333 :: 2024-05-08 11:53:39.886   File "/snap/rockcraft/1907/lib/python3.10/site-packages/craft_parts/executor/part_handler.py", line 170, in run_action
2024-05-08 11:53:40.333 :: 2024-05-08 11:53:39.886     state = handler(step_info, stdout=stdout, stderr=stderr)
2024-05-08 11:53:40.333 :: 2024-05-08 11:53:39.886   File "/snap/rockcraft/1907/lib/python3.10/site-packages/craft_parts/executor/part_handler.py", line 309, in _run_build
2024-05-08 11:53:40.333 :: 2024-05-08 11:53:39.886     self._run_step(
2024-05-08 11:53:40.333 :: 2024-05-08 11:53:39.887   File "/snap/rockcraft/1907/lib/python3.10/site-packages/craft_parts/executor/part_handler.py", line 483, in _run_step
2024-05-08 11:53:40.333 :: 2024-05-08 11:53:39.887     step_handler.run_scriptlet(
2024-05-08 11:53:40.333 :: 2024-05-08 11:53:39.887   File "/snap/rockcraft/1907/lib/python3.10/site-packages/craft_parts/executor/step_handler.py", line 328, in run_scriptlet
2024-05-08 11:53:40.333 :: 2024-05-08 11:53:39.887     raise errors.ScriptletRunError(
2024-05-08 11:53:40.334 :: 2024-05-08 11:53:39.887 craft_parts.errors.ScriptletRunError: 'override-build' in part 'backend' failed with code 1.
2024-05-08 11:53:40.334 :: 2024-05-08 11:53:39.887 Review the scriptlet and make sure it's correct.
2024-05-08 11:53:40.334 :: 2024-05-08 11:53:39.887 Recommended resolution: Review the scriptlet and make sure it's correct.
2024-05-08 11:53:40.334 Executing on host: lxc --project rockcraft config device show local:rockcraft-frontend-on-amd64-for-amd64-131073
2024-05-08 11:53:40.408 Executing on host: lxc --project rockcraft config device remove local:rockcraft-frontend-on-amd64-for-amd64-131073 disk-/root/project
2024-05-08 11:53:40.522 Executing on host: lxc --project rockcraft stop local:rockcraft-frontend-on-amd64-for-amd64-131073
2024-05-08 11:53:45.302 Failed to execute rockcraft in instance.
2024-05-08 11:53:45.305 Traceback (most recent call last):
2024-05-08 11:53:45.306   File "/snap/rockcraft/1907/lib/python3.10/site-packages/craft_application/application.py", line 359, in run_managed
2024-05-08 11:53:45.306     instance.execute_run(  # pyright: ignore[reportUnknownMemberType,reportUnknownVariableType]
2024-05-08 11:53:45.306   File "/snap/rockcraft/1907/lib/python3.10/site-packages/craft_providers/lxd/lxd_instance.py", line 293, in execute_run
2024-05-08 11:53:45.306     return self.lxc.exec(
2024-05-08 11:53:45.306   File "/snap/rockcraft/1907/lib/python3.10/site-packages/craft_providers/lxd/lxc.py", line 387, in exec
2024-05-08 11:53:45.306     return runner(final_cmd, timeout=timeout, check=check, **kwargs)
2024-05-08 11:53:45.306   File "/snap/rockcraft/1907/usr/lib/python3.10/subprocess.py", line 526, in run
2024-05-08 11:53:45.306     raise CalledProcessError(retcode, process.args,
2024-05-08 11:53:45.306 subprocess.CalledProcessError: Command '['lxc', '--project', 'rockcraft', 'exec', 'local:rockcraft-frontend-on-amd64-for-amd64-131073', '--cwd', '/root/project', '--', 'env', 'CRAFT_MANAGED_MODE=1', 'DEBIAN_FRONTEND=noninteractive', 'DEBCONF_NONINTERACTIVE_SEEN=true', 'DEBIAN_PRIORITY=critical', 'CRAFT_PLATFORM=amd64', 'CRAFT_VERBOSITY_LEVEL=TRACE', 'rockcraft', 'pack', '--verbosity', 'trace']' returned non-zero exit status 1.
2024-05-08 11:53:45.306 
2024-05-08 11:53:45.306 The above exception was the direct cause of the following exception:
2024-05-08 11:53:45.306 Traceback (most recent call last):
2024-05-08 11:53:45.306   File "/snap/rockcraft/1907/lib/python3.10/site-packages/craft_application/application.py", line 513, in run
2024-05-08 11:53:45.306     self.run_managed(platform, build_for)
2024-05-08 11:53:45.306   File "/snap/rockcraft/1907/lib/python3.10/site-packages/craft_application/application.py", line 366, in run_managed
2024-05-08 11:53:45.306     raise craft_providers.ProviderError(
2024-05-08 11:53:45.306 craft_providers.errors.ProviderError: Failed to execute rockcraft in instance.
2024-05-08 11:53:45.306 Full execution log: '/home/runner/.local/state/rockcraft/log/rockcraft-20240508-114926.072066.log'
Error: The process '/usr/bin/sg' failed with exit code 1

Additional Context

No response

@orfeas-k orfeas-k added the bug Something isn't working label May 8, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/KF-5646.

This message was autogenerated

orfeas-k added a commit to canonical/kfp-operators that referenced this issue May 9, 2024
* Bump ROCKs to 2.0.5.
* Use upstream image for frontend due to canonical/pipelines-rocks#80.
orfeas-k added a commit to canonical/kfp-operators that referenced this issue May 9, 2024
* Bump ROCKs to 2.0.5.
* Use upstream image for frontend due to canonical/pipelines-rocks#80.
ca-scribner pushed a commit to canonical/kfp-operators that referenced this issue May 10, 2024
* Bump ROCKs to 2.0.5.
* Use upstream image for frontend due to canonical/pipelines-rocks#80.
orfeas-k added a commit to canonical/kfp-operators that referenced this issue May 10, 2024
* Bump ROCKs to 2.0.5.
* Use upstream image for frontend due to canonical/pipelines-rocks#80.
orfeas-k added a commit to canonical/kfp-operators that referenced this issue May 10, 2024
* Bump ROCKs to 2.0.5.
* Use upstream image for kfp-ui(frontend) due to canonical/pipelines-rocks#80.

Closes #451
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant