Failed
Orderer Tests."before all" hook for "attempts to fail the orderer exercise and verifies failing xAPI statements" (from Root Suite.Orderer Tests)
Error Message
`cy.exec('java -jar build/libs/zim2xapi.jar convert -zim-file e2e/content/orderer.zim -keep-temp -output e2e/temp-content')` failed because the command exited with a non-zero code. Pass `{failOnNonZeroExit: false}` to ignore exit code failures. Information about the failure: Code: 1 Stdout: Unexpected argument: dump, --dir=/home/jenkins/.jenkins/workspace/Zim2Xapi, Cypress, Tests/js-tests/e2e/temp-content/orderer, /home/jenkins/.jenkins/workspace/Zim2Xapi, Cypress, Tests/js-tests/e2e/... Stderr: java.lang.RuntimeException: Process failed with exit code 255 at com.ustadmobile.zim2xapi.ProcessBuilderUseCase.invoke(ProcessBuilderUseCase.kt:28) at com.ustadmobile.zim2xapi.ProcessBuilderUseCa... https://on.cypress.io/exec Because this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `Orderer Tests`
Stacktrace
CypressError: `cy.exec('java -jar build/libs/zim2xapi.jar convert -zim-file e2e/content/orderer.zim -keep-temp -output e2e/temp-content')` failed because the command exited with a non-zero code. Pass `{failOnNonZeroExit: false}` to ignore exit code failures. Information about the failure: Code: 1 Stdout: Unexpected argument: dump, --dir=/home/jenkins/.jenkins/workspace/Zim2Xapi, Cypress, Tests/js-tests/e2e/temp-content/orderer, /home/jenkins/.jenkins/workspace/Zim2Xapi, Cypress, Tests/js-tests/e2e/... Stderr: java.lang.RuntimeException: Process failed with exit code 255 at com.ustadmobile.zim2xapi.ProcessBuilderUseCase.invoke(ProcessBuilderUseCase.kt:28) at com.ustadmobile.zim2xapi.ProcessBuilderUseCa... https://on.cypress.io/exec Because this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `Orderer Tests` at <unknown> (http://localhost:8082/__cypress/runner/cypress_runner.js:120333:77) at tryCatcher (http://localhost:8082/__cypress/runner/cypress_runner.js:1807:23) at Promise._settlePromiseFromHandler (http://localhost:8082/__cypress/runner/cypress_runner.js:1519:31) at Promise._settlePromise (http://localhost:8082/__cypress/runner/cypress_runner.js:1576:18) at Promise._settlePromise0 (http://localhost:8082/__cypress/runner/cypress_runner.js:1621:10) at Promise._settlePromises (http://localhost:8082/__cypress/runner/cypress_runner.js:1701:18) at _drainQueueStep (http://localhost:8082/__cypress/runner/cypress_runner.js:2407:12) at _drainQueue (http://localhost:8082/__cypress/runner/cypress_runner.js:2400:9) at Async._drainQueues (http://localhost:8082/__cypress/runner/cypress_runner.js:2416:5) at Async.drainQueues (http://localhost:8082/__cypress/runner/cypress_runner.js:2286:14) From Your Spec Code: at Context.eval (webpack://js-tests/./e2e/cypress/support/e2e.js:34:5)