NPM step fails on fetching dependency from PRIVATE git repo via SSH

Bitrise Build Issue Report template

Description of the issue

NPM step started to fail on fetching dependency from PRIVATE git repo via SSH

npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t git@gitlab.srv.***:***.git
npm ERR! No user exists for uid 1000
npm ERR! fatal: Could not read from remote repository.
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR! exited with error code: 128

Environment:

Where did the issue happen?

Android & Docker, on Ubuntu 16.04

Which build Step causes the issue and which version of the step?

Run npm command v1.1.0, Do anything with Script step v1.1.5

Reproducibility

  • Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
  • Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app. : NO
  • Does the issue happen sporadically, or every time? : every time
  • Does upgrading the build Step to the latest version help? : NO
  • When did the issue start? : ~ last month

Local reproduction

Can it be reproduced on your own Mac/PC by following our local debug guide? Please follow at least the first section (“Testing with a full clean git clone”) to make sure to test the state of the code what bitrise.io will get when it does a git clone in the clean environment! If possible please note which sections you tried.

Testing with a full clean git clone: NOT REPRODUCED
Test with the Bitrise CLI: NOT REPRODUCED

Local reproduction: Linux / Android (docker based) stack builds

Can it be reproduced by running the build locally, after doing a new git clone of the repository into the /tmp directory and running the build from there with the Bitrise CLI ( Bitrise CLI )? If no, can it be reproduced with Docker (using the same docker images / environment we use on bitrise.io)? Related guide: Redirecting… .

Build log

Please copy paste the build’s bitrise.io URL here (or if the issue happens somewhere else then the full logs), or if you can’t share the url / log here then send the url or full log through a private channel (e.g. email - Contact us ), with a link to the related Discuss issue.

Hi there! :wave:

I’m really sorry about the delay in getting to your issue. We are currently migrating to a new system in order to be able to assist you better in the future.

Due to the considerable delay please let us know if your issue still requires investigation; please send us a short message confirming this, send us a more recent build URL and allow Support Access.

Again, apologies for the delay, going forward we’ll do our best to offer quicker replies. Thanks!

Issue still exists. Here is the link to the latest build https://app.bitrise.io/build/3a3f6d546981b6ae#?tab=log. Support Access enabled. Thank you.

Closed by accident.

Hi @valichek,

Thank you for your patience. I will be looking into this shortly.

Please let us know if you have already resolved the issue.

Thanks,
Luna

No, issue not resolved

Hi @valichek,

I’m sorry for the delay in getting back to you.

To ensure that we’re looking at the latest information, can you send us a new link to a more recent build that reproduces this error? From there you’re at the front of my queue and I will continue debugging from there.

Thanks in advance.

Luna

@non-binary https://app.bitrise.io/build/6a869811175bbff5#?tab=log

We have stopped using Bitrise since got no support, just messages from robot. No help from you required anymore.

Hi @valichek,

Really sorry we mistreated your issue report. Due to a lot of changes in our system and team we didn’t attend to it properly. In case you’re ever around to tackle this issue again feel free to raise it up with is directly please.