无法从开发分支创建jar

时间:2019-03-01 06:39:48

标签: testing karate

@ptrthomas

我还面临“线程“主” java.lang.StackOverflowError中的异常”的问题

https://github.com/intuit/karate/issues/661

据您所知,这已在开发分支的版本“ 1.0.0”中修复。

我无法从develop分支创建罐子(因为我正在按照以下步骤操作:-https://github.com/intuit/karate/wiki/Developer-Guide

请推送此修复程序以掌握并发布新版本,或者告诉我如何创建jar。

我所做的是:-

  1. git clone https://github.com/intuit/karate.git
  2. 空手道
  3. git checkout开发
  4. mvn全新安装-P预发行版

此后,我得到此错误:-

10:53:42.068 [main] DEBUG com.intuit.karate.XmlUtilsTest - map: {env:Envelope={_={env:Header=null, env:Body={_={QueryUsageBalanceResponse={_={Balance=null, Result={Success=null, Error={Category=DAT, Code=DAT_USAGE_1003, Description=Invalid Request: Invalid Input criteria: No asset found for license/eoc (630289335971198/855939)., Source=SIEBEL}}}, @={xmlns=http://www.intuit.com/iep/ServiceUsage/IntuitServiceUsageABO/V1}}}, @={xmlns=http://www.intuit.com/iep/ServiceUsage/IntuitServiceUsageABO/V1}}}, @={xmlns:S=http://schemas.xmlsoap.org/soap/envelope/, xmlns:env=http://schemas.xmlsoap.org/soap/envelope/}}}
[INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.065 s - in com.intuit.karate.XmlUtilsTest
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   RunnerTest.testRunningFeatureFromJavaApi:92 expected:<someValue> but was:<null>
[ERROR]   RunnerTest.testRunningRelativePathFeatureFromJavaApi:100 expected:<someValue> but was:<null>
[ERROR]   
ScriptTest.testFromJsKarateGetForJsonObjectVariableAndCallFeatureAndJs:1359
[ERROR] Errors: 
[ERROR]   ConfigTest.testSettingVariableViaKarateConfig:21 » Runtime javascript evaluati...
[INFO] 
[ERROR] Tests run: 242, Failures: 3, Errors: 1, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] karate-parent ...................................... SUCCESS [  0.342 s]
[INFO] karate-core ........................................ FAILURE [ 11.289 s]
[INFO] karate-apache ...................................... SKIPPED
[INFO] karate-junit4 ...................................... SKIPPED
[INFO] karate-junit5 ...................................... SKIPPED
[INFO] karate-netty ....................................... SKIPPED
[INFO] karate-gatling ..................................... SKIPPED
[INFO] karate-demo ........................................ SKIPPED
[INFO] karate-mock-servlet ................................ SKIPPED
[INFO] karate-jersey ...................................... SKIPPED
[INFO] karate-archetype ................................... SKIPPED

1 个答案:

答案 0 :(得分:0)

CI build is green,如果您找到根本原因并让我们知道如何解决它,它将对我们有帮助。

现在请对第4步执行此操作。

mvn clean install -P pre-release -DskipTests