0
我的集成測試將啓動多個進程。我可以在本地運行集成測試,但是當我將它移動到travis時,集成測試將失敗。以下是我看到的錯誤消息。我沒有找到任何有用的信息,它似乎不是由我的集成測試引起的,而是由外部世界引起的(也許是環境問題)。我也通過使用這裏的指令在本地成功運行了travis。 https://docs.travis-ci.com/user/common-build-problems/#Troubleshooting-Locally-in-a-Docker-Image集成測試在traivs CI中預計失敗,但在本地成功運行
錯誤我看到外面的世界(一個kill 9
)殺死硬
INFO [2016-12-06 14:36:02,147] ({main} LivyInterpreterIT.java[onUpdate]:303) - onUpdate:
DEBUG [2016-12-06 14:36:02,148] ({main} LivyHelper.java[executeHTTP]:346) - Call rest api in http://testing-docker-ca2e7f34-da95-4627-bc72-7e92273f5758:8998/sessions/0/statements, method: POST, jsonData: {"code": "sqlContext.sql(\"show tables\").show(100)"}
DEBUG [2016-12-06 14:36:03,274] ({main} LivyHelper.java[executeHTTP]:346) - Call rest api in http://testing-docker-ca2e7f34-da95-4627-bc72-7e92273f5758:8998/sessions/0/statements/4, method: GET, jsonData: null
DEBUG [2016-12-06 14:36:03,392] ({main} LivyHelper.java[getStatusById]:323) - statement 4 response: {"id":4,"state":"running","output":null}
DEBUG [2016-12-06 14:36:04,392] ({main} LivyHelper.java[executeHTTP]:346) - Call rest api in http://testing-docker-ca2e7f34-da95-4627-bc72-7e92273f5758:8998/sessions/0/statements/4, method: GET, jsonData: null
DEBUG [2016-12-06 14:36:04,528] ({main} LivyHelper.java[getStatusById]:323) - statement 4 response: {"id":4,"state":"running","output":null}
DEBUG [2016-12-06 14:36:05,529] ({main} LivyHelper.java[executeHTTP]:346) - Call rest api in http://testing-docker-ca2e7f34-da95-4627-bc72-7e92273f5758:8998/sessions/0/statements/4, method: GET, jsonData: null
/home/travis/build.sh: line 57: 6800 Killed mvn $TEST_FLAG $PROFILE -B $TEST_PROJECTS
The command "mvn $TEST_FLAG $PROFILE -B $TEST_PROJECTS" exited with 137.
store build cache
change detected (content changed, file is created, or file is deleted):
/home/travis/.m2/repository/org/jsoup/jsoup/1.9.3-SNAPSHOT/resolver-status.properties
/home/travis/.m2/repository/org/jsoup/jsoup/resolver-status.properties
changes detected, packing new archive
正確,這是內存問題。 – zjffdu