Skip to content

Error executing Sidechains-SDK/ci/run_tests.sh (Ubuntu 24) #1053

@hegs-cin

Description

@hegs-cin

Good morning

I was executing the script at Sidechains-SDK/ci/run_tests.sh and the follow error appeared:

Execution:

hindenburgodesa@hindenburgodesa-VMware-Virtual-Platform:~/Sidechains-SDK/ci$ ./run_tests.sh

2025-05-29T15:25:44.879Z Info: Running test /home/hindenburgodesa/Sidechains-SDK/ci/tests/000-build-test.sh

=== Building jar(s) ===

[INFO] Scanning for projects...
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/sonatype/sisu/sisu-guava/0.9.9/sisu-guava-0.9.9.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/sonatype/sisu/sisu-guava/0.9.9/sisu-guava-0.9.9.pom (1.1 kB at 1.7 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/sonatype/sisu/inject/guava-parent/0.9.9/guava-parent-0.9.9.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/sonatype/sisu/inject/guava-parent/0.9.9/guava-parent-0.9.9.pom (11 kB at 61 kB/s)
[INFO] Inspecting build with total of 11 modules...
[INFO] Installing Nexus Staging features:
[INFO] ... total of 4 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO] Inspecting build with total of 11 modules...
[INFO] Not installing Nexus Staging features:
[INFO] * Preexisting staging related goal bindings found in 4 modules.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] io.horizen:sidechains-sdk [jar]
[INFO] sidechains-sdk-simpleapp [jar]
[INFO] sidechains-sdk-evmapp [jar]
[INFO] io.horizen:sidechains-sdk-scbootstrappingtools [jar]
[INFO] sidechains-sdk-utxoapp_sctool [jar]
[INFO] sidechains-sdk-evmapp_sctool [jar]
[INFO] sidechains-sdk-dbtools [jar]
[INFO] sidechains-sdk-signingtools [jar]
[INFO] io.horizen:sidechains-sdk-account_sctools [jar]
[INFO] io.horizen:sidechains-sdk-utxo_sctools [jar]
[INFO] Sidechains [pom]
[INFO]
[INFO] ---------------------< io.horizen:sidechains-sdk >----------------------
[INFO] Building io.horizen:sidechains-sdk 0.12.0 [1/11]
[INFO] --------------------------------[ jar ]---------------------------------
.......
.......

ERROR 1

[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0/plexus-utils-3.0.jar (226 kB at 405 kB/s)
[INFO] Deleting /home/hindenburgodesa/Sidechains-SDK/sdk/target
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Sidechains 0.12.0:
[INFO]
[INFO] io.horizen:sidechains-sdk .......................... FAILURE [ 18.665 s]
[INFO] sidechains-sdk-simpleapp ........................... SKIPPED
[INFO] sidechains-sdk-evmapp .............................. SKIPPED
[INFO] io.horizen:sidechains-sdk-scbootstrappingtools ..... SKIPPED
[INFO] sidechains-sdk-utxoapp_sctool ...................... SKIPPED
[INFO] sidechains-sdk-evmapp_sctool ....................... SKIPPED
[INFO] sidechains-sdk-dbtools ............................. SKIPPED
[INFO] sidechains-sdk-signingtools ........................ SKIPPED
[INFO] io.horizen:sidechains-sdk-account_sctools .......... SKIPPED
[INFO] io.horizen:sidechains-sdk-utxo_sctools ............. SKIPPED
[INFO] Sidechains ......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.908 s
[INFO] Finished at: 2025-05-29T11:26:07-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project sidechains-sdk: Failed to clean project: Failed to delete /home/hindenburgodesa/Sidechains-SDK/sdk/target/classes -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
.....
.....
ERROR 2
[INFO] Downloaded from softmotions_repository: https://repo.softmotions.com/repository/softmotions-public/org/scala-lang/scala-reflect/2.12.16/scala-reflect-2.12.16.jar (3.7 MB at 687 kB/s)
error:
bad constant pool index: 0 at pos: 48454
while compiling:
during phase: globalPhase=, enteringPhase=
library version: version 2.12.12
compiler version: version 2.12.12
reconstructed args: -bootclasspath /home ...

.....
.....

ERROR 3
== Source file context for tree position ==

error: scala.reflect.internal.FatalError:
bad constant pool index: 0 at pos: 48454
while compiling:
during phase: globalPhase=, enteringPhase=
library version: version 2.12.12
compiler version: version 2.12.12
reconstructed args: -bootclasspath /home/
.....
.....

ERROR 4
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Sidechains 0.12.0:
[INFO]
[INFO] io.horizen:sidechains-sdk .......................... FAILURE [ 46.306 s]
[INFO] sidechains-sdk-simpleapp ........................... SKIPPED
[INFO] sidechains-sdk-evmapp .............................. SKIPPED
[INFO] io.horizen:sidechains-sdk-scbootstrappingtools ..... SKIPPED
[INFO] sidechains-sdk-utxoapp_sctool ...................... SKIPPED
[INFO] sidechains-sdk-evmapp_sctool ....................... SKIPPED
[INFO] sidechains-sdk-dbtools ............................. SKIPPED
[INFO] sidechains-sdk-signingtools ........................ SKIPPED
[INFO] io.horizen:sidechains-sdk-account_sctools .......... SKIPPED
[INFO] io.horizen:sidechains-sdk-utxo_sctools ............. SKIPPED
[INFO] Sidechains ......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 47.401 s
[INFO] Finished at: 2025-05-29T11:26:56-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:4.7.1:compile (compile-scala-sources) on project sidechains-sdk: Execution compile-scala-sources of goal net.alchim31.maven:scala-maven-plugin:4.7.1:compile failed. CompileFailed -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

2025-05-29T15:26:56.187Z Error: Test /home/hindenburgodesa/Sidechains-SDK/ci/tests/000-build-test.sh failed with code 1

############ TEST SUMMARY ############

Testscript: /home/hindenburgodesa/Sidechains-SDK/ci/tests/000-build-test.sh Status: failed Exitcode: 1 Duration: 71.298343971 seconds

Additional information:

cs list Result:
amm
coursier
cs
sbt
sbtn
scala
scala-cli
scalac
scalafmt

Coursier version = 2.1.25-M13

Could you, please, help me with these 4 errors?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions