janus-idp/backstage-showcase

intermittent failures in `sync-midstream` while building `scaffolder-backend-module-gitlab`

nickboldt opened this issue · 3 comments

Describe the bug

Building downstream I'm seeing intermittent failures with the scaffolder-backend-module-gitlab:

backstage-plugin-scaffolder-backend-module-gitlab:export-dynamic: cache miss, executing 7f7f46ca12ad0d6c
backstage-plugin-scaffolder-backend-module-gitlab:export-dynamic: $ janus-cli package export-dynamic-plugin --no-install --embed-package @backstage/plugin-scaffolder-backend-module-gitlab && $YARN --cwd dist-dynamic install --production --network-timeout 600000
backstage-plugin-scaffolder-backend-module-gitlab:export-dynamic: Embedding module @backstage/plugin-scaffolder-backend-module-gitlab
backstage-plugin-scaffolder-backend-module-gitlab:export-dynamic: The version of a dependency ('@backstage/integration') of an embedded module differs from the main module's dependencies: '^1.7.1', '1.7.1': keeping it as it is compatible
backstage-plugin-scaffolder-backend-module-gitlab:export-dynamic: The version of a dependency ('@backstage/plugin-scaffolder-node') of an embedded module differs from the main module's dependencies: '^0.2.6', '0.2.7': keeping it as it is compatible
backstage-plugin-scaffolder-backend-module-gitlab:export-dynamic: Moving '@backstage/backend-plugin-api' to peerDependencies
backstage-plugin-scaffolder-backend-module-gitlab:export-dynamic: Moving '@backstage/integration' to peerDependencies
backstage-plugin-scaffolder-backend-module-gitlab:export-dynamic: Moving '@backstage/plugin-scaffolder-node' to peerDependencies
backstage-plugin-scaffolder-backend-module-gitlab:export-dynamic: Moving '@backstage/backend-plugin-manager' to peerDependencies
backstage-plugin-scaffolder-backend-module-gitlab:export-dynamic: Moving '@backstage/config' to peerDependencies
backstage-plugin-scaffolder-backend-module-gitlab:export-dynamic: Moving '@backstage/errors' to peerDependencies
backstage-plugin-scaffolder-backend-module-gitlab:export-dynamic: /bin/sh: line 1: --cwd: command not found
backstage-plugin-scaffolder-backend-module-gitlab:export-dynamic: error Command failed with exit code 127.
backstage-plugin-scaffolder-backend-module-gitlab:export-dynamic: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

-- https://gitlab.cee.redhat.com/rhidp/rhdh/-/jobs/18371641

kadel commented

@nickboldt did you managed to figure out what was happening with this?

nope, worked in https://gitlab.cee.redhat.com/rhidp/rhdh/-/jobs/18440999 so, not sure why this SOMETIMES happens (not not always).

Closed in favour of downstream: https://issues.redhat.com/browse/RHIDP-878