Knowledge-Graph-Hub / kg-idg

A Knowledge Graph to Illuminate the Druggable Genome
https://knowledge-graph-hub.github.io/kg-idg/
BSD 3-Clause "New" or "Revised" License
9 stars 2 forks source link

Build fails when it hits `Make blazegraph journal` stage: `sbt: not found` #117

Closed caufieldjh closed 1 year ago

caufieldjh commented 1 year ago

Describe the bug

The Jenkins run completes as expected until this point:

Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Make blazegraph journal)
[Pipeline] dir
14:51:30  Running in /var/lib/jenkins/workspace/nowledge-graph-hub_kg-idg_master/gitrepo/blazegraph
[Pipeline] {
[Pipeline] git
14:51:30  The recommended git tool is: NONE
14:51:30  No credentials specified
14:51:30  Warning: JENKINS-30600: special launcher org.jenkinsci.plugins.docker.workflow.WithContainerStep$Decorator$1@547fef34; decorates hudson.Launcher$LocalLauncher@670950c4 will be ignored (a typical symptom is the Git executable not being run inside a designated container)
14:51:30  Cloning the remote Git repository
14:51:30  Cloning repository https://github.com/balhoff/blazegraph-runner.git
14:51:30   > git init /var/lib/jenkins/workspace/nowledge-graph-hub_kg-idg_master/gitrepo/blazegraph # timeout=10
14:51:30  Fetching upstream changes from https://github.com/balhoff/blazegraph-runner.git
14:51:30   > git --version # timeout=10
14:51:30   > git --version # 'git version 2.17.1'
14:51:30   > git fetch --tags --progress -- https://github.com/balhoff/blazegraph-runner.git +refs/heads/*:refs/remotes/origin/* # timeout=10
14:51:31   > git config remote.origin.url https://github.com/balhoff/blazegraph-runner.git # timeout=10
14:51:31   > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
14:51:31  Avoid second fetch
14:51:31   > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
14:51:31  Checking out Revision be4a24e10ffe86a0ba7b35d49eea08b88baa62aa (refs/remotes/origin/master)
14:51:31   > git config core.sparsecheckout # timeout=10
14:51:31   > git checkout -f be4a24e10ffe86a0ba7b35d49eea08b88baa62aa # timeout=10
14:51:31   > git branch -a -v --no-abbrev # timeout=10
14:51:31   > git checkout -b master be4a24e10ffe86a0ba7b35d49eea08b88baa62aa # timeout=10
14:51:31  Commit message: "Update version."
14:51:31   > git rev-list --no-walk 9601aceb2a79446793a087247de296f739ab55cd # timeout=10
[Pipeline] sh
14:51:32  + pwd
14:51:32  + HOME=/var/lib/jenkins/workspace/nowledge-graph-hub_kg-idg_master/gitrepo/blazegraph
14:51:32  + sbt stage
14:51:32  /var/lib/jenkins/workspace/nowledge-graph-hub_kg-idg_master/gitrepo/blazegraph@tmp/durable-c10f3cf4/script.sh: 1: sbt: not found

sbt is the Scala build tool.

Install it on the corresponding Docker image.

This stage also needs pigz so that should be installed too if it isn't already.

Version

19eb3f1fc4637fb7ebfe69fc2e12732988f505b0

caufieldjh commented 1 year ago

Resolved on Jenkins build 78