Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Pipeline failing on same build as last week

osep_redmine
Contributor
February 13, 2025

I'm trying to re-run a build that was successfully run on February 4th, but it is failing when executing `npm install --include=dev`.

 

Build #780  ran successfully on Feb 4 for commit `a1f5fb3`.

Build #786 for the same commit is failing today with the error:

 

+ npm install --include=dev
Error relocating /usr/bin/node: sqlite3session_attach: symbol not found
Error relocating /usr/bin/node: sqlite3changeset_apply: symbol not found
Error relocating /usr/bin/node: sqlite3session_create: symbol not found
Error relocating /usr/bin/node: sqlite3session_changeset: symbol not found
Error relocating /usr/bin/node: sqlite3session_patchset: symbol not found
Error relocating /usr/bin/node: sqlite3session_delete: symbol not found

 

According to the `Build setup` step output, both runs use the same Docker image for the build (docker.io/library/composer@sha256:e0c9ac329256c25b0dee572df37d986570fb26bb6baaa7d0abe69b84181701e1)

Assistance required to resolve as we currently cannot deploy code.

2 answers

1 accepted

1 vote
Answer accepted
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 16, 2025

Hi @osep_redmine 

If you are re-running the build that succeeded previously, and it is now failing - it could be something to do with the current state of your repository.

The symbol error you're receiving is typically related to dependencies, so running an apk upgrade prior to the npm command may solve it - I found an article on this below that may be helpful:

If this does not resolve the issue - I'd recommend adding debugging to your npm command to reveal further information about the root cause of the error:

  • npm install --verbose --include=dev

Cheers!

- Ben (Bitbucket Cloud Support)

osep_redmine
Contributor
February 21, 2025

It started working again. I think there was a transient BitBucket issue.

Like Theodora Boudale likes this
0 votes
Zoya Khan October 14, 2025

It looks like your build is failing because of a missing sqlite3 symbol in the Node binary. Since the same commit previously worked, this usually means something in the underlying image or environment has changed, even if the Docker image digest appears the same. One possible cause is that the base image might have been updated upstream. You can try forcing a clean build by clearing caches such as node_modules, npm cache, and Docker layer cache, then re-running the pipeline. It may also help to install sqlite3 explicitly in the build step before running npm install, for example by adding apk add --no-cache sqlite-dev or using the appropriate command for your image. Another good step is to pin a specific Node version in your pipeline to avoid unexpected updates or corrupted binaries. You can also test this locally by running the same image interactively and executing npm install to reproduce the issue outside the pipeline. For more details on similar issues, you can check this website.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events