You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes StandardDeployerTest fails to initialize during deployment on CI. An EOF error occurs when declaring contract with DevnetClient.declareContract(). It happens irregularly. Re-running the job usually results in solving this problem.
StandardDeployerTest > initializationError FAILED
starknet.utils.data.SnCastCommandFailed: Command declare failed. Error reason: {
"command": "declare",
"error": "Failed to parse contract definition: /home/runner/work/starknet-jvm/starknet-jvm/lib/src/test/resources/contracts/target/release/Contracts_Balance.casm.json: EOF while parsing an object at line 1 column 15913"
}
at app//starknet.utils.DevnetClient.requireNoErrors(DevnetClient.kt:406)
at app//starknet.utils.DevnetClient.runSnCast(DevnetClient.kt:391)
at app//starknet.utils.DevnetClient.declareContract(DevnetClient.kt:261)
at app//starknet.utils.DevnetClient.declareContract$default(DevnetClient.kt:250)
at app//starknet.deployercontract.StandardDeployerTest.before(StandardDeployerTest.kt:38)
What happened
Sometimes
StandardDeployerTest
fails to initialize during deployment on CI. An EOF error occurs when declaring contract withDevnetClient.declareContract()
. It happens irregularly. Re-running the job usually results in solving this problem.Below you can find two jobs, that run with the same codebase, one failed and after re-running, it succeeded.
Fail: https://github.com/software-mansion/starknet-jvm/actions/runs/9205979828/attempts/1
Success: https://github.com/software-mansion/starknet-jvm/actions/runs/9205979828/attempts/3
Stack trace
Full insight into error https://github.com/software-mansion/starknet-jvm/actions/runs/9205979828/job/25322856216
Steps to reproduce
StandardDeployerTest
during CI deployment (unfortunately this error occurs irregularly, so there isn't a certain set of steps to reproduce)SDK Version
0.11.1
Language
Kotlin
Language
n/a
Language version
1.9.0
What operating system are you using?
Mac
Is there an existing issue for this?
The text was updated successfully, but these errors were encountered: